Interface ObjectProp

interface ObjectProp {
    $comment?: string;
    additionalProperties?: boolean;
    default?: any;
    dependencies?: Record<string, string[] | ObjectProp>;
    description?: string;
    examples?: any[];
    maxProperties?: number;
    minProperties?: number;
    patternProperties?: Record<string, Attribute>;
    properties?: Record<string, Attribute>;
    propertyNames?: { pattern: string };
    readOnly?: boolean;
    required?: string[];
    title?: string;
    type: NativeType;
}

Hierarchy (View Summary)

Properties

$comment?: string

Internal comment

additionalProperties?: boolean

Enable additional = not-defined properties

default?: any

Default attribute value

dependencies?: Record<string, string[] | ObjectProp>
description?: string

Attribute description

examples?: any[]

List of attribute examples

maxProperties?: number
minProperties?: number
patternProperties?: Record<string, Attribute>
properties?: Record<string, Attribute>

List of internal properties

propertyNames?: { pattern: string }
readOnly?: boolean

Non-editable schema

required?: string[]
title?: string