{"id":16210254,"url":"https://github.com/bastianblokland/typedtree-generator-dotnet","last_synced_at":"2025-10-10T08:36:09.644Z","repository":{"id":38009283,"uuid":"177416242","full_name":"BastianBlokland/typedtree-generator-dotnet","owner":"BastianBlokland","description":"Cli tool for generating 'treescheme' files based on dotnet assemblies. ","archived":false,"fork":false,"pushed_at":"2022-12-08T04:26:19.000Z","size":166,"stargazers_count":0,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-28T08:37:49.609Z","etag":null,"topics":["behaviour-tree","descision-tree","json-tree","tree-editor"],"latest_commit_sha":null,"homepage":"https://bastian.tech/tree","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BastianBlokland.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-24T13:08:53.000Z","updated_at":"2020-07-20T16:56:36.000Z","dependencies_parsed_at":"2023-01-25T08:30:29.885Z","dependency_job_id":null,"html_url":"https://github.com/BastianBlokland/typedtree-generator-dotnet","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/BastianBlokland/typedtree-generator-dotnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BastianBlokland%2Ftypedtree-generator-dotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BastianBlokland%2Ftypedtree-generator-dotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BastianBlokland%2Ftypedtree-generator-dotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BastianBlokland%2Ftypedtree-generator-dotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BastianBlokland","download_url":"https://codeload.github.com/BastianBlokland/typedtree-generator-dotnet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BastianBlokland%2Ftypedtree-generator-dotnet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003277,"owners_count":26083555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["behaviour-tree","descision-tree","json-tree","tree-editor"],"created_at":"2024-10-10T10:36:29.821Z","updated_at":"2025-10-10T08:36:09.631Z","avatar_url":"https://github.com/BastianBlokland.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypedTree-Generator-Dotnet\n\n[![Build](https://img.shields.io/azure-devops/build/bastian-blokland/TypedTree/4/master.svg)](https://dev.azure.com/bastian-blokland/TypedTree/_build/latest?definitionId=4\u0026branchName=master)\n[![Tests](https://img.shields.io/azure-devops/tests/bastian-blokland/TypedTree/4/master.svg)](https://dev.azure.com/bastian-blokland/TypedTree/_build/latest?definitionId=4\u0026branchName=master)\n[![codecov](https://codecov.io/gh/BastianBlokland/typedtree-generator-dotnet/branch/master/graph/badge.svg)](https://codecov.io/gh/BastianBlokland/typedtree-generator-dotnet)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n\n| Cli tool | Global tool | Core library |\n|----------|-------------|--------------|\n| [![NuGet](https://img.shields.io/nuget/v/TypedTree.Generator.Cli.svg)](https://www.nuget.org/packages/TypedTree.Generator.Cli/) | [![NuGet](https://img.shields.io/nuget/v/TypedTree.Generator.GlobalTool.svg)](https://www.nuget.org/packages/TypedTree.Generator.GlobalTool/) | [![NuGet](https://img.shields.io/nuget/v/TypedTree.Generator.Core.svg)](https://www.nuget.org/packages/TypedTree.Generator.Core/) |\n\nDotnet cli tool for generating treescheme files for use in the  [**TypedTree-editor**](https://github.com/bastianblokland/typedtree-editor)\n\n## Description\nTo avoid having to handwrite treescheme files you can generate them based on the dotnet class\nstructure of your tree (for example a behaviour tree).\n\n## Usage\nThere are 3 different ways to use the generator:\n\n| Usecase | Project | Documentation |\n|---------|---------|---------------|\n| Build integration | [**Cli**](https://www.nuget.org/packages/TypedTree.Generator.Cli/) | [Cli Readme](https://github.com/BastianBlokland/typedtree-generator-dotnet/tree/master/src/TypedTree.Generator.Cli/readme.md) |\n| Command line | [**GlobalTool**](https://www.nuget.org/packages/TypedTree.Generator.GlobalTool/) | [GlobalTool Readme](https://github.com/BastianBlokland/typedtree-generator-dotnet/tree/master/src/TypedTree.Generator.GlobalTool/readme.md) |\n| Manual library integration | [**Core**](https://www.nuget.org/packages/TypedTree.Generator.Core/) | [Core Readme](https://github.com/BastianBlokland/typedtree-generator-dotnet/tree/master/src/TypedTree.Generator.Core/readme.md) |\n\n## Example\nAn example can be found in the [**example**](https://github.com/BastianBlokland/typedtree-generator-dotnet/tree/master/example) directory.\n\n## Supported types\n### Primitives\n| Dotnet type | Treescheme type | Comments |\n|-------------|-----------------|----------|\n| `string` | String | |\n| `bool` | Boolean | |\n| `byte` | Number | Scheme does **not** have any guards to keep value in bounds |\n| `sbyte` | Number | Scheme does **not** have any guards to keep value in bounds |\n| `short` | Number | Scheme does **not** have any guards to keep value in bounds |\n| `ushort` | Number | Scheme does **not** have any guards to keep value in bounds |\n| `int` | Number | Scheme does **not** have any guards to keep value in bounds |\n| `uint` | Number | Scheme does **not** have any guards to keep value in bounds |\n| `long` | Number | Scheme does **not** have any guards to keep value in bounds |\n| `ulong` | Number | Scheme does **not** have any guards to keep value in bounds |\n| `float` | Number | Scheme does **not** have any guards to keep value in bounds |\n| `double` | Number | Scheme does **not** have any guards to keep value in bounds |\n\n### Enums\n| Dotnet type | Treescheme type | Comments |\n|-------------|-----------------|----------|\n| Custom `enum` | Enum | Value of enum has to be convertible to a int |\n\n### Classes\n| Dotnet type | Treescheme type | Comments |\n|-------------|-----------------|----------|\n| Custom `class` | Node | Fields are found based on the provided `FieldSource` |\n| Custom `struct` | Node | Fields are found based on the provided `FieldSource` |\n\n### References\nWhen a field references a `class` / `struct` / `interface`\n\n| Dotnet type | Treescheme type | Comments |\n|-------------|-----------------|----------|\n| `class` | Alias | |\n| `struct` | Alias | |\n| `interface` | Alias | |\n\n### Collections\n| Dotnet type | Treescheme type | Comments |\n|-------------|-----------------|----------|\n| `T[]` | Array | |\n| `IReadOnlyList\u003cT\u003e` | Array | |\n| `IReadOnlyCollection\u003cT\u003e` | Array | |\n| `ICollection\u003cT\u003e` | Array | |\n| `IList\u003cT\u003e` | Array | |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbastianblokland%2Ftypedtree-generator-dotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbastianblokland%2Ftypedtree-generator-dotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbastianblokland%2Ftypedtree-generator-dotnet/lists"}