Interface ElementSchema

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

Hierarchy (View Summary)

Properties

$comment?: string

Internal comment

$id: string

Unique Schema ID

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

id?: string

DB Record ID

legacyId?: string
maxProperties?: number
minProperties?: number
organizationId?: string[]
parentSchemaId?: string
patternProperties?: Record<string, Attribute>
properties?: Record<string, Attribute>

List of internal properties

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

Non-editable schema

required?: string[]
scope: string

Organization scope

title: string

Human readable name

Type