Clov Packages
    Preparing search index...

    Interface SchemaObjectDefinition

    JSON Schema Draft 2020-12 keywords plus the OpenAPI fixed fields.

    interface SchemaObjectDefinition {
        $anchor?: string;
        $comment?: string;
        $defs?: Record<string, SchemaObject>;
        $dynamicAnchor?: string;
        $dynamicRef?: string;
        $id?: string;
        $ref?: string;
        $schema?: string;
        $vocabulary?: Record<string, boolean>;
        additionalProperties?: SchemaObject;
        allOf?: SchemaObject[];
        anyOf?: SchemaObject[];
        const?: unknown;
        contains?: SchemaObject;
        contentEncoding?: string;
        contentMediaType?: string;
        contentSchema?: SchemaObject;
        default?: unknown;
        dependentRequired?: Record<string, string[]>;
        dependentSchemas?: Record<string, SchemaObject>;
        deprecated?: boolean;
        description?: string;
        discriminator?: DiscriminatorObject;
        else?: SchemaObject;
        enum?: unknown[];
        example?: unknown;
        examples?: unknown[];
        exclusiveMaximum?: number;
        exclusiveMinimum?: number;
        externalDocs?: ExternalDocumentationObject;
        format?: string;
        if?: SchemaObject;
        items?: SchemaObject;
        maxContains?: number;
        maximum?: number;
        maxItems?: number;
        maxLength?: number;
        maxProperties?: number;
        minContains?: number;
        minimum?: number;
        minItems?: number;
        minLength?: number;
        minProperties?: number;
        multipleOf?: number;
        not?: SchemaObject;
        oneOf?: SchemaObject[];
        pattern?: string;
        patternProperties?: Record<string, SchemaObject>;
        prefixItems?: SchemaObject[];
        properties?: Record<string, SchemaObject>;
        propertyNames?: SchemaObject;
        readOnly?: boolean;
        required?: string[];
        then?: SchemaObject;
        title?: string;
        type?: JsonSchemaType | JsonSchemaType[];
        unevaluatedItems?: SchemaObject;
        unevaluatedProperties?: SchemaObject;
        uniqueItems?: boolean;
        writeOnly?: boolean;
        xml?: XMLObject;
        [key: `x-${string}`]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: `x-${string}`]: unknown
    Index
    $anchor?: string
    $comment?: string
    $defs?: Record<string, SchemaObject>
    $dynamicAnchor?: string
    $dynamicRef?: string
    $id?: string
    $ref?: string
    $schema?: string
    $vocabulary?: Record<string, boolean>
    additionalProperties?: SchemaObject
    allOf?: SchemaObject[]
    anyOf?: SchemaObject[]
    const?: unknown
    contains?: SchemaObject
    contentEncoding?: string
    contentMediaType?: string
    contentSchema?: SchemaObject
    default?: unknown
    dependentRequired?: Record<string, string[]>
    dependentSchemas?: Record<string, SchemaObject>
    deprecated?: boolean
    description?: string
    discriminator?: DiscriminatorObject
    enum?: unknown[]
    example?: unknown

    Use the JSON Schema examples keyword instead.

    examples?: unknown[]
    exclusiveMaximum?: number
    exclusiveMinimum?: number
    format?: string
    items?: SchemaObject
    maxContains?: number
    maximum?: number
    maxItems?: number
    maxLength?: number
    maxProperties?: number
    minContains?: number
    minimum?: number
    minItems?: number
    minLength?: number
    minProperties?: number
    multipleOf?: number
    oneOf?: SchemaObject[]
    pattern?: string
    patternProperties?: Record<string, SchemaObject>
    prefixItems?: SchemaObject[]
    properties?: Record<string, SchemaObject>
    propertyNames?: SchemaObject
    readOnly?: boolean
    required?: string[]
    title?: string
    unevaluatedItems?: SchemaObject
    unevaluatedProperties?: SchemaObject
    uniqueItems?: boolean
    writeOnly?: boolean
    xml?: XMLObject