CoreSchema Class

Implements the Core schema.

public class CoreSchema : JsonSchema

Remarks

The Core schema is an extension of the JSON schema, allowing for more human-readable presentation of the same types. This is the recommended default schema that YAML processor should use unless instructed otherwise. It is also strongly recommended that other schemas should be based on it.

Inheritance
JsonSchema CoreSchema

Constructors

NameDescription
CoreSchema()

CoreSchema()

public CoreSchema()

No documentation is available.

Methods

NameDescription
PrepareScalarRules()Registers scalar resolution rules for the YAML core schema.

PrepareScalarRules()

CoreSchema.cs

Registers scalar resolution rules for the YAML core schema.

protected override void PrepareScalarRules()

Fields

NameDescription
InstanceGets instance.

Instance

Gets instance.

public static readonly CoreSchema Instance