fields | Field[] | Required | Fields displayed within the tab. |
name | string | — | Property name for a named tab, which nests its fields under an object. Omit it for a presentational tab. |
label | string | Record<string, string> | (({ i18n, t }) => string) | Generated from name | Tab label. Required when name is omitted. |
description | string | Record<string, string> | (({ i18n, t }) => string) | — | Deprecated. Use admin.description. |
interfaceName | string | — | Named tabs only. Name of a reusable top-level generated TypeScript interface. |
id | string | Generated for conditional tabs | Stable tab identifier. FrogBot generates one from the schema path when admin.condition is set. |
localized | boolean | false | Named tabs only. Stores the tab’s value once per configured locale. |
defaultValue | object or ({ locale, req, user }) => value | — | Named tabs only. Value used when the tab’s value is missing. See default values. |
hooks | { beforeValidate, beforeChange, afterChange, afterRead, beforeDuplicate } | — | Named tabs only. Field hooks for the tab’s value. See field hooks. |
access | { create, read, update } | Allowed | Named tabs only. Field access for the tab’s value. See field access control. |
hidden | boolean | false | Named tabs only. Removes the tab’s value from API responses while keeping stored data. |
saveToJWT | boolean | string | false | Named tabs only. In an auth-enabled collection, copies the tab’s value into the user’s token. A string sets the token key. |
virtual | boolean | string | false | Named tabs only. true skips database storage; a string reads a value through a relationship path. |
disableDuplicate | boolean | false | Named tabs only. Leaves the tab’s value out when a document is duplicated. |
admin | object | — | Standard field admin options, including condition and description. |
custom | Record<string, any> | — | Server-only metadata for your own code and plugins. Use admin.custom for data the browser also needs. |
jsonSchema | Array<({ jsonSchema }) => JSONSchema4> | — | Named tabs only. Functions that modify the tab’s JSON Schema used by type generation. |