NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #2835 most downloaded on NuGet
Extends JsonSchema.Net to provide schema generation functionality
Latest stable
7.4.1
Last release 1 months ago
17 Oct 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 56 of the last 60 stable releases
4 versions withdrawn
withdrawn after publishing
127 years old
83 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Improved support for array types that inherit IEnumerable but aren’t generic themselves, e.g. MyList : List .
#264 - Added support for additionalProperties and additionalItems .
Improved support for array types that inherit IEnumerable<T> but aren’t generic themselves, e.g. MyList : List<int> .
Also updated return value of SchemaGenerationContextBase.Apply() from JsonSchemaBuilder to JsonSchema . This is pretty hidden, so it shouldn’t break anyone, thus not strictly adhering to semver for this change. Calling it out just in case.
Exposed SchemaGenerationContextBase.Hash property. Required to implement IContextContainer.Replace() .
Exposed SchemaGenerationContextBase.Hash property. Required to implement IContextContainer.Replace() .
Marked IContextContainer.GetContexts() obsolete as it’s not used.
Intents no longer require equality methods ( Equals() & GetHashCode() ). 🎉
Your coding agent can read these notes before it upgrades. Set up the MCP server →
#202 - Added support for read-only & write-only keywords for properties that only have getters or setters. The attributes override this detection behavior.
#256 - Added support for type-level attributes.
Intents no longer require equality methods ( Equals() & GetHashCode() ). 🎉
SchemaGeneratorContext replaced by SchemaGenerationContextBase , TypeGenerationContext , and MemberGenerationContext .
The “Type” version represents generation of a “pure” type; that is, it’s not a member of another type. This will only handle attributes that are placed on the type itself.
The “Member” version represents object members. This will handle attributes placed on the member. The Attributes property is only present on this version since the type carries the attributes for the other.
SchemaGenerationContextCache.Get() has two overloads, only with member attributes, and one without. If attributes are supplied, a MemberGenerationContext will be returned; otherwise a TypeGenerationContext will be returned.
SchemaGeneratorConfiguration converted into a thread-static singleton (the static property is Current ) for easier access.
IAttributeHandler is now just a placeholder. Attribute handlers will now need to implement IAttributeHandler<T> where T is the attribute type.
IAttributeHandler.AddConstraints() now has an attribute parameter.
#206 - Some XML comments were inaccurate or had copy/paste errors.
#243 - Updated System.Text.Json to version 6.
Most attributes can now be placed on:
properties & fields
all types (class, struct, enum, interface)
Updated JsonSchema.Net reference to v2.0.0. Please see release notes for that library as it contains breaking changes.
Updated JsonSchema.Net reference to v2.0.0. Please see release notes for that library as it contains breaking changes.
Updated JsonPointer.Net to v2.0.0. Please see release notes for that library as it contains breaking changes.
Updated JsonPointer.Net to v2.0.0. Please see release notes for that library as it contains breaking changes.
#174 - Switch top-level Humanizer package for more essential Humanizer.Core. Supports English. If other languages are required, the respective Humaniz
#174 - Switch top-level Humanizer package for more essential Humanizer.Core. Supports English. If other languages are required, the respective Humanizer package will need to be added to your application.
Fixed [Minimum()] , [ExclusiveMinimum()] , [Maximum()] , and [ExclusiveMaximum()] attributes to take double instead of uint which was a copy/paste err
#141 - Added [Title()] and [Description()] attributes.
Fixed [Minimum()] , [ExclusiveMinimum()] , [Maximum()] , and [ExclusiveMaximum()] attributes to take double instead of uint which was a copy/paste error.
#136 - Better sorting for properties, taking into account inheritance hierarchy and putting inherited properties first. Thanks to @wazzamatazz for wor
#136 - Better sorting for properties, taking into account inheritance hierarchy and putting inherited properties first. Thanks to @wazzamatazz for working this up.
#134 - Added custom property naming support.
#134 - Added custom property naming support.
Added SchemaGeneratorConfiguration.Nullability .
#128 - Added support for nullability. Special thanks to @JMPSequeira who proposed the feature and worked through multiple designs ( #124 and #127 ) that lead to the final solution and for adding all the tests needed to ensure proper function.
Added NullableAttribute .
Added Nullability .
Added SchemaGeneratorConfiguration.Nullability .
#125 - Bug fix: generation of object with no serializable properties still generates an empty properties keyword.
Also updated intent classes to be mutable. Should have been this way to begin with, but was probably an oversight.
#114 - DateTime properties not generating properly. Also fixes Guid , JsonPointer , and Uri properties. Added PropertyNamesIntent .
#114 - DateTime properties not generating properly. Also fixes Guid , JsonPointer , and Uri properties.
Added PropertyNamesIntent .
#109 - Add properties in the order they’re declared in code. Credit to @wazzamatazz #112 - Add properties in the order they’re declared in code.
#109 - Add properties in the order they’re declared in code. Credit to @wazzamatazz
#112 - Add properties in the order they’re declared in code.
Fixes property name callout in required keyword. Credit to @jaysvoboda for finding and fixing this.
Fixes property name callout in required keyword. Credit to @jaysvoboda for finding and fixing this.
#100 - Don’t optimize type-only subschemas.
#100 - Don’t optimize type-only subschemas.
#96 - Added ISchemaRefiner to the schema generation process to allow users to inject custom logic after intents are created. #97 - Fixed an issue with
#96 - Added ISchemaRefiner to the schema generation process to allow users to inject custom logic after intents are created.
#97 - Fixed an issue with subsequent schema generations off of the same type.
#87 - Generation for the same property type under different property names causes StackOverflowException.
#87 - Generation for the same property type under different property names causes StackOverflowException.
#85 - Generation for List producing StackOverflowException.
#85 - Generation for List<TSelf> producing StackOverflowException.
Added support for nullable reference types.
Added support for nullable reference types.
Added support for .Net 5 and remaining in-built JSON serialization attributes: JsonInclude & JsonNumberHandling .
Added support for .Net 5 and remaining in-built JSON serialization attributes: JsonInclude & JsonNumberHandling .
Exposed static class AttributeHandler and added methods to allow for handlers of predefined attributes. This mechanism should only be used for attributes that cannot also be made to implement IAttributeHandler . Attributes which also implement this interface are implicitly handled.
Signed the DLL for strong name compatibility.
Signed the DLL for strong name compatibility.
Added support for in-built JSON serialization attributes (Standard 2.0 & Core 3.x): JsonPropertyName & JsonIgnore .
Added support for in-built JSON serialization attributes (Standard 2.0 & Core 3.x): JsonPropertyName & JsonIgnore .
Added debug symbols to package. No functional change.
Added debug symbols to package. No functional change.
A new version of content is available. Update
Initial release.
Contents
×
A new version of content is available. Update
One column per quarter.