SemanticTypeModel.JsonSchema 2.4.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package SemanticTypeModel.JsonSchema --version 2.4.3
                    
NuGet\Install-Package SemanticTypeModel.JsonSchema -Version 2.4.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SemanticTypeModel.JsonSchema" Version="2.4.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SemanticTypeModel.JsonSchema" Version="2.4.3" />
                    
Directory.Packages.props
<PackageReference Include="SemanticTypeModel.JsonSchema" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SemanticTypeModel.JsonSchema --version 2.4.3
                    
#r "nuget: SemanticTypeModel.JsonSchema, 2.4.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SemanticTypeModel.JsonSchema@2.4.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SemanticTypeModel.JsonSchema&version=2.4.3
                    
Install as a Cake Addin
#tool nuget:?package=SemanticTypeModel.JsonSchema&version=2.4.3
                    
Install as a Cake Tool

SemanticTypeModel.JsonSchema

What this package does

SemanticTypeModel.JsonSchema provides JSON Schema domain-model derivation and JSON Schema Draft 2020-12 export from generated semantic models.

Install

dotnet add package SemanticTypeModel.JsonSchema --version 2.4.0

Use when

  • Install this package when you need JSON Schema domain-model derivation and JSON Schema Draft 2020-12 export from generated semantic models.
  • Keep package boundaries explicit in an application or library.
  • Pair generated semantic models with the target runtime you are configuring.
  • Export deterministic JSON Schema Draft 2020-12 documents.
  • Emit JSON Editor-compatible UI hints from JSON Schema export options.

Minimal example

using SemanticTypeModel.JsonSchema.Derivation;
using SemanticTypeModel.JsonSchema.Export;

var result = AppSemanticTypeModel.Create()
    .DeriveJsonSchemaModel(options => options.UseDefaultTransformations());
result.Diagnostics.ThrowIfErrors();
var document = JsonSchemaExporter.Export(result.Model);

Main APIs

API Purpose
DeriveJsonSchemaModel Derives the JSON Schema domain semantic model.
JsonSchemaExporter.Export Exports a JSON Schema document.
JsonSchemaExportOptions Controls export shape and UI compatibility.
JsonSchemaUiMode.JsonEditorCompatible Enables JSON Editor-compatible UI hints.

Works with

  • SemanticTypeModel.Core, SemanticTypeModel.Generators, and JSON Editor-compatible UI export options.
  • SemanticTypeModel.Abstractions.Model for the current unified model surface.
  • public-docs/samples/ projects that demonstrate package-based usage.

Does not do

  • It does not make JSON Schema import the canonical authoring path and does not perform runtime JSON validation.
  • It does not make milestone plans or historical research documents part of the public API.
  • It does not change compatibility rules described in the compatibility documentation.

More documentation

Product Compatible and additional computed target framework versions.
.NET 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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.0 52 8/23/2026
4.0.1 88 8/18/2026
4.0.0 91 8/16/2026
2.6.0 105 8/4/2026
2.5.3 97 8/4/2026
2.5.1 90 8/4/2026
2.5.0 98 8/3/2026
2.4.6 97 8/3/2026
2.4.5 93 8/3/2026
2.4.4 101 8/2/2026
2.4.3 92 7/31/2026
2.4.2 97 7/31/2026
2.4.1 98 7/3/2026
2.4.0 106 7/2/2026
2.3.0 109 6/20/2026
2.2.0 124 6/16/2026
2.1.0 119 6/15/2026
2.0.0 111 6/7/2026
1.1.0 113 6/4/2026
1.0.0 122 6/1/2026
Loading failed