Corvus.Json.JsonSchema.TypeGeneratorTool
5.1.3
dotnet tool install --global Corvus.Json.JsonSchema.TypeGeneratorTool --version 5.1.3
dotnet new tool-manifest
dotnet tool install --local Corvus.Json.JsonSchema.TypeGeneratorTool --version 5.1.3
#tool dotnet:?package=Corvus.Json.JsonSchema.TypeGeneratorTool&version=5.1.3
nuke :add-package Corvus.Json.JsonSchema.TypeGeneratorTool --version 5.1.3
Corvus.Json.CodeGenerator (Legacy)
This package has been renamed. The CLI tool is now
corvusjson, available in theCorvus.Json.Clipackage. This package (Corvus.Json.CodeGenerator) provides the legacygeneratejsonschematypescommand as a shim that delegates to the same code generation engine.New projects should install
Corvus.Json.Cliinstead:dotnet tool install --global Corvus.Json.Cli
Legacy shim behaviour
When you run generatejsonschematypes, it delegates to the same underlying implementation as corvusjson. The key difference is the default engine:
| Tool | Package | Default engine |
|---|---|---|
corvusjson |
Corvus.Json.Cli |
V5 (Corvus.Text.Json) |
generatejsonschematypes |
Corvus.Json.CodeGenerator |
V4 (Corvus.Json.ExtendedTypes) |
To generate V5 types with the legacy command, pass --engine V5 explicitly.
Migration
Replace your tool installation:
# Old
dotnet tool install --global Corvus.Json.CodeGenerator
# New
dotnet tool install --global Corvus.Json.Cli
Update your commands — schema generation is now a subcommand:
# Old
generatejsonschematypes person.json --rootNamespace MyApp.Models --outputPath Generated/
# New
corvusjson jsonschema person.json --rootNamespace MyApp.Models --outputPath Generated/
Other subcommands (config, validateDocument, listNameHeuristics, jsonata, jmespath, jsonlogic) just need the tool name changed:
# Old
generatejsonschematypes config myconfig.json
generatejsonschematypes validateDocument schema.json data.json
# New
corvusjson config myconfig.json
corvusjson validateDocument schema.json data.json
Documentation
See the CLI Code Generation guide for the full reference.
License
Apache 2.0 — see LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.1.3 | 27 | 5/31/2026 |
| 5.1.2 | 40 | 5/31/2026 |
| 5.1.1 | 53 | 5/31/2026 |
| 5.1.0 | 117 | 5/28/2026 |
| 5.0.0 | 142 | 5/14/2026 |
| 4.6.7 | 2,634 | 3/23/2026 |
| 4.6.6 | 3,646 | 3/14/2026 |
| 4.6.5 | 135 | 3/14/2026 |
| 4.6.3 | 342 | 3/10/2026 |
| 4.6.2 | 145 | 3/8/2026 |
| 4.6.1 | 122 | 3/8/2026 |
| 4.6.0 | 129 | 3/8/2026 |
| 4.5.8 | 5,962 | 2/20/2026 |
| 4.5.7 | 164 | 2/19/2026 |
| 4.5.6 | 149 | 2/18/2026 |
| 4.5.5 | 182 | 2/17/2026 |
| 4.5.4 | 299 | 2/13/2026 |
| 4.5.3 | 490 | 2/10/2026 |
| 4.5.2 | 190 | 2/5/2026 |
| 4.5.1 | 343 | 1/27/2026 |