Constructors
-
Json
Schema() Initializes a new instance of the JsonSchema class.
Methods
- Parse(String) static Load a JsonSchema from a string that contains JSON Schema.
-
Parse(String,
Json static Load a JsonSchema from a string that contains JSON Schema using the specified JsonSchemaResolver.Schema Resolver) -
Read(Json
Reader) static Reads a JsonSchema from the specified JsonReader. -
Read(Json
Reader, static Reads a JsonSchema from the specified JsonReader.Json Schema Resolver) -
To
String() virtual Returns a String that represents the current Object. -
Write
To(Json Writes this schema to a JsonWriter.Writer) -
Write
To(Json Writes this schema to a JsonWriter using the specified JsonSchemaResolver.Writer, Json Schema Resolver)
Properties
-
Additional
Items Gets or sets the JsonSchema of additional items. -
Additional
Properties Gets or sets the JsonSchema of additional properties. -
Allow
Additional Gets or sets a value indicating whether additional items are allowed.Items -
Allow
Additional Gets or sets a value indicating whether additional properties are allowed.Properties - Default Gets or sets the default value.
-
Deferred
Reference - Description Gets or sets the description of the object.
- Disallow Gets or sets disallowed types.
-
Divisible
By Gets or sets a number that the value should be divisible by. - Enum Gets or sets the a collection of valid enum values allowed.
-
Exclusive
Maximum Gets or sets a flag indicating whether the value can not equal the number defined by the maximum attribute (Maximum). -
Exclusive
Minimum Gets or sets a flag indicating whether the value can not equal the number defined by the minimum attribute (Minimum). - Extends Gets or sets the collection of JsonSchema that this schema extends.
- Format Gets or sets the format.
- Hidden Gets or sets whether the object is visible to users.
- Id Gets or sets the id.
-
Internal
Id - Items Gets or sets the JsonSchema of items.
- Location
- Maximum Gets or sets the maximum.
-
Maximum
Items Gets or sets the maximum number of items. -
Maximum
Length Gets or sets the maximum length. - Minimum Gets or sets the minimum.
-
Minimum
Items Gets or sets the minimum number of items. -
Minimum
Length Gets or sets the minimum length. - Pattern Gets or sets the pattern.
-
Pattern
Properties Gets or sets the pattern properties. -
Positional
Items Gets or sets a value indicating whether items in an array are validated using the JsonSchema instance at their array position from Items.Validation - Properties Gets or sets the JsonSchema of properties.
-
Read
Only Gets or sets whether the object is read-only. -
References
Resolved - Required Gets or sets whether the object is required.
- Requires Gets or sets the required property if this property is present.
- Title Gets or sets the title.
- Transient Gets or sets whether the object is transient.
- Type Gets or sets the types of values allowed by the object.
-
Unique
Items Gets or sets whether the array items must be unique.