<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />

Newtonsoft.Json.Schema.JsonSchema

public class JsonSchema

An in-memory representation of a JSON Schema.

JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.
namespace Newtonsoft.Json.Schema { public class JsonSchema { public string Id { get; set; } public string Title { get; set; } public bool? Required { get; set; } public bool? ReadOnly { get; set; } public bool? Hidden { get; set; } public bool? Transient { get; set; } public string Description { get; set; } public JsonSchemaType? Type { get; set; } public string Pattern { get; set; } public int? MinimumLength { get; set; } public int? MaximumLength { get; set; } public double? DivisibleBy { get; set; } public double? Minimum { get; set; } public double? Maximum { get; set; } public bool? ExclusiveMinimum { get; set; } public bool? ExclusiveMaximum { get; set; } public int? MinimumItems { get; set; } public int? MaximumItems { get; set; } public IList<JsonSchema> Items { get; set; } public bool PositionalItemsValidation { get; set; } public JsonSchema AdditionalItems { get; set; } public bool AllowAdditionalItems { get; set; } public bool UniqueItems { get; set; } public IDictionary<string, JsonSchema> Properties { get; set; } public JsonSchema AdditionalProperties { get; set; } public IDictionary<string, JsonSchema> PatternProperties { get; set; } public bool AllowAdditionalProperties { get; set; } public string Requires { get; set; } public IList<JToken> Enum { get; set; } public JsonSchemaType? Disallow { get; set; } public JToken Default { get; set; } public IList<JsonSchema> Extends { get; set; } public string Format { get; set; } public JsonSchema(); public static JsonSchema Read(JsonReader reader); public static JsonSchema Read(JsonReader reader, JsonSchemaResolver resolver); public static JsonSchema Parse(string json); public static JsonSchema Parse(string json, JsonSchemaResolver resolver); public void WriteTo(JsonWriter writer); public void WriteTo(JsonWriter writer, JsonSchemaResolver resolver); } }