JsonSchema4
A base class for describing a JSON schema.
Gets the actual schema, either this or the reference schema.
Gets or sets the schema for the additional items.
Gets or sets the schema for the additional properties.
Gets the collection of schemas where each schema must be valid.
Gets or sets a value indicating whether additional items are allowed (default: true).
Gets or sets a value indicating whether additional properties are allowed (default: true).
Gets the collection of schemas where at least one must be valid.
Gets or sets the default value.
Gets the other schema definitions of this schema.
Gets or sets the description.
Gets the collection of required properties.
Gets or sets the enumeration names (optional, draft v5).
Gets or sets the enumeration names (optional, draft v5).
Gets or sets the extension data (i.e. additional properties which are not directly defined by JSON Schema).
Gets or sets the format string.
Gets a value indicating whether this is a type reference.
Gets or sets the id.
Gets a value indicating whether this is any type (e.g. any in TypeScript or object in CSharp).
Gets a value indicating whether the schema represents a dictionary type (no properties and AdditionalProperties contains a schema).
Gets a value indicating whether this is enumeration.
Gets or sets a value indicating whether the maximum value is excluded.
Gets or sets a value indicating whether the minimum value is excluded.
Gets or sets the schema of an array item.
Gets or sets the schemas of the array's tuple values.
Gets or sets the maximum allowed value.
Gets or sets the maximum length of the array.
Gets or sets the maximum length of the value string.
Gets or sets the maximal number of allowed properties in an object.
Gets or sets the minimum allowed value.
Gets or sets the minimum length of the array.
Gets or sets the minimum length of the value string.
Gets or sets the minimal number of allowed properties in an object.
Gets or sets the required multiple of for the number value.
Gets or sets the schema which must not be valid.
Gets the collection of schemas where exactly one must be valid.
Gets the parent schema of this schema.
Gets or sets the validation pattern as regular expression.
Gets the pattern properties of the type.
Gets the properties of the type.
Gets the collection of required properties.
Gets or sets the type reference.
Gets or sets the schema.
Gets or sets the title.
Gets the object types (as enum flags).
Gets or sets the type name (class name of the object).
Gets or sets a value indicating whether the items in the array must be unique.
public JsonSchema4()
Initializes a new instance of the JsonSchema4 class.
Creates the type reference.
Loads a JSON Schema from a given file path (only available in .NET 4.x).
Deserializes a JSON string to a JsonSchema4.
Creates a JsonSchema4 from a given type.
Creates a JsonSchema4 from a given type.
Creates a JsonSchema4 from a given type.
Creates a JsonSchema4 from a given type.
Finds the root parent of this schema.
Serializes the JsonSchema4 to a JSON string.
Validates the given JSON data against this schema.
Validates the given JSON token against this schema.