Constructors
Methods
-
Load(Json
Reader) static Loads a JSchema from the specified JsonReader. -
Load(Json
Reader, static Loads a JSchema from a JsonReader using the given JSchemaResolver.JSchema Reader Settings) -
Load(Json
Reader, static Loads a JSchema from a JsonReader using the given JSchemaResolver.JSchema Resolver) - Parse(String) static Load a JSchema from a string that contains schema JSON.
-
Parse(String,
JSchema static Load a JSchema from a string that contains schema JSON using the given JSchemaReaderSettings.Reader Settings) -
Parse(String,
JSchema static Load a JSchema from a string that contains schema JSON using the given JSchemaResolver.Resolver) -
To
String() virtual Returns the JSON for this schema. -
To
String(JSchema Returns the JSON for this schema using the specified JSchemaWriterSettings.Writer Settings) -
To
String(Schema Returns the JSON for this schema using the specified SchemaVersion.Version) -
Write
To(Json Writes this schema to a JsonWriter.Writer) -
Write
To(Json Writes this schema to a JsonWriter using the specified JSchemaResolver.Writer, JSchema Writer Settings) - op_Explicit(JToken):JSchema static Gets the JSchema associated with the JToken.
- op_Implicit(JSchema):JToken static Gets a JToken associated with the JSchema.
Properties
-
Additional
Items Gets or sets the JSchema for additional items. -
Additional
Properties Gets or sets the JSchema for additional properties. -
All
Of Gets the AllOf schemas. -
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 -
Any
Of Gets the AnyOf schemas. - Const Gets or sets the const value.
- Contains Gets the Contains schema.
-
Content
Encoding Gets or sets the content encoding of a string. -
Content
Media Gets or sets the content media type of a string.Type - Default Gets or sets the default value.
- Dependencies Gets the object property dependencies.
-
Deprecated
Required - Description Gets or sets the description of the schema.
- Else Gets the Else schema.
- Enum Gets the 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. -
Exclusive
Minimum Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. -
Extension
Data Gets the extension data for the JSchema. - Format Gets or sets the format.
- Id sealed Gets or sets the schema ID.
- If Gets the If schema.
-
Internal
Reader - Items Gets the array item JSchemas.
-
Items
Position Gets or sets a value indicating whether items in an array are validated using the JSchema instance at their array position from Items.Validation - Maximum Gets or sets the maximum value of a number.
-
Maximum
Items Gets or sets the maximum number of array items. -
Maximum
Length Gets or sets the maximum length of a string. -
Maximum
Properties Gets or sets the maximum number of object properties. - Minimum Gets or sets the minimum value of a number.
-
Minimum
Items Gets or sets the minimum number of array items. -
Minimum
Length Gets or sets the minimum length of a string. -
Minimum
Properties Gets or sets the minimum number of object properties. -
Multiple
Of Gets or sets the multiple of. -
Newtonsoft.
Json. privatesealedIJson Line Info. Line Number -
Newtonsoft.
Json. privatesealedIJson Line Info. Line Position - Not Gets the Not schema.
-
One
Of Gets the OneOf schemas. - Pattern Gets or sets the pattern.
-
Pattern
Properties Gets the object pattern properties. - Properties Gets the object property JSchemas.
-
Property
Names Gets the PropertyNames schema. -
Read
Only Gets or sets a value that indicates whether the data is read only. Has no no effect on validation. - Reference Gets or sets the $ref. This property is used when reading or writing referenced schemas without resolving them. Validating JSON with a schema that has a not null Reference value will error.
- Required Gets the required object properties.
-
Schema
Version Gets or sets the $schema. This value will only be read from JSON and written to JSON if the JSchema is the root schema. - Then Gets the Then schema.
- Title Gets or sets the title of the schema.
- Type Gets or sets the types of values allowed by the schema.
-
Unique
Items Gets or sets a flag indicating whether the array items must be unique. - Valid Gets or sets a flag indicating whether this schema is true and always valid, or false and always invalid.
- Validators Gets a JsonValidator collection that will be used during validation.
-
Write
Only Gets or sets a value that indicates whether the data is write only. Has no no effect on validation.