Show / Hide Table of Contents

    Class JsonSchema

    Inheritance
    Object
    JsonSchema
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Newtonsoft.Json.dll
    Syntax
    [System.Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
    public class JsonSchema

    Constructors

    JsonSchema()

    Declaration
    public JsonSchema ();

    Properties

    AdditionalItems

    Declaration
    public Newtonsoft.Json.Schema.JsonSchema AdditionalItems { get; set; }
    Property Value
    JsonSchema

    AdditionalProperties

    Declaration
    public Newtonsoft.Json.Schema.JsonSchema AdditionalProperties { get; set; }
    Property Value
    JsonSchema

    AllowAdditionalItems

    Declaration
    public bool AllowAdditionalItems { get; set; }
    Property Value
    Boolean

    AllowAdditionalProperties

    Declaration
    public bool AllowAdditionalProperties { get; set; }
    Property Value
    Boolean

    Default

    Declaration
    public Newtonsoft.Json.Linq.JToken Default { get; set; }
    Property Value
    JToken

    Description

    Declaration
    public string Description { get; set; }
    Property Value
    String

    Disallow

    Declaration
    public Nullable<Newtonsoft.Json.Schema.JsonSchemaType> Disallow { get; set; }
    Property Value
    Nullable<JsonSchemaType>

    DivisibleBy

    Declaration
    public Nullable<double> DivisibleBy { get; set; }
    Property Value
    Nullable<Double>

    Enum

    Declaration
    public System.Collections.Generic.IList<Newtonsoft.Json.Linq.JToken> Enum { get; set; }
    Property Value
    IList<JToken>

    ExclusiveMaximum

    Declaration
    public Nullable<bool> ExclusiveMaximum { get; set; }
    Property Value
    Nullable<Boolean>

    ExclusiveMinimum

    Declaration
    public Nullable<bool> ExclusiveMinimum { get; set; }
    Property Value
    Nullable<Boolean>

    Extends

    Declaration
    public System.Collections.Generic.IList<Newtonsoft.Json.Schema.JsonSchema> Extends { get; set; }
    Property Value
    IList<JsonSchema>

    Format

    Declaration
    public string Format { get; set; }
    Property Value
    String

    Hidden

    Declaration
    public Nullable<bool> Hidden { get; set; }
    Property Value
    Nullable<Boolean>

    Id

    Declaration
    public string Id { get; set; }
    Property Value
    String

    Items

    Declaration
    public System.Collections.Generic.IList<Newtonsoft.Json.Schema.JsonSchema> Items { get; set; }
    Property Value
    IList<JsonSchema>

    Maximum

    Declaration
    public Nullable<double> Maximum { get; set; }
    Property Value
    Nullable<Double>

    MaximumItems

    Declaration
    public Nullable<int> MaximumItems { get; set; }
    Property Value
    Nullable<Int32>

    MaximumLength

    Declaration
    public Nullable<int> MaximumLength { get; set; }
    Property Value
    Nullable<Int32>

    Minimum

    Declaration
    public Nullable<double> Minimum { get; set; }
    Property Value
    Nullable<Double>

    MinimumItems

    Declaration
    public Nullable<int> MinimumItems { get; set; }
    Property Value
    Nullable<Int32>

    MinimumLength

    Declaration
    public Nullable<int> MinimumLength { get; set; }
    Property Value
    Nullable<Int32>

    Pattern

    Declaration
    public string Pattern { get; set; }
    Property Value
    String

    PatternProperties

    Declaration
    public System.Collections.Generic.IDictionary<string,Newtonsoft.Json.Schema.JsonSchema> PatternProperties { get; set; }
    Property Value
    IDictionary<String,JsonSchema>

    PositionalItemsValidation

    Declaration
    public bool PositionalItemsValidation { get; set; }
    Property Value
    Boolean

    Properties

    Declaration
    public System.Collections.Generic.IDictionary<string,Newtonsoft.Json.Schema.JsonSchema> Properties { get; set; }
    Property Value
    IDictionary<String,JsonSchema>

    ReadOnly

    Declaration
    public Nullable<bool> ReadOnly { get; set; }
    Property Value
    Nullable<Boolean>

    Required

    Declaration
    public Nullable<bool> Required { get; set; }
    Property Value
    Nullable<Boolean>

    Requires

    Declaration
    public string Requires { get; set; }
    Property Value
    String

    Title

    Declaration
    public string Title { get; set; }
    Property Value
    String

    Transient

    Declaration
    public Nullable<bool> Transient { get; set; }
    Property Value
    Nullable<Boolean>

    Type

    Declaration
    public Nullable<Newtonsoft.Json.Schema.JsonSchemaType> Type { get; set; }
    Property Value
    Nullable<JsonSchemaType>

    UniqueItems

    Declaration
    public bool UniqueItems { get; set; }
    Property Value
    Boolean

    Methods

    Parse(String)

    Declaration
    public static Newtonsoft.Json.Schema.JsonSchema Parse (string json);
    Parameters
    String json

    Returns
    JsonSchema

    Parse(String, JsonSchemaResolver)

    Declaration
    public static Newtonsoft.Json.Schema.JsonSchema Parse (string json, Newtonsoft.Json.Schema.JsonSchemaResolver resolver);
    Parameters
    String json

    JsonSchemaResolver resolver

    Returns
    JsonSchema

    Read(JsonReader, JsonSchemaResolver)

    Declaration
    public static Newtonsoft.Json.Schema.JsonSchema Read (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Schema.JsonSchemaResolver resolver);
    Parameters
    JsonReader reader

    JsonSchemaResolver resolver

    Returns
    JsonSchema

    Read(JsonReader)

    Declaration
    public static Newtonsoft.Json.Schema.JsonSchema Read (Newtonsoft.Json.JsonReader reader);
    Parameters
    JsonReader reader

    Returns
    JsonSchema

    ToString()

    Declaration
    public override string ToString ();
    Returns
    String

    WriteTo(JsonWriter)

    Declaration
    public void WriteTo (Newtonsoft.Json.JsonWriter writer);
    Parameters
    JsonWriter writer

    WriteTo(JsonWriter, JsonSchemaResolver)

    Declaration
    public void WriteTo (Newtonsoft.Json.JsonWriter writer, Newtonsoft.Json.Schema.JsonSchemaResolver resolver);
    Parameters
    JsonWriter writer

    JsonSchemaResolver resolver

    Back to top Azure SDK for Net