Show / Hide Table of Contents

Class MetaSchemaValidationResults

Results object for schema meta-validations.

Inheritance
System.Object
MetaSchemaValidationResults
Implements
IJsonSerializable
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 Source

IsValid

Gets whether this schema is valid according to the drafts.

Declaration
public bool IsValid { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

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>
| Improve this Doc View Source

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>
| Improve this Doc View Source

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 Source

FromJson(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.

| Improve this Doc View Source

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.

Implements

IJsonSerializable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX