Class MetaSchemaValidationResults
Results object for schema meta-validations.
Inheritance
System.Object
MetaSchemaValidationResults
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Manatee.Json.Schema
Assembly: Manatee.Json.dll
Syntax
public class MetaSchemaValidationResults : IJsonSerializable
Properties
| Improve this Doc View SourceIsValid
Gets whether this schema is valid according to the drafts.
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
MetaSchemaValidations
Gets a set of results produced by validating this schema against the draft meta-schemas.
Declaration
public Dictionary<string, SchemaValidationResults> MetaSchemaValidations { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, SchemaValidationResults> |
OtherErrors
Gets other errors that may have been found.
Declaration
public List<string> OtherErrors { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
SupportedVersions
Gets or sets the JSON Schema draft versions supported by this schema.
Declaration
public JsonSchemaVersion SupportedVersions { get; set; }
Property Value
Type | Description |
---|---|
JsonSchemaVersion |
Methods
| Improve this Doc View SourceFromJson(JsonValue, JsonSerializer)
Builds an object from a JsonValue.
Declaration
public void FromJson(JsonValue json, JsonSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
JsonValue | json | The JsonValue representation of the object. |
JsonSerializer | serializer | The JsonSerializer instance to use for additional serialization of values. |
ToJson(JsonSerializer)
Converts an object to a JsonValue.
Declaration
public JsonValue ToJson(JsonSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
JsonSerializer | serializer | The JsonSerializer instance to use for additional serialization of values. |
Returns
Type | Description |
---|---|
JsonValue | The JsonValue representation of the object. |