Discriminated union of all field types that can appear on a form. The concrete variant is selected by type.
Short Text
Long Text
Radio
Checkbox
Image Radio
Image Checkbox
Dropdown
Number
Email
Phone
Date
Name
URL
Address
Rating
NPS
Upload
Audio
Cascade
Ranking
Matrix Input
Likert Scale
Time
Location
Signature
Grid Rating
Table
Product
Booking
Linked Form
Formula
Page Break
Description
One field on a form, as returned in a form detail response. Every field returns the
shared keys (label, api_code, notes, private, required, ...) plus its type-specific
configuration determined by type — see the per-type sections below. The type-specific
keys on read mirror what the same field type accepts on create / update, so a fetched
form can be sent straight back through create / update without losing any setting.
Stable identifier of the field; used as the key for this field's value in entry payloads.
Always present on read. On form create / update, api_code is optional in the request body:
Omit to add a new field — the server auto-generates an api_code (e.g. field_3).
Provide an existing api_code to target an existing field for update; fields whose api_code is absent from the request are dropped.
The same rule applies to every other api_code-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of matrix, likert, cascade).
Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an api_code (see the formula field type). Echoed back on read; null when none was supplied. Charset [A-Za-z0-9_-], length 6–12, unique within the form, and must not look like a server api_code.
Scoring answers for this field. Only meaningful when the parent form's scene
is exam or evaluation and the field type is one of the scorable types
(radio, checkbox, dropdown, short_text, long_text, number, likert, rating).
exam: exactly one answer entry per field. For checkbox the answer
array may carry multiple choice indices; for the other choice / text /
number types it carries a single value. likert and rating are not
supported in exam scene.
evaluation: applies to choice-bearing fields, likert, and rating.
The answers array must contain one entry per scoreable position:
choice-bearing (radio / checkbox / dropdown) and likert: one
entry per element of choices, positionally aligned (entry i scores
the i-th choice).
rating: one entry per rating level (size must equal rating_max,
default 5), positionally aligned with levels 1..rating_max
(entry i scores level i + 1).
Because the target is the entry's own position, answer here is
always the single-element array [<that position>] — both on read
and on write, where it is required and must match. Anything else is
rejected with a 422 instead of silently scoring another option, and
a form read from this API saves back unchanged.
Optional explanation shown to respondents after grading. Only honored in exam scene.
Last modified on May 14, 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"FormHug","description":"Build smart, beautiful forms for you and your audience.","colors":{"primary":"#6366F1","light":"#818CF8","dark":"#4F46E5"},"logo":{"light":"https://mintcdn.com/formhug-8bc4ebd1/QkuMZ3dKhwrJ6Thy/logo/light.svg?fit=max\u0026auto=format\u0026n=QkuMZ3dKhwrJ6Thy\u0026q=85\u0026s=88284690f11209ca0abb5239bc7f1179","dark":"https://mintcdn.com/formhug-8bc4ebd1/QkuMZ3dKhwrJ6Thy/logo/dark.svg?fit=max\u0026auto=format\u0026n=QkuMZ3dKhwrJ6Thy\u0026q=85\u0026s=18b178b7a4ba46472029621b10203014","href":"https://formhug.ai"},"favicon":{"light":"https://mintcdn.com/formhug-8bc4ebd1/QkuMZ3dKhwrJ6Thy/favicon.svg?fit=max\u0026auto=format\u0026n=QkuMZ3dKhwrJ6Thy\u0026q=85\u0026s=5f2ad4abbddc4fcd7fefb3230c9fb236","dark":"https://mintcdn.com/formhug-8bc4ebd1/QkuMZ3dKhwrJ6Thy/images/favicon-dark.svg?fit=max\u0026auto=format\u0026n=QkuMZ3dKhwrJ6Thy\u0026q=85\u0026s=1c1c281ed3ac1524d0543dd2dfcddb68"},"appearance":{"default":"system"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"mailto:support@formhug.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://formhug.ai/?ref=docs"}},"footer":{"socials":{"x":"https://x.com/FormHug","youtube":"https://www.youtube.com/@formhug","instagram":"https://www.instagram.com/formhug","facebook":"https://www.facebook.com/profile.php?id=61586802254413"},"links":[{"header":"General","items":[{"label":"Pricing","href":"https://formhug.ai/pricing"},{"label":"Docs","href":"https://formhug.ai/docs"},{"label":"Blog","href":"https://formhug.ai/blog"},{"label":"Templates","href":"https://formhug.ai/templates"},{"label":"Integrations","href":"https://formhug.ai/integrations"},{"label":"Quizzes","href":"https://formhug.ai/quizzes"}]},{"header":"Product","items":[{"label":"AI Quiz Maker","href":"https://formhug.ai/quiz-maker"},{"label":"MCP for Agents","href":"https://formhug.ai/mcp-for-agents"},{"label":"AI Form Builder","href":"https://formhug.ai/ai-form-builder"},{"label":"AI Survey Maker","href":"https://formhug.ai/survey-maker"},{"label":"ChatGPT Form Builder","href":"https://formhug.ai/chatgpt-form-builder"},{"label":"Claude Form Builder","href":"https://formhug.ai/claude-form-builder"}]},{"header":"Compare","items":[{"label":"Compare All","href":"https://formhug.ai/vs"},{"label":"Jotform Alternative","href":"https://formhug.ai/vs/jotform-alternative"},{"label":"Typeform Alternative","href":"https://formhug.ai/vs/typeform-alternative"},{"label":"Google Forms Alternative","href":"https://formhug.ai/vs/google-forms-alternative"},{"label":"Tally Alternative","href":"https://formhug.ai/vs/tally-alternative"},{"label":"Fillout Alternative","href":"https://formhug.ai/vs/fillout-alternative"}]},{"header":"Resources","items":[{"label":"About","href":"https://formhug.ai/about"},{"label":"Privacy","href":"https://formhug.ai/privacy-policy"},{"label":"Terms","href":"https://formhug.ai/terms-of-service"}]}]},"search":{"prompt":"Search FormHug docs..."},"seo":{"metatags":{"canonical":"https://formhug.ai/docs"},"indexing":"all"},"fonts":{"family":"Inter"},"icons":{"library":"fontawesome"},"integrations":{"ga4":{"measurementId":"G-ZVVSLQ785E"}},"thumbnails":{"appearance":"light"},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"formhug-8bc4ebd1","hasAudioNarration":false,"actualSubdomain":"formhug-8bc4ebd1","customDomains":["formhug.ai"],"gitSource":{"type":"github","owner":"formhug","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{},"buildId":"6ad6e449807fa967a0983e6d","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":51},{"language":"default","tag":"Features","count":34},{"language":"default","tag":"Integrations","count":16},{"language":"default","tag":"Builder","count":13},{"language":"default","tag":"Form Settings","count":10},{"language":"default","tag":"Guides","count":10},{"language":"default","tag":"Field Types","count":9},{"language":"default","tag":"Use Cases","count":9},{"language":"default","tag":"Apps \u0026 Automation","count":9},{"language":"default","tag":"Entries","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/models/form-field","slug":"/api-reference/models/form-field","pageMetadata":{"title":"Form Field","description":"Discriminated union of all field types that can appear on a form. The concrete variant is selected by `type`.","openapi-schema":"FormField","href":"/api-reference/models/form-field"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Discriminated union of all field types that can appear on a form. The concrete variant is selected by \", _jsx(_components.code, {\n children: \"type\"\n }), \".\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Form Field","description":"Discriminated union of all field types that can appear on a form. The concrete variant is selected by `type`.","openapi-schema":"FormField","href":"/api-reference/models/form-field"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/formhug-8bc4ebd1/4e6b7b0101f2c4d1/external-links.js"],"openApiReferenceData":{"schemaData":{"oneOf":[{"type":"object","title":"Short Text","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["short_text"],"example":"short_text","isRequired":true,"uniqueKey":"oneOf.0.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.0.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.0.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.0.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.0.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.0.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.0.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.0.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.0.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.0.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.0.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.cid","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"oneOf.0.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"oneOf.0.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"oneOf.0.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"oneOf.0.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.placeholder","typeLabel":"string | null"},"answers":{"type":"array","description":"Scoring answers for this field. Only meaningful when the parent form's `scene`\nis `exam` or `evaluation` and the field type is one of the scorable types\n(`radio`, `checkbox`, `dropdown`, `short_text`, `long_text`, `number`, `likert`, `rating`).\n\n- `exam`: exactly one answer entry per field. For `checkbox` the `answer`\n array may carry multiple choice indices; for the other choice / text /\n number types it carries a single value. `likert` and `rating` are not\n supported in `exam` scene.\n- `evaluation`: applies to choice-bearing fields, `likert`, and `rating`.\n The `answers` array must contain one entry per scoreable position:\n - choice-bearing (`radio` / `checkbox` / `dropdown`) and `likert`: one\n entry per element of `choices`, positionally aligned (entry `i` scores\n the `i`-th choice).\n - `rating`: one entry per rating level (size must equal `rating_max`,\n default 5), positionally aligned with levels 1..rating_max\n (entry `i` scores level `i + 1`).\n\n Because the target is the entry's own position, `answer` here is\n always the single-element array `[\u003cthat position>]` — both on read\n and on write, where it is required and must match. Anything else is\n rejected with a 422 instead of silently scoring another option, and\n a form read from this API saves back unchanged.\n","items":{"type":"object","required":["score"],"properties":{"score":{"type":"number","description":"Points awarded when this answer matches.","isRequired":true,"uniqueKey":"oneOf.0.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.answers.items.[INDEX].answer.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Expected text. Single-element array or a bare string.","maxItems":1,"minItems":1,"uniqueKey":"oneOf.0.answers.items.[INDEX].answer.oneOf.0","typeLabel":"string[]"},{"type":"string","description":"Expected text. Single-element array or a bare string.","uniqueKey":"oneOf.0.answers.items.[INDEX].answer.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.0.answers.items.[INDEX].answer","typeLabel":"string[] | string"}},"additionalProperties":false,"uniqueKey":"oneOf.0.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.0.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.0.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.answer_explanation","typeLabel":"string | null"}},"uniqueKey":"oneOf.0","typeLabel":"Short Text · object"},{"type":"object","title":"Long Text","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["long_text"],"example":"long_text","isRequired":true,"uniqueKey":"oneOf.1.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.1.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.1.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.1.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.1.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.1.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.1.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.1.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.1.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.1.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.1.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.cid","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"oneOf.1.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"oneOf.1.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"oneOf.1.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"oneOf.1.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.placeholder","typeLabel":"string | null"},"answers":{"type":"array","description":"Scoring answers for this field. Only meaningful when the parent form's `scene`\nis `exam` or `evaluation` and the field type is one of the scorable types\n(`radio`, `checkbox`, `dropdown`, `short_text`, `long_text`, `number`, `likert`, `rating`).\n\n- `exam`: exactly one answer entry per field. For `checkbox` the `answer`\n array may carry multiple choice indices; for the other choice / text /\n number types it carries a single value. `likert` and `rating` are not\n supported in `exam` scene.\n- `evaluation`: applies to choice-bearing fields, `likert`, and `rating`.\n The `answers` array must contain one entry per scoreable position:\n - choice-bearing (`radio` / `checkbox` / `dropdown`) and `likert`: one\n entry per element of `choices`, positionally aligned (entry `i` scores\n the `i`-th choice).\n - `rating`: one entry per rating level (size must equal `rating_max`,\n default 5), positionally aligned with levels 1..rating_max\n (entry `i` scores level `i + 1`).\n\n Because the target is the entry's own position, `answer` here is\n always the single-element array `[\u003cthat position>]` — both on read\n and on write, where it is required and must match. Anything else is\n rejected with a 422 instead of silently scoring another option, and\n a form read from this API saves back unchanged.\n","items":{"type":"object","required":["score"],"properties":{"score":{"type":"number","description":"Points awarded when this answer matches.","isRequired":true,"uniqueKey":"oneOf.1.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.answers.items.[INDEX].answer.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Expected text. Single-element array or a bare string.","maxItems":1,"minItems":1,"uniqueKey":"oneOf.1.answers.items.[INDEX].answer.oneOf.0","typeLabel":"string[]"},{"type":"string","description":"Expected text. Single-element array or a bare string.","uniqueKey":"oneOf.1.answers.items.[INDEX].answer.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.1.answers.items.[INDEX].answer","typeLabel":"string[] | string"}},"additionalProperties":false,"uniqueKey":"oneOf.1.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.1.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.1.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.answer_explanation","typeLabel":"string | null"}},"uniqueKey":"oneOf.1","typeLabel":"Long Text · object"},{"type":"object","title":"Radio","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["radio"],"example":"radio","isRequired":true,"uniqueKey":"oneOf.2.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.2.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.2.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.2.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.2.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.2.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.2.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.2.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.2.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.2.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.2.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.cid","typeLabel":"string | null"},"answers":{"type":"array","description":"Scoring answers for this field. Only meaningful when the parent form's `scene`\nis `exam` or `evaluation` and the field type is one of the scorable types\n(`radio`, `checkbox`, `dropdown`, `short_text`, `long_text`, `number`, `likert`, `rating`).\n\n- `exam`: exactly one answer entry per field. For `checkbox` the `answer`\n array may carry multiple choice indices; for the other choice / text /\n number types it carries a single value. `likert` and `rating` are not\n supported in `exam` scene.\n- `evaluation`: applies to choice-bearing fields, `likert`, and `rating`.\n The `answers` array must contain one entry per scoreable position:\n - choice-bearing (`radio` / `checkbox` / `dropdown`) and `likert`: one\n entry per element of `choices`, positionally aligned (entry `i` scores\n the `i`-th choice).\n - `rating`: one entry per rating level (size must equal `rating_max`,\n default 5), positionally aligned with levels 1..rating_max\n (entry `i` scores level `i + 1`).\n\n Because the target is the entry's own position, `answer` here is\n always the single-element array `[\u003cthat position>]` — both on read\n and on write, where it is required and must match. Anything else is\n rejected with a 422 instead of silently scoring another option, and\n a form read from this API saves back unchanged.\n","items":{"type":"object","required":["score"],"properties":{"score":{"type":"number","description":"Points awarded when this answer matches.","isRequired":true,"uniqueKey":"oneOf.2.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.2.answers.items.[INDEX].answer.oneOf.0.items.[INDEX]","typeLabel":"integer"},"description":"Choice indices (0-based) into the field's `choices`. Array (used for `checkbox` exam multi-select) or single integer.","uniqueKey":"oneOf.2.answers.items.[INDEX].answer.oneOf.0","typeLabel":"integer[]"},{"type":"integer","description":"Choice indices (0-based) into the field's `choices`. Array (used for `checkbox` exam multi-select) or single integer.","uniqueKey":"oneOf.2.answers.items.[INDEX].answer.oneOf.1","typeLabel":"integer"}],"uniqueKey":"oneOf.2.answers.items.[INDEX].answer","typeLabel":"integer[] | integer"}},"additionalProperties":false,"uniqueKey":"oneOf.2.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.2.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.2.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.2.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.answer_explanation","typeLabel":"string | null"},"calculable":{"oneOf":[{"type":"boolean","description":"When true, this choice field can be referenced by a formula; every choice must then carry a numeric `operand_value`. The choice value summed for the selected option(s) is the field's formula value.","uniqueKey":"oneOf.2.calculable.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"When true, this choice field can be referenced by a formula; every choice must then carry a numeric `operand_value`. The choice value summed for the selected option(s) is the field's formula value.","uniqueKey":"oneOf.2.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.calculable","typeLabel":"boolean | null"},"choices":{"type":"array","description":"Selectable options. On create / update: omit a previously-saved choice to delete it; provide its `api_code` to update it; omit `api_code` to add a new choice.","items":{"type":"object","description":"A selectable option on `radio` and `checkbox` fields — the choice types that support both an `other` fallback and an extended text input. Every key emitted on read is also accepted on write, so a fetched choice can be sent back unchanged on update.","required":["label","api_code","is_other","selected","allow_extended_text","extended_text_required","extended_text_placeholder"],"properties":{"label":{"type":"string","description":"Display label of the choice.","example":"Option A","isRequired":true,"uniqueKey":"oneOf.2.choices.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the choice. Always present on read. On form create / update, omit to add a new choice (the server auto-generates the value), pass an existing value to target an existing choice for update, and omit an existing choice entirely to delete it.","example":"choice_abc","isRequired":true,"uniqueKey":"oneOf.2.choices.items.[INDEX].api_code","typeLabel":"string"},"is_other":{"type":"boolean","description":"True when this is the \"other / please specify\" free-text fallback option. At most one choice per field can be marked. The \"other\" choice carries its own free-text input via the entry value's `other_text` key, and the extended-text triplet has no effect on it — those keys are silently ignored on write for an `is_other` choice.","example":false,"isRequired":true,"uniqueKey":"oneOf.2.choices.items.[INDEX].is_other","typeLabel":"boolean"},"selected":{"oneOf":[{"type":"boolean","description":"Whether this choice is pre-selected by default. Null when never set.","isRequired":true,"uniqueKey":"oneOf.2.choices.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this choice is pre-selected by default. Null when never set.","isRequired":true,"uniqueKey":"oneOf.2.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.choices.items.[INDEX].selected","typeLabel":"boolean | null"},"allow_extended_text":{"type":"boolean","description":"Whether respondents may type free text alongside this choice. Has no effect on an `is_other` choice.","isRequired":true,"uniqueKey":"oneOf.2.choices.items.[INDEX].allow_extended_text","typeLabel":"boolean"},"extended_text_required":{"type":"boolean","description":"Whether the extended text is required when this choice is picked. Has no effect on an `is_other` choice.","isRequired":true,"uniqueKey":"oneOf.2.choices.items.[INDEX].extended_text_required","typeLabel":"boolean"},"extended_text_placeholder":{"oneOf":[{"type":"string","description":"Placeholder text for the extended text input. Has no effect on an `is_other` choice.","isRequired":true,"uniqueKey":"oneOf.2.choices.items.[INDEX].extended_text_placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Placeholder text for the extended text input. Has no effect on an `is_other` choice.","isRequired":true,"uniqueKey":"oneOf.2.choices.items.[INDEX].extended_text_placeholder.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.choices.items.[INDEX].extended_text_placeholder","typeLabel":"string | null"},"operand_value":{"oneOf":[{"type":"number","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`.","uniqueKey":"oneOf.2.choices.items.[INDEX].operand_value.oneOf.0","typeLabel":"number"},{"type":"null","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`.","uniqueKey":"oneOf.2.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.choices.items.[INDEX].operand_value","typeLabel":"number | null"}},"uniqueKey":"oneOf.2.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.2.choices","typeLabel":"object[]"}},"uniqueKey":"oneOf.2","typeLabel":"Radio · object"},{"type":"object","title":"Checkbox","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["checkbox"],"example":"checkbox","isRequired":true,"uniqueKey":"oneOf.3.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.3.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.3.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.3.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.3.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.3.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.3.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.3.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.3.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.3.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.3.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.3.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.3.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.cid","typeLabel":"string | null"},"answers":{"type":"array","description":"Scoring answers for this field. Only meaningful when the parent form's `scene`\nis `exam` or `evaluation` and the field type is one of the scorable types\n(`radio`, `checkbox`, `dropdown`, `short_text`, `long_text`, `number`, `likert`, `rating`).\n\n- `exam`: exactly one answer entry per field. For `checkbox` the `answer`\n array may carry multiple choice indices; for the other choice / text /\n number types it carries a single value. `likert` and `rating` are not\n supported in `exam` scene.\n- `evaluation`: applies to choice-bearing fields, `likert`, and `rating`.\n The `answers` array must contain one entry per scoreable position:\n - choice-bearing (`radio` / `checkbox` / `dropdown`) and `likert`: one\n entry per element of `choices`, positionally aligned (entry `i` scores\n the `i`-th choice).\n - `rating`: one entry per rating level (size must equal `rating_max`,\n default 5), positionally aligned with levels 1..rating_max\n (entry `i` scores level `i + 1`).\n\n Because the target is the entry's own position, `answer` here is\n always the single-element array `[\u003cthat position>]` — both on read\n and on write, where it is required and must match. Anything else is\n rejected with a 422 instead of silently scoring another option, and\n a form read from this API saves back unchanged.\n","items":{"type":"object","required":["score"],"properties":{"score":{"type":"number","description":"Points awarded when this answer matches.","isRequired":true,"uniqueKey":"oneOf.3.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.3.answers.items.[INDEX].answer.oneOf.0.items.[INDEX]","typeLabel":"integer"},"description":"Choice indices (0-based) into the field's `choices`. Array (used for `checkbox` exam multi-select) or single integer.","uniqueKey":"oneOf.3.answers.items.[INDEX].answer.oneOf.0","typeLabel":"integer[]"},{"type":"integer","description":"Choice indices (0-based) into the field's `choices`. Array (used for `checkbox` exam multi-select) or single integer.","uniqueKey":"oneOf.3.answers.items.[INDEX].answer.oneOf.1","typeLabel":"integer"}],"uniqueKey":"oneOf.3.answers.items.[INDEX].answer","typeLabel":"integer[] | integer"}},"additionalProperties":false,"uniqueKey":"oneOf.3.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.3.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.3.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.3.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.answer_explanation","typeLabel":"string | null"},"calculable":{"oneOf":[{"type":"boolean","description":"When true, this choice field can be referenced by a formula; every choice must then carry a numeric `operand_value`. The choice value summed for the selected option(s) is the field's formula value.","uniqueKey":"oneOf.3.calculable.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"When true, this choice field can be referenced by a formula; every choice must then carry a numeric `operand_value`. The choice value summed for the selected option(s) is the field's formula value.","uniqueKey":"oneOf.3.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.calculable","typeLabel":"boolean | null"},"choices":{"type":"array","description":"Selectable options. On create / update: omit a previously-saved choice to delete it; provide its `api_code` to update it; omit `api_code` to add a new choice.","items":{"type":"object","description":"A selectable option on `radio` and `checkbox` fields — the choice types that support both an `other` fallback and an extended text input. Every key emitted on read is also accepted on write, so a fetched choice can be sent back unchanged on update.","required":["label","api_code","is_other","selected","allow_extended_text","extended_text_required","extended_text_placeholder"],"properties":{"label":{"type":"string","description":"Display label of the choice.","example":"Option A","isRequired":true,"uniqueKey":"oneOf.3.choices.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the choice. Always present on read. On form create / update, omit to add a new choice (the server auto-generates the value), pass an existing value to target an existing choice for update, and omit an existing choice entirely to delete it.","example":"choice_abc","isRequired":true,"uniqueKey":"oneOf.3.choices.items.[INDEX].api_code","typeLabel":"string"},"is_other":{"type":"boolean","description":"True when this is the \"other / please specify\" free-text fallback option. At most one choice per field can be marked. The \"other\" choice carries its own free-text input via the entry value's `other_text` key, and the extended-text triplet has no effect on it — those keys are silently ignored on write for an `is_other` choice.","example":false,"isRequired":true,"uniqueKey":"oneOf.3.choices.items.[INDEX].is_other","typeLabel":"boolean"},"selected":{"oneOf":[{"type":"boolean","description":"Whether this choice is pre-selected by default. Null when never set.","isRequired":true,"uniqueKey":"oneOf.3.choices.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this choice is pre-selected by default. Null when never set.","isRequired":true,"uniqueKey":"oneOf.3.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.3.choices.items.[INDEX].selected","typeLabel":"boolean | null"},"allow_extended_text":{"type":"boolean","description":"Whether respondents may type free text alongside this choice. Has no effect on an `is_other` choice.","isRequired":true,"uniqueKey":"oneOf.3.choices.items.[INDEX].allow_extended_text","typeLabel":"boolean"},"extended_text_required":{"type":"boolean","description":"Whether the extended text is required when this choice is picked. Has no effect on an `is_other` choice.","isRequired":true,"uniqueKey":"oneOf.3.choices.items.[INDEX].extended_text_required","typeLabel":"boolean"},"extended_text_placeholder":{"oneOf":[{"type":"string","description":"Placeholder text for the extended text input. Has no effect on an `is_other` choice.","isRequired":true,"uniqueKey":"oneOf.3.choices.items.[INDEX].extended_text_placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Placeholder text for the extended text input. Has no effect on an `is_other` choice.","isRequired":true,"uniqueKey":"oneOf.3.choices.items.[INDEX].extended_text_placeholder.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.3.choices.items.[INDEX].extended_text_placeholder","typeLabel":"string | null"},"operand_value":{"oneOf":[{"type":"number","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`.","uniqueKey":"oneOf.3.choices.items.[INDEX].operand_value.oneOf.0","typeLabel":"number"},{"type":"null","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`.","uniqueKey":"oneOf.3.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.choices.items.[INDEX].operand_value","typeLabel":"number | null"}},"uniqueKey":"oneOf.3.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.3.choices","typeLabel":"object[]"}},"uniqueKey":"oneOf.3","typeLabel":"Checkbox · object"},{"type":"object","title":"Image Radio","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["image_radio"],"example":"image_radio","isRequired":true,"uniqueKey":"oneOf.4.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.4.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.4.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.4.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.4.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.4.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.4.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.4.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.4.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.4.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.4.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.4.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.4.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.4.cid","typeLabel":"string | null"},"calculable":{"oneOf":[{"type":"boolean","description":"When true, this choice field can be referenced by a formula; every choice must then carry a numeric `operand_value`. The choice value summed for the selected option(s) is the field's formula value.","uniqueKey":"oneOf.4.calculable.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"When true, this choice field can be referenced by a formula; every choice must then carry a numeric `operand_value`. The choice value summed for the selected option(s) is the field's formula value.","uniqueKey":"oneOf.4.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.4.calculable","typeLabel":"boolean | null"},"choices":{"type":"array","description":"Selectable options. On create / update: omit a previously-saved choice to delete it; provide its `api_code` to update it; omit `api_code` to add a new choice.","items":{"type":"object","description":"A selectable option on `image_radio` and `image_checkbox` fields. Image choices do not support an `other` fallback or extended text.","required":["label","api_code","selected","image"],"properties":{"label":{"type":"string","description":"Display label of the choice.","example":"Option A","isRequired":true,"uniqueKey":"oneOf.4.choices.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the choice. Always present on read. On form create / update, omit to add a new choice (the server auto-generates the value), pass an existing value to target an existing choice for update, and omit an existing choice entirely to delete it.","example":"choice_abc","isRequired":true,"uniqueKey":"oneOf.4.choices.items.[INDEX].api_code","typeLabel":"string"},"selected":{"oneOf":[{"type":"boolean","description":"Whether this choice is pre-selected by default. Null when never set.","isRequired":true,"uniqueKey":"oneOf.4.choices.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this choice is pre-selected by default. Null when never set.","isRequired":true,"uniqueKey":"oneOf.4.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.4.choices.items.[INDEX].selected","typeLabel":"boolean | null"},"image":{"oneOf":[{"type":"object","description":"The image shown on this choice card; null when the choice has no image.","required":["id","url"],"properties":{"id":{"type":"string","description":"Image attachment id. Reference it back via `{ id }` on update.","isRequired":true,"uniqueKey":"oneOf.4.choices.items.[INDEX].image.oneOf.0.id","typeLabel":"string"},"url":{"oneOf":[{"type":"string","description":"Public URL of the image.","isRequired":true,"uniqueKey":"oneOf.4.choices.items.[INDEX].image.oneOf.0.url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Public URL of the image.","isRequired":true,"uniqueKey":"oneOf.4.choices.items.[INDEX].image.oneOf.0.url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.4.choices.items.[INDEX].image.oneOf.0.url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"oneOf.4.choices.items.[INDEX].image.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.4.choices.items.[INDEX].image.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.4.choices.items.[INDEX].image","typeLabel":"object | null"},"operand_value":{"oneOf":[{"type":"number","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`.","uniqueKey":"oneOf.4.choices.items.[INDEX].operand_value.oneOf.0","typeLabel":"number"},{"type":"null","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`.","uniqueKey":"oneOf.4.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.4.choices.items.[INDEX].operand_value","typeLabel":"number | null"}},"uniqueKey":"oneOf.4.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.4.choices","typeLabel":"object[]"}},"uniqueKey":"oneOf.4","typeLabel":"Image Radio · object"},{"type":"object","title":"Image Checkbox","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["image_checkbox"],"example":"image_checkbox","isRequired":true,"uniqueKey":"oneOf.5.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.5.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.5.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.5.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.5.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.5.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.5.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.5.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.5.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.5.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.5.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.5.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.5.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.5.cid","typeLabel":"string | null"},"calculable":{"oneOf":[{"type":"boolean","description":"When true, this choice field can be referenced by a formula; every choice must then carry a numeric `operand_value`. The choice value summed for the selected option(s) is the field's formula value.","uniqueKey":"oneOf.5.calculable.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"When true, this choice field can be referenced by a formula; every choice must then carry a numeric `operand_value`. The choice value summed for the selected option(s) is the field's formula value.","uniqueKey":"oneOf.5.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.5.calculable","typeLabel":"boolean | null"},"choices":{"type":"array","description":"Selectable options. On create / update: omit a previously-saved choice to delete it; provide its `api_code` to update it; omit `api_code` to add a new choice.","items":{"type":"object","description":"A selectable option on `image_radio` and `image_checkbox` fields. Image choices do not support an `other` fallback or extended text.","required":["label","api_code","selected","image"],"properties":{"label":{"type":"string","description":"Display label of the choice.","example":"Option A","isRequired":true,"uniqueKey":"oneOf.5.choices.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the choice. Always present on read. On form create / update, omit to add a new choice (the server auto-generates the value), pass an existing value to target an existing choice for update, and omit an existing choice entirely to delete it.","example":"choice_abc","isRequired":true,"uniqueKey":"oneOf.5.choices.items.[INDEX].api_code","typeLabel":"string"},"selected":{"oneOf":[{"type":"boolean","description":"Whether this choice is pre-selected by default. Null when never set.","isRequired":true,"uniqueKey":"oneOf.5.choices.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this choice is pre-selected by default. Null when never set.","isRequired":true,"uniqueKey":"oneOf.5.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.5.choices.items.[INDEX].selected","typeLabel":"boolean | null"},"image":{"oneOf":[{"type":"object","description":"The image shown on this choice card; null when the choice has no image.","required":["id","url"],"properties":{"id":{"type":"string","description":"Image attachment id. Reference it back via `{ id }` on update.","isRequired":true,"uniqueKey":"oneOf.5.choices.items.[INDEX].image.oneOf.0.id","typeLabel":"string"},"url":{"oneOf":[{"type":"string","description":"Public URL of the image.","isRequired":true,"uniqueKey":"oneOf.5.choices.items.[INDEX].image.oneOf.0.url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Public URL of the image.","isRequired":true,"uniqueKey":"oneOf.5.choices.items.[INDEX].image.oneOf.0.url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.5.choices.items.[INDEX].image.oneOf.0.url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"oneOf.5.choices.items.[INDEX].image.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.5.choices.items.[INDEX].image.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.5.choices.items.[INDEX].image","typeLabel":"object | null"},"operand_value":{"oneOf":[{"type":"number","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`.","uniqueKey":"oneOf.5.choices.items.[INDEX].operand_value.oneOf.0","typeLabel":"number"},{"type":"null","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`.","uniqueKey":"oneOf.5.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.5.choices.items.[INDEX].operand_value","typeLabel":"number | null"}},"uniqueKey":"oneOf.5.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.5.choices","typeLabel":"object[]"}},"uniqueKey":"oneOf.5","typeLabel":"Image Checkbox · object"},{"type":"object","title":"Dropdown","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["dropdown"],"example":"dropdown","isRequired":true,"uniqueKey":"oneOf.6.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.6.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.6.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.6.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.6.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.6.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.6.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.6.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.6.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.6.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.6.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.6.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.6.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.6.cid","typeLabel":"string | null"},"prompt":{"oneOf":[{"type":"string","description":"Placeholder shown before any choice is picked.","uniqueKey":"oneOf.6.prompt.oneOf.0","typeLabel":"string"},{"type":"null","description":"Placeholder shown before any choice is picked.","uniqueKey":"oneOf.6.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.6.prompt","typeLabel":"string | null"},"answers":{"type":"array","description":"Scoring answers for this field. Only meaningful when the parent form's `scene`\nis `exam` or `evaluation` and the field type is one of the scorable types\n(`radio`, `checkbox`, `dropdown`, `short_text`, `long_text`, `number`, `likert`, `rating`).\n\n- `exam`: exactly one answer entry per field. For `checkbox` the `answer`\n array may carry multiple choice indices; for the other choice / text /\n number types it carries a single value. `likert` and `rating` are not\n supported in `exam` scene.\n- `evaluation`: applies to choice-bearing fields, `likert`, and `rating`.\n The `answers` array must contain one entry per scoreable position:\n - choice-bearing (`radio` / `checkbox` / `dropdown`) and `likert`: one\n entry per element of `choices`, positionally aligned (entry `i` scores\n the `i`-th choice).\n - `rating`: one entry per rating level (size must equal `rating_max`,\n default 5), positionally aligned with levels 1..rating_max\n (entry `i` scores level `i + 1`).\n\n Because the target is the entry's own position, `answer` here is\n always the single-element array `[\u003cthat position>]` — both on read\n and on write, where it is required and must match. Anything else is\n rejected with a 422 instead of silently scoring another option, and\n a form read from this API saves back unchanged.\n","items":{"type":"object","required":["score"],"properties":{"score":{"type":"number","description":"Points awarded when this answer matches.","isRequired":true,"uniqueKey":"oneOf.6.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.6.answers.items.[INDEX].answer.oneOf.0.items.[INDEX]","typeLabel":"integer"},"description":"Choice indices (0-based) into the field's `choices`. Array (used for `checkbox` exam multi-select) or single integer.","uniqueKey":"oneOf.6.answers.items.[INDEX].answer.oneOf.0","typeLabel":"integer[]"},{"type":"integer","description":"Choice indices (0-based) into the field's `choices`. Array (used for `checkbox` exam multi-select) or single integer.","uniqueKey":"oneOf.6.answers.items.[INDEX].answer.oneOf.1","typeLabel":"integer"}],"uniqueKey":"oneOf.6.answers.items.[INDEX].answer","typeLabel":"integer[] | integer"}},"additionalProperties":false,"uniqueKey":"oneOf.6.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.6.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.6.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.6.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.6.answer_explanation","typeLabel":"string | null"},"calculable":{"oneOf":[{"type":"boolean","description":"When true, this choice field can be referenced by a formula; every choice must then carry a numeric `operand_value`. The choice value summed for the selected option(s) is the field's formula value.","uniqueKey":"oneOf.6.calculable.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"When true, this choice field can be referenced by a formula; every choice must then carry a numeric `operand_value`. The choice value summed for the selected option(s) is the field's formula value.","uniqueKey":"oneOf.6.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.6.calculable","typeLabel":"boolean | null"},"choices":{"type":"array","description":"Selectable options. On create / update: omit a previously-saved choice to delete it; provide its `api_code` to update it; omit `api_code` to add a new choice.","items":{"type":"object","description":"A selectable option on a `dropdown` field — supports an `other` fallback and a calculation `operand_value`.","required":["label","api_code","is_other","selected"],"properties":{"label":{"type":"string","description":"Display label of the choice.","example":"Option A","isRequired":true,"uniqueKey":"oneOf.6.choices.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the choice. Always present on read; omit to add, provide to update, omit-to-delete on write.","example":"choice_abc","isRequired":true,"uniqueKey":"oneOf.6.choices.items.[INDEX].api_code","typeLabel":"string"},"is_other":{"type":"boolean","description":"True when this is the \"other / please specify\" fallback. At most one per field.","example":false,"isRequired":true,"uniqueKey":"oneOf.6.choices.items.[INDEX].is_other","typeLabel":"boolean"},"selected":{"oneOf":[{"type":"boolean","description":"Whether this choice is pre-selected by default. Null when never set.","isRequired":true,"uniqueKey":"oneOf.6.choices.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this choice is pre-selected by default. Null when never set.","isRequired":true,"uniqueKey":"oneOf.6.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.6.choices.items.[INDEX].selected","typeLabel":"boolean | null"},"operand_value":{"oneOf":[{"type":"number","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`.","uniqueKey":"oneOf.6.choices.items.[INDEX].operand_value.oneOf.0","typeLabel":"number"},{"type":"null","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`.","uniqueKey":"oneOf.6.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.6.choices.items.[INDEX].operand_value","typeLabel":"number | null"}},"uniqueKey":"oneOf.6.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.6.choices","typeLabel":"object[]"}},"uniqueKey":"oneOf.6","typeLabel":"Dropdown · object"},{"type":"object","title":"Number","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["number"],"example":"number","isRequired":true,"uniqueKey":"oneOf.7.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.7.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.7.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.7.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.7.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.7.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.7.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.7.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.7.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.7.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.7.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.7.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.7.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.7.cid","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"oneOf.7.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"oneOf.7.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.7.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"oneOf.7.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"oneOf.7.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.7.placeholder","typeLabel":"string | null"},"precision":{"oneOf":[{"type":"integer","description":"Number of decimal places to enforce.","uniqueKey":"oneOf.7.precision.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of decimal places to enforce.","uniqueKey":"oneOf.7.precision.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.7.precision","typeLabel":"integer | null"},"display_as_percentage":{"oneOf":[{"type":"boolean","description":"Render the value with a trailing % sign in reports.","uniqueKey":"oneOf.7.display_as_percentage.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Render the value with a trailing % sign in reports.","uniqueKey":"oneOf.7.display_as_percentage.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.7.display_as_percentage","typeLabel":"boolean | null"},"range_min":{"oneOf":[{"type":"number","description":"Inclusive lower bound.","uniqueKey":"oneOf.7.range_min.oneOf.0","typeLabel":"number"},{"type":"null","description":"Inclusive lower bound.","uniqueKey":"oneOf.7.range_min.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.7.range_min","typeLabel":"number | null"},"range_max":{"oneOf":[{"type":"number","description":"Inclusive upper bound.","uniqueKey":"oneOf.7.range_max.oneOf.0","typeLabel":"number"},{"type":"null","description":"Inclusive upper bound.","uniqueKey":"oneOf.7.range_max.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.7.range_max","typeLabel":"number | null"},"icon_type":{"type":"string","enum":["none","number-2","dollar1","cny1"],"description":"Leading icon decoration.","uniqueKey":"oneOf.7.icon_type","typeLabel":"enum\u003cstring>"},"answers":{"type":"array","description":"Scoring answers for this field. Only meaningful when the parent form's `scene`\nis `exam` or `evaluation` and the field type is one of the scorable types\n(`radio`, `checkbox`, `dropdown`, `short_text`, `long_text`, `number`, `likert`, `rating`).\n\n- `exam`: exactly one answer entry per field. For `checkbox` the `answer`\n array may carry multiple choice indices; for the other choice / text /\n number types it carries a single value. `likert` and `rating` are not\n supported in `exam` scene.\n- `evaluation`: applies to choice-bearing fields, `likert`, and `rating`.\n The `answers` array must contain one entry per scoreable position:\n - choice-bearing (`radio` / `checkbox` / `dropdown`) and `likert`: one\n entry per element of `choices`, positionally aligned (entry `i` scores\n the `i`-th choice).\n - `rating`: one entry per rating level (size must equal `rating_max`,\n default 5), positionally aligned with levels 1..rating_max\n (entry `i` scores level `i + 1`).\n\n Because the target is the entry's own position, `answer` here is\n always the single-element array `[\u003cthat position>]` — both on read\n and on write, where it is required and must match. Anything else is\n rejected with a 422 instead of silently scoring another option, and\n a form read from this API saves back unchanged.\n","items":{"type":"object","required":["score"],"properties":{"score":{"type":"number","description":"Points awarded when this answer matches.","isRequired":true,"uniqueKey":"oneOf.7.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"number","uniqueKey":"oneOf.7.answers.items.[INDEX].answer.oneOf.0.items.[INDEX]","typeLabel":"number"},"description":"Expected numeric value. Single-element array or a bare number.","maxItems":1,"minItems":1,"uniqueKey":"oneOf.7.answers.items.[INDEX].answer.oneOf.0","typeLabel":"number[]"},{"type":"number","description":"Expected numeric value. Single-element array or a bare number.","uniqueKey":"oneOf.7.answers.items.[INDEX].answer.oneOf.1","typeLabel":"number"}],"uniqueKey":"oneOf.7.answers.items.[INDEX].answer","typeLabel":"number[] | number"}},"additionalProperties":false,"uniqueKey":"oneOf.7.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.7.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.7.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.7.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.7.answer_explanation","typeLabel":"string | null"}},"uniqueKey":"oneOf.7","typeLabel":"Number · object"},{"type":"object","title":"Email","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["email"],"example":"email","isRequired":true,"uniqueKey":"oneOf.8.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.8.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.8.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.8.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.8.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.8.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.8.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.8.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.8.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.8.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.8.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.8.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.8.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.8.cid","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","uniqueKey":"oneOf.8.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.8.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.8.placeholder","typeLabel":"string | null"}},"uniqueKey":"oneOf.8","typeLabel":"Email · object"},{"type":"object","title":"Phone","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["phone"],"example":"phone","isRequired":true,"uniqueKey":"oneOf.9.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.9.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.9.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.9.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.9.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.9.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.9.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.9.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.9.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.9.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.9.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.9.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.9.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.9.cid","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"oneOf.9.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"oneOf.9.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.9.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"oneOf.9.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"oneOf.9.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.9.placeholder","typeLabel":"string | null"}},"uniqueKey":"oneOf.9","typeLabel":"Phone · object"},{"type":"object","title":"Date","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["date"],"example":"date","isRequired":true,"uniqueKey":"oneOf.10.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.10.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.10.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.10.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.10.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.10.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.10.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.10.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.10.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.10.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.10.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.10.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.10.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.cid","typeLabel":"string | null"},"precision":{"type":"string","enum":["month","day","minute","second"],"description":"Picker granularity; controls the format of stored values.","uniqueKey":"oneOf.10.precision","typeLabel":"enum\u003cstring>"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value. Naive string formatted per `precision`, or a dynamic token (`today`, `yesterday`, `tomorrow`, `before_N`, `after_N`).","uniqueKey":"oneOf.10.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value. Naive string formatted per `precision`, or a dynamic token (`today`, `yesterday`, `tomorrow`, `before_N`, `after_N`).","uniqueKey":"oneOf.10.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.predefined_value","typeLabel":"string | null"},"start_date":{"oneOf":[{"type":"string","description":"Inclusive earliest acceptable value. Naive string per `precision` or a dynamic token.","uniqueKey":"oneOf.10.start_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"Inclusive earliest acceptable value. Naive string per `precision` or a dynamic token.","uniqueKey":"oneOf.10.start_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.start_date","typeLabel":"string | null"},"end_date":{"oneOf":[{"type":"string","description":"Inclusive latest acceptable value. Naive string per `precision` or a dynamic token.","uniqueKey":"oneOf.10.end_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"Inclusive latest acceptable value. Naive string per `precision` or a dynamic token.","uniqueKey":"oneOf.10.end_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.end_date","typeLabel":"string | null"},"as_age":{"oneOf":[{"type":"boolean","description":"Treat the value as an age (years) instead of a date.","uniqueKey":"oneOf.10.as_age.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Treat the value as an age (years) instead of a date.","uniqueKey":"oneOf.10.as_age.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.as_age","typeLabel":"boolean | null"}},"uniqueKey":"oneOf.10","typeLabel":"Date · object"},{"type":"object","title":"Name","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["name"],"example":"name","isRequired":true,"uniqueKey":"oneOf.11.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.11.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.11.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.11.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.11.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.11.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.11.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.11.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.11.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.11.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.11.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.11.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.11.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.11.cid","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"oneOf.11.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"oneOf.11.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.11.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"oneOf.11.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"oneOf.11.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.11.placeholder","typeLabel":"string | null"},"answers":{"type":"array","description":"Scoring answers for this field. Only meaningful when the parent form's `scene`\nis `exam` or `evaluation` and the field type is one of the scorable types\n(`radio`, `checkbox`, `dropdown`, `short_text`, `long_text`, `number`, `likert`, `rating`).\n\n- `exam`: exactly one answer entry per field. For `checkbox` the `answer`\n array may carry multiple choice indices; for the other choice / text /\n number types it carries a single value. `likert` and `rating` are not\n supported in `exam` scene.\n- `evaluation`: applies to choice-bearing fields, `likert`, and `rating`.\n The `answers` array must contain one entry per scoreable position:\n - choice-bearing (`radio` / `checkbox` / `dropdown`) and `likert`: one\n entry per element of `choices`, positionally aligned (entry `i` scores\n the `i`-th choice).\n - `rating`: one entry per rating level (size must equal `rating_max`,\n default 5), positionally aligned with levels 1..rating_max\n (entry `i` scores level `i + 1`).\n\n Because the target is the entry's own position, `answer` here is\n always the single-element array `[\u003cthat position>]` — both on read\n and on write, where it is required and must match. Anything else is\n rejected with a 422 instead of silently scoring another option, and\n a form read from this API saves back unchanged.\n","items":{"type":"object","required":["score"],"properties":{"score":{"type":"number","description":"Points awarded when this answer matches.","isRequired":true,"uniqueKey":"oneOf.11.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.11.answers.items.[INDEX].answer.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Expected text. Single-element array or a bare string.","maxItems":1,"minItems":1,"uniqueKey":"oneOf.11.answers.items.[INDEX].answer.oneOf.0","typeLabel":"string[]"},{"type":"string","description":"Expected text. Single-element array or a bare string.","uniqueKey":"oneOf.11.answers.items.[INDEX].answer.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.11.answers.items.[INDEX].answer","typeLabel":"string[] | string"}},"additionalProperties":false,"uniqueKey":"oneOf.11.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.11.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.11.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.11.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.11.answer_explanation","typeLabel":"string | null"}},"uniqueKey":"oneOf.11","typeLabel":"Name · object"},{"type":"object","title":"URL","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["url"],"example":"url","isRequired":true,"uniqueKey":"oneOf.12.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.12.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.12.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.12.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.12.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.12.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.12.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.12.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.12.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.12.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.12.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.12.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.12.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.cid","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"oneOf.12.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"oneOf.12.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"oneOf.12.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"oneOf.12.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.12.placeholder","typeLabel":"string | null"}},"uniqueKey":"oneOf.12","typeLabel":"URL · object"},{"type":"object","title":"Address","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["address"],"example":"address","isRequired":true,"uniqueKey":"oneOf.13.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.13.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.13.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.13.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.13.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.13.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.13.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.13.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.13.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.13.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.13.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.cid","typeLabel":"string | null"},"changeable_sections":{"type":"object","additionalProperties":false,"description":"Which optional sections the field collects: `true` shows the section, `false` hides it. `address_line1` and `city` are always collected and are not listed here. Every listed section is also required when shown, except `address_line2`, which stays optional. Replaces the whole map rather than merging into it, so list every section you want collected — sending `{address_line2: true}` alone also turns `country` / `state` / `postal_code` off. Defaults to `{country: true, postal_code: true, state: true, address_line2: false}`.","properties":{"address_line2":{"type":"boolean","description":"Shown but never required.","uniqueKey":"oneOf.13.changeable_sections.address_line2","typeLabel":"boolean"},"state":{"type":"boolean","uniqueKey":"oneOf.13.changeable_sections.state","typeLabel":"boolean"},"postal_code":{"type":"boolean","uniqueKey":"oneOf.13.changeable_sections.postal_code","typeLabel":"boolean"},"country":{"type":"boolean","uniqueKey":"oneOf.13.changeable_sections.country","typeLabel":"boolean"}},"uniqueKey":"oneOf.13.changeable_sections","typeLabel":"object"},"predefined_value":{"oneOf":[{"type":"object","description":"Default values pre-filled when the form opens, keyed by the address sections. Every section is optional and nullable — omit or null a section you have no default for, or pass `null` for the whole object to clear every default.","properties":{"address_line1":{"oneOf":[{"type":"string","uniqueKey":"oneOf.13.predefined_value.oneOf.0.address_line1.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.13.predefined_value.oneOf.0.address_line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.predefined_value.oneOf.0.address_line1","typeLabel":"string | null"},"address_line2":{"oneOf":[{"type":"string","uniqueKey":"oneOf.13.predefined_value.oneOf.0.address_line2.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.13.predefined_value.oneOf.0.address_line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.predefined_value.oneOf.0.address_line2","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","uniqueKey":"oneOf.13.predefined_value.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.13.predefined_value.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.predefined_value.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"ISO 3166-2 subdivision code (e.g. `CA`), not a localized label.","uniqueKey":"oneOf.13.predefined_value.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 3166-2 subdivision code (e.g. `CA`), not a localized label.","uniqueKey":"oneOf.13.predefined_value.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.predefined_value.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","uniqueKey":"oneOf.13.predefined_value.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.13.predefined_value.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.predefined_value.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"ISO 3166-1 alpha-2 country code.","uniqueKey":"oneOf.13.predefined_value.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 3166-1 alpha-2 country code.","uniqueKey":"oneOf.13.predefined_value.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.predefined_value.oneOf.0.country","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"oneOf.13.predefined_value.oneOf.0","typeLabel":"object"},{"type":"null","description":"Default values pre-filled when the form opens, keyed by the address sections. Every section is optional and nullable — omit or null a section you have no default for, or pass `null` for the whole object to clear every default.","properties":{"address_line1":{"oneOf":[{"type":"string"},{"type":"null"}]},"address_line2":{"oneOf":[{"type":"string"},{"type":"null"}]},"city":{"oneOf":[{"type":"string"},{"type":"null"}]},"state":{"oneOf":[{"type":"string","description":"ISO 3166-2 subdivision code (e.g. `CA`), not a localized label."},{"type":"null","description":"ISO 3166-2 subdivision code (e.g. `CA`), not a localized label."}]},"postal_code":{"oneOf":[{"type":"string"},{"type":"null"}]},"country":{"oneOf":[{"type":"string","description":"ISO 3166-1 alpha-2 country code."},{"type":"null","description":"ISO 3166-1 alpha-2 country code."}]}},"additionalProperties":false,"uniqueKey":"oneOf.13.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.predefined_value","typeLabel":"object | null"}},"uniqueKey":"oneOf.13","typeLabel":"Address · object"},{"type":"object","title":"Rating","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["rating"],"example":"rating","isRequired":true,"uniqueKey":"oneOf.14.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.14.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.14.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.14.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.14.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.14.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.14.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.14.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.14.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.14.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.14.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.14.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.14.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.14.cid","typeLabel":"string | null"},"minimum_ratings_display_text":{"oneOf":[{"type":"string","description":"Caption shown next to the lowest rating.","uniqueKey":"oneOf.14.minimum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Caption shown next to the lowest rating.","uniqueKey":"oneOf.14.minimum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.14.minimum_ratings_display_text","typeLabel":"string | null"},"maximum_ratings_display_text":{"oneOf":[{"type":"string","description":"Caption shown next to the highest rating.","uniqueKey":"oneOf.14.maximum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Caption shown next to the highest rating.","uniqueKey":"oneOf.14.maximum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.14.maximum_ratings_display_text","typeLabel":"string | null"},"rating_type":{"type":"string","enum":["star","heart","happy"],"description":"Visual style of the scale.","uniqueKey":"oneOf.14.rating_type","typeLabel":"enum\u003cstring>"},"rating_max":{"type":"integer","enum":[3,4,5,6,7,8,9,10],"description":"Number of scale levels.","uniqueKey":"oneOf.14.rating_max","typeLabel":"enum\u003cinteger>"},"answers":{"type":"array","description":"Scoring answers for this field. Only meaningful when the parent form's `scene`\nis `exam` or `evaluation` and the field type is one of the scorable types\n(`radio`, `checkbox`, `dropdown`, `short_text`, `long_text`, `number`, `likert`, `rating`).\n\n- `exam`: exactly one answer entry per field. For `checkbox` the `answer`\n array may carry multiple choice indices; for the other choice / text /\n number types it carries a single value. `likert` and `rating` are not\n supported in `exam` scene.\n- `evaluation`: applies to choice-bearing fields, `likert`, and `rating`.\n The `answers` array must contain one entry per scoreable position:\n - choice-bearing (`radio` / `checkbox` / `dropdown`) and `likert`: one\n entry per element of `choices`, positionally aligned (entry `i` scores\n the `i`-th choice).\n - `rating`: one entry per rating level (size must equal `rating_max`,\n default 5), positionally aligned with levels 1..rating_max\n (entry `i` scores level `i + 1`).\n\n Because the target is the entry's own position, `answer` here is\n always the single-element array `[\u003cthat position>]` — both on read\n and on write, where it is required and must match. Anything else is\n rejected with a 422 instead of silently scoring another option, and\n a form read from this API saves back unchanged.\n","items":{"type":"object","required":["score"],"properties":{"score":{"type":"number","description":"Points awarded when this answer matches.","isRequired":true,"uniqueKey":"oneOf.14.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.14.answers.items.[INDEX].answer.oneOf.0.items.[INDEX]","typeLabel":"integer"},"description":"Choice indices (0-based) into the field's `choices`. Array (used for `checkbox` exam multi-select) or single integer.","uniqueKey":"oneOf.14.answers.items.[INDEX].answer.oneOf.0","typeLabel":"integer[]"},{"type":"integer","description":"Choice indices (0-based) into the field's `choices`. Array (used for `checkbox` exam multi-select) or single integer.","uniqueKey":"oneOf.14.answers.items.[INDEX].answer.oneOf.1","typeLabel":"integer"}],"uniqueKey":"oneOf.14.answers.items.[INDEX].answer","typeLabel":"integer[] | integer"}},"additionalProperties":false,"uniqueKey":"oneOf.14.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.14.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.14.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.14.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.14.answer_explanation","typeLabel":"string | null"}},"uniqueKey":"oneOf.14","typeLabel":"Rating · object"},{"type":"object","title":"NPS","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["nps"],"example":"nps","isRequired":true,"uniqueKey":"oneOf.15.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.15.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.15.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.15.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.15.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.15.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.15.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.15.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.15.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.15.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.15.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.15.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.15.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.15.cid","typeLabel":"string | null"},"minimum_ratings_display_text":{"oneOf":[{"type":"string","description":"Caption shown next to the lowest rating.","uniqueKey":"oneOf.15.minimum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Caption shown next to the lowest rating.","uniqueKey":"oneOf.15.minimum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.15.minimum_ratings_display_text","typeLabel":"string | null"},"maximum_ratings_display_text":{"oneOf":[{"type":"string","description":"Caption shown next to the highest rating.","uniqueKey":"oneOf.15.maximum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Caption shown next to the highest rating.","uniqueKey":"oneOf.15.maximum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.15.maximum_ratings_display_text","typeLabel":"string | null"}},"uniqueKey":"oneOf.15","typeLabel":"NPS · object"},{"type":"object","title":"Upload","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["attachment"],"example":"attachment","isRequired":true,"uniqueKey":"oneOf.16.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.16.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.16.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.16.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.16.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.16.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.16.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.16.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.16.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.16.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.16.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.16.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.16.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.16.cid","typeLabel":"string | null"},"max_size":{"type":"number","enum":[1,5,10,20,50,100,500],"description":"Per-file max size in MB.","uniqueKey":"oneOf.16.max_size","typeLabel":"enum\u003cnumber>"},"max_file_quantity":{"oneOf":[{"type":"integer","description":"Maximum number of files.","maximum":15,"minimum":1,"uniqueKey":"oneOf.16.max_file_quantity.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum number of files.","maximum":15,"minimum":1,"uniqueKey":"oneOf.16.max_file_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.16.max_file_quantity","typeLabel":"integer | null"},"media_type":{"oneOf":[{"type":"string","description":"Restricts which file types can be uploaded (default `unlimited`). Two shapes:\na **preset name** string, or an **array of file extensions** as a custom whitelist\n(e.g. `[\"pdf\", \"docx\"]` — a leading dot is tolerated; normalized to lowercase). Presets and the\nextensions they allow: `unlimited` (any file), `doc` (txt, pdf, doc, docx, xls, xlsx,\nppt, pptx, wps, rtf, hlp), `image` (jpg, jpeg, png, gif, bmp, psd, tif, heic, heif),\n`video` (mkv, mp4, avi, swf, wmv, rmvb, mov, mpg), `audio` (mp3, flac, ape, wma, wav,\naac, m4a, au, ram, mmf, aif), `compress` (rar, zip, 7z, gz, arj, z). Reads return the\nsame shape: a preset name, or the extension array when a custom whitelist is set.\n","enum":["unlimited","doc","image","video","audio","compress"],"uniqueKey":"oneOf.16.media_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"array","items":{"type":"string","pattern":"^\\.?[A-Za-z0-9_-]+$","uniqueKey":"oneOf.16.media_type.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Restricts which file types can be uploaded (default `unlimited`). Two shapes:\na **preset name** string, or an **array of file extensions** as a custom whitelist\n(e.g. `[\"pdf\", \"docx\"]` — a leading dot is tolerated; normalized to lowercase). Presets and the\nextensions they allow: `unlimited` (any file), `doc` (txt, pdf, doc, docx, xls, xlsx,\nppt, pptx, wps, rtf, hlp), `image` (jpg, jpeg, png, gif, bmp, psd, tif, heic, heif),\n`video` (mkv, mp4, avi, swf, wmv, rmvb, mov, mpg), `audio` (mp3, flac, ape, wma, wav,\naac, m4a, au, ram, mmf, aif), `compress` (rar, zip, 7z, gz, arj, z). Reads return the\nsame shape: a preset name, or the extension array when a custom whitelist is set.\n","minItems":1,"uniqueKey":"oneOf.16.media_type.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"oneOf.16.media_type","typeLabel":"enum\u003cstring> | string[]"}},"uniqueKey":"oneOf.16","typeLabel":"Upload · object"},{"type":"object","title":"Audio","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["audio"],"example":"audio","isRequired":true,"uniqueKey":"oneOf.17.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.17.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.17.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.17.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.17.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.17.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.17.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.17.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.17.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.17.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.17.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.17.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.17.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.17.cid","typeLabel":"string | null"},"max_duration":{"type":"integer","enum":[1,2,5,10,30],"description":"Maximum recording length in minutes (default 5).","uniqueKey":"oneOf.17.max_duration","typeLabel":"enum\u003cinteger>"}},"uniqueKey":"oneOf.17","typeLabel":"Audio · object"},{"type":"object","title":"Cascade","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["cascade"],"example":"cascade","isRequired":true,"uniqueKey":"oneOf.18.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.18.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.18.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.18.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.18.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.18.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.18.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.18.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.18.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.18.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.18.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.18.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.18.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.18.cid","typeLabel":"string | null"},"levels":{"type":"integer","enum":[2,3,4],"description":"Number of cascade levels (default 2).","uniqueKey":"oneOf.18.levels","typeLabel":"enum\u003cinteger>"},"prompt":{"oneOf":[{"type":"string","description":"Single prompt applied to every level (server fans this out to `prompts`).","uniqueKey":"oneOf.18.prompt.oneOf.0","typeLabel":"string"},{"type":"null","description":"Single prompt applied to every level (server fans this out to `prompts`).","uniqueKey":"oneOf.18.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.18.prompt","typeLabel":"string | null"},"calculable":{"oneOf":[{"type":"boolean","description":"When true, this choice field can be referenced by a formula; every choice must then carry a numeric `operand_value`. The choice value summed for the selected option(s) is the field's formula value.","uniqueKey":"oneOf.18.calculable.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"When true, this choice field can be referenced by a formula; every choice must then carry a numeric `operand_value`. The choice value summed for the selected option(s) is the field's formula value.","uniqueKey":"oneOf.18.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.18.calculable","typeLabel":"boolean | null"},"choices":{"type":"array","description":"Selectable options. On create / update: omit a previously-saved choice to delete it; provide its `api_code` to update it; omit `api_code` to add a new choice.","items":{"type":"object","required":["label"],"description":"A cascade-tree node. `sub_choices` recursively nests the same shape down to `levels` deep.","properties":{"label":{"type":"string","description":"Display label of the cascade node.","isRequired":true,"uniqueKey":"oneOf.18.choices.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","uniqueKey":"oneOf.18.choices.items.[INDEX].api_code","typeLabel":"string"},"operand_value":{"oneOf":[{"type":"number","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`.","uniqueKey":"oneOf.18.choices.items.[INDEX].operand_value.oneOf.0","typeLabel":"number"},{"type":"null","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`.","uniqueKey":"oneOf.18.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.18.choices.items.[INDEX].operand_value","typeLabel":"number | null"},"sub_choices":{"type":"array","items":{"$circularRef":"e4f18dca-e897-4326-9729-46ac01f92a35"},"uniqueKey":"oneOf.18.choices.items.[INDEX].sub_choices","typeLabel":"array"}},"uniqueKey":"oneOf.18.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.18.choices","typeLabel":"object[]"}},"uniqueKey":"oneOf.18","typeLabel":"Cascade · object"},{"type":"object","title":"Ranking","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["ranking"],"example":"ranking","isRequired":true,"uniqueKey":"oneOf.19.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.19.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.19.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.19.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.19.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.19.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.19.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.19.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.19.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.19.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.19.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.19.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.19.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.19.cid","typeLabel":"string | null"},"choices":{"type":"array","description":"Selectable options. On create / update: omit a previously-saved choice to delete it; provide its `api_code` to update it; omit `api_code` to add a new choice.","items":{"type":"object","description":"A selectable option on a `ranking` field. Does not support an `other` fallback or an extended text input.","required":["label","api_code","selected"],"properties":{"label":{"type":"string","description":"Display label of the choice.","example":"Option A","isRequired":true,"uniqueKey":"oneOf.19.choices.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the choice. Always present on read. On form create / update, omit to add a new choice (the server auto-generates the value), pass an existing value to target an existing choice for update, and omit an existing choice entirely to delete it.","example":"choice_abc","isRequired":true,"uniqueKey":"oneOf.19.choices.items.[INDEX].api_code","typeLabel":"string"},"selected":{"oneOf":[{"type":"boolean","description":"Whether this choice is pre-selected by default. Null when never set.","isRequired":true,"uniqueKey":"oneOf.19.choices.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this choice is pre-selected by default. Null when never set.","isRequired":true,"uniqueKey":"oneOf.19.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.19.choices.items.[INDEX].selected","typeLabel":"boolean | null"}},"uniqueKey":"oneOf.19.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.19.choices","typeLabel":"object[]"}},"uniqueKey":"oneOf.19","typeLabel":"Ranking · object"},{"type":"object","title":"Matrix Input","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["matrix"],"example":"matrix","isRequired":true,"uniqueKey":"oneOf.20.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.20.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.20.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.20.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.20.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.20.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.20.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.20.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.20.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.20.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.20.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.20.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.20.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.20.cid","typeLabel":"string | null"},"statements":{"type":"array","items":{"type":"object","description":"A row/statement on a `matrix` or `likert` field.","properties":{"label":{"type":"string","uniqueKey":"oneOf.20.statements.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","uniqueKey":"oneOf.20.statements.items.[INDEX].api_code","typeLabel":"string"}},"uniqueKey":"oneOf.20.statements.items.[INDEX]","typeLabel":"object"},"description":"Matrix rows.","uniqueKey":"oneOf.20.statements","typeLabel":"object[]"},"dimensions":{"type":"array","items":{"type":"object","description":"A matrix column. Each dimension is itself a typed sub-field; pass the same keys as a top-level\nfield of that type (e.g. `type: short_text` accepts `placeholder`, `type: number` accepts\n`range_min` / `range_max`). The supported dimension types are restricted to text-like and\nnumeric-like fields. Column order follows the array index in the request.\n","required":["type","label"],"properties":{"type":{"type":"string","enum":["short_text","long_text","checkbox","dropdown","cascade","phone","email","number","date","time","attachment","formula"],"description":"Field type of the dimension cell.","isRequired":true,"uniqueKey":"oneOf.20.dimensions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","isRequired":true,"uniqueKey":"oneOf.20.dimensions.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"Stable identifier of the dimension. Omit to add a new dimension; provide an existing api_code to update the matching dimension on the parent field (the accompanying `type` must match the stored one).","uniqueKey":"oneOf.20.dimensions.items.[INDEX].api_code","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"oneOf.20.dimensions.items.[INDEX]","typeLabel":"object"},"description":"Matrix columns; each is itself a typed sub-field.","uniqueKey":"oneOf.20.dimensions","typeLabel":"object[]"}},"uniqueKey":"oneOf.20","typeLabel":"Matrix Input · object"},{"type":"object","title":"Likert Scale","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["likert"],"example":"likert","isRequired":true,"uniqueKey":"oneOf.21.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.21.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.21.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.21.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.21.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.21.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.21.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.21.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.21.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.21.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.21.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.21.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.21.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.21.cid","typeLabel":"string | null"},"likert_choice_style":{"type":"string","enum":["single","multiple"],"description":"Whether each statement accepts one or many choices.","uniqueKey":"oneOf.21.likert_choice_style","typeLabel":"enum\u003cstring>"},"statements":{"type":"array","items":{"type":"object","description":"A row/statement on a `matrix` or `likert` field.","properties":{"label":{"type":"string","uniqueKey":"oneOf.21.statements.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","uniqueKey":"oneOf.21.statements.items.[INDEX].api_code","typeLabel":"string"}},"uniqueKey":"oneOf.21.statements.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.21.statements","typeLabel":"object[]"},"answers":{"type":"array","description":"Scoring answers for this field. Only meaningful when the parent form's `scene`\nis `exam` or `evaluation` and the field type is one of the scorable types\n(`radio`, `checkbox`, `dropdown`, `short_text`, `long_text`, `number`, `likert`, `rating`).\n\n- `exam`: exactly one answer entry per field. For `checkbox` the `answer`\n array may carry multiple choice indices; for the other choice / text /\n number types it carries a single value. `likert` and `rating` are not\n supported in `exam` scene.\n- `evaluation`: applies to choice-bearing fields, `likert`, and `rating`.\n The `answers` array must contain one entry per scoreable position:\n - choice-bearing (`radio` / `checkbox` / `dropdown`) and `likert`: one\n entry per element of `choices`, positionally aligned (entry `i` scores\n the `i`-th choice).\n - `rating`: one entry per rating level (size must equal `rating_max`,\n default 5), positionally aligned with levels 1..rating_max\n (entry `i` scores level `i + 1`).\n\n Because the target is the entry's own position, `answer` here is\n always the single-element array `[\u003cthat position>]` — both on read\n and on write, where it is required and must match. Anything else is\n rejected with a 422 instead of silently scoring another option, and\n a form read from this API saves back unchanged.\n","items":{"type":"object","required":["score"],"properties":{"score":{"type":"number","description":"Points awarded when this answer matches.","isRequired":true,"uniqueKey":"oneOf.21.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"oneOf.21.answers.items.[INDEX].answer.oneOf.0.items.[INDEX]","typeLabel":"integer"},"description":"Choice indices (0-based) into the field's `choices`. Array (used for `checkbox` exam multi-select) or single integer.","uniqueKey":"oneOf.21.answers.items.[INDEX].answer.oneOf.0","typeLabel":"integer[]"},{"type":"integer","description":"Choice indices (0-based) into the field's `choices`. Array (used for `checkbox` exam multi-select) or single integer.","uniqueKey":"oneOf.21.answers.items.[INDEX].answer.oneOf.1","typeLabel":"integer"}],"uniqueKey":"oneOf.21.answers.items.[INDEX].answer","typeLabel":"integer[] | integer"}},"additionalProperties":false,"uniqueKey":"oneOf.21.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.21.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.21.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"oneOf.21.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.21.answer_explanation","typeLabel":"string | null"},"choices":{"type":"array","description":"Selectable options. On create / update: omit a previously-saved choice to delete it; provide its `api_code` to update it; omit `api_code` to add a new choice.","items":{"type":"object","description":"A selectable option on `likert` fields — supports an `other` fallback, but no extended text input.","required":["label","api_code","is_other","selected"],"properties":{"label":{"type":"string","description":"Display label of the choice.","example":"Option A","isRequired":true,"uniqueKey":"oneOf.21.choices.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the choice. Always present on read. On form create / update, omit to add a new choice (the server auto-generates the value), pass an existing value to target an existing choice for update, and omit an existing choice entirely to delete it.","example":"choice_abc","isRequired":true,"uniqueKey":"oneOf.21.choices.items.[INDEX].api_code","typeLabel":"string"},"is_other":{"type":"boolean","description":"True when this is the \"other / please specify\" free-text fallback option. At most one per field.","example":false,"isRequired":true,"uniqueKey":"oneOf.21.choices.items.[INDEX].is_other","typeLabel":"boolean"},"selected":{"oneOf":[{"type":"boolean","description":"Whether this choice is pre-selected by default. Null when never set.","isRequired":true,"uniqueKey":"oneOf.21.choices.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this choice is pre-selected by default. Null when never set.","isRequired":true,"uniqueKey":"oneOf.21.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.21.choices.items.[INDEX].selected","typeLabel":"boolean | null"}},"uniqueKey":"oneOf.21.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.21.choices","typeLabel":"object[]"}},"uniqueKey":"oneOf.21","typeLabel":"Likert Scale · object"},{"type":"object","title":"Time","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["time"],"example":"time","isRequired":true,"uniqueKey":"oneOf.22.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.22.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.22.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.22.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.22.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.22.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.22.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.22.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.22.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.22.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.22.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.22.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.22.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.22.cid","typeLabel":"string | null"},"include_second":{"oneOf":[{"type":"boolean","description":"Capture the seconds component of the time.","uniqueKey":"oneOf.22.include_second.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Capture the seconds component of the time.","uniqueKey":"oneOf.22.include_second.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.22.include_second","typeLabel":"boolean | null"},"predefined_value":{"oneOf":[{"type":"object","description":"Default time. `hour` and `minute` are required integers (a time is not defined without both); `second` is optional, only meaningful with `include_second`, and may be `null` or omitted. Every piece is an integer, never a zero-padded string like `\"09\"` — pass `null` for the whole object to clear the default.","required":["hour","minute"],"properties":{"hour":{"type":"integer","minimum":0,"maximum":23,"isRequired":true,"uniqueKey":"oneOf.22.predefined_value.oneOf.0.hour","typeLabel":"integer"},"minute":{"type":"integer","minimum":0,"maximum":59,"isRequired":true,"uniqueKey":"oneOf.22.predefined_value.oneOf.0.minute","typeLabel":"integer"},"second":{"oneOf":[{"type":"integer","description":"Only stored when the field has `include_second`.","maximum":59,"minimum":0,"uniqueKey":"oneOf.22.predefined_value.oneOf.0.second.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Only stored when the field has `include_second`.","maximum":59,"minimum":0,"uniqueKey":"oneOf.22.predefined_value.oneOf.0.second.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.22.predefined_value.oneOf.0.second","typeLabel":"integer | null"}},"additionalProperties":false,"uniqueKey":"oneOf.22.predefined_value.oneOf.0","typeLabel":"object"},{"type":"null","description":"Default time. `hour` and `minute` are required integers (a time is not defined without both); `second` is optional, only meaningful with `include_second`, and may be `null` or omitted. Every piece is an integer, never a zero-padded string like `\"09\"` — pass `null` for the whole object to clear the default.","required":["hour","minute"],"properties":{"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59},"second":{"oneOf":[{"type":"integer","description":"Only stored when the field has `include_second`.","maximum":59,"minimum":0},{"type":"null","description":"Only stored when the field has `include_second`.","maximum":59,"minimum":0}]}},"additionalProperties":false,"uniqueKey":"oneOf.22.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.22.predefined_value","typeLabel":"object | null"}},"uniqueKey":"oneOf.22","typeLabel":"Time · object"},{"type":"object","title":"Location","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["location"],"example":"location","isRequired":true,"uniqueKey":"oneOf.23.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.23.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.23.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.23.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.23.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.23.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.23.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.23.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.23.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.23.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.23.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.23.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.23.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.23.cid","typeLabel":"string | null"},"localizable_on_mobile":{"oneOf":[{"type":"boolean","description":"Auto-locate the user via GPS on mobile.","uniqueKey":"oneOf.23.localizable_on_mobile.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Auto-locate the user via GPS on mobile.","uniqueKey":"oneOf.23.localizable_on_mobile.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.23.localizable_on_mobile","typeLabel":"boolean | null"}},"uniqueKey":"oneOf.23","typeLabel":"Location · object"},{"type":"object","title":"Signature","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["signature"],"example":"signature","isRequired":true,"uniqueKey":"oneOf.24.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.24.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.24.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.24.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.24.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.24.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.24.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.24.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.24.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.24.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.24.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.24.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.24.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.24.cid","typeLabel":"string | null"}},"uniqueKey":"oneOf.24","typeLabel":"Signature · object"},{"type":"object","title":"Grid Rating","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["matrix_rating"],"example":"matrix_rating","isRequired":true,"uniqueKey":"oneOf.25.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.25.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.25.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.25.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.25.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.25.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.25.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.25.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.25.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.25.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.25.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.25.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.25.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.cid","typeLabel":"string | null"},"statements":{"type":"array","minItems":1,"items":{"type":"object","description":"A row/statement on a `matrix` or `likert` field.","properties":{"label":{"type":"string","uniqueKey":"oneOf.25.statements.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","uniqueKey":"oneOf.25.statements.items.[INDEX].api_code","typeLabel":"string"}},"uniqueKey":"oneOf.25.statements.items.[INDEX]","typeLabel":"object"},"description":"Matrix rows. At least one statement is required.","uniqueKey":"oneOf.25.statements","typeLabel":"object[]"},"dimensions":{"type":"array","minItems":1,"maxItems":1,"items":{"type":"object","description":"The single rating column of a `matrix_rating` field. Same keys as a top-level `rating` field, except `label` — the server hard-codes the rating dimension's label and ignores any value supplied here. On update, preserve the existing `api_code` (returned in the read shape) — omitting it deletes the dimension and creates a new one, which orphans any submitted entry values keyed under the old code.","properties":{"api_code":{"type":"string","pattern":"^field_\\d+$","description":"Stable identifier of the rating dimension. Omit to add it; provide the existing api_code (returned in the read shape) to update it in place — replacing it deletes the dimension and orphans any submitted entry values keyed under the old code.","uniqueKey":"oneOf.25.dimensions.items.[INDEX].api_code","typeLabel":"string"},"rating_type":{"type":"string","enum":["star","heart","happy"],"uniqueKey":"oneOf.25.dimensions.items.[INDEX].rating_type","typeLabel":"enum\u003cstring>"},"rating_max":{"type":"integer","enum":[3,4,5,6,7,8,9,10],"uniqueKey":"oneOf.25.dimensions.items.[INDEX].rating_max","typeLabel":"enum\u003cinteger>"},"minimum_ratings_display_text":{"oneOf":[{"type":"string","uniqueKey":"oneOf.25.dimensions.items.[INDEX].minimum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.25.dimensions.items.[INDEX].minimum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.dimensions.items.[INDEX].minimum_ratings_display_text","typeLabel":"string | null"},"maximum_ratings_display_text":{"oneOf":[{"type":"string","uniqueKey":"oneOf.25.dimensions.items.[INDEX].maximum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.25.dimensions.items.[INDEX].maximum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.dimensions.items.[INDEX].maximum_ratings_display_text","typeLabel":"string | null"}},"uniqueKey":"oneOf.25.dimensions.items.[INDEX]","typeLabel":"object"},"description":"The rating-scale column. Optional — when present, must contain exactly one entry; each entry is treated as a `rating` field, so do not include a `type` discriminator. Omit on create to accept the default (`rating_max: 5`); omit on update to leave the existing dimension (and its `api_code`) untouched. If `rating_max` is omitted inside the supplied entry it defaults to 5.","uniqueKey":"oneOf.25.dimensions","typeLabel":"object[]"}},"uniqueKey":"oneOf.25","typeLabel":"Grid Rating · object"},{"type":"object","title":"Table","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["table"],"example":"table","isRequired":true,"uniqueKey":"oneOf.26.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.26.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.26.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.26.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.26.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.26.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.26.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.26.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.26.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.26.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.26.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.26.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.26.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.cid","typeLabel":"string | null"},"init_row_length":{"type":"integer","minimum":1,"maximum":5,"description":"Number of rows pre-rendered on the form (default 3).","uniqueKey":"oneOf.26.init_row_length","typeLabel":"integer"},"dimensions":{"type":"array","items":{"type":"object","description":"A matrix column. Each dimension is itself a typed sub-field; pass the same keys as a top-level\nfield of that type (e.g. `type: short_text` accepts `placeholder`, `type: number` accepts\n`range_min` / `range_max`). The supported dimension types are restricted to text-like and\nnumeric-like fields. Column order follows the array index in the request.\n","required":["type","label"],"properties":{"type":{"type":"string","enum":["short_text","long_text","checkbox","dropdown","cascade","phone","email","number","date","time","attachment","formula"],"description":"Field type of the dimension cell.","isRequired":true,"uniqueKey":"oneOf.26.dimensions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","isRequired":true,"uniqueKey":"oneOf.26.dimensions.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"Stable identifier of the dimension. Omit to add a new dimension; provide an existing api_code to update the matching dimension on the parent field (the accompanying `type` must match the stored one).","uniqueKey":"oneOf.26.dimensions.items.[INDEX].api_code","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"oneOf.26.dimensions.items.[INDEX]","typeLabel":"object"},"description":"Table columns; each is itself a typed sub-field.","uniqueKey":"oneOf.26.dimensions","typeLabel":"object[]"}},"uniqueKey":"oneOf.26","typeLabel":"Table · object"},{"type":"object","title":"Product","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["product"],"example":"product","isRequired":true,"uniqueKey":"oneOf.27.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.27.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.27.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.27.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.27.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.27.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.27.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.27.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.27.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.27.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.27.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.27.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.27.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.cid","typeLabel":"string | null"},"goods_items":{"type":"array","items":{"type":"object","description":"A sellable item on a `product` field.","required":["name"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].name","typeLabel":"string"},"api_code":{"type":"string","description":"Identifier of an existing item; omit to create a new one.","uniqueKey":"oneOf.27.goods_items.items.[INDEX].api_code","typeLabel":"string"},"price":{"type":"number","description":"Price for items without `dimensions`. Defaults to 0.","uniqueKey":"oneOf.27.goods_items.items.[INDEX].price","typeLabel":"number"},"original_price":{"oneOf":[{"type":"number","uniqueKey":"oneOf.27.goods_items.items.[INDEX].original_price.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"oneOf.27.goods_items.items.[INDEX].original_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.goods_items.items.[INDEX].original_price","typeLabel":"number | null"},"inventory":{"oneOf":[{"type":"integer","description":"Available stock when the item has no `dimensions`. Omit or null for unlimited.","minimum":0,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].inventory.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Available stock when the item has no `dimensions`. Omit or null for unlimited.","minimum":0,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].inventory.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.goods_items.items.[INDEX].inventory","typeLabel":"integer | null"},"min_purchase_quantity":{"oneOf":[{"type":"integer","minimum":0,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].min_purchase_quantity.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].min_purchase_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.goods_items.items.[INDEX].min_purchase_quantity","typeLabel":"integer | null"},"max_purchase_quantity":{"oneOf":[{"type":"integer","minimum":0,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].max_purchase_quantity.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].max_purchase_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.goods_items.items.[INDEX].max_purchase_quantity","typeLabel":"integer | null"},"dimensions":{"type":"array","items":{"type":"object","description":"One specification axis of a goods item (e.g. Size, Color).","required":["api_code","label","options"],"properties":{"api_code":{"type":"string","description":"Stable identifier of the dimension. Required; supplied by the caller.","isRequired":true,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].api_code","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].label","typeLabel":"string"},"options":{"type":"array","items":{"type":"object","description":"One option of a goods specification dimension. The caller assigns and owns `api_code`.","required":["api_code","label"],"properties":{"api_code":{"type":"string","description":"Stable identifier of the option. Required; supplied by the caller.","isRequired":true,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].options.items.[INDEX].api_code","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].options.items.[INDEX].label","typeLabel":"string"}},"uniqueKey":"oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].options.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].options","typeLabel":"object[]"}},"uniqueKey":"oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX]","typeLabel":"object"},"description":"Specification axes (Size / Color / ...). Omit for a simple priced item.","uniqueKey":"oneOf.27.goods_items.items.[INDEX].dimensions","typeLabel":"object[]"},"skus":{"type":"array","items":{"type":"object","description":"One SKU (specific combination of dimension options) of a goods item with multi-spec items.\nThe `specification` map keys are `dimensions[].api_code` and values are the corresponding\n`dimensions[].options[].api_code`. The set of SKUs must enumerate the Cartesian product\nof all dimension options exactly once.\n","required":["specification"],"properties":{"specification":{"type":"object","description":"Map of dimension api_code → option api_code.","additionalProperties":{"type":"string","uniqueKey":"oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].specification.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].specification","typeLabel":"object"},"price":{"type":"number","uniqueKey":"oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].price","typeLabel":"number"},"original_price":{"oneOf":[{"type":"number","uniqueKey":"oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].original_price.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].original_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].original_price","typeLabel":"number | null"},"inventory":{"oneOf":[{"type":"integer","description":"Available stock for this SKU. Omit or null for unlimited.","minimum":0,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].inventory.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Available stock for this SKU. Omit or null for unlimited.","minimum":0,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].inventory.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].inventory","typeLabel":"integer | null"}},"uniqueKey":"oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX]","typeLabel":"object"},"description":"Per-combination overrides. Required when `dimensions` is present; must enumerate the full Cartesian product (one SKU per combination).","uniqueKey":"oneOf.27.goods_items.items.[INDEX].skus","typeLabel":"object[]"},"images":{"type":"array","maxItems":5,"items":{"oneOf":[{"type":"object","description":"Reference to an image used inside a field definition. Provide exactly one of `id` (reuse an image already attached to this form) or `upload_id` (a 2-step upload prepared via POST /api/v1/attachments with the matching purpose: `choice_image` for image choices, `product_image` for product items, `booking_image` for booking items). A `url` key from a previous read is accepted and ignored, so fetched payloads can be sent back verbatim.","required":["id"],"properties":{"id":{"type":"string","minLength":1,"description":"Existing image attachment id to reuse — must be an image of the matching kind that is either not yet attached to a form or already attached to this form.","isRequired":true,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].images.items.[INDEX].oneOf.0.id","typeLabel":"string"},"upload_id":{"type":"string","minLength":1,"description":"upload_id from POST /api/v1/attachments, after the file was PUT to its upload_url.","uniqueKey":"oneOf.27.goods_items.items.[INDEX].images.items.[INDEX].oneOf.0.upload_id","typeLabel":"string"},"url":{"type":"string","description":"Read-only; the image URL echoed by GET. Ignored on write.","uniqueKey":"oneOf.27.goods_items.items.[INDEX].images.items.[INDEX].oneOf.0.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].images.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Reference to an image used inside a field definition. Provide exactly one of `id` (reuse an image already attached to this form) or `upload_id` (a 2-step upload prepared via POST /api/v1/attachments with the matching purpose: `choice_image` for image choices, `product_image` for product items, `booking_image` for booking items). A `url` key from a previous read is accepted and ignored, so fetched payloads can be sent back verbatim.","required":["upload_id"],"properties":{"upload_id":{"type":"string","minLength":1,"description":"upload_id from POST /api/v1/attachments, after the file was PUT to its upload_url.","isRequired":true,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].images.items.[INDEX].oneOf.1.upload_id","typeLabel":"string"},"id":{"type":"string","minLength":1,"description":"Existing image attachment id to reuse — must be an image of the matching kind that is either not yet attached to a form or already attached to this form.","uniqueKey":"oneOf.27.goods_items.items.[INDEX].images.items.[INDEX].oneOf.1.id","typeLabel":"string"},"url":{"type":"string","description":"Read-only; the image URL echoed by GET. Ignored on write.","uniqueKey":"oneOf.27.goods_items.items.[INDEX].images.items.[INDEX].oneOf.1.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.27.goods_items.items.[INDEX].images.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.27.goods_items.items.[INDEX].images.items.[INDEX]","typeLabel":"object"},"description":"Item images shown to respondents, in display order (1–5). Only image products carry images: the key is returned and accepted only for image items, and supplying it for a non-image item is rejected. Omit to keep existing images; a non-empty array replaces the list. An image item must always keep at least one image (it cannot be cleared to empty).","uniqueKey":"oneOf.27.goods_items.items.[INDEX].images","typeLabel":"object[]"}},"uniqueKey":"oneOf.27.goods_items.items.[INDEX]","typeLabel":"object"},"description":"Sellable items.","uniqueKey":"oneOf.27.goods_items","typeLabel":"object[]"}},"uniqueKey":"oneOf.27","typeLabel":"Product · object"},{"type":"object","title":"Booking","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["booking"],"example":"booking","isRequired":true,"uniqueKey":"oneOf.28.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.28.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.28.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.28.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.28.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.28.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.28.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.28.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.28.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.28.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.28.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.28.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.28.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.28.cid","typeLabel":"string | null"},"item_allow_multiple_reservations":{"type":"boolean","description":"Allow each respondent to book the same item multiple times.","uniqueKey":"oneOf.28.item_allow_multiple_reservations","typeLabel":"boolean"},"allow_multiple_items":{"type":"boolean","description":"Allow each respondent to book multiple different items in one submission.","uniqueKey":"oneOf.28.allow_multiple_items","typeLabel":"boolean"},"allow_multiple_number":{"type":"boolean","description":"Allow each respondent to specify quantities larger than 1.","uniqueKey":"oneOf.28.allow_multiple_number","typeLabel":"boolean"},"reservation_items":{"type":"array","items":{"type":"object","description":"A reservable item (e.g. a service / room).","required":["name"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].name","typeLabel":"string"},"api_code":{"type":"string","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].api_code","typeLabel":"string"},"description":{"oneOf":[{"type":"string","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].description","typeLabel":"string | null"},"selected":{"type":"boolean","description":"Pre-select this item by default.","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].selected","typeLabel":"boolean"},"start_date":{"oneOf":[{"type":"string","description":"Earliest reservable date (ISO 8601).","format":"date-time","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].start_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"Earliest reservable date (ISO 8601).","format":"date-time","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].start_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].start_date","typeLabel":"string\u003cdate-time> | null"},"end_date":{"oneOf":[{"type":"string","description":"Latest reservable date (ISO 8601).","format":"date-time","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].end_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"Latest reservable date (ISO 8601).","format":"date-time","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].end_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].end_date","typeLabel":"string\u003cdate-time> | null"},"quota_setting":{"type":"object","description":"Quota configuration for this item. On create, omit to default to Monday–Saturday reservable with no quota cap. On update, omit to keep the existing setting; pass a value to replace it.","required":["daily_time_range_quotas"],"properties":{"daily_time_range_quotas":{"type":"array","items":{"type":"object","description":"One quota entry inside a `reservation_items[].quota_setting`.\nAll entries inside a single `daily_time_range_quotas` must agree on their shape:\n\n- All entries **omit** `start_time` / `end_time` → weekly schedule; one entry per element\n of `available_days_of_week` in the same order, each providing `quota` for that day.\n- All entries **include** `start_time` / `end_time` (`HH:MM` strings) and **omit** `for_wday`\n → the same recurring time slots apply to every day in `available_days_of_week`.\n- All entries **include** `start_time` / `end_time` and `for_wday` → per-weekday time slots;\n each entry's slot applies only to its `for_wday`. `available_days_of_week` is then derived\n from the weekdays present and any supplied value is ignored.\n\nMixing shapes is rejected with 422.\n","properties":{"quota":{"oneOf":[{"type":"integer","description":"Total bookable slots in this window; null or omitted means unlimited.","minimum":0,"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas.items.[INDEX].quota.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Total bookable slots in this window; null or omitted means unlimited.","minimum":0,"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas.items.[INDEX].quota.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas.items.[INDEX].quota","typeLabel":"integer | null"},"for_wday":{"type":"string","enum":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],"description":"Weekday this slot applies to. Provide it on every time-slot entry for a per-weekday schedule, or omit it on every entry for an all-days schedule.","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas.items.[INDEX].for_wday","typeLabel":"enum\u003cstring>"},"start_time":{"type":"string","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$","description":"Slot start time, formatted `HH:MM` (24-hour).","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas.items.[INDEX].start_time","typeLabel":"string"},"end_time":{"type":"string","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$","description":"Slot end time, formatted `HH:MM` (24-hour).","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas.items.[INDEX].end_time","typeLabel":"string"}},"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas","typeLabel":"object[]"},"available_days_of_week":{"type":"array","description":"Days of the week the item is reservable. Required for the weekly-schedule and recurring-time-slot\nshapes (entries without `for_wday`). Ignored for the per-weekday shape (every entry carries `for_wday`),\nwhere the reservable days are derived from those weekdays.\n","items":{"type":"string","enum":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].quota_setting.available_days_of_week.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].quota_setting.available_days_of_week","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].quota_setting","typeLabel":"object"},"images":{"type":"array","maxItems":5,"items":{"oneOf":[{"type":"object","description":"Reference to an image used inside a field definition. Provide exactly one of `id` (reuse an image already attached to this form) or `upload_id` (a 2-step upload prepared via POST /api/v1/attachments with the matching purpose: `choice_image` for image choices, `product_image` for product items, `booking_image` for booking items). A `url` key from a previous read is accepted and ignored, so fetched payloads can be sent back verbatim.","required":["id"],"properties":{"id":{"type":"string","minLength":1,"description":"Existing image attachment id to reuse — must be an image of the matching kind that is either not yet attached to a form or already attached to this form.","isRequired":true,"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].images.items.[INDEX].oneOf.0.id","typeLabel":"string"},"upload_id":{"type":"string","minLength":1,"description":"upload_id from POST /api/v1/attachments, after the file was PUT to its upload_url.","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].images.items.[INDEX].oneOf.0.upload_id","typeLabel":"string"},"url":{"type":"string","description":"Read-only; the image URL echoed by GET. Ignored on write.","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].images.items.[INDEX].oneOf.0.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].images.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"Reference to an image used inside a field definition. Provide exactly one of `id` (reuse an image already attached to this form) or `upload_id` (a 2-step upload prepared via POST /api/v1/attachments with the matching purpose: `choice_image` for image choices, `product_image` for product items, `booking_image` for booking items). A `url` key from a previous read is accepted and ignored, so fetched payloads can be sent back verbatim.","required":["upload_id"],"properties":{"upload_id":{"type":"string","minLength":1,"description":"upload_id from POST /api/v1/attachments, after the file was PUT to its upload_url.","isRequired":true,"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].images.items.[INDEX].oneOf.1.upload_id","typeLabel":"string"},"id":{"type":"string","minLength":1,"description":"Existing image attachment id to reuse — must be an image of the matching kind that is either not yet attached to a form or already attached to this form.","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].images.items.[INDEX].oneOf.1.id","typeLabel":"string"},"url":{"type":"string","description":"Read-only; the image URL echoed by GET. Ignored on write.","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].images.items.[INDEX].oneOf.1.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].images.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.28.reservation_items.items.[INDEX].images.items.[INDEX]","typeLabel":"object"},"description":"Item images shown to respondents, in display order (at most 5). Omit to keep existing images; pass an empty array to clear them; a non-empty array replaces the list.","uniqueKey":"oneOf.28.reservation_items.items.[INDEX].images","typeLabel":"object[]"}},"uniqueKey":"oneOf.28.reservation_items.items.[INDEX]","typeLabel":"object"},"description":"Reservation items (slot categories) shown to respondents.","uniqueKey":"oneOf.28.reservation_items","typeLabel":"object[]"}},"uniqueKey":"oneOf.28","typeLabel":"Booking · object"},{"type":"object","title":"Linked Form","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["linked_form"],"example":"linked_form","isRequired":true,"uniqueKey":"oneOf.29.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.29.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.29.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.29.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.29.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.29.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.29.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.29.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.29.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.29.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.29.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.29.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.29.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.29.cid","typeLabel":"string | null"},"associated_form_token":{"type":"string","description":"Token of the form to look up (must be owned by the same billing account).","uniqueKey":"oneOf.29.associated_form_token","typeLabel":"string"},"associated_field_api_codes":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.29.associated_field_api_codes.items.[INDEX]","typeLabel":"string"},"description":"api_codes of key fields on the associated form used to match an entry.","uniqueKey":"oneOf.29.associated_field_api_codes","typeLabel":"string[]"},"display_field_api_codes":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.29.display_field_api_codes.items.[INDEX]","typeLabel":"string"},"description":"api_codes of fields on the associated form to display after a match.","uniqueKey":"oneOf.29.display_field_api_codes","typeLabel":"string[]"},"associated_fields":{"type":"array","readOnly":true,"description":"Read-only. Compact structures of the key fields named by `associated_field_api_codes` (see `LinkedFormNestedField`): `api_code`, `type`, `label`, and a minimal `choices` list for choice types. A nested `linked_form` field carries no further structure (`type: \"linked_form\"`, no `associated_fields` / `display_fields`). Reserved fields render their real field type (e.g. `serial_number` → `number`, `created_at` / `updated_at` → `date`, `creator_name` → `short_text`). A field whose type cannot be recognized is omitted from the array. Accepted but ignored on write.","items":{"type":"object","description":"Compact structure of a field on a `linked_form`'s associated form, as returned under\n`associated_fields` / `display_fields`. Only these keys are ever present.\n","required":["api_code","type","label"],"properties":{"api_code":{"type":"string","isRequired":true,"uniqueKey":"oneOf.29.associated_fields.items.[INDEX].api_code","typeLabel":"string"},"type":{"type":"string","description":"Field type identifier (e.g. `short_text`, `radio`). Reserved fields resolve to their underlying field type — e.g. `serial_number` → `number`, `created_at` → `date`, `creator_name` → `short_text`.","isRequired":true,"uniqueKey":"oneOf.29.associated_fields.items.[INDEX].type","typeLabel":"string"},"label":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.29.associated_fields.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.29.associated_fields.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.29.associated_fields.items.[INDEX].label","typeLabel":"string | null"},"choices":{"type":"array","description":"Present only when the field type has choices. Cascade choices nest via `sub_choices`.","items":{"type":"object","description":"A choice on a nested `linked_form` field structure. `sub_choices` is present only for `cascade` choices.","required":["label","api_code"],"properties":{"label":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.29.associated_fields.items.[INDEX].choices.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.29.associated_fields.items.[INDEX].choices.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.29.associated_fields.items.[INDEX].choices.items.[INDEX].label","typeLabel":"string | null"},"api_code":{"type":"string","isRequired":true,"uniqueKey":"oneOf.29.associated_fields.items.[INDEX].choices.items.[INDEX].api_code","typeLabel":"string"},"sub_choices":{"type":"array","items":{"$circularRef":"a69d5b42-a9c3-443c-a30f-873f19b46265"},"uniqueKey":"oneOf.29.associated_fields.items.[INDEX].choices.items.[INDEX].sub_choices","typeLabel":"array"}},"uniqueKey":"oneOf.29.associated_fields.items.[INDEX].choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.29.associated_fields.items.[INDEX].choices","typeLabel":"object[]"}},"uniqueKey":"oneOf.29.associated_fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.29.associated_fields","typeLabel":"object[]"},"display_fields":{"type":"array","readOnly":true,"description":"Read-only. Compact structures of the display fields named by `display_field_api_codes`, in the same shape as `associated_fields` (see `LinkedFormNestedField`). On the published form endpoint (`GET /api/v1/f/{form_token}`) only the public display fields are included. Accepted but ignored on write.","items":{"type":"object","description":"Compact structure of a field on a `linked_form`'s associated form, as returned under\n`associated_fields` / `display_fields`. Only these keys are ever present.\n","required":["api_code","type","label"],"properties":{"api_code":{"type":"string","isRequired":true,"uniqueKey":"oneOf.29.display_fields.items.[INDEX].api_code","typeLabel":"string"},"type":{"type":"string","description":"Field type identifier (e.g. `short_text`, `radio`). Reserved fields resolve to their underlying field type — e.g. `serial_number` → `number`, `created_at` → `date`, `creator_name` → `short_text`.","isRequired":true,"uniqueKey":"oneOf.29.display_fields.items.[INDEX].type","typeLabel":"string"},"label":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.29.display_fields.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.29.display_fields.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.29.display_fields.items.[INDEX].label","typeLabel":"string | null"},"choices":{"type":"array","description":"Present only when the field type has choices. Cascade choices nest via `sub_choices`.","items":{"type":"object","description":"A choice on a nested `linked_form` field structure. `sub_choices` is present only for `cascade` choices.","required":["label","api_code"],"properties":{"label":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.29.display_fields.items.[INDEX].choices.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.29.display_fields.items.[INDEX].choices.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.29.display_fields.items.[INDEX].choices.items.[INDEX].label","typeLabel":"string | null"},"api_code":{"type":"string","isRequired":true,"uniqueKey":"oneOf.29.display_fields.items.[INDEX].choices.items.[INDEX].api_code","typeLabel":"string"},"sub_choices":{"type":"array","items":{"$circularRef":"a69d5b42-a9c3-443c-a30f-873f19b46265"},"uniqueKey":"oneOf.29.display_fields.items.[INDEX].choices.items.[INDEX].sub_choices","typeLabel":"array"}},"uniqueKey":"oneOf.29.display_fields.items.[INDEX].choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.29.display_fields.items.[INDEX].choices","typeLabel":"object[]"}},"uniqueKey":"oneOf.29.display_fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.29.display_fields","typeLabel":"object[]"}},"uniqueKey":"oneOf.29","typeLabel":"Linked Form · object"},{"type":"object","title":"Formula","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","description":"Field type identifier. Determines which type-specific keys are present on the field.","enum":["formula"],"example":"formula","isRequired":true,"uniqueKey":"oneOf.30.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"oneOf.30.label","typeLabel":"string"},"api_code":{"type":"string","description":"Stable identifier of the field; used as the key for this field's value in entry payloads.\n\n**Always present on read.** On form create / update, `api_code` is optional in the request body:\n- **Omit** to add a new field — the server auto-generates an `api_code` (e.g. `field_3`).\n- **Provide an existing `api_code`** to target an existing field for update; fields whose `api_code` is absent from the request are dropped.\n\nThe same rule applies to every other `api_code`-bearing sub-object on a field (e.g. choices, and statements/dimensions/levels of `matrix`, `likert`, `cascade`).\n","example":"field_1","isRequired":true,"uniqueKey":"oneOf.30.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.30.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"oneOf.30.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.30.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"oneOf.30.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"oneOf.30.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.30.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars). Null when not set.","isRequired":true,"uniqueKey":"oneOf.30.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.30.customized_validation_message","typeLabel":"string | null"},"cid":{"oneOf":[{"type":"string","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.30.cid.oneOf.0","typeLabel":"string"},{"type":"null","description":"Client-supplied stable identifier. Use it to reference a field from a formula in the same request before the server has assigned an `api_code` (see the `formula` field type). Echoed back on read; null when none was supplied. Charset `[A-Za-z0-9_-]`, length 6–12, unique within the form, and must not look like a server `api_code`.","uniqueKey":"oneOf.30.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.30.cid","typeLabel":"string | null"},"formula":{"type":"string","description":"The expression to compute. Reference another field with `$(ref)`, where `ref` is the\ntarget field's `cid` (for a field created in the same request) or its `api_code`.\nReference a table column / matrix dimension with `$(parentRef.childRef)`, and a field\non a linked form with `$(linkedRef_associated_targetApiCode)`.\nA formula placed inside a table (as a column) references a sibling column the same way —\n`$(thisTableRef.siblingRef)` — and can also reference top-level fields (`$(ref)`) and other\ntables' columns (`$(otherTableRef.childRef)`).\n**Aggregation:** referencing a table column from outside that column's row scope — a top-level\nformula referencing any table column, or an in-table formula referencing a *different* table's\ncolumn — yields a list of values and must be wrapped in an aggregate function: `SUM`, `AVG`,\n`MIN`, or `MAX` for numeric columns, and `MIN` or `MAX` for date columns (string columns cannot\nbe aggregated). A same-table sibling reference and a top-level-field reference are scalar and\nused directly. A non-aggregated cross-scope reference evaluates to null. Example:\n`SUM($(items.amount)) * 1.1`.\nOperators: `+ - * / ^` and comparisons `\u003c \u003c= > >= == !=`.\nFunctions: `IF, ROUND, ROUNDUP, ROUNDDOWN, ABS, LOG, MAX, MIN, AVG, SUM, COUNT, DATE, DAYS, DATEADD, DATETIME_DIFF, ID`.\n`DATEADD(date, amount, unit)` and `DATETIME_DIFF(end, start, unit)` take a quoted, **case-sensitive** `unit`: `'y'` (year), `'M'` (month), `'w'` (week), `'d'` (day), `'h'` (hour), `'m'` (minute), `'s'` (second). Note `'M'` is month and `'m'` is minute. An unrecognized unit makes the formula evaluate to null. Example: `DATEADD($(start), 3, 'd')`.\nA referenced choice field must have a numeric `operand_value` on every choice and `calculable: true`.\n","uniqueKey":"oneOf.30.formula","typeLabel":"string"},"result_type":{"oneOf":[{"type":"string","description":"Auto-inferred result type. Returned on read; ignored on write.","enum":["numeric","datetime","string"],"uniqueKey":"oneOf.30.result_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Auto-inferred result type. Returned on read; ignored on write.","enum":["numeric","datetime","string"],"uniqueKey":"oneOf.30.result_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.30.result_type","typeLabel":"enum\u003cstring> | null"},"precision":{"oneOf":[{"type":"integer","description":"Decimal places for a numeric result.","uniqueKey":"oneOf.30.precision.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Decimal places for a numeric result.","uniqueKey":"oneOf.30.precision.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.30.precision","typeLabel":"integer | null"},"display_as_percentage":{"oneOf":[{"type":"boolean","description":"Render a numeric result with a trailing % sign.","uniqueKey":"oneOf.30.display_as_percentage.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Render a numeric result with a trailing % sign.","uniqueKey":"oneOf.30.display_as_percentage.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.30.display_as_percentage","typeLabel":"boolean | null"},"thousands_separator":{"oneOf":[{"type":"boolean","description":"Render a numeric result with thousands separators.","uniqueKey":"oneOf.30.thousands_separator.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Render a numeric result with thousands separators.","uniqueKey":"oneOf.30.thousands_separator.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.30.thousands_separator","typeLabel":"boolean | null"},"icon_type":{"oneOf":[{"type":"string","description":"Leading icon decoration.","enum":["none","formula-2","date-2","number-2","dollar1","cny1","sum","text2"],"uniqueKey":"oneOf.30.icon_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Leading icon decoration.","enum":["none","formula-2","date-2","number-2","dollar1","cny1","sum","text2"],"uniqueKey":"oneOf.30.icon_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.30.icon_type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.30","typeLabel":"Formula · object"},{"type":"object","title":"Page Break","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","enum":["page_break"],"example":"page_break","isRequired":true,"uniqueKey":"oneOf.31.type","typeLabel":"enum\u003cstring>"},"label":{"oneOf":[{"type":"string","example":"","isRequired":true,"uniqueKey":"oneOf.31.label.oneOf.0","typeLabel":"string"},{"type":"null","example":"","isRequired":true,"uniqueKey":"oneOf.31.label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.31.label","typeLabel":"string | null"},"api_code":{"type":"string","example":"field_1","isRequired":true,"uniqueKey":"oneOf.31.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.31.notes.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.31.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.31.notes","typeLabel":"string | null"},"private":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"oneOf.31.private","typeLabel":"boolean"},"required":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"oneOf.31.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.31.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.31.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.31.customized_validation_message","typeLabel":"string | null"},"next_page_text":{"oneOf":[{"type":"string","description":"Label of the next-page button (max 20 chars). When omitted, defaults to a label in the form's `locale`.","uniqueKey":"oneOf.31.next_page_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Label of the next-page button (max 20 chars). When omitted, defaults to a label in the form's `locale`.","uniqueKey":"oneOf.31.next_page_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.31.next_page_text","typeLabel":"string | null"},"previous_page_text":{"oneOf":[{"type":"string","description":"Label of the previous-page button (max 20 chars). When omitted, defaults to a label in the form's `locale`.","uniqueKey":"oneOf.31.previous_page_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Label of the previous-page button (max 20 chars). When omitted, defaults to a label in the form's `locale`.","uniqueKey":"oneOf.31.previous_page_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.31.previous_page_text","typeLabel":"string | null"},"disable_previous_page":{"type":"boolean","description":"Hide the previous-page button on this page.","uniqueKey":"oneOf.31.disable_previous_page","typeLabel":"boolean"},"count_down":{"oneOf":[{"type":"integer","description":"Seconds the respondent must wait before the next-page button becomes clickable (0 = no wait).","uniqueKey":"oneOf.31.count_down.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Seconds the respondent must wait before the next-page button becomes clickable (0 = no wait).","uniqueKey":"oneOf.31.count_down.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.31.count_down","typeLabel":"integer | null"}},"uniqueKey":"oneOf.31","typeLabel":"Page Break · object"},{"type":"object","title":"Description","description":"One field on a form, as returned in a form detail response. Every field returns the\nshared keys (label, api_code, notes, private, required, ...) plus its type-specific\nconfiguration determined by `type` — see the per-type sections below. The type-specific\nkeys on read mirror what the same field type accepts on create / update, so a fetched\nform can be sent straight back through create / update without losing any setting.\n","required":["type","label","api_code","notes","private","required","customized_validation_message"],"properties":{"type":{"type":"string","enum":["description"],"example":"description","isRequired":true,"uniqueKey":"oneOf.32.type","typeLabel":"enum\u003cstring>"},"label":{"oneOf":[{"type":"string","example":"","isRequired":true,"uniqueKey":"oneOf.32.label.oneOf.0","typeLabel":"string"},{"type":"null","example":"","isRequired":true,"uniqueKey":"oneOf.32.label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.32.label","typeLabel":"string | null"},"api_code":{"type":"string","example":"field_1","isRequired":true,"uniqueKey":"oneOf.32.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.32.notes.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.32.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.32.notes","typeLabel":"string | null"},"private":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"oneOf.32.private","typeLabel":"boolean"},"required":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"oneOf.32.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.32.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.32.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.32.customized_validation_message","typeLabel":"string | null"}},"uniqueKey":"oneOf.32","typeLabel":"Description · object"}],"uniqueKey":"","typeLabel":"Short Text · object | Long Text · object | Radio · object | Checkbox · object | Image Radio · object | Image Checkbox · object | Dropdown · object | Number · object | Email · object | Phone · object | Date · object | Name · object | URL · object | Address · object | Rating · object | NPS · object | Upload · object | Audio · object | Cascade · object | Ranking · object | Matrix Input · object | Likert Scale · object | Time · object | Location · object | Signature · object | Grid Rating · object | Table · object | Product · object | Booking · object | Linked Form · object | Formula · object | Page Break · object | Description · object","example":{"title":"Example","value":{"type":"short_text","label":"Name","api_code":"field_1","notes":"Please use your real name","private":false,"required":true,"customized_validation_message":"\u003cstring>","cid":"\u003cstring>","predefined_value":"\u003cstring>","placeholder":"\u003cstring>","answers":[{"score":123,"answer":["\u003cstring>"]}],"answer_explanation":"\u003cstring>"}}},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"formhug-8bc4ebd1","siteName":"FormHug","title":"Form Field - FormHug","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-14T10:11:20.940Z","gitLastModified":"2026-05-14T09:53:10.000Z","originalFileLocation":"api-reference/models/form-field.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Discriminated union of all field types that can appear on a form. The concrete variant is selected by type.\">\u003cmeta data-mint-head name=\"application-name\" content=\"FormHug\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Form Field - FormHug\">\u003cmeta data-mint-head property=\"og:description\" content=\"Discriminated union of all field types that can appear on a form. The concrete variant is selected by type.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"FormHug\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://formhug.ai/docs/api-reference/models/form-field\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://formhug-8bc4ebd1.mintlify.site/docs/_mintlify/api/og/v2?division=Models\u0026amp;title=Form+Field\u0026amp;description=Discriminated+union+of+all+field+types+that+can+appear+on+a+form.+The+concrete+variant+is+selected+by+%60type%60.\u0026amp;theme=b198728a958a76812071320e\u0026amp;signature=306e299d44e4f88131b3e8bc8d92aa91b1905d4752a1fd65f0426a8c3a115e2f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Form Field - FormHug\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Discriminated union of all field types that can appear on a form. The concrete variant is selected by type.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://formhug-8bc4ebd1.mintlify.site/docs/_mintlify/api/og/v2?division=Models\u0026amp;title=Form+Field\u0026amp;description=Discriminated+union+of+all+field+types+that+can+appear+on+a+form.+The+concrete+variant+is+selected+by+%60type%60.\u0026amp;theme=b198728a958a76812071320e\u0026amp;signature=306e299d44e4f88131b3e8bc8d92aa91b1905d4752a1fd65f0426a8c3a115e2f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/formhug-8bc4ebd1/jD1CdRXGDAEeP28F/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"FormHug\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366F1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://formhug.ai/docs/api-reference/models/form-field\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/models/form-field.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://formhug.ai/#organization\",\"name\":\"FormHug\",\"url\":\"https://formhug.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/formhug-8bc4ebd1/QkuMZ3dKhwrJ6Thy/logo/light.svg?fit=max\u0026auto=format\u0026n=QkuMZ3dKhwrJ6Thy\u0026q=85\u0026s=88284690f11209ca0abb5239bc7f1179\"}},{\"@type\":\"WebSite\",\"@id\":\"https://formhug.ai/docs#website\",\"name\":\"FormHug\",\"url\":\"https://formhug.ai/docs\",\"publisher\":{\"@id\":\"https://formhug.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://formhug.ai/docs/api-reference/models/form-field#webpage\",\"url\":\"https://formhug.ai/docs/api-reference/models/form-field\",\"name\":\"Form Field\",\"description\":\"Discriminated union of all field types that can appear on a form. The concrete variant is selected by type.\",\"dateModified\":\"2026-05-14T09:53:10.000Z\",\"isPartOf\":{\"@id\":\"https://formhug.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://formhug.ai/docs/api-reference/models/form-field#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://formhug.ai/docs/api-reference/models/form-field#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Overview\",\"item\":\"https://formhug.ai/docs/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Form Field\",\"item\":\"https://formhug.ai/docs/api-reference/models/form-field\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://formhug.ai/docs/api-reference/models/form-field#apireference\",\"headline\":\"Form Field\",\"name\":\"Form Field\",\"description\":\"Discriminated union of all field types that can appear on a form. The concrete variant is selected by type.\",\"url\":\"https://formhug.ai/docs/api-reference/models/form-field\",\"mainEntityOfPage\":{\"@id\":\"https://formhug.ai/docs/api-reference/models/form-field#webpage\"},\"dateModified\":\"2026-05-14T09:53:10.000Z\",\"publisher\":{\"@id\":\"https://formhug.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://formhug.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"FormHug\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"FormHug\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/models/form-field.md","siteName":"FormHug","nav":{"global":null,"tabs":[{"tab":"Introduction","icon":"book-open","pages":[{"title":"Introduction","href":"/introduction/welcome"}]},{"tab":"Features","icon":"sparkles","pages":[{"title":"Features","href":"/features/building/overview"}]},{"tab":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"Guides","icon":"graduation-cap","pages":[{"title":"Guides","href":"/guides/use-cases/registration-form"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Overview","pages":[{"title":"API Reference","href":"/api-reference/introduction"},{"title":"Authentication","description":"How to authenticate requests to the FormHug API — Personal Access Tokens and OAuth 2.0 PKCE access tokens.","href":"/api-reference/authentication"},{"group":"Models","expanded":false,"pages":[{"title":"Form Field","href":"/api-reference/models/form-field"}]}]},{"group":"Forms","pages":[{"title":"List the current user forms","description":"Returns forms the current user can access — forms they created plus forms shared\nwith them as a collaborator — paginated by cursor. The default ordering is\n`created_at` descending; use the `sort` parameter to switch to another field.\n\n**Required scope:** `form:read`.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms","href":"/api-reference/forms/list-the-current-user-forms"},{"title":"Create a form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/forms","href":"/api-reference/forms/create-a-form"},{"title":"Get a form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{token}","href":"/api-reference/forms/get-a-form"},{"title":"Update a form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v1/forms/{token}","href":"/api-reference/forms/update-a-form"},{"title":"Delete a form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v1/forms/{token}","href":"/api-reference/forms/delete-a-form"},{"title":"Move a form between folders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v1/forms/{form_token}/folder","href":"/api-reference/form-folder/move-a-form-between-folders"}]},{"group":"Form Themes","pages":[{"title":"Get the form theme","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/theme","href":"/api-reference/form-themes/get-the-form-theme"},{"title":"Update the form theme","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v1/forms/{form_token}/theme","href":"/api-reference/form-themes/update-the-form-theme"}]},{"group":"Field Rules","pages":[{"title":"Get field rules","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/rules","href":"/api-reference/field-rules/get-field-rules"},{"title":"Replace field rules","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /api/v1/forms/{form_token}/rules","href":"/api-reference/field-rules/replace-field-rules"}]},{"group":"Form Settings","pages":[{"title":"Get form settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/settings","href":"/api-reference/form-settings/get-form-settings"},{"title":"Update form settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /api/v1/forms/{form_token}/settings","href":"/api-reference/form-settings/update-form-settings"}]},{"group":"Attachments","pages":[{"title":"Prepare a form-element attachment upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/attachments","href":"/api-reference/attachments/prepare-a-form-element-attachment-upload"},{"title":"Finalize prepared rich-text image uploads","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/attachment_commitments","href":"/api-reference/attachments/finalize-prepared-rich-text-image-uploads"},{"title":"Prepare an entry-attachment upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/f/{form_token}/entry_attachments","href":"/api-reference/entry-attachments/prepare-an-entry-attachment-upload"}]},{"group":"Entries","pages":[{"title":"List entries of a form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/entries","href":"/api-reference/entries/list-entries-of-a-form"},{"title":"Submit an entry","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/forms/{form_token}/entries","href":"/api-reference/entries/submit-an-entry"},{"title":"Get an entry","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/entries/{serial_number}","href":"/api-reference/entries/get-an-entry"},{"title":"Update an entry","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /api/v1/forms/{form_token}/entries/{serial_number}","href":"/api-reference/entries/update-an-entry"},{"title":"Delete an entry","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v1/forms/{form_token}/entries/{serial_number}","href":"/api-reference/entries/delete-an-entry"},{"title":"Create entries in batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/forms/{form_token}/entries/batch","href":"/api-reference/entries/create-entries-in-batch"},{"title":"Update entries in batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /api/v1/forms/{form_token}/entries/batch","href":"/api-reference/entries/update-entries-in-batch"},{"title":"Delete entries in batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v1/forms/{form_token}/entries/batch","href":"/api-reference/entries/delete-entries-in-batch"},{"title":"Get the JSON Schema for writing an entry","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/entry_schema","href":"/api-reference/entry-schemas/get-the-json-schema-for-writing-an-entry"}]},{"group":"Folders","pages":[{"title":"List the current user folders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/folders","href":"/api-reference/folders/list-the-current-user-folders"},{"title":"Create a folder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/folders","href":"/api-reference/folders/create-a-folder"},{"title":"Update a folder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /api/v1/folders/{token}","href":"/api-reference/folders/update-a-folder"},{"title":"Delete a folder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v1/folders/{token}","href":"/api-reference/folders/delete-a-folder"}]},{"group":"Published Forms","pages":[{"title":"Get a published form's public structure","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/f/{form_token}","href":"/api-reference/published-forms/get-a-published-forms-public-structure"}]},{"group":"Published Form Entries","pages":[{"title":"List your entries on a published form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/f/{form_token}/entries","href":"/api-reference/published-form-entries/list-your-entries-on-a-published-form"},{"title":"Submit an entry to a published form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/f/{form_token}/entries","href":"/api-reference/published-form-entries/submit-an-entry-to-a-published-form"},{"title":"Get the JSON Schema for submitting to a published form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/f/{form_token}/entry_schema","href":"/api-reference/entry-schemas/get-the-json-schema-for-submitting-to-a-published-form"},{"title":"Discover candidate entries for a linked_form field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/f/{form_token}/associated_entry_options","href":"/api-reference/linked-form-options/discover-candidate-entries-for-a-linked_form-field"}]},{"group":"Participated Forms","pages":[{"title":"List forms you have participated in","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/participated_forms","href":"/api-reference/participated-forms/list-forms-you-have-participated-in"}]},{"group":"Public Queries","pages":[{"title":"List your public queries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/opensearch/queries","href":"/api-reference/public-queries/list-your-public-queries"},{"title":"Create a public query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/opensearch/queries","href":"/api-reference/public-queries/create-a-public-query"},{"title":"Get a public query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/opensearch/queries/{token}","href":"/api-reference/public-queries/get-a-public-query"},{"title":"Update a public query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /api/v1/opensearch/queries/{token}","href":"/api-reference/public-queries/update-a-public-query"},{"title":"Delete a public query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v1/opensearch/queries/{token}","href":"/api-reference/public-queries/delete-a-public-query"}]},{"group":"Me","pages":[{"title":"Get current user info","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/me","href":"/api-reference/me/get-current-user-info"}]},{"group":"Webhooks","pages":[{"title":"List webhook integrations of a form","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/integrations/webhooks","href":"/api-reference/webhooks/list-webhook-integrations-of-a-form"},{"title":"Create a webhook integration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/forms/{form_token}/integrations/webhooks","href":"/api-reference/webhooks/create-a-webhook-integration"},{"title":"Update a webhook integration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /api/v1/forms/{form_token}/integrations/webhooks/{id}","href":"/api-reference/webhooks/update-a-webhook-integration"},{"title":"Delete a webhook integration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /api/v1/forms/{form_token}/integrations/webhooks/{id}","href":"/api-reference/webhooks/delete-a-webhook-integration"},{"title":"Get a sample payload","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /api/v1/forms/{form_token}/integrations/webhooks/sample_payload","href":"/api-reference/webhooks/get-a-sample-payload"}]},{"group":"OAuth","pages":[{"title":"Start an OAuth authorization request (PKCE)","openapi":"GET /api/v1/oauth/authorize","playground":"none","href":"/api-reference/oauth/authorize"},{"title":"Exchange for access_token","openapi":"POST /api/v1/oauth/token","playground":"none","href":"/api-reference/oauth/token"},{"title":"Revoke an access_token or refresh_token","openapi":"POST /api/v1/oauth/revoke","playground":"none","href":"/api-reference/oauth/revoke"}]}]},{"tab":"Resources","icon":"folder-open","pages":[{"title":"Resources","href":"/resources/help/faq"}]}]},"basePath":"","title":"Form Field - FormHug","buildId":"dpl_2AK98Hxhwu4fUXpx9atbv41cC328","deploymentId":"dpl_2AK98Hxhwu4fUXpx9atbv41cC328","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-EBSrFTg1.js","utils-Y_7TcRh4.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D1wvvkPH.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-aT0ty6oN.js","snippetPresets-DoNRuyJc.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-CXRajFpn.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BAyOsINj.js","shallow-CIcHqV1v.js","getApiPlaygroundDisplay-C5igZwEf.js","CodeSnippet-BFWnQLNh.js","CodeSnippets-Cx2mFgZW.js","Page-DCFaZE46.js","getPastedJson-BOy09PZp.js","icon-BwmYtB6R.js","MethodPill-DAIhq-iu.js","DuplicateIcon-DFM8Q3ph.js","createIcon-0UdvzB4Z.js","DynamicMarkdown-DYYZTGpa.js","SectionHeading-BFCDRUuH.js","axios-vUo_bRtp.js","Markdown-C6TcKjiR.js","clsx-Y_UC780V.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-PCbBHBTv.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-D4q_oRML.js"]}