JsonSchema Class

Json.NET

Json.NET - Quick Starts & API Documentation JsonSchema Class
NamespacesNewtonsoft.Json.SchemaJsonSchema
An in-memory representation of a JSON Schema.
Declaration Syntax
C# Visual Basic Visual C++
public class JsonSchema
Public Class JsonSchema
public ref class JsonSchema
Members
All Members Constructors Methods Properties



Icon Member Description
JsonSchema()()()()
Initializes a new instance of the JsonSchema class.

AdditionalProperties
Gets or sets the JsonSchema of additional properties.

AllowAdditionalProperties
Gets or sets a value indicating whether additional properties are allowed.

Default
Gets or sets the default value.

Description
Gets or sets the description of the object.

Disallow
Gets or sets disallowed types.

DivisibleBy
Gets or sets a number that the value should be divisble by.

Enum
Gets or sets the a collection of valid enum values allowed.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExclusiveMaximum
Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute.

ExclusiveMinimum
Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute.

Extends
Gets or sets the extend JsonSchema.

Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Format
Gets or sets the format.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Hidden
Gets or sets whether the object is visible to users.

Id
Gets or sets the id.

Identity
Gets or sets the identity.

Items
Gets or sets the JsonSchema of items.

Maximum
Gets or sets the maximum.

MaximumItems
Gets or sets the maximum number of items.

MaximumLength
Gets or sets the maximum length.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Minimum
Gets or sets the minimum.

MinimumItems
Gets or sets the minimum number of items.

MinimumLength
Gets or sets the minimum length.

Options
Gets or sets a collection of options.

Parse(String)
Load a JsonSchema from a string that contains schema JSON.

Parse(String, JsonSchemaResolver)
Parses the specified json.

Pattern
Gets or sets the pattern.

PatternProperties
Gets or sets the pattern properties.

Properties
Gets or sets the JsonSchema of properties.

Read(JsonReader)
Reads a JsonSchema from the specified JsonReader.

Read(JsonReader, JsonSchemaResolver)
Reads a JsonSchema from the specified JsonReader.

ReadOnly
Gets or sets whether the object is read only.

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.

ToString()()()()
Returns a String that represents the current Object.
(Overrides Object.ToString()()()().)
Transient
Gets or sets whether the object is transient.

Type
Gets or sets the types of values allowed by the object.

WriteTo(JsonWriter)
Writes this schema to a JsonWriter.

WriteTo(JsonWriter, JsonSchemaResolver)
Writes this schema to a JsonWriter using the specified JsonSchemaResolver.

Inheritance Hierarchy
Object
JsonSchema

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.0.2.0 (4.0.2.13623)