View protocol schemas — the view metadata type and its three persisted body spellings.
View protocol schemas — the view metadata type and its three persisted body spellings.
Covers the authoring surfaces (defineView, defineViewItem), the wire
doors Studio and the REST layer write through, and
ViewMetadataSchema — the union every persisted view body is judged
by.
ViewMetadataSchema is a union over three persisted body shapes, and
they do not share one name grammar. Which grammar applies is decided by the
shape of the body — something an author never names explicitly — so neither
failure direction below is discoverable from the key being written:
an inline view config; no config, no container slot
z.string().optional() — no grammar at all
accepted
defineViewcontainer
a container slot (list / form / listViews / formViews)
z.string().optional() on ViewSchema — no grammar at all
accepted, and normally IS flat
The two permissive rows are deliberate, not gaps left to tighten later:
A container's own name is the bare object key. ADR-0017 §3.2's
dual-read loader registers the aggregated container under <object> and
each expanded item under <object>.<viewKey>, so an object-scoped
container is named crm_lead — a name with no dot to carry.
An overlay's name is stamped by the write path, not authored:
normalizeViewMetadata puts it on every view body at the single write
chokepoint, and a personalization PUT inherits the identity of the entry it
shadows.
So both of the readings an author naturally forms are wrong:
"the dot is mandatory on every view row" — read off
ViewItemNameSchema alone. It is not: overlay and container rows
accept flat names, and rows in this repo legitimately use them
(case_grid, cases, the container row crm_lead). Those rows are
correct as written, not defects awaiting a dotted rewrite.
"flat names are fine generally" — read off one of those flat-named rows.
It is not: put the same name on a standalone ViewItem record and it is
refused, on the one field the flat-named row told you to fill.
This describes what the three shapes already do; it widens and narrows
nothing. The one item-name grammar itself lives in
shared/identifiers.zod.ts — grammar changes belong there, not here.
Show the add record entry point — REQUIRED: true draws the Add button, false declares it off
position
Enum<'top' | 'bottom' | 'both'>
optional (default: "top")
Position of the add record button: top (the toolbar, the default), bottom (under the list) or both
mode
never
optional
[REMOVED] addRecord.mode was removed in @objectstack/spec 18.1.0 (ADR-0049 enforce-or-remove) — no renderer ever read it: the Add button always opens the create form, never an inline row or a mode of its own choosing. Delete the key; the create form opens the way the object list's New opens it. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
formView
never
optional
[REMOVED] addRecord.formView was removed in @objectstack/spec 18.1.0 (ADR-0049 enforce-or-remove) — no renderer ever read it: the Add button opens the create form chosen by convention, never a named form. Delete the key, and to give the Add button its own form declare it as formViews.create on the object's view container (without one, the default form is used). Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Field providing the event end date/time (defaults to a single-day event)
titleField
string
optional
Field displayed as the event title. Omit to fall back to the record display name (ADR-0079 resolver chain)
colorField
string
optional
Field to derive each event color from (it names a field, not a color): the option color declared on that field for the record value, else the value itself when it already is a color literal (hex, rgb() or hsl()), else the calendar theme-aware palette color hashed from the value
allDayField
string
optional
Field carrying the all-day flag for each event (names a boolean field, not a value): a record whose flag is true is drawn as an all-day band rather than at a clock time, and one whose flag is absent or false is not all-day. Omit to leave the renderer inference in place — an event with no end date draws as all-day
initialDate
string
optional
Where the calendar opens: the month, week or day the active view mode shows that holds this date; omit it to open on today. A record anchor: first_record opens on the earliest start date (the startDateField value) among the records the view's filter selects, next_record on the earliest on or after the viewer's today (a date start field compares as a calendar day), and either opens on today when no record qualifies. Or a wrapped date-macro token, resolved each time the calendar opens: {today}, {next_month_start}, {current_quarter_start}, {3_months_from_now} (the full vocabulary is DATE_MACRO_TOKENS and the parameterised DATE_MACRO_PARAM_RE grammar in @objectstack/spec/data); a fixed calendar date is not accepted, because it goes stale as time passes.
Aggregation function for the column footer summary — and, on a grouped list view, the per-group header summary (server-side): count (COUNT(*), the group count), count_unique (count_distinct), sum, avg, min, max map onto the query AST's AggregationFunction; count_filled, count_empty, percent_filled, percent_empty derive from one COUNT(field) node (the non-null count) and the group count — count_filled = COUNT(field), count_empty = count − COUNT(field), percent_filled = COUNT(field) / count (0 when count is 0), percent_empty = 1 − percent_filled. Server-side "empty" is null on every face; the footer's client-side reading of empty strings and empty arrays as empty is the renderer's to converge
The one next step an empty list names: a link the user follows, { label, url } — for example to the how-to page that explains what belongs here when nobody can add a row. It opens a page or an address and runs no action. The console draws it in a list's empty state (the grid and gallery visualizations) and in an object-grid block's, beside the add-record action where one is offered.
Text of the link — a string, or an inline locale map resolved against the display locale
url
string
✅
Where the link goes — a target a type: 'url' action opens: an in-app path that starts with / or ./ (such as /docs/connect), or an address that opens with http://, https:// or mailto:. Any other scheme, a protocol-relative //host, a bare relative path and a tab, line feed or carriage return are refused at parse; a template that opens with ${…}, such as ${ctx.origin}/docs, is judged when it is clicked, after interpolation.
Options for select/multiselect/radio/checkboxes fields (per-option default is not accepted here — declare the pre-selected choice on the object definition). On a metadata form (schema-bound, built by defineForm), an enum-typed row may list its members here, to give them human labels or to offer a deliberate subset. An option value is a lowercase system identifier, so a row whose members cannot be spelled as option values (a hyphen, a capital) omits options: the control derives the members from the served JSON Schema, and their meanings go in helpText.
reference
string
optional
Target object name for lookup/master_detail fields
publicPicker
never
optional
[REMOVED] view.form.sections[].fields[].publicPicker was removed in @objectstack/spec 17.6.0 (ADR-0087 D2) — an anonymous public form no longer offers record search: lookup, master_detail and user fields are always left off the anonymous rendering, and the anonymous record-search route (GET /forms/:slug/lookup/:field) no longer exists. Delete the key (the whole publicPicker block). To let a visitor choose from a fixed list, use a select field with static options; to let them pick an existing record, put the form behind sign-in. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
maxLength
integer
optional
Maximum character length (positive integer; for text/textarea/email/url/phone)
minLength
integer
optional
Minimum character length (positive integer; minLength: 0 is refused — express "no minimum" by omitting the key)
min
number
optional
Minimum value (for number/currency/percent/slider)
max
number
optional
Maximum value
precision
integer
optional
Total digits (non-negative integer; for number/currency)
scale
integer
optional
Decimal places (integer 0-100). The upper bound is the platform's, not a policy: renderers turn scale into fraction digits through toFixed and Intl.NumberFormat's maximumFractionDigits, both of which throw a RangeError above 100 — so a larger declaration is unrenderable by any conforming consumer.
Editable on create, locked once the record exists (e.g. machine names).
required
boolean
optional
Required override
hidden
boolean
optional
Hidden override
colSpan
integer
optional
Absolute column span (1-4). The renderer clamps it to the form grid's current column count, so the cell starts at a real column boundary at every surface width and never overflows (colSpan: 4 in a 3-column grid renders as 3); a colSpan within the column count renders as authored, and colSpan: 1 emits no span class at all.
span
Enum<'auto' | 'full'>
optional (default: "auto")
Relative field width. 'auto' (default — omit it): the renderer sizes the field from its widget type × the current column count — only textarea, markdown, html, richtext and repeater resolve to the full column count (repeater reaches it through the wide field:grid widget it maps to). 'full': resolves to the form grid's full column count. How far down the container-query tiers that span is emitted is the renderer's, not this key's: the renderer emits one clamped col-span class per multi-column tier (@md:col-span-2 @2xl:col-span-3 for a 3-column grid), so the field takes the whole row at every multi-column tier, not just the widest.
widget
string
optional
Custom widget/component name (overrides type-based inference)
Visibility predicate (CEL) — field shown only when TRUE. Root: record (+ previous, parent) in runtime forms, or data in metadata forms. current_user (and the ADR-0068 aliases user / ctx.user / os.user) resolves here — CLIENT-SIDE only: nothing server-side evaluates a form-view field visibleWhen, so a role test here hides the control and protects no data (declare permission-set field-level security for that), and on the public /f/:slug route no host publishes a scope, so the root is unbound and the predicate faults open. No features.* on ANY form-view predicate — refused at parse: the root is unbound on the standalone form routes (/forms/:name, /f/:slug) and the predicate would fault open there. Inside a repeater data is the ROW, but it is still spelled data — a bare identifier is unbound and faults open too. e.g. Precord.priority == 'urgent'
visibleOn
never
optional
[REMOVED] view.form.sections[].fields[].visibleOn was removed in @objectstack/spec 18 (ADR-0089 D2) — it was the form view's deprecated spelling of the conditional-visibility predicate, which the parse folded into visibleWhen until this release. Use visibleWhen. Rename the key; the value (a CEL predicate) is unchanged. Where a field writes both, visibleWhen is the one that was in effect: delete visibleOn.
disclosure
Enum<'inline' | 'popover'>
optional
Composite rendering: inline bordered box (default) or a summary line + gear popover (progressive disclosure).
Form-view select option — the object-field option shape minus the per-option default and kind keys (declare the pre-selected choice on the object definition: field-level defaultValue, or default: true on that field's own options entry; declare kind there too).
Property
Type
Required
Description
label
string
✅
Display label (human-readable, any case allowed)
value
string
✅
Stored value (lowercase machine identifier)
description
string
optional
Optional secondary/help text for this option. Lookup option search matches it in addition to the label; renderers may show it as supporting text.
Per-option visibility predicate (CEL) — option is offered only when TRUE (else omitted). Env: the live record plus the host predicate scope, which binds current_user. The one VISIBILITY predicate the SERVER also enforces — the rule validator refuses a write of a value whose predicate is false, or cannot be evaluated — so a user-gated CHOICE belongs here. e.g. Precord.country == 'cn' or P'admin' in current_user.positions. On an OBJECT field's option it reads the record's OWN columns: the server never reads a related record there, so a read THROUGH a reference field (record.account.tier) would fault and every write picking the option would be refused, and objectstack validate refuses it — enforce such a restriction with a validations[]script rule, whose condition is read one hop through a reference.
Stable section identifier for i18n lookup (snake_case)
label
string | Record<string, string>
optional
Display label — the default-language string, or an inline locale map ({ en, "zh-CN" }) resolved at render time
description
string
optional
Optional description rendered under the section header.
collapsible
boolean
optional (default: false)
Whether the section renders a disclosure control, so a reader can close it and open it again. Default false: a section declaring neither collapse key is always open and shows no control. ⚠️ collapsed: true IMPLIES this key — an explicit collapsible: false beside it does NOT take the control away. The renderer resolves that from the DECLARATION; parse never rewrites the pair, so a parsed section still reports the false that was authored. Only true is refused on a wizard step and beside group; false is accepted in both, because it declares exactly what those surfaces already deliver.
collapsed
boolean
optional (default: false)
Whether the section starts closed. Default false. ⚠️ collapsed: true IMPLIES collapsible and is sufficient ON ITS OWN — a section that starts closed always carries the disclosure control that reopens it, and it outranks an explicit collapsible: false, so writing collapsed: true alone is a correct way to say "collapsed by default". The implication is a renderer rule, never a parse-time rewrite: { collapsed: true } still parses to collapsible: false, collapsed: true, so the parsed collapsible must never be read as "a control renders". Only true is refused on a wizard step (steps do not collapse) and beside group, whose field group declares the pair.
Visibility predicate (CEL) — section shown only when TRUE. Root: record (+ previous, parent) in runtime forms, or data in metadata forms. current_user (and the ADR-0068 aliases user / ctx.user / os.user) resolves here too — CLIENT-SIDE only: nothing server-side evaluates a form-view section visibleWhen, so a role test here hides the controls and protects no data (declare permission-set field-level security for that), and on the public /f/:slug route no host publishes a scope, so the root is unbound and the predicate faults open. No features.* on ANY form-view predicate — refused at parse: unbound on the standalone form routes, where the predicate would fault open.
visibleOn
never
optional
[REMOVED] view.form.sections[].visibleOn was removed in @objectstack/spec 18 (ADR-0089 D2) — it was the form view's deprecated spelling of a section's conditional-visibility predicate, which the parse folded into visibleWhen until this release. Use visibleWhen. Rename the key; the value (a CEL predicate, which hides the whole section when false) is unchanged. Where a section writes both, visibleWhen is the one that was in effect: delete visibleOn.
columns
Enum<'1' | '2' | '3' | '4'> | 1 | 2 | 3 | 4
optional
Fields per row, 1–4 ('1'–'4' parse to the number). Declared: the author's ceiling — at most that many per row where the container is wide enough; a renderer collapses it on narrow containers. Undeclared: the renderer's choice by available width — the parse adds no default, so declare columns: 1 to keep a section single-column.
pane
never
optional
[REMOVED] view.form.sections[].pane was removed in @objectstack/spec 18.3.0 (ADR-0050) — it placed a section in one pane of a type: 'split' form, and split left the form view type in the same release, so no form view draws panes. Delete the key: a tabbed form gives each section its own tab, and a simple form stacks them. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
group
string
optional
Field group key (snake_case) whose members and presentation this section inherits, from the bound object's fieldGroups (ADR-0085 §5 deriveFieldGroupLayout). Mutually exclusive with fields, and with every key the group itself declares (name, label, description, collapsible, collapsed, visibleWhen). Not valid on a wizard step. Must name a declared group — checked by reference diagnostics.
Options for select/multiselect/radio/checkboxes fields (per-option default is not accepted here — declare the pre-selected choice on the object definition). On a metadata form (schema-bound, built by defineForm), an enum-typed row may list its members here, to give them human labels or to offer a deliberate subset. An option value is a lowercase system identifier, so a row whose members cannot be spelled as option values (a hyphen, a capital) omits options: the control derives the members from the served JSON Schema, and their meanings go in helpText.
reference
string
optional
Target object name for lookup/master_detail fields
publicPicker
never
optional
[REMOVED] view.form.sections[].fields[].publicPicker was removed in @objectstack/spec 17.6.0 (ADR-0087 D2) — an anonymous public form no longer offers record search: lookup, master_detail and user fields are always left off the anonymous rendering, and the anonymous record-search route (GET /forms/:slug/lookup/:field) no longer exists. Delete the key (the whole publicPicker block). To let a visitor choose from a fixed list, use a select field with static options; to let them pick an existing record, put the form behind sign-in. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
maxLength
integer
optional
Maximum character length (positive integer; for text/textarea/email/url/phone)
minLength
integer
optional
Minimum character length (positive integer; minLength: 0 is refused — express "no minimum" by omitting the key)
min
number
optional
Minimum value (for number/currency/percent/slider)
max
number
optional
Maximum value
precision
integer
optional
Total digits (non-negative integer; for number/currency)
scale
integer
optional
Decimal places (integer 0-100). The upper bound is the platform's, not a policy: renderers turn scale into fraction digits through toFixed and Intl.NumberFormat's maximumFractionDigits, both of which throw a RangeError above 100 — so a larger declaration is unrenderable by any conforming consumer.
Editable on create, locked once the record exists (e.g. machine names).
required
boolean
optional
Required override
hidden
boolean
optional
Hidden override
colSpan
integer
optional
Absolute column span (1-4). The renderer clamps it to the form grid's current column count, so the cell starts at a real column boundary at every surface width and never overflows (colSpan: 4 in a 3-column grid renders as 3); a colSpan within the column count renders as authored, and colSpan: 1 emits no span class at all.
span
Enum<'auto' | 'full'>
optional (default: "auto")
Relative field width. 'auto' (default — omit it): the renderer sizes the field from its widget type × the current column count — only textarea, markdown, html, richtext and repeater resolve to the full column count (repeater reaches it through the wide field:grid widget it maps to). 'full': resolves to the form grid's full column count. How far down the container-query tiers that span is emitted is the renderer's, not this key's: the renderer emits one clamped col-span class per multi-column tier (@md:col-span-2 @2xl:col-span-3 for a 3-column grid), so the field takes the whole row at every multi-column tier, not just the widest.
widget
string
optional
Custom widget/component name (overrides type-based inference)
Visibility predicate (CEL) — field shown only when TRUE. Root: record (+ previous, parent) in runtime forms, or data in metadata forms. current_user (and the ADR-0068 aliases user / ctx.user / os.user) resolves here — CLIENT-SIDE only: nothing server-side evaluates a form-view field visibleWhen, so a role test here hides the control and protects no data (declare permission-set field-level security for that), and on the public /f/:slug route no host publishes a scope, so the root is unbound and the predicate faults open. No features.* on ANY form-view predicate — refused at parse: the root is unbound on the standalone form routes (/forms/:name, /f/:slug) and the predicate would fault open there. Inside a repeater data is the ROW, but it is still spelled data — a bare identifier is unbound and faults open too. e.g. Precord.priority == 'urgent'
visibleOn
never
optional
[REMOVED] view.form.sections[].fields[].visibleOn was removed in @objectstack/spec 18 (ADR-0089 D2) — it was the form view's deprecated spelling of the conditional-visibility predicate, which the parse folded into visibleWhen until this release. Use visibleWhen. Rename the key; the value (a CEL predicate) is unchanged. Where a field writes both, visibleWhen is the one that was in effect: delete visibleOn.
disclosure
Enum<'inline' | 'popover'>
optional
Composite rendering: inline bordered box (default) or a summary line + gear popover (progressive disclosure).
Form-view select option — the object-field option shape minus the per-option default and kind keys (declare the pre-selected choice on the object definition: field-level defaultValue, or default: true on that field's own options entry; declare kind there too).
Per-option visibility predicate (CEL) — option is offered only when TRUE (else omitted). Env: the live record plus the host predicate scope, which binds current_user. The one VISIBILITY predicate the SERVER also enforces — the rule validator refuses a write of a value whose predicate is false, or cannot be evaluated — so a user-gated CHOICE belongs here. e.g. Precord.country == 'cn' or P'admin' in current_user.positions. On an OBJECT field's option it reads the record's OWN columns: the server never reads a related record there, so a read THROUGH a reference field (record.account.tier) would fault and every write picking the option would be refused, and objectstack validate refuses it — enforce such a restriction with a validations[]script rule, whose condition is read one hop through a reference.
Form layout: 'simple' (stacked sections, the default), 'tabbed' (one tab per section) or 'wizard' (one gated step per section). Where the form opens is the caller's choice, not the form's
layout
Enum<'vertical' | 'horizontal'>
optional
Field layout direction — 'vertical' (the renderer default) or 'horizontal'. Multi-column is not a layout value: set columns
columns
integer
optional
Number of columns for the form body
title
string
optional
Form title
description
string
optional
Form description
defaultTab
string
optional
Initially active tab (tabbed forms)
tabPosition
Enum<'top' | 'bottom' | 'left' | 'right'>
optional
Tab strip position (tabbed forms)
allowSkip
boolean
optional
Wizard step-gate opt-out: allow entering a later step without submitting the one before it. Navigation freedom, NOT a validation exemption — the final submit still re-validates every step and returns to the first failing one. Default (absent/false): steps unlock in array order as each prior step submits validly. UI admission only, never authorization.
showStepIndicator
boolean
optional
Show the wizard step indicator (renderer default: shown). Step progress (completed/current/upcoming/invalid) is derived from the step gate — this boolean is the only authorable progress surface.
splitDirection
never
optional
[REMOVED] view.form.splitDirection was removed in @objectstack/spec 18.3.0 (ADR-0050) — it set the pane orientation of a split form, and the split form renderer retired in the same release, so no form draws panes. Delete the key. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
splitSize
never
optional
[REMOVED] view.form.splitSize was removed in @objectstack/spec 18.3.0 (ADR-0050) — it sized the primary pane of a type: 'split' form, and split left the form view type in the same release, so no form view draws panes. Delete the key. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
splitResizable
never
optional
[REMOVED] view.form.splitResizable was removed in @objectstack/spec 18.3.0 (ADR-0050) — it made the panes of a type: 'split' form resizable, and split left the form view type in the same release, so no form view draws panes. Delete the key. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
drawerSide
never
optional
[REMOVED] view.form.drawerSide was removed in @objectstack/spec 18.3.0 (ADR-0049) — no form view opens in a drawer, so no form view ever read it. Delete the key: a list opens a clicked record in its drawer (navigation.mode), and the React ObjectForm block keeps its own drawerSide prop for the drawer it opens with formType='drawer'. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
drawerWidth
never
optional
[REMOVED] view.form.drawerWidth was removed in @objectstack/spec 18.3.0 (ADR-0049) — no form view opens in a drawer, so no form view ever read it, and a pixel width cannot be chosen without knowing the client viewport. Delete the key: a list's record drawer takes its starting width from the navigation.size bucket, and the React ObjectForm block keeps its own drawerWidth prop for the drawer it opens. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
modalSize
Enum<'sm' | 'default' | 'lg' | 'xl' | 'full'>
optional
Size bucket of the dialog a caller opens this form in: the console's New / Edit dialog, or the modal container of the React ObjectForm block (formType 'modal')
Stable section identifier for i18n lookup (snake_case)
label
string | Record<string, string>
optional
Display label — the default-language string, or an inline locale map ({ en, "zh-CN" }) resolved at render time
description
string
optional
Optional description rendered under the section header.
collapsible
boolean
optional (default: false)
Whether the section renders a disclosure control, so a reader can close it and open it again. Default false: a section declaring neither collapse key is always open and shows no control. ⚠️ collapsed: true IMPLIES this key — an explicit collapsible: false beside it does NOT take the control away. The renderer resolves that from the DECLARATION; parse never rewrites the pair, so a parsed section still reports the false that was authored. Only true is refused on a wizard step and beside group; false is accepted in both, because it declares exactly what those surfaces already deliver.
collapsed
boolean
optional (default: false)
Whether the section starts closed. Default false. ⚠️ collapsed: true IMPLIES collapsible and is sufficient ON ITS OWN — a section that starts closed always carries the disclosure control that reopens it, and it outranks an explicit collapsible: false, so writing collapsed: true alone is a correct way to say "collapsed by default". The implication is a renderer rule, never a parse-time rewrite: { collapsed: true } still parses to collapsible: false, collapsed: true, so the parsed collapsible must never be read as "a control renders". Only true is refused on a wizard step (steps do not collapse) and beside group, whose field group declares the pair.
Visibility predicate (CEL) — section shown only when TRUE. Root: record (+ previous, parent) in runtime forms, or data in metadata forms. current_user (and the ADR-0068 aliases user / ctx.user / os.user) resolves here too — CLIENT-SIDE only: nothing server-side evaluates a form-view section visibleWhen, so a role test here hides the controls and protects no data (declare permission-set field-level security for that), and on the public /f/:slug route no host publishes a scope, so the root is unbound and the predicate faults open. No features.* on ANY form-view predicate — refused at parse: unbound on the standalone form routes, where the predicate would fault open.
visibleOn
never
optional
[REMOVED] view.form.sections[].visibleOn was removed in @objectstack/spec 18 (ADR-0089 D2) — it was the form view's deprecated spelling of a section's conditional-visibility predicate, which the parse folded into visibleWhen until this release. Use visibleWhen. Rename the key; the value (a CEL predicate, which hides the whole section when false) is unchanged. Where a section writes both, visibleWhen is the one that was in effect: delete visibleOn.
columns
Enum<'1' | '2' | '3' | '4'> | 1 | 2 | 3 | 4
optional
Fields per row, 1–4 ('1'–'4' parse to the number). Declared: the author's ceiling — at most that many per row where the container is wide enough; a renderer collapses it on narrow containers. Undeclared: the renderer's choice by available width — the parse adds no default, so declare columns: 1 to keep a section single-column.
pane
never
optional
[REMOVED] view.form.sections[].pane was removed in @objectstack/spec 18.3.0 (ADR-0050) — it placed a section in one pane of a type: 'split' form, and split left the form view type in the same release, so no form view draws panes. Delete the key: a tabbed form gives each section its own tab, and a simple form stacks them. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
group
string
optional
Field group key (snake_case) whose members and presentation this section inherits, from the bound object's fieldGroups (ADR-0085 §5 deriveFieldGroupLayout). Mutually exclusive with fields, and with every key the group itself declares (name, label, description, collapsible, collapsed, visibleWhen). Not valid on a wizard step. Must name a declared group — checked by reference diagnostics.
Stable section identifier for i18n lookup (snake_case)
label
string | Record<string, string>
optional
Display label — the default-language string, or an inline locale map ({ en, "zh-CN" }) resolved at render time
description
string
optional
Optional description rendered under the section header.
collapsible
boolean
optional (default: false)
Whether the section renders a disclosure control, so a reader can close it and open it again. Default false: a section declaring neither collapse key is always open and shows no control. ⚠️ collapsed: true IMPLIES this key — an explicit collapsible: false beside it does NOT take the control away. The renderer resolves that from the DECLARATION; parse never rewrites the pair, so a parsed section still reports the false that was authored. Only true is refused on a wizard step and beside group; false is accepted in both, because it declares exactly what those surfaces already deliver.
collapsed
boolean
optional (default: false)
Whether the section starts closed. Default false. ⚠️ collapsed: true IMPLIES collapsible and is sufficient ON ITS OWN — a section that starts closed always carries the disclosure control that reopens it, and it outranks an explicit collapsible: false, so writing collapsed: true alone is a correct way to say "collapsed by default". The implication is a renderer rule, never a parse-time rewrite: { collapsed: true } still parses to collapsible: false, collapsed: true, so the parsed collapsible must never be read as "a control renders". Only true is refused on a wizard step (steps do not collapse) and beside group, whose field group declares the pair.
Visibility predicate (CEL) — section shown only when TRUE. Root: record (+ previous, parent) in runtime forms, or data in metadata forms. current_user (and the ADR-0068 aliases user / ctx.user / os.user) resolves here too — CLIENT-SIDE only: nothing server-side evaluates a form-view section visibleWhen, so a role test here hides the controls and protects no data (declare permission-set field-level security for that), and on the public /f/:slug route no host publishes a scope, so the root is unbound and the predicate faults open. No features.* on ANY form-view predicate — refused at parse: unbound on the standalone form routes, where the predicate would fault open.
visibleOn
never
optional
[REMOVED] view.form.sections[].visibleOn was removed in @objectstack/spec 18 (ADR-0089 D2) — it was the form view's deprecated spelling of a section's conditional-visibility predicate, which the parse folded into visibleWhen until this release. Use visibleWhen. Rename the key; the value (a CEL predicate, which hides the whole section when false) is unchanged. Where a section writes both, visibleWhen is the one that was in effect: delete visibleOn.
columns
Enum<'1' | '2' | '3' | '4'> | 1 | 2 | 3 | 4
optional
Fields per row, 1–4 ('1'–'4' parse to the number). Declared: the author's ceiling — at most that many per row where the container is wide enough; a renderer collapses it on narrow containers. Undeclared: the renderer's choice by available width — the parse adds no default, so declare columns: 1 to keep a section single-column.
pane
never
optional
[REMOVED] view.form.sections[].pane was removed in @objectstack/spec 18.3.0 (ADR-0050) — it placed a section in one pane of a type: 'split' form, and split left the form view type in the same release, so no form view draws panes. Delete the key: a tabbed form gives each section its own tab, and a simple form stacks them. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
group
string
optional
Field group key (snake_case) whose members and presentation this section inherits, from the bound object's fieldGroups (ADR-0085 §5 deriveFieldGroupLayout). Mutually exclusive with fields, and with every key the group itself declares (name, label, description, collapsible, collapsed, visibleWhen). Not valid on a wizard step. Must name a declared group — checked by reference diagnostics.
Editable grid columns (derived from the child object when omitted). Each entry is the strict, name-keyed inline grid column a relationship field's inlineColumns takes ({ name, label?, type?, … } — objectui GridColumn); identity-only entries ({ name }) hydrate everything else from the child object's fields. Unknown keys and the retired field spelling are refused at parse.
Public slug of the form, chosen by the author: not a URL, and never generated. /forms/x, forms/x and x name one slug, x. It is served to anonymous visitors only while enabled and allowAnonymous are both true: the REST form door answers GET /api/v1/forms/:slug (default API base), and a host that serves the console shows the form at /_console/f/:slug and redirects /forms/:slug there, query string carried.
password
string
optional
Password required to access shared link
allowedDomains
string[]
optional
Restrict access to specific email domains (e.g. ["example.com"])
Heading of the confirmation panel. May name a field of the submitted record as {{record.field_name}}, and only a field the engine generates on insert (an autonumber field, e.g. a case number): a hook-derived value never reaches an anonymous visitor.
message
string
optional
Body of the confirmation panel. May name a field of the submitted record as {{record.field_name}}, and only a field the engine generates on insert (an autonumber field, e.g. a case number): a hook-derived value never reaches an anonymous visitor.
Where the browser goes after a successful submit. (1) RELATIVE paths only — it must start with /, and absolute or protocol-relative URLs are refused, which is what closes the open-redirect face; (2) interpolation ONLY from declared record fields, spelled {{record.field_name}}, and every interpolated value is URL-escaped when the redirect is built; (3) a verbatim redirect on the resolved relative path is the intended consumption. To send the browser OUT of the app, use an app navigation item ({ type: 'url', url }) instead.
[REMOVED] view.form.buttons.reset was removed in @objectstack/spec 18.3.0 (ADR-0049) — no form ever drew a reset button, and its label was never read. Delete the key: a form has submit and cancel buttons only, and Cancel leaves the form without saving. reset.show: true used to clear the form after each save (the ObjectForm fold that ObjectView and the record form page render); a form converted by this release no longer clears after a save, and a form that should declares submitBehavior: { kind: 'continue' }. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Field listing the task's predecessor (dependency) record ids
colorField
string
optional
Field to derive each bar color from (it names a field, not a color): the option color declared on that field for the record value, else the value itself when it already is a color literal (hex, rgb() or hsl()), else a semantic color token derived from the value
parentField
string
optional
Field holding the parent task id (builds the summary → step tree)
typeField
string
optional
Field whose value maps to task/summary/milestone
baselineStartField
string
optional
Baseline (planned) start field
baselineEndField
string
optional
Baseline (planned) end field
groupByField
string
optional
Field to group leaf tasks by (synthesized summary rows). NO leading or trailing whitespace: the group accessor reads this name off every task verbatim, so a padded spelling drops every task into one ungrouped bucket.
resourceView
boolean
optional
Render a per-resource workload histogram instead of the timeline
assigneeField
string
optional
Resource field to bucket load by (resource view)
effortField
string
optional
Per-task load units (resource view; default 1)
capacity
number
optional
Per-resource capacity ceiling; loads above this flag overload
tooltipFields
(string | { field: string; label?: string })[]
optional
Fields to surface in the hover tooltip, in display order
Timeline granularity — one column per day/week/month/quarter/year (also the resource-view column granularity; renderer default 'day')
borderColorField
string
optional
Field carrying a per-task alert stroke color — any CSS color or semantic palette name (red, orange, …): the bar keeps its fill and gains an outline plus halo in that color (e.g. red for overdue, orange for due-soon; typically a server-computed alert field). Empty or null means no stroke
lockField
string
optional
Field marking a row view-only (truthy means locked): a locked bar cannot be dragged or resized, its progress cannot be dragged, no dependency can be drawn from it and its inline-edit and edit/delete menu entries are hidden — clicking it (open drawer, jump) still works. Independent of the global readOnly; freezes individual levels while siblings stay editable
objectField
string
optional
Field carrying the row's OWN object API name, for mixed-object trees (a row set composing parent-object rows with child-object rows): the detail drawer and its full-page link follow each row's real object instead of the view's bound object. Empty or missing falls back to the bound object
summaryExtent
Enum<'children' | 'self'>
optional
How a summary bar's span is computed. 'children' (renderer default) rolls the bar up from its children — min start, max end, duration-weighted progress — and ignores the record's own dates; 'self' renders the record's OWN start, end and progress and falls back to rollup only for records without dates (use it when the parent's schedule is authoritative, e.g. a shift plan whose work-order children are locked history)
defaultCollapsedDepth
integer
optional
Auto-collapse tree nodes at or below this 0-indexed depth on first render (roots are depth 0): every node at that depth or deeper that has children starts folded; the user can still expand them. Omit to start fully expanded
dependencyTypes
boolean
optional
Whether the backing store persists dependency link TYPES (fs, ss, ff, sf); renderer default true. Set false when dependencies are bare predecessor ids: the link menu hides the type switcher (a switch would be silently reverted on refetch) and drag-created links are always finish-to-start
timeZone
string
optional
Business time zone, an IANA name such as 'Asia/Shanghai': the chart's calendar — shift bands, day columns, snapping, the today line, date labels — renders in this zone's wall time for every viewer instead of the browser's zone; a datetime value is still written as the real instant, and a date value as the calendar day it was dropped on in this zone's calendar (YYYY-MM-DD). An invalid name falls back to the browser zone with a console warning
exportFileName
string
optional
Base name for exported PNG and PDF files (e.g. the view's display label — the host's view schema often reaches the renderer stripped of label); falls back to the object schema label, then the object API name. A timestamp suffix is always appended
Per-interaction switches, each defaulting to true: allow bar moves but pin durations (resize: false), or keep the dependency UI read-only (link: false). They only narrow what readOnly and row locks already allow
Shift segmentation for the day-mode timeline: splits each shift-day (starting at dayStart) into the configured bands — a two-tier header (date over band), per-band tints and drag/resize snapping to band boundaries. No shift concept is hardcoded; bands are pure config. Off when omitted
Clock time the shift-day begins, 'HH:mm' (24h); the day column starts here and runs 24h. Renderer default '00:00' (calendar day); for an 08:00 handover set '08:00'
Record grouping configuration — SERVER-SIDE: the set of groups and every number in a group header (the count and the per-column summaries) are properties of the query, not of the fetched page, answered by one aggregate query (groupBy = the fields in nesting order, count + the mapped column summaries, the view filter); rows inside a group are paged by the existing find with the group key AND-ed into the view filter. Compiled by compileListViewGroupQuery / compileListViewGroupRowsQuery
Fields to group by, in nesting order — the first entry is the outermost group and each later entry nests one level deeper (at least one field); the same order as the group header query's groupBy
Field name to group by — one groupBy column of the group header query; the header row carries its raw stored value (null for the empty group). NO leading or trailing whitespace: the name is compiled into the aggregate query verbatim, so a padded spelling buckets every row into one empty group instead of grouping them.
order
Enum<'asc' | 'desc'>
optional (default: "asc")
Group sort order — applied by the consumer over the header rows (the aggregate query itself sorts nothing): by the group key, or by the orderBy value each header row carries when orderBy is set
orderBy
string
optional
Field whose value orders this level's groups, when that is not the grouping field — a field of the same object; default: the grouping field itself, so the groups order by their own key. The group header query then carries, per group, the smallest value of this field for order: asc and the largest for desc (each group sits where its first row would if the rows were sorted by this field), and the consumer sorts the header rows by it; a group with no value here sorts last in both directions, and equal values fall back to the group key in the same direction. NO leading or trailing whitespace (compiled verbatim, as field is). A numeric, temporal or boolean field: min/max over a string orders by collation, which differs between backends, so the server refuses it
Field name to group by — one groupBy column of the group header query; the header row carries its raw stored value (null for the empty group). NO leading or trailing whitespace: the name is compiled into the aggregate query verbatim, so a padded spelling buckets every row into one empty group instead of grouping them.
order
Enum<'asc' | 'desc'>
optional (default: "asc")
Group sort order — applied by the consumer over the header rows (the aggregate query itself sorts nothing): by the group key, or by the orderBy value each header row carries when orderBy is set
orderBy
string
optional
Field whose value orders this level's groups, when that is not the grouping field — a field of the same object; default: the grouping field itself, so the groups order by their own key. The group header query then carries, per group, the smallest value of this field for order: asc and the largest for desc (each group sits where its first row would if the rows were sorted by this field), and the consumer sorts the header rows by it; a group with no value here sorts last in both directions, and equal values fall back to the group key in the same direction. NO leading or trailing whitespace (compiled verbatim, as field is). A numeric, temporal or boolean field: min/max over a string orders by collation, which differs between backends, so the server refuses it
Field to group columns by (usually status/select). NO leading or trailing whitespace: the board reads this name off every card verbatim, so a padded spelling collapses the whole board into one Uncategorized lane.
lanes
string[]
optional
The lanes the board draws, in this order: stored option values of the groupByField field (the option value, not its label). Omit to draw one lane per option in the options' own order. A record whose value is not listed is not hidden: it lands in the Uncategorized lane, as a record whose value matches no lane does. To keep records off the board, filter the view. List each value once.
summarizeField
string
optional
Field to sum at top of column (e.g. amount)
titleField
string
optional
Field displayed as the card title. Omit to fall back to the record display name (ADR-0079 resolver chain)
Field providing the marker latitude (used with longitudeField)
longitudeField
string
optional
Field providing the marker longitude (used with latitudeField)
locationField
string
optional
Field providing a combined location — a "lat,lng" string or a { lat, lng } object — as the alternative to the latitudeField/longitudeField pair
titleField
string
optional
Field displayed as the marker title (popup heading, mobile record card, and what the map search box matches on)
descriptionField
string
optional
Field displayed as the marker description
zoom
number
optional
Initial zoom level (1-20). Omit to let the renderer fit the camera to the queried records
center
[number, number]
optional
Initial camera center as [latitude, longitude]. Omit to let the renderer fit the camera to the queried records
style
string
optional
Map style URL — the MapLibre style document the renderer loads in place of the public demo tiles. The component-level mapStyle is read FIRST and wins when both are present; this is NOT the inline CSS style record a component node carries
Fields to display as columns — the PROJECTION of the per-view field composition columns x hiddenFields x fieldOrder: this list is the candidate set AND the baseline order; hiddenFields subtracts from it and fieldOrder orders what survives. hiddenFields and fieldOrder cannot add a field omitted here. An empty list declares no projection, so neither of them applies: which columns show is then left to the renderer (objectui's ListView grid derives the object's default columns).
[REMOVED] view.list.filterableFields was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for userFilters.fields (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare userFilters: { element: 'dropdown', fields: [{ field: '<field_name>' }] }. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks hidden: true is not offered. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Chart binding — applies when the view renders as a chart. A type: 'chart' view must bind one: it names the ADR-0021 dataset and the measures (values) the chart plots, and there is no default binding
Tree/hierarchy configuration — applies when the view renders as a tree layout
pageName
never
optional
[REMOVED] view.pageName was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it named the page a type: 'page' view was to mount, and that mount was never built: no renderer read the key, so the named page was never reached and the view drew an empty grid. Delete the key; to put a published page in front of users, give the app a navigation item — { type: 'page', pageName: '<page_name>' } under the app's navigation — which is a different key on a different surface and is the page mount that has always rendered. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
description
string | Record<string, string>
optional
View description for documentation/tooltips
sharing
{ lockedBy?: string }
optional
View sharing configuration: who locked the view configuration
requiredPermissions
string[]
optional
[ADR-0066] Capabilities a user must ALL hold for this list view or dashboard to be served to them — names that permission sets grant through systemPermissions, the same list as requiredPermissions on an app, a navigation item or an action. Absent or empty: no audience gate. There is no any-of form: to serve one item to several audiences (legal OR admin), declare one capability and grant it to each of their permission sets. The server enforces it: a user who does not hold them all is not listed the item and is refused it by name; a view container's list views are pruned the same way, and so are an object's own list views for a user who may not edit the object.
Group records by one or more fields — server-side: the groups and their header numbers come from an aggregate query over the whole filtered set, rows within a group are paged (see GroupingConfigSchema)
Fields to hide in this specific view — the SUBTRACTION of the per-view field composition columns x hiddenFields x fieldOrder: each name listed here is removed from the columns projection before fieldOrder orders the remainder. A name columns never projected subtracts nothing.
fieldOrder
string[]
optional
Explicit field display order for this view — the ORDERING of the per-view field composition columns x hiddenFields x fieldOrder: it sorts what survives columns minus hiddenFields and never adds a field. A surviving column absent from fieldOrder sorts LAST, after every listed one, keeping its columns-relative order; a name listed here that did not survive orders nothing.
Rich bulk action definitions (schema-driven, executed via BulkActionDialog). Use a def for a mass data-plane mutation ('update' with a patch / 'delete') that no action expresses, or for an operation: 'custom' + execution: 'aggregate' entry that dispatches the action it NAMES once for the whole selection — the renderer injects params._selectedIds: string[] (read that on the server, not recordId) so a single call can produce one aggregate artifact (zip of QR codes, merged PDF, batch print). Aggregate results are all-or-nothing: a handler that cannot cover the whole selection must reject, and per-row retry is replaced by re-running the action. batchSize does not apply (the call is never chunked); set maxRecords on defs whose server work is expensive. For the PER-RECORD dispatch use bulkActions: ['<name>'] instead — the bare-string form, promoted with the action's own label, params and visible; a 'custom' def without execution: 'aggregate' has no dispatcher and is refused at parse time. Toolbar url/api actions can also interpolate the current selection via ${ctx.selection.ids} / ${ctx.selection.count}.
Export configuration for the list toolbar export menu: { formats?, maxRecords?, includeHeaders?, fileNamePrefix?, streaming? }. A bare format array is the legacy spelling and lifts to { formats: [...] } at parse.
[REMOVED] view.list.tabs was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — no renderer ever mounted a tab bar for it, so authoring it drew nothing: the tab strip above an object's records is the saved-view switcher (ViewTabBar), which renders one tab per named list view and never read this key. Delete the key, and move each tab you want to a named list view under the object's listViews instead: the tab's name becomes the entry's key, its label the entry's label, and its filter rules join the view's own filter on that entry (copy the view's columns too); a tab whose view already named a list view needs nothing more. Every listViews entry renders as a tab in the switcher. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Filter value. The accepted SHAPE depends on the operator: in / not_in take an array (any length, including []), between takes exactly [min, max], every other operator takes a scalar. The unary operators (is_empty / is_not_empty / is_null / is_not_null) take their direction from the operator name and ignore this key. One operator bounds the VALUE as well as the shape: icontains takes a NON-EMPTY STRING, the comparand the Filter Protocol conformance table declares for it — an empty comparand constrains nothing and a non-string one would answer a query nobody wrote, and both are refused at the query path too.
An any-of group: { or: [rule, ...] } matches a record when ANY of its rules matches. It sits in the filter list beside plain rules, and the list still ANDs every element, so [{ or: [{ field: "status", operator: "equals", value: "open" }, { field: "completed_at", operator: "after", value: "{7_days_ago}" }] }] selects the open records and the ones completed in the last 7 days. One level only: its members are flat rules. The console applies it, ANDed with its sibling elements, and its filter builder edits a filter that is exactly one group.
The rules of which ANY may match: a non-empty array of flat filter rules { field, operator, value }, each judged exactly as a rule at the top level of the filter. A group cannot hold a group.
Named filter presets rendered as tabs (tabs element). Reuses ViewTabSchema
showAllRecords
boolean
optional
Show an "All records" tab before the presets (tabs element)
allowAddTab
boolean
optional
Let end users add their own tab after the presets (tabs element): the affordance asks for a name and snapshots the filters currently applied as a new tab. SESSION-SCOPED — an added tab lives only for the current mount, is never written back as metadata (ADR-0047), and carries a remove control the authored presets do not. Page lists only — object views use listViews for named presets
[REMOVED] view.list.navigation.view was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it named the form view to open for a record detail, and no layer resolved a view by that name: the value was passed straight into the navigation-MODE argument of the console's onNavigate, where anything other than edit or view matched no branch, so the key selected nothing and could silently deaden the row click. Delete the key; to choose what opens for a record, assign a record page to the object and let isDefault pick the one that opens — page assignment is the machinery that resolves a detail layout, and a list view's navigation block only decides HOW the detail is surfaced (mode, size).
preventNavigation
boolean
optional (default: false)
Disable standard navigation entirely
openNewTab
boolean
optional (default: false)
Force open in new tab (applies to page mode)
size
Enum<'auto' | 'sm' | 'md' | 'lg' | 'xl' | 'full'>
optional (default: "auto")
Overlay size bucket for the drawer detail: 'auto' (default — renderer derives from field count + viewport; AI writes nothing) or a coarse override sm/md/lg/xl/full. Prefer this over the pixel width; page mode ignores it.
width
string | number
optional
[DEPRECATED → size] Pixel/percent width of the drawer (e.g. "600px"). A pixel width cannot be chosen at authoring time without knowing the client viewport — use the size bucket.
Number of records per page. On a view with no pager (kanban, gallery, timeline) it is the fetch ceiling, and the renderer owes two things: bound its fetch at this number, and, when the filtered set is larger than it, show a visible truncation signal saying what is on screen is not the whole set
Field to group columns by (usually status/select). NO leading or trailing whitespace: the board reads this name off every card verbatim, so a padded spelling collapses the whole board into one Uncategorized lane.
lanes
string[]
optional
The lanes the board draws, in this order: stored option values of the groupByField field (the option value, not its label). Omit to draw one lane per option in the options' own order. A record whose value is not listed is not hidden: it lands in the Uncategorized lane, as a record whose value matches no lane does. To keep records off the board, filter the view. List each value once.
summarizeField
string
optional
Field to sum at top of column (e.g. amount)
titleField
string
optional
Field displayed as the card title. Omit to fall back to the record display name (ADR-0079 resolver chain)
Field providing the event end date/time (defaults to a single-day event)
titleField
string
optional
Field displayed as the event title. Omit to fall back to the record display name (ADR-0079 resolver chain)
colorField
string
optional
Field to derive each event color from (it names a field, not a color): the option color declared on that field for the record value, else the value itself when it already is a color literal (hex, rgb() or hsl()), else the calendar theme-aware palette color hashed from the value
allDayField
string
optional
Field carrying the all-day flag for each event (names a boolean field, not a value): a record whose flag is true is drawn as an all-day band rather than at a clock time, and one whose flag is absent or false is not all-day. Omit to leave the renderer inference in place — an event with no end date draws as all-day
initialDate
string
optional
Where the calendar opens: the month, week or day the active view mode shows that holds this date; omit it to open on today. A record anchor: first_record opens on the earliest start date (the startDateField value) among the records the view's filter selects, next_record on the earliest on or after the viewer's today (a date start field compares as a calendar day), and either opens on today when no record qualifies. Or a wrapped date-macro token, resolved each time the calendar opens: {today}, {next_month_start}, {current_quarter_start}, {3_months_from_now} (the full vocabulary is DATE_MACRO_TOKENS and the parameterised DATE_MACRO_PARAM_RE grammar in @objectstack/spec/data); a fixed calendar date is not accepted, because it goes stale as time passes.
Field listing the task's predecessor (dependency) record ids
colorField
string
optional
Field to derive each bar color from (it names a field, not a color): the option color declared on that field for the record value, else the value itself when it already is a color literal (hex, rgb() or hsl()), else a semantic color token derived from the value
parentField
string
optional
Field holding the parent task id (builds the summary → step tree)
typeField
string
optional
Field whose value maps to task/summary/milestone
baselineStartField
string
optional
Baseline (planned) start field
baselineEndField
string
optional
Baseline (planned) end field
groupByField
string
optional
Field to group leaf tasks by (synthesized summary rows). NO leading or trailing whitespace: the group accessor reads this name off every task verbatim, so a padded spelling drops every task into one ungrouped bucket.
resourceView
boolean
optional
Render a per-resource workload histogram instead of the timeline
assigneeField
string
optional
Resource field to bucket load by (resource view)
effortField
string
optional
Per-task load units (resource view; default 1)
capacity
number
optional
Per-resource capacity ceiling; loads above this flag overload
tooltipFields
(string | { field: string; label?: string })[]
optional
Fields to surface in the hover tooltip, in display order
Timeline granularity — one column per day/week/month/quarter/year (also the resource-view column granularity; renderer default 'day')
borderColorField
string
optional
Field carrying a per-task alert stroke color — any CSS color or semantic palette name (red, orange, …): the bar keeps its fill and gains an outline plus halo in that color (e.g. red for overdue, orange for due-soon; typically a server-computed alert field). Empty or null means no stroke
lockField
string
optional
Field marking a row view-only (truthy means locked): a locked bar cannot be dragged or resized, its progress cannot be dragged, no dependency can be drawn from it and its inline-edit and edit/delete menu entries are hidden — clicking it (open drawer, jump) still works. Independent of the global readOnly; freezes individual levels while siblings stay editable
objectField
string
optional
Field carrying the row's OWN object API name, for mixed-object trees (a row set composing parent-object rows with child-object rows): the detail drawer and its full-page link follow each row's real object instead of the view's bound object. Empty or missing falls back to the bound object
summaryExtent
Enum<'children' | 'self'>
optional
How a summary bar's span is computed. 'children' (renderer default) rolls the bar up from its children — min start, max end, duration-weighted progress — and ignores the record's own dates; 'self' renders the record's OWN start, end and progress and falls back to rollup only for records without dates (use it when the parent's schedule is authoritative, e.g. a shift plan whose work-order children are locked history)
defaultCollapsedDepth
integer
optional
Auto-collapse tree nodes at or below this 0-indexed depth on first render (roots are depth 0): every node at that depth or deeper that has children starts folded; the user can still expand them. Omit to start fully expanded
dependencyTypes
boolean
optional
Whether the backing store persists dependency link TYPES (fs, ss, ff, sf); renderer default true. Set false when dependencies are bare predecessor ids: the link menu hides the type switcher (a switch would be silently reverted on refetch) and drag-created links are always finish-to-start
timeZone
string
optional
Business time zone, an IANA name such as 'Asia/Shanghai': the chart's calendar — shift bands, day columns, snapping, the today line, date labels — renders in this zone's wall time for every viewer instead of the browser's zone; a datetime value is still written as the real instant, and a date value as the calendar day it was dropped on in this zone's calendar (YYYY-MM-DD). An invalid name falls back to the browser zone with a console warning
exportFileName
string
optional
Base name for exported PNG and PDF files (e.g. the view's display label — the host's view schema often reaches the renderer stripped of label); falls back to the object schema label, then the object API name. A timestamp suffix is always appended
Per-interaction switches, each defaulting to true: allow bar moves but pin durations (resize: false), or keep the dependency UI read-only (link: false). They only narrow what readOnly and row locks already allow
Shift segmentation for the day-mode timeline: splits each shift-day (starting at dayStart) into the configured bands — a two-tier header (date over band), per-band tints and drag/resize snapping to band boundaries. No shift concept is hardcoded; bands are pure config. Off when omitted
Field to group timeline rows. NO leading or trailing whitespace: the renderer reads this name off every row verbatim, so a padded spelling drops every row into one ungrouped band.
colorField
string
optional
Field to derive each item color from (it names a field, not a color): the option color declared on that field for the record value, else the value itself when it already is a color literal (hex, rgb() or hsl()), else the timeline default marker color
Field providing the marker latitude (used with longitudeField)
longitudeField
string
optional
Field providing the marker longitude (used with latitudeField)
locationField
string
optional
Field providing a combined location — a "lat,lng" string or a { lat, lng } object — as the alternative to the latitudeField/longitudeField pair
titleField
string
optional
Field displayed as the marker title (popup heading, mobile record card, and what the map search box matches on)
descriptionField
string
optional
Field displayed as the marker description
zoom
number
optional
Initial zoom level (1-20). Omit to let the renderer fit the camera to the queried records
center
[number, number]
optional
Initial camera center as [latitude, longitude]. Omit to let the renderer fit the camera to the queried records
style
string
optional
Map style URL — the MapLibre style document the renderer loads in place of the public demo tiles. The component-level mapStyle is read FIRST and wins when both are present; this is NOT the inline CSS style record a component node carries
[REMOVED] view.list.sharing.type was removed in @objectstack/spec 18.3.0 (ADR-0049 enforce-or-remove) — nothing enforced it: a personal view was listed for every user who can read the object, and collaborative described every view, so the key only ever drew a badge. Delete the key; sharing.lockedBy is unchanged. A view is visible to everyone who can read its object; personal named views are a user-owned record, not view metadata (ADR-0017). Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Fields to group by, in nesting order — the first entry is the outermost group and each later entry nests one level deeper (at least one field); the same order as the group header query's groupBy
Field whose value is looked up in the colors map below to pick a row colour (typically a select/status field). The map is what does the colouring — with no colors, no row is ever coloured, whatever this field holds. Author-time diagnostic view/row-color-without-colors reports that combination.
colors
Record<string, string>
optional
Map of field value to row colour. The spellings that actually paint a row are not free-form: objectui plugin-grid's useRowColor hands a value already written as a complete Tailwind background class (bg-red-200) straight through, otherwise lower-cases and trims it and resolves it through its own closed vocabulary of colour NAMES (red, blue, slate, … each mapping to bg-NAME-100), and returns undefined for anything else. A hex, an rgb() or a CSS variable parses here, publishes, and colours no row — Tailwind v4 has no runtime, so no class can be fabricated from one. Author-time diagnostic view/row-color-unresolvable-value reports a value that cannot resolve.
Stable identifier — the audit-log action key, and (for an aggregate def) the name of the object action to dispatch.
label
string
optional
Button + dialog-header text. Plain string: an authored def is not i18n-resolved (declare a real action and name it in bulkActions to get localization).
What the executor does: 'update'/'delete' are data-plane mass mutations; 'custom' dispatches an object action (see execution).
execution
Enum<'perRecord' | 'aggregate'>
optional
For operation: 'custom' — 'aggregate' dispatches the named action ONCE for the whole selection, carrying every id in params._selectedIds. Required on a custom def: the per-record form is declared as bulkActions: ['<name>'] instead.
patch
Record<string, any>
optional
For operation: 'update' — static field values applied to every selected record, merged UNDER the user-supplied params so a fixed value can be declared without exposing it in the dialog.
Confirmation text shown above the affected-record summary — a template slot (ADR-0032): a bare string is shorthand for { dialect: 'template', source }, and text with no hole is shown as written. Holes are {{ path }} or {{ path | formatter[:arg] }} over two kinds of root, written bare: count, the number of records the run covers, and each of the def's params by name ({{ tier }}, never {{ params.tier }}; count wins over a param of that name). A param hole renders that param's DISPLAY value: the chosen option's label for an option-bearing param (a multi-value param's labels joined with ', '), the picked record's display name for a lookup / user param, and the entered value otherwise, so a number, date or currency value takes a formatter ({{ amount | currency:EUR }}, {{ due | date:long }}). Formatters come from the template engine's whitelist (TEMPLATE_FORMATTERS, @objectstack/formula); a hole holds no logic (no CEL, no arithmetic). Example: 'Update tier on {{ count }} account(s) to {{ tier }}?'. A hole over any other root, and a single-brace {x} token, are refused by name at objectstack validate, compile and the publish gate, as are a hole holding logic or an unknown formatter and a blank sentence.
Eligibility predicate (CEL) — a string or a {dialect, source} envelope, i.e. action.visible without its boolean-literal arm: a per-record predicate has nothing to say as a constant. Evaluated once PER SELECTED RECORD with that record bound: the button is offered when at least one passes, the run covers only those, and the rest are reported as skipped. A record-free predicate (features.x, current_user.y) therefore behaves as a plain button-level gate. Fail-closed — a predicate that faults excludes the record.
requiredPermissions
string[]
optional
[ADR-0066 D4] Capability gate on the button, action.requiredPermissions semantics verbatim: absent or empty always passes, several are AND-ed, and a client that cannot resolve the caller's capabilities fails OPEN (the server stays the authority). This key exists for INLINE defs — notably the update/delete data-plane forms, which dispatch no action and so have nothing to inherit a gate from; a def promoted from bulkActions: ['<name>'] (or an aggregate def naming a declared action) inherits the action's own declaration instead. On a data-plane def the gate governs visibility only — the write itself is still authorized by the data API's object permissions and server hooks.
maxRecords
integer
optional
Selection size above which the run is blocked. Set it on defs whose server work is expensive — an aggregate def carries every selected id in one request.
batchSize
integer
optional
Records per executor batch (default 200). Data-plane operations only — an aggregate run is a single call by definition.
Allow users to reload the view data from the backend without a full page reload
rowHeight
boolean
optional (default: true)
Allow users to toggle row height/density
group
boolean
optional (default: true)
Allow users to change record grouping from the toolbar. Toggle only — the grouping itself is configured in the view-level grouping block.
addRecordForm
boolean
optional (default: false)
Add records through a form instead of inline
editInline
boolean
optional (default: true)
Allow users to edit records inline. On by default: a user who may update the object edits a cell in place with the field's type-aware widget (the same control the form uses), under the permission gate that already decides whether the object is editable at all. Declare editInline: false to make the list read-only in place.
hideFields
boolean
optional (default: true)
Allow users to hide/show fields from the toolbar (the affordance behind the view-level hiddenFields list). Boolean toggle — distinct from the record-details component's hideFields, which is an array of field names to omit. On by default: a reader hides and shows columns for themselves; declare hideFields: false to withhold the control.
rowColor
boolean
optional (default: false)
Allow users to configure row colouring from the toolbar. Boolean toggle — the colour rules themselves live in the view-level rowColor block. Off by default: row colouring is opt-in.
Show the add record entry point — REQUIRED: true draws the Add button, false declares it off
position
Enum<'top' | 'bottom' | 'both'>
optional (default: "top")
Position of the add record button: top (the toolbar, the default), bottom (under the list) or both
mode
never
optional
[REMOVED] addRecord.mode was removed in @objectstack/spec 18.1.0 (ADR-0049 enforce-or-remove) — no renderer ever read it: the Add button always opens the create form, never an inline row or a mode of its own choosing. Delete the key; the create form opens the way the object list's New opens it. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
formView
never
optional
[REMOVED] addRecord.formView was removed in @objectstack/spec 18.1.0 (ADR-0049 enforce-or-remove) — no renderer ever read it: the Add button opens the create form chosen by convention, never a named form. Delete the key, and to give the Add button its own form declare it as formViews.create on the object's view container (without one, the default form is used). Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
The one next step an empty list names: a link the user follows, { label, url } — for example to the how-to page that explains what belongs here when nobody can add a row. It opens a page or an address and runs no action. The console draws it in a list's empty state (the grid and gallery visualizations) and in an object-grid block's, beside the add-record action where one is offered.
Accessible label for screen readers (WAI-ARIA aria-label). Plain string, or an inline locale map — no translation-bundle slot addresses this key, so a plain string is announced in the source language.
ariaDescribedBy
string
optional
ID of element providing additional description (WAI-ARIA aria-describedby)
role
string
optional
WAI-ARIA role attribute (e.g., "dialog", "navigation", "alert")
[REMOVED] view.list.navigation.view was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it named the form view to open for a record detail, and no layer resolved a view by that name: the value was passed straight into the navigation-MODE argument of the console's onNavigate, where anything other than edit or view matched no branch, so the key selected nothing and could silently deaden the row click. Delete the key; to choose what opens for a record, assign a record page to the object and let isDefault pick the one that opens — page assignment is the machinery that resolves a detail layout, and a list view's navigation block only decides HOW the detail is surfaced (mode, size).
preventNavigation
boolean
optional (default: false)
Disable standard navigation entirely
openNewTab
boolean
optional (default: false)
Force open in new tab (applies to page mode)
size
Enum<'auto' | 'sm' | 'md' | 'lg' | 'xl' | 'full'>
optional (default: "auto")
Overlay size bucket for the drawer detail: 'auto' (default — renderer derives from field count + viewport; AI writes nothing) or a coarse override sm/md/lg/xl/full. Prefer this over the pixel width; page mode ignores it.
width
string | number
optional
[DEPRECATED → size] Pixel/percent width of the drawer (e.g. "600px"). A pixel width cannot be chosen at authoring time without knowing the client viewport — use the size bucket.
Fields to display as columns — the PROJECTION of the per-view field composition columns x hiddenFields x fieldOrder: this list is the candidate set AND the baseline order; hiddenFields subtracts from it and fieldOrder orders what survives. hiddenFields and fieldOrder cannot add a field omitted here. An empty list declares no projection, so neither of them applies: which columns show is then left to the renderer (objectui's ListView grid derives the object's default columns).
[REMOVED] view.list.filterableFields was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for userFilters.fields (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare userFilters: { element: 'dropdown', fields: [{ field: '<field_name>' }] }. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks hidden: true is not offered. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
resizable
boolean
optional
Enable column resizing
compactToolbar
boolean
optional
Collapse Group/Color/Density/Hide-fields into a single View settings popover
Chart binding — applies when the view renders as a chart. A type: 'chart' view must bind one: it names the ADR-0021 dataset and the measures (values) the chart plots, and there is no default binding
Tree/hierarchy configuration — applies when the view renders as a tree layout
pageName
never
optional
[REMOVED] view.pageName was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it named the page a type: 'page' view was to mount, and that mount was never built: no renderer read the key, so the named page was never reached and the view drew an empty grid. Delete the key; to put a published page in front of users, give the app a navigation item — { type: 'page', pageName: '<page_name>' } under the app's navigation — which is a different key on a different surface and is the page mount that has always rendered. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
description
string | Record<string, string>
optional
View description for documentation/tooltips
sharing
{ lockedBy?: string }
optional
View sharing configuration: who locked the view configuration
requiredPermissions
string[]
optional
[ADR-0066] Capabilities a user must ALL hold for this list view or dashboard to be served to them — names that permission sets grant through systemPermissions, the same list as requiredPermissions on an app, a navigation item or an action. Absent or empty: no audience gate. There is no any-of form: to serve one item to several audiences (legal OR admin), declare one capability and grant it to each of their permission sets. The server enforces it: a user who does not hold them all is not listed the item and is refused it by name; a view container's list views are pruned the same way, and so are an object's own list views for a user who may not edit the object.
Group records by one or more fields — server-side: the groups and their header numbers come from an aggregate query over the whole filtered set, rows within a group are paged (see GroupingConfigSchema)
Fields to hide in this specific view — the SUBTRACTION of the per-view field composition columns x hiddenFields x fieldOrder: each name listed here is removed from the columns projection before fieldOrder orders the remainder. A name columns never projected subtracts nothing.
fieldOrder
string[]
optional
Explicit field display order for this view — the ORDERING of the per-view field composition columns x hiddenFields x fieldOrder: it sorts what survives columns minus hiddenFields and never adds a field. A surviving column absent from fieldOrder sorts LAST, after every listed one, keeping its columns-relative order; a name listed here that did not survive orders nothing.
Rich bulk action definitions (schema-driven, executed via BulkActionDialog). Use a def for a mass data-plane mutation ('update' with a patch / 'delete') that no action expresses, or for an operation: 'custom' + execution: 'aggregate' entry that dispatches the action it NAMES once for the whole selection — the renderer injects params._selectedIds: string[] (read that on the server, not recordId) so a single call can produce one aggregate artifact (zip of QR codes, merged PDF, batch print). Aggregate results are all-or-nothing: a handler that cannot cover the whole selection must reject, and per-row retry is replaced by re-running the action. batchSize does not apply (the call is never chunked); set maxRecords on defs whose server work is expensive. For the PER-RECORD dispatch use bulkActions: ['<name>'] instead — the bare-string form, promoted with the action's own label, params and visible; a 'custom' def without execution: 'aggregate' has no dispatcher and is refused at parse time. Toolbar url/api actions can also interpolate the current selection via ${ctx.selection.ids} / ${ctx.selection.count}.
Export configuration for the list toolbar export menu: { formats?, maxRecords?, includeHeaders?, fileNamePrefix?, streaming? }. A bare format array is the legacy spelling and lifts to { formats: [...] } at parse.
[REMOVED] view.list.tabs was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — no renderer ever mounted a tab bar for it, so authoring it drew nothing: the tab strip above an object's records is the saved-view switcher (ViewTabBar), which renders one tab per named list view and never read this key. Delete the key, and move each tab you want to a named list view under the object's listViews instead: the tab's name becomes the entry's key, its label the entry's label, and its filter rules join the view's own filter on that entry (copy the view's columns too); a tab whose view already named a list view needs nothing more. Every listViews entry renders as a tab in the switcher. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Filter value. The accepted SHAPE depends on the operator: in / not_in take an array (any length, including []), between takes exactly [min, max], every other operator takes a scalar. The unary operators (is_empty / is_not_empty / is_null / is_not_null) take their direction from the operator name and ignore this key. One operator bounds the VALUE as well as the shape: icontains takes a NON-EMPTY STRING, the comparand the Filter Protocol conformance table declares for it — an empty comparand constrains nothing and a non-string one would answer a query nobody wrote, and both are refused at the query path too.
An any-of group: { or: [rule, ...] } matches a record when ANY of its rules matches. It sits in the filter list beside plain rules, and the list still ANDs every element, so [{ or: [{ field: "status", operator: "equals", value: "open" }, { field: "completed_at", operator: "after", value: "{7_days_ago}" }] }] selects the open records and the ones completed in the last 7 days. One level only: its members are flat rules. The console applies it, ANDed with its sibling elements, and its filter builder edits a filter that is exactly one group.
The rules of which ANY may match: a non-empty array of flat filter rules { field, operator, value }, each judged exactly as a rule at the top level of the filter. A group cannot hold a group.
[REMOVED] view.list.navigation.view was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it named the form view to open for a record detail, and no layer resolved a view by that name: the value was passed straight into the navigation-MODE argument of the console's onNavigate, where anything other than edit or view matched no branch, so the key selected nothing and could silently deaden the row click. Delete the key; to choose what opens for a record, assign a record page to the object and let isDefault pick the one that opens — page assignment is the machinery that resolves a detail layout, and a list view's navigation block only decides HOW the detail is surfaced (mode, size).
preventNavigation
boolean
optional (default: false)
Disable standard navigation entirely
openNewTab
boolean
optional (default: false)
Force open in new tab (applies to page mode)
size
Enum<'auto' | 'sm' | 'md' | 'lg' | 'xl' | 'full'>
optional (default: "auto")
Overlay size bucket for the drawer detail: 'auto' (default — renderer derives from field count + viewport; AI writes nothing) or a coarse override sm/md/lg/xl/full. Prefer this over the pixel width; page mode ignores it.
width
string | number
optional
[DEPRECATED → size] Pixel/percent width of the drawer (e.g. "600px"). A pixel width cannot be chosen at authoring time without knowing the client viewport — use the size bucket.
Number of records per page. On a view with no pager (kanban, gallery, timeline) it is the fetch ceiling, and the renderer owes two things: bound its fetch at this number, and, when the filtered set is larger than it, show a visible truncation signal saying what is on screen is not the whole set
Field to group columns by (usually status/select). NO leading or trailing whitespace: the board reads this name off every card verbatim, so a padded spelling collapses the whole board into one Uncategorized lane.
lanes
string[]
optional
The lanes the board draws, in this order: stored option values of the groupByField field (the option value, not its label). Omit to draw one lane per option in the options' own order. A record whose value is not listed is not hidden: it lands in the Uncategorized lane, as a record whose value matches no lane does. To keep records off the board, filter the view. List each value once.
summarizeField
string
optional
Field to sum at top of column (e.g. amount)
titleField
string
optional
Field displayed as the card title. Omit to fall back to the record display name (ADR-0079 resolver chain)
Field providing the event end date/time (defaults to a single-day event)
titleField
string
optional
Field displayed as the event title. Omit to fall back to the record display name (ADR-0079 resolver chain)
colorField
string
optional
Field to derive each event color from (it names a field, not a color): the option color declared on that field for the record value, else the value itself when it already is a color literal (hex, rgb() or hsl()), else the calendar theme-aware palette color hashed from the value
allDayField
string
optional
Field carrying the all-day flag for each event (names a boolean field, not a value): a record whose flag is true is drawn as an all-day band rather than at a clock time, and one whose flag is absent or false is not all-day. Omit to leave the renderer inference in place — an event with no end date draws as all-day
initialDate
string
optional
Where the calendar opens: the month, week or day the active view mode shows that holds this date; omit it to open on today. A record anchor: first_record opens on the earliest start date (the startDateField value) among the records the view's filter selects, next_record on the earliest on or after the viewer's today (a date start field compares as a calendar day), and either opens on today when no record qualifies. Or a wrapped date-macro token, resolved each time the calendar opens: {today}, {next_month_start}, {current_quarter_start}, {3_months_from_now} (the full vocabulary is DATE_MACRO_TOKENS and the parameterised DATE_MACRO_PARAM_RE grammar in @objectstack/spec/data); a fixed calendar date is not accepted, because it goes stale as time passes.
Field listing the task's predecessor (dependency) record ids
colorField
string
optional
Field to derive each bar color from (it names a field, not a color): the option color declared on that field for the record value, else the value itself when it already is a color literal (hex, rgb() or hsl()), else a semantic color token derived from the value
parentField
string
optional
Field holding the parent task id (builds the summary → step tree)
typeField
string
optional
Field whose value maps to task/summary/milestone
baselineStartField
string
optional
Baseline (planned) start field
baselineEndField
string
optional
Baseline (planned) end field
groupByField
string
optional
Field to group leaf tasks by (synthesized summary rows). NO leading or trailing whitespace: the group accessor reads this name off every task verbatim, so a padded spelling drops every task into one ungrouped bucket.
resourceView
boolean
optional
Render a per-resource workload histogram instead of the timeline
assigneeField
string
optional
Resource field to bucket load by (resource view)
effortField
string
optional
Per-task load units (resource view; default 1)
capacity
number
optional
Per-resource capacity ceiling; loads above this flag overload
tooltipFields
(string | { field: string; label?: string })[]
optional
Fields to surface in the hover tooltip, in display order
Timeline granularity — one column per day/week/month/quarter/year (also the resource-view column granularity; renderer default 'day')
borderColorField
string
optional
Field carrying a per-task alert stroke color — any CSS color or semantic palette name (red, orange, …): the bar keeps its fill and gains an outline plus halo in that color (e.g. red for overdue, orange for due-soon; typically a server-computed alert field). Empty or null means no stroke
lockField
string
optional
Field marking a row view-only (truthy means locked): a locked bar cannot be dragged or resized, its progress cannot be dragged, no dependency can be drawn from it and its inline-edit and edit/delete menu entries are hidden — clicking it (open drawer, jump) still works. Independent of the global readOnly; freezes individual levels while siblings stay editable
objectField
string
optional
Field carrying the row's OWN object API name, for mixed-object trees (a row set composing parent-object rows with child-object rows): the detail drawer and its full-page link follow each row's real object instead of the view's bound object. Empty or missing falls back to the bound object
summaryExtent
Enum<'children' | 'self'>
optional
How a summary bar's span is computed. 'children' (renderer default) rolls the bar up from its children — min start, max end, duration-weighted progress — and ignores the record's own dates; 'self' renders the record's OWN start, end and progress and falls back to rollup only for records without dates (use it when the parent's schedule is authoritative, e.g. a shift plan whose work-order children are locked history)
defaultCollapsedDepth
integer
optional
Auto-collapse tree nodes at or below this 0-indexed depth on first render (roots are depth 0): every node at that depth or deeper that has children starts folded; the user can still expand them. Omit to start fully expanded
dependencyTypes
boolean
optional
Whether the backing store persists dependency link TYPES (fs, ss, ff, sf); renderer default true. Set false when dependencies are bare predecessor ids: the link menu hides the type switcher (a switch would be silently reverted on refetch) and drag-created links are always finish-to-start
timeZone
string
optional
Business time zone, an IANA name such as 'Asia/Shanghai': the chart's calendar — shift bands, day columns, snapping, the today line, date labels — renders in this zone's wall time for every viewer instead of the browser's zone; a datetime value is still written as the real instant, and a date value as the calendar day it was dropped on in this zone's calendar (YYYY-MM-DD). An invalid name falls back to the browser zone with a console warning
exportFileName
string
optional
Base name for exported PNG and PDF files (e.g. the view's display label — the host's view schema often reaches the renderer stripped of label); falls back to the object schema label, then the object API name. A timestamp suffix is always appended
Per-interaction switches, each defaulting to true: allow bar moves but pin durations (resize: false), or keep the dependency UI read-only (link: false). They only narrow what readOnly and row locks already allow
Shift segmentation for the day-mode timeline: splits each shift-day (starting at dayStart) into the configured bands — a two-tier header (date over band), per-band tints and drag/resize snapping to band boundaries. No shift concept is hardcoded; bands are pure config. Off when omitted
Field to group timeline rows. NO leading or trailing whitespace: the renderer reads this name off every row verbatim, so a padded spelling drops every row into one ungrouped band.
colorField
string
optional
Field to derive each item color from (it names a field, not a color): the option color declared on that field for the record value, else the value itself when it already is a color literal (hex, rgb() or hsl()), else the timeline default marker color
Field providing the marker latitude (used with longitudeField)
longitudeField
string
optional
Field providing the marker longitude (used with latitudeField)
locationField
string
optional
Field providing a combined location — a "lat,lng" string or a { lat, lng } object — as the alternative to the latitudeField/longitudeField pair
titleField
string
optional
Field displayed as the marker title (popup heading, mobile record card, and what the map search box matches on)
descriptionField
string
optional
Field displayed as the marker description
zoom
number
optional
Initial zoom level (1-20). Omit to let the renderer fit the camera to the queried records
center
[number, number]
optional
Initial camera center as [latitude, longitude]. Omit to let the renderer fit the camera to the queried records
style
string
optional
Map style URL — the MapLibre style document the renderer loads in place of the public demo tiles. The component-level mapStyle is read FIRST and wins when both are present; this is NOT the inline CSS style record a component node carries
[REMOVED] view.list.sharing.type was removed in @objectstack/spec 18.3.0 (ADR-0049 enforce-or-remove) — nothing enforced it: a personal view was listed for every user who can read the object, and collaborative described every view, so the key only ever drew a badge. Delete the key; sharing.lockedBy is unchanged. A view is visible to everyone who can read its object; personal named views are a user-owned record, not view metadata (ADR-0017). Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Fields to group by, in nesting order — the first entry is the outermost group and each later entry nests one level deeper (at least one field); the same order as the group header query's groupBy
Field whose value is looked up in the colors map below to pick a row colour (typically a select/status field). The map is what does the colouring — with no colors, no row is ever coloured, whatever this field holds. Author-time diagnostic view/row-color-without-colors reports that combination.
colors
Record<string, string>
optional
Map of field value to row colour. The spellings that actually paint a row are not free-form: objectui plugin-grid's useRowColor hands a value already written as a complete Tailwind background class (bg-red-200) straight through, otherwise lower-cases and trims it and resolves it through its own closed vocabulary of colour NAMES (red, blue, slate, … each mapping to bg-NAME-100), and returns undefined for anything else. A hex, an rgb() or a CSS variable parses here, publishes, and colours no row — Tailwind v4 has no runtime, so no class can be fabricated from one. Author-time diagnostic view/row-color-unresolvable-value reports a value that cannot resolve.
Stable identifier — the audit-log action key, and (for an aggregate def) the name of the object action to dispatch.
label
string
optional
Button + dialog-header text. Plain string: an authored def is not i18n-resolved (declare a real action and name it in bulkActions to get localization).
What the executor does: 'update'/'delete' are data-plane mass mutations; 'custom' dispatches an object action (see execution).
execution
Enum<'perRecord' | 'aggregate'>
optional
For operation: 'custom' — 'aggregate' dispatches the named action ONCE for the whole selection, carrying every id in params._selectedIds. Required on a custom def: the per-record form is declared as bulkActions: ['<name>'] instead.
patch
Record<string, any>
optional
For operation: 'update' — static field values applied to every selected record, merged UNDER the user-supplied params so a fixed value can be declared without exposing it in the dialog.
Confirmation text shown above the affected-record summary — a template slot (ADR-0032): a bare string is shorthand for { dialect: 'template', source }, and text with no hole is shown as written. Holes are {{ path }} or {{ path | formatter[:arg] }} over two kinds of root, written bare: count, the number of records the run covers, and each of the def's params by name ({{ tier }}, never {{ params.tier }}; count wins over a param of that name). A param hole renders that param's DISPLAY value: the chosen option's label for an option-bearing param (a multi-value param's labels joined with ', '), the picked record's display name for a lookup / user param, and the entered value otherwise, so a number, date or currency value takes a formatter ({{ amount | currency:EUR }}, {{ due | date:long }}). Formatters come from the template engine's whitelist (TEMPLATE_FORMATTERS, @objectstack/formula); a hole holds no logic (no CEL, no arithmetic). Example: 'Update tier on {{ count }} account(s) to {{ tier }}?'. A hole over any other root, and a single-brace {x} token, are refused by name at objectstack validate, compile and the publish gate, as are a hole holding logic or an unknown formatter and a blank sentence.
Eligibility predicate (CEL) — a string or a {dialect, source} envelope, i.e. action.visible without its boolean-literal arm: a per-record predicate has nothing to say as a constant. Evaluated once PER SELECTED RECORD with that record bound: the button is offered when at least one passes, the run covers only those, and the rest are reported as skipped. A record-free predicate (features.x, current_user.y) therefore behaves as a plain button-level gate. Fail-closed — a predicate that faults excludes the record.
requiredPermissions
string[]
optional
[ADR-0066 D4] Capability gate on the button, action.requiredPermissions semantics verbatim: absent or empty always passes, several are AND-ed, and a client that cannot resolve the caller's capabilities fails OPEN (the server stays the authority). This key exists for INLINE defs — notably the update/delete data-plane forms, which dispatch no action and so have nothing to inherit a gate from; a def promoted from bulkActions: ['<name>'] (or an aggregate def naming a declared action) inherits the action's own declaration instead. On a data-plane def the gate governs visibility only — the write itself is still authorized by the data API's object permissions and server hooks.
maxRecords
integer
optional
Selection size above which the run is blocked. Set it on defs whose server work is expensive — an aggregate def carries every selected id in one request.
batchSize
integer
optional
Records per executor batch (default 200). Data-plane operations only — an aggregate run is a single call by definition.
Allow users to reload the view data from the backend without a full page reload
rowHeight
boolean
optional (default: true)
Allow users to toggle row height/density
group
boolean
optional (default: true)
Allow users to change record grouping from the toolbar. Toggle only — the grouping itself is configured in the view-level grouping block.
addRecordForm
boolean
optional (default: false)
Add records through a form instead of inline
editInline
boolean
optional (default: true)
Allow users to edit records inline. On by default: a user who may update the object edits a cell in place with the field's type-aware widget (the same control the form uses), under the permission gate that already decides whether the object is editable at all. Declare editInline: false to make the list read-only in place.
hideFields
boolean
optional (default: true)
Allow users to hide/show fields from the toolbar (the affordance behind the view-level hiddenFields list). Boolean toggle — distinct from the record-details component's hideFields, which is an array of field names to omit. On by default: a reader hides and shows columns for themselves; declare hideFields: false to withhold the control.
rowColor
boolean
optional (default: false)
Allow users to configure row colouring from the toolbar. Boolean toggle — the colour rules themselves live in the view-level rowColor block. Off by default: row colouring is opt-in.
Show the add record entry point — REQUIRED: true draws the Add button, false declares it off
position
Enum<'top' | 'bottom' | 'both'>
optional (default: "top")
Position of the add record button: top (the toolbar, the default), bottom (under the list) or both
mode
never
optional
[REMOVED] addRecord.mode was removed in @objectstack/spec 18.1.0 (ADR-0049 enforce-or-remove) — no renderer ever read it: the Add button always opens the create form, never an inline row or a mode of its own choosing. Delete the key; the create form opens the way the object list's New opens it. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
formView
never
optional
[REMOVED] addRecord.formView was removed in @objectstack/spec 18.1.0 (ADR-0049 enforce-or-remove) — no renderer ever read it: the Add button opens the create form chosen by convention, never a named form. Delete the key, and to give the Add button its own form declare it as formViews.create on the object's view container (without one, the default form is used). Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
The one next step an empty list names: a link the user follows, { label, url } — for example to the how-to page that explains what belongs here when nobody can add a row. It opens a page or an address and runs no action. The console draws it in a list's empty state (the grid and gallery visualizations) and in an object-grid block's, beside the add-record action where one is offered.
Accessible label for screen readers (WAI-ARIA aria-label). Plain string, or an inline locale map — no translation-bundle slot addresses this key, so a plain string is announced in the source language.
ariaDescribedBy
string
optional
ID of element providing additional description (WAI-ARIA aria-describedby)
role
string
optional
WAI-ARIA role attribute (e.g., "dialog", "navigation", "alert")
Filter control style on object views: "dropdown" (per-field value chips). "toggle" is deprecated. "tabs" is page-only — use listViews for named presets.
Filter control style on object views: "dropdown" (per-field value chips). "toggle" is deprecated. "tabs" is page-only — use listViews for named presets.
Number of records per page. On a view with no pager (kanban, gallery, timeline) it is the fetch ceiling, and the renderer owes two things: bound its fetch at this number, and, when the filtered set is larger than it, show a visible truncation signal saying what is on screen is not the whole set
Field whose value is looked up in the colors map below to pick a row colour (typically a select/status field). The map is what does the colouring — with no colors, no row is ever coloured, whatever this field holds. Author-time diagnostic view/row-color-without-colors reports that combination.
colors
Record<string, string>
optional
Map of field value to row colour. The spellings that actually paint a row are not free-form: objectui plugin-grid's useRowColor hands a value already written as a complete Tailwind background class (bg-red-200) straight through, otherwise lower-cases and trims it and resolves it through its own closed vocabulary of colour NAMES (red, blue, slate, … each mapping to bg-NAME-100), and returns undefined for anything else. A hex, an rgb() or a CSS variable parses here, publishes, and colours no row — Tailwind v4 has no runtime, so no class can be fabricated from one. Author-time diagnostic view/row-color-unresolvable-value reports a value that cannot resolve.
Field to group timeline rows. NO leading or trailing whitespace: the renderer reads this name off every row verbatim, so a padded spelling drops every row into one ungrouped band.
colorField
string
optional
Field to derive each item color from (it names a field, not a color): the option color declared on that field for the record value, else the value itself when it already is a color literal (hex, rgb() or hsl()), else the timeline default marker color
Allow users to reload the view data from the backend without a full page reload
rowHeight
boolean
optional (default: true)
Allow users to toggle row height/density
group
boolean
optional (default: true)
Allow users to change record grouping from the toolbar. Toggle only — the grouping itself is configured in the view-level grouping block.
addRecordForm
boolean
optional (default: false)
Add records through a form instead of inline
editInline
boolean
optional (default: true)
Allow users to edit records inline. On by default: a user who may update the object edits a cell in place with the field's type-aware widget (the same control the form uses), under the permission gate that already decides whether the object is editable at all. Declare editInline: false to make the list read-only in place.
hideFields
boolean
optional (default: true)
Allow users to hide/show fields from the toolbar (the affordance behind the view-level hiddenFields list). Boolean toggle — distinct from the record-details component's hideFields, which is an array of field names to omit. On by default: a reader hides and shows columns for themselves; declare hideFields: false to withhold the control.
rowColor
boolean
optional (default: false)
Allow users to configure row colouring from the toolbar. Boolean toggle — the colour rules themselves live in the view-level rowColor block. Off by default: row colouring is opt-in.
Named filter presets rendered as tabs (tabs element). Reuses ViewTabSchema
showAllRecords
boolean
optional
Show an "All records" tab before the presets (tabs element)
allowAddTab
boolean
optional
Let end users add their own tab after the presets (tabs element): the affordance asks for a name and snapshots the filters currently applied as a new tab. SESSION-SCOPED — an added tab lives only for the current mount, is never written back as metadata (ADR-0047), and carries a remove control the authored presets do not. Page lists only — object views use listViews for named presets
Item name — supplied by the metadata door; for an object-scoped container it is the object name.
label
string | Record<string, string>
optional
Human-readable label shown in metadata lists.
object
string
optional
Object this container binds to — how a stack-level views: [...] entry says which object its views belong to; read by getViewsByObject() / GET /meta/view?object=.
Fields to display as columns — the PROJECTION of the per-view field composition columns x hiddenFields x fieldOrder: this list is the candidate set AND the baseline order; hiddenFields subtracts from it and fieldOrder orders what survives. hiddenFields and fieldOrder cannot add a field omitted here. An empty list declares no projection, so neither of them applies: which columns show is then left to the renderer (objectui's ListView grid derives the object's default columns).
[REMOVED] view.list.filterableFields was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for userFilters.fields (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare userFilters: { element: 'dropdown', fields: [{ field: '<field_name>' }] }. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks hidden: true is not offered. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
resizable
boolean
optional
Enable column resizing
compactToolbar
boolean
optional
Collapse Group/Color/Density/Hide-fields into a single View settings popover
Chart binding — applies when the view renders as a chart. A type: 'chart' view must bind one: it names the ADR-0021 dataset and the measures (values) the chart plots, and there is no default binding
Tree/hierarchy configuration — applies when the view renders as a tree layout
pageName
never
optional
[REMOVED] view.pageName was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it named the page a type: 'page' view was to mount, and that mount was never built: no renderer read the key, so the named page was never reached and the view drew an empty grid. Delete the key; to put a published page in front of users, give the app a navigation item — { type: 'page', pageName: '<page_name>' } under the app's navigation — which is a different key on a different surface and is the page mount that has always rendered. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
description
string | Record<string, string>
optional
View description for documentation/tooltips
sharing
{ lockedBy?: string }
optional
View sharing configuration: who locked the view configuration
requiredPermissions
string[]
optional
[ADR-0066] Capabilities a user must ALL hold for this list view or dashboard to be served to them — names that permission sets grant through systemPermissions, the same list as requiredPermissions on an app, a navigation item or an action. Absent or empty: no audience gate. There is no any-of form: to serve one item to several audiences (legal OR admin), declare one capability and grant it to each of their permission sets. The server enforces it: a user who does not hold them all is not listed the item and is refused it by name; a view container's list views are pruned the same way, and so are an object's own list views for a user who may not edit the object.
Group records by one or more fields — server-side: the groups and their header numbers come from an aggregate query over the whole filtered set, rows within a group are paged (see GroupingConfigSchema)
Fields to hide in this specific view — the SUBTRACTION of the per-view field composition columns x hiddenFields x fieldOrder: each name listed here is removed from the columns projection before fieldOrder orders the remainder. A name columns never projected subtracts nothing.
fieldOrder
string[]
optional
Explicit field display order for this view — the ORDERING of the per-view field composition columns x hiddenFields x fieldOrder: it sorts what survives columns minus hiddenFields and never adds a field. A surviving column absent from fieldOrder sorts LAST, after every listed one, keeping its columns-relative order; a name listed here that did not survive orders nothing.
Rich bulk action definitions (schema-driven, executed via BulkActionDialog). Use a def for a mass data-plane mutation ('update' with a patch / 'delete') that no action expresses, or for an operation: 'custom' + execution: 'aggregate' entry that dispatches the action it NAMES once for the whole selection — the renderer injects params._selectedIds: string[] (read that on the server, not recordId) so a single call can produce one aggregate artifact (zip of QR codes, merged PDF, batch print). Aggregate results are all-or-nothing: a handler that cannot cover the whole selection must reject, and per-row retry is replaced by re-running the action. batchSize does not apply (the call is never chunked); set maxRecords on defs whose server work is expensive. For the PER-RECORD dispatch use bulkActions: ['<name>'] instead — the bare-string form, promoted with the action's own label, params and visible; a 'custom' def without execution: 'aggregate' has no dispatcher and is refused at parse time. Toolbar url/api actions can also interpolate the current selection via ${ctx.selection.ids} / ${ctx.selection.count}.
Export configuration for the list toolbar export menu: { formats?, maxRecords?, includeHeaders?, fileNamePrefix?, streaming? }. A bare format array is the legacy spelling and lifts to { formats: [...] } at parse.
[REMOVED] view.list.tabs was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — no renderer ever mounted a tab bar for it, so authoring it drew nothing: the tab strip above an object's records is the saved-view switcher (ViewTabBar), which renders one tab per named list view and never read this key. Delete the key, and move each tab you want to a named list view under the object's listViews instead: the tab's name becomes the entry's key, its label the entry's label, and its filter rules join the view's own filter on that entry (copy the view's columns too); a tab whose view already named a list view needs nothing more. Every listViews entry renders as a tab in the switcher. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Form layout: 'simple' (stacked sections, the default), 'tabbed' (one tab per section) or 'wizard' (one gated step per section). Where the form opens is the caller's choice, not the form's
layout
Enum<'vertical' | 'horizontal'>
optional
Field layout direction — 'vertical' (the renderer default) or 'horizontal'. Multi-column is not a layout value: set columns
columns
integer
optional
Number of columns for the form body
title
string
optional
Form title
description
string
optional
Form description
defaultTab
string
optional
Initially active tab (tabbed forms)
tabPosition
Enum<'top' | 'bottom' | 'left' | 'right'>
optional
Tab strip position (tabbed forms)
allowSkip
boolean
optional
Wizard step-gate opt-out: allow entering a later step without submitting the one before it. Navigation freedom, NOT a validation exemption — the final submit still re-validates every step and returns to the first failing one. Default (absent/false): steps unlock in array order as each prior step submits validly. UI admission only, never authorization.
showStepIndicator
boolean
optional
Show the wizard step indicator (renderer default: shown). Step progress (completed/current/upcoming/invalid) is derived from the step gate — this boolean is the only authorable progress surface.
splitDirection
never
optional
[REMOVED] view.form.splitDirection was removed in @objectstack/spec 18.3.0 (ADR-0050) — it set the pane orientation of a split form, and the split form renderer retired in the same release, so no form draws panes. Delete the key. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
splitSize
never
optional
[REMOVED] view.form.splitSize was removed in @objectstack/spec 18.3.0 (ADR-0050) — it sized the primary pane of a type: 'split' form, and split left the form view type in the same release, so no form view draws panes. Delete the key. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
splitResizable
never
optional
[REMOVED] view.form.splitResizable was removed in @objectstack/spec 18.3.0 (ADR-0050) — it made the panes of a type: 'split' form resizable, and split left the form view type in the same release, so no form view draws panes. Delete the key. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
drawerSide
never
optional
[REMOVED] view.form.drawerSide was removed in @objectstack/spec 18.3.0 (ADR-0049) — no form view opens in a drawer, so no form view ever read it. Delete the key: a list opens a clicked record in its drawer (navigation.mode), and the React ObjectForm block keeps its own drawerSide prop for the drawer it opens with formType='drawer'. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
drawerWidth
never
optional
[REMOVED] view.form.drawerWidth was removed in @objectstack/spec 18.3.0 (ADR-0049) — no form view opens in a drawer, so no form view ever read it, and a pixel width cannot be chosen without knowing the client viewport. Delete the key: a list's record drawer takes its starting width from the navigation.size bucket, and the React ObjectForm block keeps its own drawerWidth prop for the drawer it opens. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
modalSize
Enum<'sm' | 'default' | 'lg' | 'xl' | 'full'>
optional
Size bucket of the dialog a caller opens this form in: the console's New / Edit dialog, or the modal container of the React ObjectForm block (formType 'modal')
Fields to display as columns — the PROJECTION of the per-view field composition columns x hiddenFields x fieldOrder: this list is the candidate set AND the baseline order; hiddenFields subtracts from it and fieldOrder orders what survives. hiddenFields and fieldOrder cannot add a field omitted here. An empty list declares no projection, so neither of them applies: which columns show is then left to the renderer (objectui's ListView grid derives the object's default columns).
[REMOVED] view.list.filterableFields was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for userFilters.fields (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare userFilters: { element: 'dropdown', fields: [{ field: '<field_name>' }] }. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks hidden: true is not offered. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
resizable
boolean
optional
Enable column resizing
compactToolbar
boolean
optional
Collapse Group/Color/Density/Hide-fields into a single View settings popover
Chart binding — applies when the view renders as a chart. A type: 'chart' view must bind one: it names the ADR-0021 dataset and the measures (values) the chart plots, and there is no default binding
Tree/hierarchy configuration — applies when the view renders as a tree layout
pageName
never
optional
[REMOVED] view.pageName was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it named the page a type: 'page' view was to mount, and that mount was never built: no renderer read the key, so the named page was never reached and the view drew an empty grid. Delete the key; to put a published page in front of users, give the app a navigation item — { type: 'page', pageName: '<page_name>' } under the app's navigation — which is a different key on a different surface and is the page mount that has always rendered. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
description
string | Record<string, string>
optional
View description for documentation/tooltips
sharing
{ lockedBy?: string }
optional
View sharing configuration: who locked the view configuration
requiredPermissions
string[]
optional
[ADR-0066] Capabilities a user must ALL hold for this list view or dashboard to be served to them — names that permission sets grant through systemPermissions, the same list as requiredPermissions on an app, a navigation item or an action. Absent or empty: no audience gate. There is no any-of form: to serve one item to several audiences (legal OR admin), declare one capability and grant it to each of their permission sets. The server enforces it: a user who does not hold them all is not listed the item and is refused it by name; a view container's list views are pruned the same way, and so are an object's own list views for a user who may not edit the object.
Group records by one or more fields — server-side: the groups and their header numbers come from an aggregate query over the whole filtered set, rows within a group are paged (see GroupingConfigSchema)
Fields to hide in this specific view — the SUBTRACTION of the per-view field composition columns x hiddenFields x fieldOrder: each name listed here is removed from the columns projection before fieldOrder orders the remainder. A name columns never projected subtracts nothing.
fieldOrder
string[]
optional
Explicit field display order for this view — the ORDERING of the per-view field composition columns x hiddenFields x fieldOrder: it sorts what survives columns minus hiddenFields and never adds a field. A surviving column absent from fieldOrder sorts LAST, after every listed one, keeping its columns-relative order; a name listed here that did not survive orders nothing.
Rich bulk action definitions (schema-driven, executed via BulkActionDialog). Use a def for a mass data-plane mutation ('update' with a patch / 'delete') that no action expresses, or for an operation: 'custom' + execution: 'aggregate' entry that dispatches the action it NAMES once for the whole selection — the renderer injects params._selectedIds: string[] (read that on the server, not recordId) so a single call can produce one aggregate artifact (zip of QR codes, merged PDF, batch print). Aggregate results are all-or-nothing: a handler that cannot cover the whole selection must reject, and per-row retry is replaced by re-running the action. batchSize does not apply (the call is never chunked); set maxRecords on defs whose server work is expensive. For the PER-RECORD dispatch use bulkActions: ['<name>'] instead — the bare-string form, promoted with the action's own label, params and visible; a 'custom' def without execution: 'aggregate' has no dispatcher and is refused at parse time. Toolbar url/api actions can also interpolate the current selection via ${ctx.selection.ids} / ${ctx.selection.count}.
Export configuration for the list toolbar export menu: { formats?, maxRecords?, includeHeaders?, fileNamePrefix?, streaming? }. A bare format array is the legacy spelling and lifts to { formats: [...] } at parse.
[REMOVED] view.list.tabs was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — no renderer ever mounted a tab bar for it, so authoring it drew nothing: the tab strip above an object's records is the saved-view switcher (ViewTabBar), which renders one tab per named list view and never read this key. Delete the key, and move each tab you want to a named list view under the object's listViews instead: the tab's name becomes the entry's key, its label the entry's label, and its filter rules join the view's own filter on that entry (copy the view's columns too); a tab whose view already named a list view needs nothing more. Every listViews entry renders as a tab in the switcher. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Form layout: 'simple' (stacked sections, the default), 'tabbed' (one tab per section) or 'wizard' (one gated step per section). Where the form opens is the caller's choice, not the form's
layout
Enum<'vertical' | 'horizontal'>
optional
Field layout direction — 'vertical' (the renderer default) or 'horizontal'. Multi-column is not a layout value: set columns
columns
integer
optional
Number of columns for the form body
title
string
optional
Form title
description
string
optional
Form description
defaultTab
string
optional
Initially active tab (tabbed forms)
tabPosition
Enum<'top' | 'bottom' | 'left' | 'right'>
optional
Tab strip position (tabbed forms)
allowSkip
boolean
optional
Wizard step-gate opt-out: allow entering a later step without submitting the one before it. Navigation freedom, NOT a validation exemption — the final submit still re-validates every step and returns to the first failing one. Default (absent/false): steps unlock in array order as each prior step submits validly. UI admission only, never authorization.
showStepIndicator
boolean
optional
Show the wizard step indicator (renderer default: shown). Step progress (completed/current/upcoming/invalid) is derived from the step gate — this boolean is the only authorable progress surface.
splitDirection
never
optional
[REMOVED] view.form.splitDirection was removed in @objectstack/spec 18.3.0 (ADR-0050) — it set the pane orientation of a split form, and the split form renderer retired in the same release, so no form draws panes. Delete the key. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
splitSize
never
optional
[REMOVED] view.form.splitSize was removed in @objectstack/spec 18.3.0 (ADR-0050) — it sized the primary pane of a type: 'split' form, and split left the form view type in the same release, so no form view draws panes. Delete the key. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
splitResizable
never
optional
[REMOVED] view.form.splitResizable was removed in @objectstack/spec 18.3.0 (ADR-0050) — it made the panes of a type: 'split' form resizable, and split left the form view type in the same release, so no form view draws panes. Delete the key. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
drawerSide
never
optional
[REMOVED] view.form.drawerSide was removed in @objectstack/spec 18.3.0 (ADR-0049) — no form view opens in a drawer, so no form view ever read it. Delete the key: a list opens a clicked record in its drawer (navigation.mode), and the React ObjectForm block keeps its own drawerSide prop for the drawer it opens with formType='drawer'. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
drawerWidth
never
optional
[REMOVED] view.form.drawerWidth was removed in @objectstack/spec 18.3.0 (ADR-0049) — no form view opens in a drawer, so no form view ever read it, and a pixel width cannot be chosen without knowing the client viewport. Delete the key: a list's record drawer takes its starting width from the navigation.size bucket, and the React ObjectForm block keeps its own drawerWidth prop for the drawer it opens. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
modalSize
Enum<'sm' | 'default' | 'lg' | 'xl' | 'full'>
optional
Size bucket of the dialog a caller opens this form in: the console's New / Edit dialog, or the modal container of the React ObjectForm block (formType 'modal')
Filter value. The accepted SHAPE depends on the operator: in / not_in take an array (any length, including []), between takes exactly [min, max], every other operator takes a scalar. The unary operators (is_empty / is_not_empty / is_null / is_not_null) take their direction from the operator name and ignore this key. One operator bounds the VALUE as well as the shape: icontains takes a NON-EMPTY STRING, the comparand the Filter Protocol conformance table declares for it — an empty comparand constrains nothing and a non-string one would answer a query nobody wrote, and both are refused at the query path too.
An any-of group: { or: [rule, ...] } matches a record when ANY of its rules matches. It sits in the filter list beside plain rules, and the list still ANDs every element, so [{ or: [{ field: "status", operator: "equals", value: "open" }, { field: "completed_at", operator: "after", value: "{7_days_ago}" }] }] selects the open records and the ones completed in the last 7 days. One level only: its members are flat rules. The console applies it, ANDed with its sibling elements, and its filter builder edits a filter that is exactly one group.
The rules of which ANY may match: a non-empty array of flat filter rules { field, operator, value }, each judged exactly as a rule at the top level of the filter. A group cannot hold a group.
Filter value. The accepted SHAPE depends on the operator: in / not_in take an array (any length, including []), between takes exactly [min, max], every other operator takes a scalar. The unary operators (is_empty / is_not_empty / is_null / is_not_null) take their direction from the operator name and ignore this key. One operator bounds the VALUE as well as the shape: icontains takes a NON-EMPTY STRING, the comparand the Filter Protocol conformance table declares for it — an empty comparand constrains nothing and a non-string one would answer a query nobody wrote, and both are refused at the query path too.
An any-of group: { or: [rule, ...] } matches a record when ANY of its rules matches. It sits in the filter list beside plain rules, and the list still ANDs every element, so [{ or: [{ field: "status", operator: "equals", value: "open" }, { field: "completed_at", operator: "after", value: "{7_days_ago}" }] }] selects the open records and the ones completed in the last 7 days. One level only: its members are flat rules. The console applies it, ANDed with its sibling elements, and its filter builder edits a filter that is exactly one group.
The rules of which ANY may match: a non-empty array of flat filter rules { field, operator, value }, each judged exactly as a rule at the top level of the filter. A group cannot hold a group.
Filter value. The accepted SHAPE depends on the operator: in / not_in take an array (any length, including []), between takes exactly [min, max], every other operator takes a scalar. The unary operators (is_empty / is_not_empty / is_null / is_not_null) take their direction from the operator name and ignore this key. One operator bounds the VALUE as well as the shape: icontains takes a NON-EMPTY STRING, the comparand the Filter Protocol conformance table declares for it — an empty comparand constrains nothing and a non-string one would answer a query nobody wrote, and both are refused at the query path too.
Filter value. The accepted SHAPE depends on the operator: in / not_in take an array (any length, including []), between takes exactly [min, max], every other operator takes a scalar. The unary operators (is_empty / is_not_empty / is_null / is_not_null) take their direction from the operator name and ignore this key. One operator bounds the VALUE as well as the shape: icontains takes a NON-EMPTY STRING, the comparand the Filter Protocol conformance table declares for it — an empty comparand constrains nothing and a non-string one would answer a query nobody wrote, and both are refused at the query path too.
Bound object name — the foreign key used to aggregate views.
label
string | Record<string, string>
optional
Display label (supports i18n).
isDefault
boolean
optional
Whether this is the object's default view in the switcher.
order
integer
optional
Sort order within the object's view switcher / left rail.
scope
Enum<'package' | 'shared'>
optional
Identity layer (defaults to package for source-loaded views).
owner
never
optional
[REMOVED] view.owner was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it named the user a personal view item belonged to, and nothing ever read it: the view switcher (GET /meta/view?object=) serves every item bound to the object without looking at owner, so a view marked as one user's was listed for every user who can read the object. Delete the key. Nothing restricts a view item to one user — personal named views are a user-owned record, not a view item (ADR-0017) — so a view item is visible to everyone who can read its object. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
hidden
never
optional
[REMOVED] view.hidden was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it promised to hide a view item from the switcher, and nothing ever read it: GET /meta/view?object= and the console's view switcher list every item bound to the object, hidden: true included. Delete the key; to take a view out of the switcher, delete the view item itself (or stop shipping it from source). Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Human-readable reason shown when a write is refused by _lock.
_lockSource
Enum<'artifact' | 'package' | 'env-forced'>
optional
Layer that set _lock (artifact | package | env-forced).
_provenance
Enum<'package' | 'org' | 'env-forced'>
optional
Origin of the item (package | org | env-forced).
_packageId
string
optional
Owning package machine id.
_packageVersion
string
optional
Owning package version.
_lockDocsUrl
string
optional
Optional documentation link surfaced next to _lockReason.
overrides
{ package: string; basedOn: string }
optional
Override declaration (ADR-0146 D2): { package, basedOn } — this item of "<base>.custom" replaces the base package's same-named item whole. basedOn is recorded and never gates; a base's upgrade plan reads it only as advice.
Fields to display as columns — the PROJECTION of the per-view field composition columns x hiddenFields x fieldOrder: this list is the candidate set AND the baseline order; hiddenFields subtracts from it and fieldOrder orders what survives. hiddenFields and fieldOrder cannot add a field omitted here. An empty list declares no projection, so neither of them applies: which columns show is then left to the renderer (objectui's ListView grid derives the object's default columns).
[REMOVED] view.list.filterableFields was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for userFilters.fields (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare userFilters: { element: 'dropdown', fields: [{ field: '<field_name>' }] }. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks hidden: true is not offered. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Chart binding — applies when the view renders as a chart. A type: 'chart' view must bind one: it names the ADR-0021 dataset and the measures (values) the chart plots, and there is no default binding
Tree/hierarchy configuration — applies when the view renders as a tree layout
pageName
never
optional
[REMOVED] view.pageName was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it named the page a type: 'page' view was to mount, and that mount was never built: no renderer read the key, so the named page was never reached and the view drew an empty grid. Delete the key; to put a published page in front of users, give the app a navigation item — { type: 'page', pageName: '<page_name>' } under the app's navigation — which is a different key on a different surface and is the page mount that has always rendered. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
description
string | Record<string, string>
optional
View description for documentation/tooltips
sharing
{ lockedBy?: string }
optional
View sharing configuration: who locked the view configuration
requiredPermissions
string[]
optional
[ADR-0066] Capabilities a user must ALL hold for this list view or dashboard to be served to them — names that permission sets grant through systemPermissions, the same list as requiredPermissions on an app, a navigation item or an action. Absent or empty: no audience gate. There is no any-of form: to serve one item to several audiences (legal OR admin), declare one capability and grant it to each of their permission sets. The server enforces it: a user who does not hold them all is not listed the item and is refused it by name; a view container's list views are pruned the same way, and so are an object's own list views for a user who may not edit the object.
Group records by one or more fields — server-side: the groups and their header numbers come from an aggregate query over the whole filtered set, rows within a group are paged (see GroupingConfigSchema)
Fields to hide in this specific view — the SUBTRACTION of the per-view field composition columns x hiddenFields x fieldOrder: each name listed here is removed from the columns projection before fieldOrder orders the remainder. A name columns never projected subtracts nothing.
fieldOrder
string[]
optional
Explicit field display order for this view — the ORDERING of the per-view field composition columns x hiddenFields x fieldOrder: it sorts what survives columns minus hiddenFields and never adds a field. A surviving column absent from fieldOrder sorts LAST, after every listed one, keeping its columns-relative order; a name listed here that did not survive orders nothing.
Rich bulk action definitions (schema-driven, executed via BulkActionDialog). Use a def for a mass data-plane mutation ('update' with a patch / 'delete') that no action expresses, or for an operation: 'custom' + execution: 'aggregate' entry that dispatches the action it NAMES once for the whole selection — the renderer injects params._selectedIds: string[] (read that on the server, not recordId) so a single call can produce one aggregate artifact (zip of QR codes, merged PDF, batch print). Aggregate results are all-or-nothing: a handler that cannot cover the whole selection must reject, and per-row retry is replaced by re-running the action. batchSize does not apply (the call is never chunked); set maxRecords on defs whose server work is expensive. For the PER-RECORD dispatch use bulkActions: ['<name>'] instead — the bare-string form, promoted with the action's own label, params and visible; a 'custom' def without execution: 'aggregate' has no dispatcher and is refused at parse time. Toolbar url/api actions can also interpolate the current selection via ${ctx.selection.ids} / ${ctx.selection.count}.
Export configuration for the list toolbar export menu: { formats?, maxRecords?, includeHeaders?, fileNamePrefix?, streaming? }. A bare format array is the legacy spelling and lifts to { formats: [...] } at parse.
[REMOVED] view.list.tabs was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — no renderer ever mounted a tab bar for it, so authoring it drew nothing: the tab strip above an object's records is the saved-view switcher (ViewTabBar), which renders one tab per named list view and never read this key. Delete the key, and move each tab you want to a named list view under the object's listViews instead: the tab's name becomes the entry's key, its label the entry's label, and its filter rules join the view's own filter on that entry (copy the view's columns too); a tab whose view already named a list view needs nothing more. Every listViews entry renders as a tab in the switcher. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
The base package id whose same-named item this item replaces whole (e.g. "com.acme.crm"). Only an item of the base's paired "<base>.custom" package declares an override.
basedOn
string
✅
Recorded, never a gate: the base package's manifest.version this override was taken from (e.g. "3.2.0"), not a history version of the item. Nothing is refused, merged or rebased on it; it tells a person re-basing the override where it started. One reader, as advice: a base's upgrade plan lists an override whose basedOn is not the installed base version as stale, beside each override whose base item the upgrade changes (ADR-0146 D2, as amended).
Bound object name — the foreign key used to aggregate views.
label
string | Record<string, string>
optional
Display label (supports i18n).
isDefault
boolean
optional
Whether this is the object's default view in the switcher.
order
integer
optional
Sort order within the object's view switcher / left rail.
scope
Enum<'package' | 'shared'>
optional
Identity layer (defaults to package for source-loaded views).
owner
never
optional
[REMOVED] view.owner was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it named the user a personal view item belonged to, and nothing ever read it: the view switcher (GET /meta/view?object=) serves every item bound to the object without looking at owner, so a view marked as one user's was listed for every user who can read the object. Delete the key. Nothing restricts a view item to one user — personal named views are a user-owned record, not a view item (ADR-0017) — so a view item is visible to everyone who can read its object. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
hidden
never
optional
[REMOVED] view.hidden was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it promised to hide a view item from the switcher, and nothing ever read it: GET /meta/view?object= and the console's view switcher list every item bound to the object, hidden: true included. Delete the key; to take a view out of the switcher, delete the view item itself (or stop shipping it from source). Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Human-readable reason shown when a write is refused by _lock.
_lockSource
Enum<'artifact' | 'package' | 'env-forced'>
optional
Layer that set _lock (artifact | package | env-forced).
_provenance
Enum<'package' | 'org' | 'env-forced'>
optional
Origin of the item (package | org | env-forced).
_packageId
string
optional
Owning package machine id.
_packageVersion
string
optional
Owning package version.
_lockDocsUrl
string
optional
Optional documentation link surfaced next to _lockReason.
overrides
{ package: string; basedOn: string }
optional
Override declaration (ADR-0146 D2): { package, basedOn } — this item of "<base>.custom" replaces the base package's same-named item whole. basedOn is recorded and never gates; a base's upgrade plan reads it only as advice.
Form layout: 'simple' (stacked sections, the default), 'tabbed' (one tab per section) or 'wizard' (one gated step per section). Where the form opens is the caller's choice, not the form's
layout
Enum<'vertical' | 'horizontal'>
optional
Field layout direction — 'vertical' (the renderer default) or 'horizontal'. Multi-column is not a layout value: set columns
columns
integer
optional
Number of columns for the form body
title
string
optional
Form title
description
string
optional
Form description
defaultTab
string
optional
Initially active tab (tabbed forms)
tabPosition
Enum<'top' | 'bottom' | 'left' | 'right'>
optional
Tab strip position (tabbed forms)
allowSkip
boolean
optional
Wizard step-gate opt-out: allow entering a later step without submitting the one before it. Navigation freedom, NOT a validation exemption — the final submit still re-validates every step and returns to the first failing one. Default (absent/false): steps unlock in array order as each prior step submits validly. UI admission only, never authorization.
showStepIndicator
boolean
optional
Show the wizard step indicator (renderer default: shown). Step progress (completed/current/upcoming/invalid) is derived from the step gate — this boolean is the only authorable progress surface.
splitDirection
never
optional
[REMOVED] view.form.splitDirection was removed in @objectstack/spec 18.3.0 (ADR-0050) — it set the pane orientation of a split form, and the split form renderer retired in the same release, so no form draws panes. Delete the key. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
splitSize
never
optional
[REMOVED] view.form.splitSize was removed in @objectstack/spec 18.3.0 (ADR-0050) — it sized the primary pane of a type: 'split' form, and split left the form view type in the same release, so no form view draws panes. Delete the key. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
splitResizable
never
optional
[REMOVED] view.form.splitResizable was removed in @objectstack/spec 18.3.0 (ADR-0050) — it made the panes of a type: 'split' form resizable, and split left the form view type in the same release, so no form view draws panes. Delete the key. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
drawerSide
never
optional
[REMOVED] view.form.drawerSide was removed in @objectstack/spec 18.3.0 (ADR-0049) — no form view opens in a drawer, so no form view ever read it. Delete the key: a list opens a clicked record in its drawer (navigation.mode), and the React ObjectForm block keeps its own drawerSide prop for the drawer it opens with formType='drawer'. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
drawerWidth
never
optional
[REMOVED] view.form.drawerWidth was removed in @objectstack/spec 18.3.0 (ADR-0049) — no form view opens in a drawer, so no form view ever read it, and a pixel width cannot be chosen without knowing the client viewport. Delete the key: a list's record drawer takes its starting width from the navigation.size bucket, and the React ObjectForm block keeps its own drawerWidth prop for the drawer it opens. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
modalSize
Enum<'sm' | 'default' | 'lg' | 'xl' | 'full'>
optional
Size bucket of the dialog a caller opens this form in: the console's New / Edit dialog, or the modal container of the React ObjectForm block (formType 'modal')
The base package id whose same-named item this item replaces whole (e.g. "com.acme.crm"). Only an item of the base's paired "<base>.custom" package declares an override.
basedOn
string
✅
Recorded, never a gate: the base package's manifest.version this override was taken from (e.g. "3.2.0"), not a history version of the item. Nothing is refused, merged or rebased on it; it tells a person re-basing the override where it started. One reader, as advice: a base's upgrade plan lists an override whose basedOn is not the installed base version as stale, beside each override whose base item the upgrade changes (ADR-0146 D2, as amended).
Bound object name — the foreign key used to aggregate views.
label
string | Record<string, string>
optional
Display label (supports i18n).
isDefault
boolean
optional
Whether this is the object's default view in the switcher.
order
integer
optional
Sort order within the object's view switcher / left rail.
scope
Enum<'package' | 'shared'>
optional
Identity layer (defaults to package for source-loaded views).
owner
never
optional
[REMOVED] view.owner was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it named the user a personal view item belonged to, and nothing ever read it: the view switcher (GET /meta/view?object=) serves every item bound to the object without looking at owner, so a view marked as one user's was listed for every user who can read the object. Delete the key. Nothing restricts a view item to one user — personal named views are a user-owned record, not a view item (ADR-0017) — so a view item is visible to everyone who can read its object. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
hidden
never
optional
[REMOVED] view.hidden was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it promised to hide a view item from the switcher, and nothing ever read it: GET /meta/view?object= and the console's view switcher list every item bound to the object, hidden: true included. Delete the key; to take a view out of the switcher, delete the view item itself (or stop shipping it from source). Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Human-readable reason shown when a write is refused by _lock.
_lockSource
Enum<'artifact' | 'package' | 'env-forced'>
optional
Layer that set _lock (artifact | package | env-forced).
_provenance
Enum<'package' | 'org' | 'env-forced'>
optional
Origin of the item (package | org | env-forced).
_packageId
string
optional
Owning package machine id.
_packageVersion
string
optional
Owning package version.
_lockDocsUrl
string
optional
Optional documentation link surfaced next to _lockReason.
overrides
{ package: string; basedOn: string }
optional
Override declaration (ADR-0146 D2): { package, basedOn } — this item of "<base>.custom" replaces the base package's same-named item whole. basedOn is recorded and never gates; a base's upgrade plan reads it only as advice.
isPinned
boolean
optional
Console round-trip: the view is pinned in the object's view switcher. Written by the console's pin toggle through the view metadata API and read back to draw the pinned group. Stored on the view's row, which has no per-user scope. Not authored.
sortOrder
integer
optional
Console round-trip: the view's position among the object's saved views in the switcher, 0-based and counted over saved views only (a code-defined view carries none). Written by the console's drag-reorder and read back to order the tabs. Not authored: order is the authored default position.
Console round-trip: the group the switcher files this view's tab under (private, team, organization or public). Display grouping only, NOT access control: nothing restricts who can list or open the view by this value. No console control sets it; the console carries a stored value forward when it re-saves the row. Not authored.
Studio round-trip: column order/widths (runtime-only state, written by the console grid and stored on the view's row, which has no per-user scope — not authored)
options
never
optional
Refused: a view item record carries no top-level options bag. Its per-kind blocks live under config (config.kanban, config.timeline, …); the legacy options.KIND bag belongs to the flattened list overlay only.
Fields to display as columns — the PROJECTION of the per-view field composition columns x hiddenFields x fieldOrder: this list is the candidate set AND the baseline order; hiddenFields subtracts from it and fieldOrder orders what survives. hiddenFields and fieldOrder cannot add a field omitted here. An empty list declares no projection, so neither of them applies: which columns show is then left to the renderer (objectui's ListView grid derives the object's default columns).
[REMOVED] view.list.filterableFields was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for userFilters.fields (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare userFilters: { element: 'dropdown', fields: [{ field: '<field_name>' }] }. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks hidden: true is not offered. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Chart binding — applies when the view renders as a chart. A type: 'chart' view must bind one: it names the ADR-0021 dataset and the measures (values) the chart plots, and there is no default binding
Tree/hierarchy configuration — applies when the view renders as a tree layout
pageName
never
optional
[REMOVED] view.pageName was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it named the page a type: 'page' view was to mount, and that mount was never built: no renderer read the key, so the named page was never reached and the view drew an empty grid. Delete the key; to put a published page in front of users, give the app a navigation item — { type: 'page', pageName: '<page_name>' } under the app's navigation — which is a different key on a different surface and is the page mount that has always rendered. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
description
string | Record<string, string>
optional
View description for documentation/tooltips
sharing
{ lockedBy?: string }
optional
View sharing configuration: who locked the view configuration
requiredPermissions
string[]
optional
[ADR-0066] Capabilities a user must ALL hold for this list view or dashboard to be served to them — names that permission sets grant through systemPermissions, the same list as requiredPermissions on an app, a navigation item or an action. Absent or empty: no audience gate. There is no any-of form: to serve one item to several audiences (legal OR admin), declare one capability and grant it to each of their permission sets. The server enforces it: a user who does not hold them all is not listed the item and is refused it by name; a view container's list views are pruned the same way, and so are an object's own list views for a user who may not edit the object.
Group records by one or more fields — server-side: the groups and their header numbers come from an aggregate query over the whole filtered set, rows within a group are paged (see GroupingConfigSchema)
Fields to hide in this specific view — the SUBTRACTION of the per-view field composition columns x hiddenFields x fieldOrder: each name listed here is removed from the columns projection before fieldOrder orders the remainder. A name columns never projected subtracts nothing.
fieldOrder
string[]
optional
Explicit field display order for this view — the ORDERING of the per-view field composition columns x hiddenFields x fieldOrder: it sorts what survives columns minus hiddenFields and never adds a field. A surviving column absent from fieldOrder sorts LAST, after every listed one, keeping its columns-relative order; a name listed here that did not survive orders nothing.
Rich bulk action definitions (schema-driven, executed via BulkActionDialog). Use a def for a mass data-plane mutation ('update' with a patch / 'delete') that no action expresses, or for an operation: 'custom' + execution: 'aggregate' entry that dispatches the action it NAMES once for the whole selection — the renderer injects params._selectedIds: string[] (read that on the server, not recordId) so a single call can produce one aggregate artifact (zip of QR codes, merged PDF, batch print). Aggregate results are all-or-nothing: a handler that cannot cover the whole selection must reject, and per-row retry is replaced by re-running the action. batchSize does not apply (the call is never chunked); set maxRecords on defs whose server work is expensive. For the PER-RECORD dispatch use bulkActions: ['<name>'] instead — the bare-string form, promoted with the action's own label, params and visible; a 'custom' def without execution: 'aggregate' has no dispatcher and is refused at parse time. Toolbar url/api actions can also interpolate the current selection via ${ctx.selection.ids} / ${ctx.selection.count}.
Export configuration for the list toolbar export menu: { formats?, maxRecords?, includeHeaders?, fileNamePrefix?, streaming? }. A bare format array is the legacy spelling and lifts to { formats: [...] } at parse.
[REMOVED] view.list.tabs was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — no renderer ever mounted a tab bar for it, so authoring it drew nothing: the tab strip above an object's records is the saved-view switcher (ViewTabBar), which renders one tab per named list view and never read this key. Delete the key, and move each tab you want to a named list view under the object's listViews instead: the tab's name becomes the entry's key, its label the entry's label, and its filter rules join the view's own filter on that entry (copy the view's columns too); a tab whose view already named a list view needs nothing more. Every listViews entry renders as a tab in the switcher. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
The base package id whose same-named item this item replaces whole (e.g. "com.acme.crm"). Only an item of the base's paired "<base>.custom" package declares an override.
basedOn
string
✅
Recorded, never a gate: the base package's manifest.version this override was taken from (e.g. "3.2.0"), not a history version of the item. Nothing is refused, merged or rebased on it; it tells a person re-basing the override where it started. One reader, as advice: a base's upgrade plan lists an override whose basedOn is not the installed base version as stale, beside each override whose base item the upgrade changes (ADR-0146 D2, as amended).
Bound object name — the foreign key used to aggregate views.
label
string | Record<string, string>
optional
Display label (supports i18n).
isDefault
boolean
optional
Whether this is the object's default view in the switcher.
order
integer
optional
Sort order within the object's view switcher / left rail.
scope
Enum<'package' | 'shared'>
optional
Identity layer (defaults to package for source-loaded views).
owner
never
optional
[REMOVED] view.owner was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it named the user a personal view item belonged to, and nothing ever read it: the view switcher (GET /meta/view?object=) serves every item bound to the object without looking at owner, so a view marked as one user's was listed for every user who can read the object. Delete the key. Nothing restricts a view item to one user — personal named views are a user-owned record, not a view item (ADR-0017) — so a view item is visible to everyone who can read its object. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
hidden
never
optional
[REMOVED] view.hidden was removed in @objectstack/spec 17.5.0 (ADR-0049 enforce-or-remove) — it promised to hide a view item from the switcher, and nothing ever read it: GET /meta/view?object= and the console's view switcher list every item bound to the object, hidden: true included. Delete the key; to take a view out of the switcher, delete the view item itself (or stop shipping it from source). Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Human-readable reason shown when a write is refused by _lock.
_lockSource
Enum<'artifact' | 'package' | 'env-forced'>
optional
Layer that set _lock (artifact | package | env-forced).
_provenance
Enum<'package' | 'org' | 'env-forced'>
optional
Origin of the item (package | org | env-forced).
_packageId
string
optional
Owning package machine id.
_packageVersion
string
optional
Owning package version.
_lockDocsUrl
string
optional
Optional documentation link surfaced next to _lockReason.
overrides
{ package: string; basedOn: string }
optional
Override declaration (ADR-0146 D2): { package, basedOn } — this item of "<base>.custom" replaces the base package's same-named item whole. basedOn is recorded and never gates; a base's upgrade plan reads it only as advice.
isPinned
boolean
optional
Console round-trip: the view is pinned in the object's view switcher. Written by the console's pin toggle through the view metadata API and read back to draw the pinned group. Stored on the view's row, which has no per-user scope. Not authored.
sortOrder
integer
optional
Console round-trip: the view's position among the object's saved views in the switcher, 0-based and counted over saved views only (a code-defined view carries none). Written by the console's drag-reorder and read back to order the tabs. Not authored: order is the authored default position.
Console round-trip: the group the switcher files this view's tab under (private, team, organization or public). Display grouping only, NOT access control: nothing restricts who can list or open the view by this value. No console control sets it; the console carries a stored value forward when it re-saves the row. Not authored.
Studio round-trip: column order/widths (runtime-only state, written by the console grid and stored on the view's row, which has no per-user scope — not authored)
options
never
optional
Refused: a view item record carries no top-level options bag. Its per-kind blocks live under config (config.kanban, config.timeline, …); the legacy options.KIND bag belongs to the flattened list overlay only.
Form layout: 'simple' (stacked sections, the default), 'tabbed' (one tab per section) or 'wizard' (one gated step per section). Where the form opens is the caller's choice, not the form's
layout
Enum<'vertical' | 'horizontal'>
optional
Field layout direction — 'vertical' (the renderer default) or 'horizontal'. Multi-column is not a layout value: set columns
columns
integer
optional
Number of columns for the form body
title
string
optional
Form title
description
string
optional
Form description
defaultTab
string
optional
Initially active tab (tabbed forms)
tabPosition
Enum<'top' | 'bottom' | 'left' | 'right'>
optional
Tab strip position (tabbed forms)
allowSkip
boolean
optional
Wizard step-gate opt-out: allow entering a later step without submitting the one before it. Navigation freedom, NOT a validation exemption — the final submit still re-validates every step and returns to the first failing one. Default (absent/false): steps unlock in array order as each prior step submits validly. UI admission only, never authorization.
showStepIndicator
boolean
optional
Show the wizard step indicator (renderer default: shown). Step progress (completed/current/upcoming/invalid) is derived from the step gate — this boolean is the only authorable progress surface.
splitDirection
never
optional
[REMOVED] view.form.splitDirection was removed in @objectstack/spec 18.3.0 (ADR-0050) — it set the pane orientation of a split form, and the split form renderer retired in the same release, so no form draws panes. Delete the key. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
splitSize
never
optional
[REMOVED] view.form.splitSize was removed in @objectstack/spec 18.3.0 (ADR-0050) — it sized the primary pane of a type: 'split' form, and split left the form view type in the same release, so no form view draws panes. Delete the key. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
splitResizable
never
optional
[REMOVED] view.form.splitResizable was removed in @objectstack/spec 18.3.0 (ADR-0050) — it made the panes of a type: 'split' form resizable, and split left the form view type in the same release, so no form view draws panes. Delete the key. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
drawerSide
never
optional
[REMOVED] view.form.drawerSide was removed in @objectstack/spec 18.3.0 (ADR-0049) — no form view opens in a drawer, so no form view ever read it. Delete the key: a list opens a clicked record in its drawer (navigation.mode), and the React ObjectForm block keeps its own drawerSide prop for the drawer it opens with formType='drawer'. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
drawerWidth
never
optional
[REMOVED] view.form.drawerWidth was removed in @objectstack/spec 18.3.0 (ADR-0049) — no form view opens in a drawer, so no form view ever read it, and a pixel width cannot be chosen without knowing the client viewport. Delete the key: a list's record drawer takes its starting width from the navigation.size bucket, and the React ObjectForm block keeps its own drawerWidth prop for the drawer it opens. Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
modalSize
Enum<'sm' | 'default' | 'lg' | 'xl' | 'full'>
optional
Size bucket of the dialog a caller opens this form in: the console's New / Edit dialog, or the modal container of the React ObjectForm block (formType 'modal')
The base package id whose same-named item this item replaces whole (e.g. "com.acme.crm"). Only an item of the base's paired "<base>.custom" package declares an override.
basedOn
string
✅
Recorded, never a gate: the base package's manifest.version this override was taken from (e.g. "3.2.0"), not a history version of the item. Nothing is refused, merged or rebased on it; it tells a person re-basing the override where it started. One reader, as advice: a base's upgrade plan lists an override whose basedOn is not the installed base version as stale, beside each override whose base item the upgrade changes (ADR-0146 D2, as amended).
[REMOVED] view.list.sharing.type was removed in @objectstack/spec 18.3.0 (ADR-0049 enforce-or-remove) — nothing enforced it: a personal view was listed for every user who can read the object, and collaborative described every view, so the key only ever drew a badge. Delete the key; sharing.lockedBy is unchanged. A view is visible to everyone who can read its object; personal named views are a user-owned record, not view metadata (ADR-0017). Run os migrate meta --from 17 to list the mechanical edits for existing sources; --write applies the ones it can prove, and you apply the rest by hand.
Filter value. The accepted SHAPE depends on the operator: in / not_in take an array (any length, including []), between takes exactly [min, max], every other operator takes a scalar. The unary operators (is_empty / is_not_empty / is_null / is_not_null) take their direction from the operator name and ignore this key. One operator bounds the VALUE as well as the shape: icontains takes a NON-EMPTY STRING, the comparand the Filter Protocol conformance table declares for it — an empty comparand constrains nothing and a non-string one would answer a query nobody wrote, and both are refused at the query path too.
An any-of group: { or: [rule, ...] } matches a record when ANY of its rules matches. It sits in the filter list beside plain rules, and the list still ANDs every element, so [{ or: [{ field: "status", operator: "equals", value: "open" }, { field: "completed_at", operator: "after", value: "{7_days_ago}" }] }] selects the open records and the ones completed in the last 7 days. One level only: its members are flat rules. The console applies it, ANDed with its sibling elements, and its filter builder edits a filter that is exactly one group.
The rules of which ANY may match: a non-empty array of flat filter rules { field, operator, value }, each judged exactly as a rule at the top level of the filter. A group cannot hold a group.