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.
Gets or sets the JsonSchema of additional items.
Gets or sets the JsonSchema of additional properties.
Gets or sets a value indicating whether additional items are allowed.
Gets or sets a value indicating whether additional properties are allowed.
Gets or sets the default value.
Gets or sets the description of the object.
Gets or sets disallowed types.
Gets or sets a number that the value should be divisible by.
Gets or sets the a collection of valid enum values allowed.
Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute ( Maximum).
Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute ( Minimum).
Gets or sets the collection of JsonSchema that this schema extends.
Gets or sets the format.
Gets or sets whether the object is visible to users.
Gets or sets the id.
Gets or sets the JsonSchema of items.
Gets or sets the maximum.
Gets or sets the maximum number of items.
Gets or sets the maximum length.
Gets or sets the minimum.
Gets or sets the minimum number of items.
Gets or sets the minimum length.
Gets or sets the pattern.
Gets or sets the pattern properties.
Gets or sets a value indicating whether items in an array are validated using the JsonSchema instance at their array position from Items.
Gets or sets the JsonSchema of properties.
Gets or sets whether the object is read-only.
Gets or sets whether the object is required.
Gets or sets the required property if this property is present.
Gets or sets the title.
Gets or sets whether the object is transient.
Gets or sets the types of values allowed by the object.
Gets or sets whether the array items must be unique.
public JsonSchema()
Initializes a new instance of the JsonSchema class.
Load a JsonSchema from a string that contains JSON Schema.
Load a JsonSchema from a string that contains JSON Schema using the specified JsonSchemaResolver.
Reads a JsonSchema from the specified JsonReader.
Reads a JsonSchema from the specified JsonReader.
Writes this schema to a JsonWriter.
Writes this schema to a JsonWriter using the specified JsonSchemaResolver.