A minimal subset of the formal JSON Schema that describes a property.

interface IProperty {
    default?: PartialJSONValue;
    description?: string;
    properties?: {
        [property: string]: IProperty;
    };
    title?: string;
    type?: Primitive | Primitive[];
}

Hierarchy (view full)

Properties

The default value, if any.

description?: string

The schema description.

properties?: {
    [property: string]: IProperty;
}

The schema's child properties.

Type declaration

title?: string

The title of a property.

type?: Primitive | Primitive[]

The type or types of the data.