Type Alias EntryFieldSchema

EntryFieldSchema: {
    default?: unknown;
    description?: string;
    readOnly?: boolean;
    required: boolean;
    type: string;
    resource?: string | null;
    items?: {
        type?: string;
        resource?: string | null;
        title?: string;
        [key: string]: unknown;
    };
    [key: string]: unknown;
}

Type declaration

  • [key: string]: unknown

    Schema may carry extra metadata (multipleOf, format, validators, etc.).

  • Optionaldefault?: unknown

    Default value. JSON/object fields may have {}; array fields may have [].

  • Optionaldescription?: string
  • OptionalreadOnly?: boolean
  • required: boolean
  • type: string
  • Optionalresource?: string | null

    Present on entry/entries/asset/assets fields — the linked model or asset group.

  • Optionalitems?: {
        type?: string;
        resource?: string | null;
        title?: string;
        [key: string]: unknown;
    }

    Present on array-typed fields (entries, assets). Describes the element schema.