Corvus.Json.JsonSchema.TypeGeneratorTool 5.5.2

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Corvus.Json.JsonSchema.TypeGeneratorTool --version 5.5.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Corvus.Json.JsonSchema.TypeGeneratorTool --version 5.5.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Corvus.Json.JsonSchema.TypeGeneratorTool&version=5.5.2
                    
nuke :add-package Corvus.Json.JsonSchema.TypeGeneratorTool --version 5.5.2
                    

Corvus.Json.CodeGenerator (Legacy)

This package has been renamed. The CLI tool is now corvusjson, available in the Corvus.Json.Cli package. This package (Corvus.Json.CodeGenerator) provides the legacy generatejsonschematypes command as a shim that delegates to the same code generation engine.

New projects should install Corvus.Json.Cli instead:

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
5.5.5 106 9/9/2026
5.5.4 401 9/1/2026
5.5.3 130 9/1/2026
5.5.2 150 8/30/2026
5.5.1 115 8/30/2026
5.5.0 167 8/27/2026
5.4.3 161 8/26/2026
5.4.2 156 8/26/2026
5.4.1 610 8/20/2026
5.4.0 124 8/19/2026
5.3.2 151 8/10/2026
5.3.1 152 8/5/2026
5.3.0 153 8/5/2026
5.2.13 155 8/2/2026
5.2.12 146 8/1/2026
5.2.10 796 7/26/2026
5.2.9 136 7/22/2026
5.2.7 612 7/12/2026
5.2.6 143 7/11/2026
5.2.5 175 7/7/2026
Loading failed