{
"error": "Invalid field input",
"error_details": [
{
"attribute": "name",
"message": "object at root is missing required properties: name"
}
]
}
Forms
Create a form
Create a blank form. Optionally supply initial fields, locale, timezone and a theme
(via header_image_keywords for Unsplash-based header image). When timezone is omitted, the
form uses your account’s timezone, falling back to UTC if that is unset or invalid.
Personal Access Token prefixed with fh_. Sent as Authorization: Bearer fh_xxx.
The scope required by each endpoint is listed in that endpoint's description.
IANA timezone name used by the form when interpreting times. When omitted, defaults to your account's timezone, falling back to UTC if that is unset or invalid.
Form scene. Currently restricted to exam and evaluation on V1 create;
omit for the default survey scene. When set, scorable field types may
carry top-level answers / answer_explanation keys — see the relevant
field-type input schemas.
Form layout. classic (default) supports a solid wallpaper color; card additionally supports a wallpaper background image. Switching layout recomputes the theme palette (dominant color + label/choice/header text colors).
Initial field definitions. Each entry may optionally carry an api_code to pre-seed the identifier (and similarly for nested objects such as choices). See the Form Field schema for the parameters accepted per field type.
A field definition supplied on form create / update. Every field accepts the shared keys
(label, api_code, notes, private, required, ...) plus a set of type-specific keys
determined by its type — see the per-type sections below.
{"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.4088","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":"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},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/forms/create-a-form","slug":"/api-reference/forms/create-a-form","pageMetadata":{"title":"Create a form","description":"Create a blank form. Optionally supply initial fields, locale, timezone and a theme\n(via `header_image_keywords` for Unsplash-based header image). When `timezone` is omitted, the\nform uses your account's timezone, falling back to `UTC` if that is unset or invalid.\n\n**Required scope:** `form:write`.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/forms","href":"/api-reference/forms/create-a-form","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Create a blank form. Optionally supply initial fields, locale, timezone and a theme\\n(via \", _jsx(_components.code, {\n children: \"header_image_keywords\"\n }), \" for Unsplash-based header image). When \", _jsx(_components.code, {\n children: \"timezone\"\n }), \" is omitted, the\\nform uses your account’s timezone, falling back to \", _jsx(_components.code, {\n children: \"UTC\"\n }), \" if that is unset or invalid.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Required scope:\"\n }), \" \", _jsx(_components.code, {\n children: \"form:write\"\n }), \".\"]\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":"Create a form","description":"Create a blank form. Optionally supply initial fields, locale, timezone and a theme\n(via `header_image_keywords` for Unsplash-based header image). When `timezone` is omitted, the\nform uses your account's timezone, falling back to `UTC` if that is unset or invalid.\n\n**Required scope:** `form:write`.\n","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /api/v1/forms","href":"/api-reference/forms/create-a-form","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/formhug-8bc4ebd1/4e6b7b0101f2c4d1/external-links.js"],"openApiReferenceData":{"operation":{"summary":"Create a form","tags":["Forms"],"description":"Create a blank form. Optionally supply initial fields, locale, timezone and a theme\n(via `header_image_keywords` for Unsplash-based header image). When `timezone` is omitted, the\nform uses your account's timezone, falling back to `UTC` if that is unset or invalid.\n\n**Required scope:** `form:write`.\n","security":["7a989e5e-42a4-4acd-b761-a1925de0733f"],"parameters":[],"responses":{"201":"88a479cc-6596-4bc0-8102-218df165b218","403":"6afb0351-b72b-4dd5-a2c6-f4593736e552","404":"fc3d3774-0118-4f2a-b2e4-75c136b3299e","422":"05045b20-021c-4665-ae8a-939d509462cb"},"requestBody":"ba787b3c-6302-496d-b0b2-13ec7c204074","method":"post","type":"path","servers":["8e8bfda0-f1ef-4ae4-afa9-25e9767fdcdc"],"path":"/api/v1/forms","baseUrlOptions":["https://formhug.ai"],"title":"Create a form","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Form name (required)","example":"Customer feedback","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Form description","example":"Welcome!","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Form description","example":"Welcome!","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"locale":{"type":"string","description":"Form locale, e.g. en, zh-CN, it","example":"en","uniqueKey":"locale","typeLabel":"string"},"timezone":{"type":"string","description":"IANA timezone name used by the form when interpreting times. When omitted, defaults to your account's timezone, falling back to `UTC` if that is unset or invalid.","example":"America/New_York","uniqueKey":"timezone","typeLabel":"string"},"scene":{"type":"string","enum":["exam","evaluation"],"description":"Form scene. Currently restricted to `exam` and `evaluation` on V1 create;\nomit for the default survey scene. When set, scorable field types may\ncarry top-level `answers` / `answer_explanation` keys — see the relevant\nfield-type input schemas.\n","uniqueKey":"scene","typeLabel":"enum\u003cstring>"},"layout":{"type":"string","enum":["classic","card"],"description":"Form layout. `classic` (default) supports a solid wallpaper color; `card` additionally supports a wallpaper background image. Switching layout recomputes the theme palette (dominant color + label/choice/header text colors).","uniqueKey":"layout","typeLabel":"enum\u003cstring>"},"folder_token":{"type":"string","description":"Create the form inside this folder","example":"KaB2c1","uniqueKey":"folder_token","typeLabel":"string"},"fields":{"type":"array","description":"Initial field definitions. Each entry may optionally carry an `api_code` to pre-seed the identifier (and similarly for nested objects such as `choices`). See the **Form Field** schema for the parameters accepted per field type.","items":{"oneOf":[{"type":"object","title":"Short Text","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.0.label","typeLabel":"string"},"type":{"type":"string","enum":["short_text"],"example":"short_text","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.0.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.0.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.0.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.0.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.0.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.0.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.0.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.0.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.0.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.0.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.0.customized_validation_message","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"fields.items.[INDEX].oneOf.0.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"fields.items.[INDEX].oneOf.0.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.0.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"fields.items.[INDEX].oneOf.0.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"fields.items.[INDEX].oneOf.0.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.0.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.0.answers.items.[INDEX].answer.oneOf.0","typeLabel":"string[]"},{"type":"string","description":"Expected text. Single-element array or a bare string.","uniqueKey":"fields.items.[INDEX].oneOf.0.answers.items.[INDEX].answer.oneOf.1","typeLabel":"string"}],"uniqueKey":"fields.items.[INDEX].oneOf.0.answers.items.[INDEX].answer","typeLabel":"string[] | string"}},"additionalProperties":false,"uniqueKey":"fields.items.[INDEX].oneOf.0.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.0.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.0.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.0.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.0.answer_explanation","typeLabel":"string | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.0","typeLabel":"Short Text · object"},{"type":"object","title":"Long Text","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.1.label","typeLabel":"string"},"type":{"type":"string","enum":["long_text"],"example":"long_text","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.1.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.1.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.1.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.1.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.1.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.1.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.1.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.1.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.1.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.1.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.1.customized_validation_message","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"fields.items.[INDEX].oneOf.1.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"fields.items.[INDEX].oneOf.1.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.1.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"fields.items.[INDEX].oneOf.1.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"fields.items.[INDEX].oneOf.1.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.1.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.1.answers.items.[INDEX].answer.oneOf.0","typeLabel":"string[]"},{"type":"string","description":"Expected text. Single-element array or a bare string.","uniqueKey":"fields.items.[INDEX].oneOf.1.answers.items.[INDEX].answer.oneOf.1","typeLabel":"string"}],"uniqueKey":"fields.items.[INDEX].oneOf.1.answers.items.[INDEX].answer","typeLabel":"string[] | string"}},"additionalProperties":false,"uniqueKey":"fields.items.[INDEX].oneOf.1.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.1.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.1.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.1.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.1.answer_explanation","typeLabel":"string | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.1","typeLabel":"Long Text · object"},{"type":"object","title":"Radio","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.2.label","typeLabel":"string"},"type":{"type":"string","enum":["radio"],"example":"radio","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.2.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.2.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.2.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.2.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.2.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.2.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.2.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.2.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.2.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.2.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.2.customized_validation_message","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":"fields.items.[INDEX].oneOf.2.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.2.answers.items.[INDEX].answer.oneOf.1","typeLabel":"integer"}],"uniqueKey":"fields.items.[INDEX].oneOf.2.answers.items.[INDEX].answer","typeLabel":"integer[] | integer"}},"additionalProperties":false,"uniqueKey":"fields.items.[INDEX].oneOf.2.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.2.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.2.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.2.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.2.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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","required":["label"],"description":"Choice input shape for `radio` and `checkbox` fields. Supports an `other` fallback and an extended text input.","properties":{"label":{"type":"string","description":"Display label of the choice.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.2.choices.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","description":"Identifier of an existing choice; omit to create a new one.","uniqueKey":"fields.items.[INDEX].oneOf.2.choices.items.[INDEX].api_code","typeLabel":"string"},"selected":{"oneOf":[{"type":"boolean","description":"Pre-select this choice by default.","uniqueKey":"fields.items.[INDEX].oneOf.2.choices.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Pre-select this choice by default.","uniqueKey":"fields.items.[INDEX].oneOf.2.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.2.choices.items.[INDEX].selected","typeLabel":"boolean | null"},"allow_extended_text":{"type":"boolean","description":"Allow respondents to type free text alongside this choice. Silently ignored when `is_other: true` is also set — the \"other\" choice has its own free-text input.","uniqueKey":"fields.items.[INDEX].oneOf.2.choices.items.[INDEX].allow_extended_text","typeLabel":"boolean"},"extended_text_required":{"type":"boolean","description":"Require the extended text when this choice is picked. Silently ignored when `is_other: true` is also set.","uniqueKey":"fields.items.[INDEX].oneOf.2.choices.items.[INDEX].extended_text_required","typeLabel":"boolean"},"extended_text_placeholder":{"oneOf":[{"type":"string","description":"Placeholder text for the extended text input. Silently ignored when `is_other: true` is also set.","uniqueKey":"fields.items.[INDEX].oneOf.2.choices.items.[INDEX].extended_text_placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Placeholder text for the extended text input. Silently ignored when `is_other: true` is also set.","uniqueKey":"fields.items.[INDEX].oneOf.2.choices.items.[INDEX].extended_text_placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.2.choices.items.[INDEX].extended_text_placeholder","typeLabel":"string | null"},"is_other":{"type":"boolean","description":"Pass `true` to mark this choice as the \"other / please specify\" free-text fallback. At most one per field. The `allow_extended_text` / `extended_text_required` / `extended_text_placeholder` keys are ignored on an `is_other` choice — the \"other\" choice carries its own free-text input via the entry value's `other_text` key.","uniqueKey":"fields.items.[INDEX].oneOf.2.choices.items.[INDEX].is_other","typeLabel":"boolean"},"operand_value":{"oneOf":[{"type":"number","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`.","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.2.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.2.choices.items.[INDEX].operand_value","typeLabel":"number | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.2.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.2.choices","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.2","typeLabel":"Radio · object"},{"type":"object","title":"Checkbox","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.3.label","typeLabel":"string"},"type":{"type":"string","enum":["checkbox"],"example":"checkbox","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.3.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.3.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.3.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.3.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.3.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.3.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.3.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.3.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.3.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.3.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.3.customized_validation_message","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":"fields.items.[INDEX].oneOf.3.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.3.answers.items.[INDEX].answer.oneOf.1","typeLabel":"integer"}],"uniqueKey":"fields.items.[INDEX].oneOf.3.answers.items.[INDEX].answer","typeLabel":"integer[] | integer"}},"additionalProperties":false,"uniqueKey":"fields.items.[INDEX].oneOf.3.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.3.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.3.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.3.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.3.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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","required":["label"],"description":"Choice input shape for `radio` and `checkbox` fields. Supports an `other` fallback and an extended text input.","properties":{"label":{"type":"string","description":"Display label of the choice.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.3.choices.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","description":"Identifier of an existing choice; omit to create a new one.","uniqueKey":"fields.items.[INDEX].oneOf.3.choices.items.[INDEX].api_code","typeLabel":"string"},"selected":{"oneOf":[{"type":"boolean","description":"Pre-select this choice by default.","uniqueKey":"fields.items.[INDEX].oneOf.3.choices.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Pre-select this choice by default.","uniqueKey":"fields.items.[INDEX].oneOf.3.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.3.choices.items.[INDEX].selected","typeLabel":"boolean | null"},"allow_extended_text":{"type":"boolean","description":"Allow respondents to type free text alongside this choice. Silently ignored when `is_other: true` is also set — the \"other\" choice has its own free-text input.","uniqueKey":"fields.items.[INDEX].oneOf.3.choices.items.[INDEX].allow_extended_text","typeLabel":"boolean"},"extended_text_required":{"type":"boolean","description":"Require the extended text when this choice is picked. Silently ignored when `is_other: true` is also set.","uniqueKey":"fields.items.[INDEX].oneOf.3.choices.items.[INDEX].extended_text_required","typeLabel":"boolean"},"extended_text_placeholder":{"oneOf":[{"type":"string","description":"Placeholder text for the extended text input. Silently ignored when `is_other: true` is also set.","uniqueKey":"fields.items.[INDEX].oneOf.3.choices.items.[INDEX].extended_text_placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Placeholder text for the extended text input. Silently ignored when `is_other: true` is also set.","uniqueKey":"fields.items.[INDEX].oneOf.3.choices.items.[INDEX].extended_text_placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.3.choices.items.[INDEX].extended_text_placeholder","typeLabel":"string | null"},"is_other":{"type":"boolean","description":"Pass `true` to mark this choice as the \"other / please specify\" free-text fallback. At most one per field. The `allow_extended_text` / `extended_text_required` / `extended_text_placeholder` keys are ignored on an `is_other` choice — the \"other\" choice carries its own free-text input via the entry value's `other_text` key.","uniqueKey":"fields.items.[INDEX].oneOf.3.choices.items.[INDEX].is_other","typeLabel":"boolean"},"operand_value":{"oneOf":[{"type":"number","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`.","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.3.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.3.choices.items.[INDEX].operand_value","typeLabel":"number | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.3.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.3.choices","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.3","typeLabel":"Checkbox · object"},{"type":"object","title":"Image Radio","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.4.label","typeLabel":"string"},"type":{"type":"string","enum":["image_radio"],"example":"image_radio","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.4.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.4.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.4.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.4.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.4.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.4.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.4.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.4.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.4.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.4.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.4.customized_validation_message","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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.4.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"Input shape for an `image_radio` / `image_checkbox` choice.","required":["label","image"],"properties":{"label":{"type":"string","description":"Display label of the choice.","example":"Option A","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX].label","typeLabel":"string"},"image":{"oneOf":[{"type":"object","description":"The image for this choice (required). Provide exactly one of `id` / `upload_id`.","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":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX].image.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":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX].image.oneOf.0.upload_id","typeLabel":"string"},"url":{"type":"string","description":"Read-only; the image URL echoed by GET. Ignored on write.","uniqueKey":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX].image.oneOf.0.url","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX].image.oneOf.0","typeLabel":"object"},{"type":"object","description":"The image for this choice (required). Provide exactly one of `id` / `upload_id`.","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":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX].image.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":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX].image.oneOf.1.id","typeLabel":"string"},"url":{"type":"string","description":"Read-only; the image URL echoed by GET. Ignored on write.","uniqueKey":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX].image.oneOf.1.url","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX].image.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX].image","typeLabel":"object"},"api_code":{"type":"string","description":"Identifier of an existing choice to update; omit to add a new one.","uniqueKey":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX].api_code","typeLabel":"string"},"selected":{"oneOf":[{"type":"boolean","uniqueKey":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.4.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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX].operand_value","typeLabel":"number | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.4.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.4.choices","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.4","typeLabel":"Image Radio · object"},{"type":"object","title":"Image Checkbox","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.5.label","typeLabel":"string"},"type":{"type":"string","enum":["image_checkbox"],"example":"image_checkbox","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.5.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.5.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.5.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.5.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.5.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.5.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.5.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.5.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.5.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.5.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.5.customized_validation_message","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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.5.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"Input shape for an `image_radio` / `image_checkbox` choice.","required":["label","image"],"properties":{"label":{"type":"string","description":"Display label of the choice.","example":"Option A","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX].label","typeLabel":"string"},"image":{"oneOf":[{"type":"object","description":"The image for this choice (required). Provide exactly one of `id` / `upload_id`.","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":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX].image.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":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX].image.oneOf.0.upload_id","typeLabel":"string"},"url":{"type":"string","description":"Read-only; the image URL echoed by GET. Ignored on write.","uniqueKey":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX].image.oneOf.0.url","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX].image.oneOf.0","typeLabel":"object"},{"type":"object","description":"The image for this choice (required). Provide exactly one of `id` / `upload_id`.","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":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX].image.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":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX].image.oneOf.1.id","typeLabel":"string"},"url":{"type":"string","description":"Read-only; the image URL echoed by GET. Ignored on write.","uniqueKey":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX].image.oneOf.1.url","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX].image.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX].image","typeLabel":"object"},"api_code":{"type":"string","description":"Identifier of an existing choice to update; omit to add a new one.","uniqueKey":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX].api_code","typeLabel":"string"},"selected":{"oneOf":[{"type":"boolean","uniqueKey":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.5.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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX].operand_value","typeLabel":"number | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.5.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.5.choices","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.5","typeLabel":"Image Checkbox · object"},{"type":"object","title":"Dropdown","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.6.label","typeLabel":"string"},"type":{"type":"string","enum":["dropdown"],"example":"dropdown","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.6.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.6.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.6.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.6.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.6.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.6.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.6.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.6.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.6.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.6.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.6.customized_validation_message","typeLabel":"string | null"},"prompt":{"oneOf":[{"type":"string","description":"Placeholder shown before any choice is picked.","uniqueKey":"fields.items.[INDEX].oneOf.6.prompt.oneOf.0","typeLabel":"string"},{"type":"null","description":"Placeholder shown before any choice is picked.","uniqueKey":"fields.items.[INDEX].oneOf.6.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.6.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.6.answers.items.[INDEX].answer.oneOf.1","typeLabel":"integer"}],"uniqueKey":"fields.items.[INDEX].oneOf.6.answers.items.[INDEX].answer","typeLabel":"integer[] | integer"}},"additionalProperties":false,"uniqueKey":"fields.items.[INDEX].oneOf.6.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.6.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.6.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.6.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.6.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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","required":["label"],"description":"Choice input shape for `dropdown` fields. Supports an `other` fallback and a calculation `operand_value`.","properties":{"label":{"type":"string","description":"Display label of the choice.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.6.choices.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","description":"Identifier of an existing choice; omit to create a new one.","uniqueKey":"fields.items.[INDEX].oneOf.6.choices.items.[INDEX].api_code","typeLabel":"string"},"selected":{"oneOf":[{"type":"boolean","description":"Pre-select this choice by default.","uniqueKey":"fields.items.[INDEX].oneOf.6.choices.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Pre-select this choice by default.","uniqueKey":"fields.items.[INDEX].oneOf.6.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.6.choices.items.[INDEX].selected","typeLabel":"boolean | null"},"is_other":{"type":"boolean","description":"Mark this choice as the \"other / please specify\" fallback. At most one per field.","uniqueKey":"fields.items.[INDEX].oneOf.6.choices.items.[INDEX].is_other","typeLabel":"boolean"},"operand_value":{"oneOf":[{"type":"number","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`.","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.6.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.6.choices.items.[INDEX].operand_value","typeLabel":"number | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.6.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.6.choices","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.6","typeLabel":"Dropdown · object"},{"type":"object","title":"Number","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.7.label","typeLabel":"string"},"type":{"type":"string","enum":["number"],"example":"number","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.7.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.7.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.7.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.7.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.7.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.7.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.7.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.7.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.7.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.7.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.7.customized_validation_message","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"fields.items.[INDEX].oneOf.7.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"fields.items.[INDEX].oneOf.7.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.7.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"fields.items.[INDEX].oneOf.7.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"fields.items.[INDEX].oneOf.7.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.7.placeholder","typeLabel":"string | null"},"precision":{"oneOf":[{"type":"integer","description":"Number of decimal places to enforce.","uniqueKey":"fields.items.[INDEX].oneOf.7.precision.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of decimal places to enforce.","uniqueKey":"fields.items.[INDEX].oneOf.7.precision.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.7.precision","typeLabel":"integer | null"},"display_as_percentage":{"oneOf":[{"type":"boolean","description":"Render the value with a trailing % sign in reports.","uniqueKey":"fields.items.[INDEX].oneOf.7.display_as_percentage.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Render the value with a trailing % sign in reports.","uniqueKey":"fields.items.[INDEX].oneOf.7.display_as_percentage.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.7.display_as_percentage","typeLabel":"boolean | null"},"range_min":{"oneOf":[{"type":"number","description":"Inclusive lower bound.","uniqueKey":"fields.items.[INDEX].oneOf.7.range_min.oneOf.0","typeLabel":"number"},{"type":"null","description":"Inclusive lower bound.","uniqueKey":"fields.items.[INDEX].oneOf.7.range_min.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.7.range_min","typeLabel":"number | null"},"range_max":{"oneOf":[{"type":"number","description":"Inclusive upper bound.","uniqueKey":"fields.items.[INDEX].oneOf.7.range_max.oneOf.0","typeLabel":"number"},{"type":"null","description":"Inclusive upper bound.","uniqueKey":"fields.items.[INDEX].oneOf.7.range_max.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.7.range_max","typeLabel":"number | null"},"icon_type":{"type":"string","enum":["none","number-2","dollar1","cny1"],"description":"Leading icon decoration.","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.7.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"number","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.7.answers.items.[INDEX].answer.oneOf.0","typeLabel":"number[]"},{"type":"number","description":"Expected numeric value. Single-element array or a bare number.","uniqueKey":"fields.items.[INDEX].oneOf.7.answers.items.[INDEX].answer.oneOf.1","typeLabel":"number"}],"uniqueKey":"fields.items.[INDEX].oneOf.7.answers.items.[INDEX].answer","typeLabel":"number[] | number"}},"additionalProperties":false,"uniqueKey":"fields.items.[INDEX].oneOf.7.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.7.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.7.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.7.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.7.answer_explanation","typeLabel":"string | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.7","typeLabel":"Number · object"},{"type":"object","title":"Email","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.8.label","typeLabel":"string"},"type":{"type":"string","enum":["email"],"example":"email","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.8.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.8.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.8.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.8.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.8.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.8.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.8.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.8.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.8.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.8.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.8.customized_validation_message","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","uniqueKey":"fields.items.[INDEX].oneOf.8.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fields.items.[INDEX].oneOf.8.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.8.placeholder","typeLabel":"string | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.8","typeLabel":"Email · object"},{"type":"object","title":"Phone","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.9.label","typeLabel":"string"},"type":{"type":"string","enum":["phone"],"example":"phone","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.9.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.9.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.9.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.9.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.9.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.9.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.9.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.9.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.9.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.9.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.9.customized_validation_message","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"fields.items.[INDEX].oneOf.9.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"fields.items.[INDEX].oneOf.9.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.9.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"fields.items.[INDEX].oneOf.9.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"fields.items.[INDEX].oneOf.9.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.9.placeholder","typeLabel":"string | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.9","typeLabel":"Phone · object"},{"type":"object","title":"Date","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.10.label","typeLabel":"string"},"type":{"type":"string","enum":["date"],"example":"date","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.10.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.10.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.10.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.10.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.10.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.10.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.10.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.10.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.10.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.10.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.10.customized_validation_message","typeLabel":"string | null"},"precision":{"type":"string","enum":["month","day","minute","second"],"description":"Picker granularity; controls the format of stored values.","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.10.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.10.start_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"Inclusive earliest acceptable value. Naive string per `precision` or a dynamic token.","uniqueKey":"fields.items.[INDEX].oneOf.10.start_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.10.end_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"Inclusive latest acceptable value. Naive string per `precision` or a dynamic token.","uniqueKey":"fields.items.[INDEX].oneOf.10.end_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.10.as_age.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Treat the value as an age (years) instead of a date.","uniqueKey":"fields.items.[INDEX].oneOf.10.as_age.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.10.as_age","typeLabel":"boolean | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.10","typeLabel":"Date · object"},{"type":"object","title":"Name","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.11.label","typeLabel":"string"},"type":{"type":"string","enum":["name"],"example":"name","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.11.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.11.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.11.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.11.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.11.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.11.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.11.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.11.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.11.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.11.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.11.customized_validation_message","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"fields.items.[INDEX].oneOf.11.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"fields.items.[INDEX].oneOf.11.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.11.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"fields.items.[INDEX].oneOf.11.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"fields.items.[INDEX].oneOf.11.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.11.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.11.answers.items.[INDEX].answer.oneOf.0","typeLabel":"string[]"},{"type":"string","description":"Expected text. Single-element array or a bare string.","uniqueKey":"fields.items.[INDEX].oneOf.11.answers.items.[INDEX].answer.oneOf.1","typeLabel":"string"}],"uniqueKey":"fields.items.[INDEX].oneOf.11.answers.items.[INDEX].answer","typeLabel":"string[] | string"}},"additionalProperties":false,"uniqueKey":"fields.items.[INDEX].oneOf.11.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.11.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.11.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.11.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.11.answer_explanation","typeLabel":"string | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.11","typeLabel":"Name · object"},{"type":"object","title":"URL","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.12.label","typeLabel":"string"},"type":{"type":"string","enum":["url"],"example":"url","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.12.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.12.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.12.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.12.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.12.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.12.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.12.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.12.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.12.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.12.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.12.customized_validation_message","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"fields.items.[INDEX].oneOf.12.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"fields.items.[INDEX].oneOf.12.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.12.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"fields.items.[INDEX].oneOf.12.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"fields.items.[INDEX].oneOf.12.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.12.placeholder","typeLabel":"string | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.12","typeLabel":"URL · object"},{"type":"object","title":"Address","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.13.label","typeLabel":"string"},"type":{"type":"string","enum":["address"],"example":"address","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.13.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.13.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.13.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.13.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.13.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.13.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.13.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.13.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.13.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.13.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.13.customized_validation_message","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":"fields.items.[INDEX].oneOf.13.changeable_sections.address_line2","typeLabel":"boolean"},"state":{"type":"boolean","uniqueKey":"fields.items.[INDEX].oneOf.13.changeable_sections.state","typeLabel":"boolean"},"postal_code":{"type":"boolean","uniqueKey":"fields.items.[INDEX].oneOf.13.changeable_sections.postal_code","typeLabel":"boolean"},"country":{"type":"boolean","uniqueKey":"fields.items.[INDEX].oneOf.13.changeable_sections.country","typeLabel":"boolean"}},"uniqueKey":"fields.items.[INDEX].oneOf.13.changeable_sections","typeLabel":"object"},"predefined_value":{"oneOf":[{"type":"object","additionalProperties":false,"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":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.address_line1.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.address_line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.address_line1","typeLabel":"string | null"},"address_line2":{"oneOf":[{"type":"string","uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.address_line2.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.address_line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.address_line2","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"ISO 3166-1 alpha-2 country code.","uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 3166-1 alpha-2 country code.","uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"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."}]}},"uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.13.predefined_value","typeLabel":"object | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.13","typeLabel":"Address · object"},{"type":"object","title":"Rating","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.14.label","typeLabel":"string"},"type":{"type":"string","enum":["rating"],"example":"rating","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.14.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.14.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.14.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.14.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.14.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.14.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.14.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.14.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.14.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.14.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.14.customized_validation_message","typeLabel":"string | null"},"minimum_ratings_display_text":{"oneOf":[{"type":"string","description":"Caption shown next to the lowest rating.","uniqueKey":"fields.items.[INDEX].oneOf.14.minimum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Caption shown next to the lowest rating.","uniqueKey":"fields.items.[INDEX].oneOf.14.minimum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.14.maximum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Caption shown next to the highest rating.","uniqueKey":"fields.items.[INDEX].oneOf.14.maximum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.14.maximum_ratings_display_text","typeLabel":"string | null"},"rating_type":{"type":"string","enum":["star","heart","happy"],"description":"Visual style of the scale.","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.14.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.14.answers.items.[INDEX].answer.oneOf.1","typeLabel":"integer"}],"uniqueKey":"fields.items.[INDEX].oneOf.14.answers.items.[INDEX].answer","typeLabel":"integer[] | integer"}},"additionalProperties":false,"uniqueKey":"fields.items.[INDEX].oneOf.14.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.14.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.14.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.14.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.14.answer_explanation","typeLabel":"string | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.14","typeLabel":"Rating · object"},{"type":"object","title":"NPS","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.15.label","typeLabel":"string"},"type":{"type":"string","enum":["nps"],"example":"nps","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.15.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.15.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.15.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.15.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.15.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.15.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.15.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.15.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.15.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.15.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.15.customized_validation_message","typeLabel":"string | null"},"minimum_ratings_display_text":{"oneOf":[{"type":"string","description":"Caption shown next to the lowest rating.","uniqueKey":"fields.items.[INDEX].oneOf.15.minimum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Caption shown next to the lowest rating.","uniqueKey":"fields.items.[INDEX].oneOf.15.minimum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.15.maximum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Caption shown next to the highest rating.","uniqueKey":"fields.items.[INDEX].oneOf.15.maximum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.15.maximum_ratings_display_text","typeLabel":"string | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.15","typeLabel":"NPS · object"},{"type":"object","title":"Upload","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.16.label","typeLabel":"string"},"type":{"type":"string","enum":["attachment"],"example":"attachment","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.16.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.16.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.16.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.16.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.16.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.16.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.16.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.16.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.16.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.16.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.16.customized_validation_message","typeLabel":"string | null"},"max_size":{"type":"number","enum":[1,5,10,20,50,100,500],"description":"Per-file max size in MB.","uniqueKey":"fields.items.[INDEX].oneOf.16.max_size","typeLabel":"enum\u003cnumber>"},"max_file_quantity":{"oneOf":[{"type":"integer","minimum":1,"maximum":15,"description":"Maximum number of files.","uniqueKey":"fields.items.[INDEX].oneOf.16.max_file_quantity.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":15,"description":"Maximum number of files.","uniqueKey":"fields.items.[INDEX].oneOf.16.max_file_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.16.media_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"array","items":{"type":"string","pattern":"^\\.?[A-Za-z0-9_-]+$","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.16.media_type.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"fields.items.[INDEX].oneOf.16.media_type","typeLabel":"enum\u003cstring> | string[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.16","typeLabel":"Upload · object"},{"type":"object","title":"Audio","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.17.label","typeLabel":"string"},"type":{"type":"string","enum":["audio"],"example":"audio","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.17.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.17.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.17.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.17.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.17.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.17.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.17.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.17.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.17.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.17.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.17.customized_validation_message","typeLabel":"string | null"},"max_duration":{"type":"integer","enum":[1,2,5,10,30],"description":"Maximum recording length in minutes (default 5).","uniqueKey":"fields.items.[INDEX].oneOf.17.max_duration","typeLabel":"enum\u003cinteger>"}},"uniqueKey":"fields.items.[INDEX].oneOf.17","typeLabel":"Audio · object"},{"type":"object","title":"Cascade","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.18.label","typeLabel":"string"},"type":{"type":"string","enum":["cascade"],"example":"cascade","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.18.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.18.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.18.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.18.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.18.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.18.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.18.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.18.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.18.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.18.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.18.customized_validation_message","typeLabel":"string | null"},"levels":{"type":"integer","enum":[2,3,4],"description":"Number of cascade levels (default 2).","uniqueKey":"fields.items.[INDEX].oneOf.18.levels","typeLabel":"enum\u003cinteger>"},"prompt":{"oneOf":[{"type":"string","description":"Single prompt applied to every level (server fans this out to `prompts`).","uniqueKey":"fields.items.[INDEX].oneOf.18.prompt.oneOf.0","typeLabel":"string"},{"type":"null","description":"Single prompt applied to every level (server fans this out to `prompts`).","uniqueKey":"fields.items.[INDEX].oneOf.18.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.18.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.18.choices.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.18.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.18.choices.items.[INDEX].operand_value","typeLabel":"number | null"},"sub_choices":{"type":"array","items":{"$circularRef":"e4f18dca-e897-4326-9729-46ac01f92a35"},"uniqueKey":"fields.items.[INDEX].oneOf.18.choices.items.[INDEX].sub_choices","typeLabel":"array"}},"uniqueKey":"fields.items.[INDEX].oneOf.18.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.18.choices","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.18","typeLabel":"Cascade · object"},{"type":"object","title":"Ranking","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.19.label","typeLabel":"string"},"type":{"type":"string","enum":["ranking"],"example":"ranking","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.19.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.19.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.19.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.19.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.19.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.19.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.19.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.19.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.19.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.19.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.19.customized_validation_message","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","required":["label"],"description":"Choice input shape for `ranking` fields. Does not support an `other` fallback or an extended text input.","properties":{"label":{"type":"string","description":"Display label of the choice.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.19.choices.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","description":"Identifier of an existing choice; omit to create a new one.","uniqueKey":"fields.items.[INDEX].oneOf.19.choices.items.[INDEX].api_code","typeLabel":"string"},"selected":{"oneOf":[{"type":"boolean","description":"Pre-select this choice by default.","uniqueKey":"fields.items.[INDEX].oneOf.19.choices.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Pre-select this choice by default.","uniqueKey":"fields.items.[INDEX].oneOf.19.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.19.choices.items.[INDEX].selected","typeLabel":"boolean | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.19.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.19.choices","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.19","typeLabel":"Ranking · object"},{"type":"object","title":"Matrix Input","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.20.label","typeLabel":"string"},"type":{"type":"string","enum":["matrix"],"example":"matrix","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.20.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.20.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.20.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.20.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.20.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.20.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.20.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.20.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.20.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.20.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.20.customized_validation_message","typeLabel":"string | null"},"statements":{"type":"array","items":{"type":"object","description":"A row/statement on a `matrix` or `likert` field.","properties":{"label":{"type":"string","uniqueKey":"fields.items.[INDEX].oneOf.20.statements.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","uniqueKey":"fields.items.[INDEX].oneOf.20.statements.items.[INDEX].api_code","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].oneOf.20.statements.items.[INDEX]","typeLabel":"object"},"description":"Matrix rows.","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.20.dimensions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","isRequired":true,"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.20.dimensions.items.[INDEX].api_code","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"fields.items.[INDEX].oneOf.20.dimensions.items.[INDEX]","typeLabel":"object"},"description":"Matrix columns; each is itself a typed sub-field.","uniqueKey":"fields.items.[INDEX].oneOf.20.dimensions","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.20","typeLabel":"Matrix Input · object"},{"type":"object","title":"Likert Scale","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.21.label","typeLabel":"string"},"type":{"type":"string","enum":["likert"],"example":"likert","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.21.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.21.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.21.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.21.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.21.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.21.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.21.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.21.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.21.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.21.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.21.customized_validation_message","typeLabel":"string | null"},"likert_choice_style":{"type":"string","enum":["single","multiple"],"description":"Whether each statement accepts one or many choices.","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.21.statements.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","uniqueKey":"fields.items.[INDEX].oneOf.21.statements.items.[INDEX].api_code","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].oneOf.21.statements.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.21.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.21.answers.items.[INDEX].answer.oneOf.1","typeLabel":"integer"}],"uniqueKey":"fields.items.[INDEX].oneOf.21.answers.items.[INDEX].answer","typeLabel":"integer[] | integer"}},"additionalProperties":false,"uniqueKey":"fields.items.[INDEX].oneOf.21.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.21.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.21.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"fields.items.[INDEX].oneOf.21.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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","required":["label"],"description":"Choice input shape for `likert` fields. Supports an `other` fallback, but no extended text input.","properties":{"label":{"type":"string","description":"Display label of the choice.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.21.choices.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","description":"Identifier of an existing choice; omit to create a new one.","uniqueKey":"fields.items.[INDEX].oneOf.21.choices.items.[INDEX].api_code","typeLabel":"string"},"selected":{"oneOf":[{"type":"boolean","description":"Pre-select this choice by default.","uniqueKey":"fields.items.[INDEX].oneOf.21.choices.items.[INDEX].selected.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Pre-select this choice by default.","uniqueKey":"fields.items.[INDEX].oneOf.21.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.21.choices.items.[INDEX].selected","typeLabel":"boolean | null"},"is_other":{"type":"boolean","description":"Pass `true` to mark this choice as the \"other / please specify\" free-text fallback. At most one per field.","uniqueKey":"fields.items.[INDEX].oneOf.21.choices.items.[INDEX].is_other","typeLabel":"boolean"}},"uniqueKey":"fields.items.[INDEX].oneOf.21.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fields.items.[INDEX].oneOf.21.choices","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.21","typeLabel":"Likert Scale · object"},{"type":"object","title":"Time","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.22.label","typeLabel":"string"},"type":{"type":"string","enum":["time"],"example":"time","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.22.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.22.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.22.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.22.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.22.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.22.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.22.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.22.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.22.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.22.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.22.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.22.customized_validation_message","typeLabel":"string | null"},"include_second":{"oneOf":[{"type":"boolean","description":"Capture the seconds component of the time.","uniqueKey":"fields.items.[INDEX].oneOf.22.include_second.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Capture the seconds component of the time.","uniqueKey":"fields.items.[INDEX].oneOf.22.include_second.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.22.include_second","typeLabel":"boolean | null"},"predefined_value":{"oneOf":[{"type":"object","additionalProperties":false,"required":["hour","minute"],"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.","properties":{"hour":{"type":"integer","minimum":0,"maximum":23,"isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.22.predefined_value.oneOf.0.hour","typeLabel":"integer"},"minute":{"type":"integer","minimum":0,"maximum":59,"isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.22.predefined_value.oneOf.0.minute","typeLabel":"integer"},"second":{"oneOf":[{"type":"integer","minimum":0,"maximum":59,"description":"Only stored when the field has `include_second`.","uniqueKey":"fields.items.[INDEX].oneOf.22.predefined_value.oneOf.0.second.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"maximum":59,"description":"Only stored when the field has `include_second`.","uniqueKey":"fields.items.[INDEX].oneOf.22.predefined_value.oneOf.0.second.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.22.predefined_value.oneOf.0.second","typeLabel":"integer | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.22.predefined_value.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"required":["hour","minute"],"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.","properties":{"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59},"second":{"oneOf":[{"type":"integer","minimum":0,"maximum":59,"description":"Only stored when the field has `include_second`."},{"type":"null","minimum":0,"maximum":59,"description":"Only stored when the field has `include_second`."}]}},"uniqueKey":"fields.items.[INDEX].oneOf.22.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.22.predefined_value","typeLabel":"object | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.22","typeLabel":"Time · object"},{"type":"object","title":"Location","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.23.label","typeLabel":"string"},"type":{"type":"string","enum":["location"],"example":"location","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.23.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.23.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.23.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.23.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.23.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.23.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.23.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.23.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.23.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.23.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.23.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.23.customized_validation_message","typeLabel":"string | null"},"localizable_on_mobile":{"oneOf":[{"type":"boolean","description":"Auto-locate the user via GPS on mobile.","uniqueKey":"fields.items.[INDEX].oneOf.23.localizable_on_mobile.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Auto-locate the user via GPS on mobile.","uniqueKey":"fields.items.[INDEX].oneOf.23.localizable_on_mobile.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.23.localizable_on_mobile","typeLabel":"boolean | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.23","typeLabel":"Location · object"},{"type":"object","title":"Signature","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.24.label","typeLabel":"string"},"type":{"type":"string","enum":["signature"],"example":"signature","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.24.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.24.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.24.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.24.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.24.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.24.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.24.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.24.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.24.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.24.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.24.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.24.customized_validation_message","typeLabel":"string | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.24","typeLabel":"Signature · object"},{"type":"object","title":"Grid Rating","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.25.label","typeLabel":"string"},"type":{"type":"string","enum":["matrix_rating"],"example":"matrix_rating","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.25.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.25.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.25.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.25.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.25.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.25.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.25.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.25.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.25.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.25.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.25.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.25.customized_validation_message","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":"fields.items.[INDEX].oneOf.25.statements.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","uniqueKey":"fields.items.[INDEX].oneOf.25.statements.items.[INDEX].api_code","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].oneOf.25.statements.items.[INDEX]","typeLabel":"object"},"description":"Matrix rows. At least one statement is required.","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].api_code","typeLabel":"string"},"rating_type":{"type":"string","enum":["star","heart","happy"],"uniqueKey":"fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].rating_type","typeLabel":"enum\u003cstring>"},"rating_max":{"type":"integer","enum":[3,4,5,6,7,8,9,10],"uniqueKey":"fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].rating_max","typeLabel":"enum\u003cinteger>"},"minimum_ratings_display_text":{"oneOf":[{"type":"string","uniqueKey":"fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].minimum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].minimum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].minimum_ratings_display_text","typeLabel":"string | null"},"maximum_ratings_display_text":{"oneOf":[{"type":"string","uniqueKey":"fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].maximum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].maximum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].maximum_ratings_display_text","typeLabel":"string | null"}},"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.25.dimensions","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.25","typeLabel":"Grid Rating · object"},{"type":"object","title":"Table","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.26.label","typeLabel":"string"},"type":{"type":"string","enum":["table"],"example":"table","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.26.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.26.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.26.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.26.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.26.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.26.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.26.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.26.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.26.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.26.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.26.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.26.customized_validation_message","typeLabel":"string | null"},"init_row_length":{"type":"integer","minimum":1,"maximum":5,"description":"Number of rows pre-rendered on the form (default 3).","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.26.dimensions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","isRequired":true,"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.26.dimensions.items.[INDEX].api_code","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"fields.items.[INDEX].oneOf.26.dimensions.items.[INDEX]","typeLabel":"object"},"description":"Table columns; each is itself a typed sub-field.","uniqueKey":"fields.items.[INDEX].oneOf.26.dimensions","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.26","typeLabel":"Table · object"},{"type":"object","title":"Product","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.27.label","typeLabel":"string"},"type":{"type":"string","enum":["product"],"example":"product","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.27.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.27.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.27.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.27.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.27.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.27.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.27.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.27.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.27.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.27.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.27.customized_validation_message","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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].api_code","typeLabel":"string"},"price":{"type":"number","description":"Price for items without `dimensions`. Defaults to 0.","uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].price","typeLabel":"number"},"original_price":{"oneOf":[{"type":"number","uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].original_price.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].original_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].original_price","typeLabel":"number | null"},"inventory":{"oneOf":[{"type":"integer","minimum":0,"description":"Available stock when the item has no `dimensions`. Omit or null for unlimited.","uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].inventory.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Available stock when the item has no `dimensions`. Omit or null for unlimited.","uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].inventory.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].inventory","typeLabel":"integer | null"},"min_purchase_quantity":{"oneOf":[{"type":"integer","minimum":0,"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].min_purchase_quantity.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].min_purchase_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].min_purchase_quantity","typeLabel":"integer | null"},"max_purchase_quantity":{"oneOf":[{"type":"integer","minimum":0,"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].max_purchase_quantity.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].max_purchase_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].api_code","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].options.items.[INDEX].api_code","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].options.items.[INDEX].label","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].options.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].options","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX]","typeLabel":"object"},"description":"Specification axes (Size / Color / ...). Omit for a simple priced item.","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].specification.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].specification","typeLabel":"object"},"price":{"type":"number","uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].price","typeLabel":"number"},"original_price":{"oneOf":[{"type":"number","uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].original_price.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].original_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].original_price","typeLabel":"number | null"},"inventory":{"oneOf":[{"type":"integer","minimum":0,"description":"Available stock for this SKU. Omit or null for unlimited.","uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].inventory.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Available stock for this SKU. Omit or null for unlimited.","uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].inventory.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].inventory","typeLabel":"integer | null"}},"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].images.items.[INDEX].oneOf.0.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].images.items.[INDEX].oneOf.1.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].images.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].images","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX]","typeLabel":"object"},"description":"Sellable items.","uniqueKey":"fields.items.[INDEX].oneOf.27.goods_items","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.27","typeLabel":"Product · object"},{"type":"object","title":"Booking","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.28.label","typeLabel":"string"},"type":{"type":"string","enum":["booking"],"example":"booking","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.28.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.28.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.28.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.28.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.28.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.28.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.28.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.28.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.28.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.28.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.28.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.28.customized_validation_message","typeLabel":"string | null"},"item_allow_multiple_reservations":{"type":"boolean","description":"Allow each respondent to book the same item multiple times.","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.28.allow_multiple_items","typeLabel":"boolean"},"allow_multiple_number":{"type":"boolean","description":"Allow each respondent to specify quantities larger than 1.","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].name","typeLabel":"string"},"api_code":{"type":"string","uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].api_code","typeLabel":"string"},"description":{"oneOf":[{"type":"string","uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].description","typeLabel":"string | null"},"selected":{"type":"boolean","description":"Pre-select this item by default.","uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].selected","typeLabel":"boolean"},"start_date":{"oneOf":[{"type":"string","format":"date-time","description":"Earliest reservable date (ISO 8601).","uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].start_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Earliest reservable date (ISO 8601).","uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].start_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].start_date","typeLabel":"string\u003cdate-time> | null"},"end_date":{"oneOf":[{"type":"string","format":"date-time","description":"Latest reservable date (ISO 8601).","uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].end_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Latest reservable date (ISO 8601).","uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].end_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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","minimum":0,"description":"Total bookable slots in this window; null or omitted means unlimited.","uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas.items.[INDEX].quota.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Total bookable slots in this window; null or omitted means unlimited.","uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas.items.[INDEX].quota.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas.items.[INDEX].end_time","typeLabel":"string"}},"uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].quota_setting.available_days_of_week.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].quota_setting.available_days_of_week","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].images.items.[INDEX].oneOf.0.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].images.items.[INDEX].oneOf.1.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].images.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].images","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX]","typeLabel":"object"},"description":"Reservation items (slot categories) shown to respondents.","uniqueKey":"fields.items.[INDEX].oneOf.28.reservation_items","typeLabel":"object[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.28","typeLabel":"Booking · object"},{"type":"object","title":"Linked Form","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.29.label","typeLabel":"string"},"type":{"type":"string","enum":["linked_form"],"example":"linked_form","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.29.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.29.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.29.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.29.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.29.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.29.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.29.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.29.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.29.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.29.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.29.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.29.customized_validation_message","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":"fields.items.[INDEX].oneOf.29.associated_form_token","typeLabel":"string"},"associated_field_api_codes":{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.29.associated_field_api_codes","typeLabel":"string[]"},"display_field_api_codes":{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.29.display_field_api_codes","typeLabel":"string[]"}},"uniqueKey":"fields.items.[INDEX].oneOf.29","typeLabel":"Linked Form · object"},{"type":"object","title":"Formula","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type","label"],"properties":{"label":{"type":"string","description":"Display label of the field.","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.30.label","typeLabel":"string"},"type":{"type":"string","enum":["formula"],"example":"formula","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.30.type","typeLabel":"enum\u003cstring>"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"See description above for the create/update semantics and format constraint.","uniqueKey":"fields.items.[INDEX].oneOf.30.api_code","typeLabel":"string"},"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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.30.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.30.cid","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.30.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Help text shown under the field.","uniqueKey":"fields.items.[INDEX].oneOf.30.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.30.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private (hidden from public reports).","uniqueKey":"fields.items.[INDEX].oneOf.30.private","typeLabel":"boolean"},"required":{"type":"boolean","description":"Whether the field must be answered.","uniqueKey":"fields.items.[INDEX].oneOf.30.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.30.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Override the default validation error message (max 50 chars).","uniqueKey":"fields.items.[INDEX].oneOf.30.customized_validation_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.30.customized_validation_message","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":"fields.items.[INDEX].oneOf.30.formula","typeLabel":"string"},"result_type":{"oneOf":[{"type":"string","enum":["numeric","datetime","string"],"description":"Auto-inferred result type. Returned on read; ignored on write.","uniqueKey":"fields.items.[INDEX].oneOf.30.result_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["numeric","datetime","string"],"description":"Auto-inferred result type. Returned on read; ignored on write.","uniqueKey":"fields.items.[INDEX].oneOf.30.result_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.30.result_type","typeLabel":"enum\u003cstring> | null"},"precision":{"oneOf":[{"type":"integer","description":"Decimal places for a numeric result.","uniqueKey":"fields.items.[INDEX].oneOf.30.precision.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Decimal places for a numeric result.","uniqueKey":"fields.items.[INDEX].oneOf.30.precision.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.30.precision","typeLabel":"integer | null"},"display_as_percentage":{"oneOf":[{"type":"boolean","description":"Render a numeric result with a trailing % sign.","uniqueKey":"fields.items.[INDEX].oneOf.30.display_as_percentage.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Render a numeric result with a trailing % sign.","uniqueKey":"fields.items.[INDEX].oneOf.30.display_as_percentage.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.30.display_as_percentage","typeLabel":"boolean | null"},"thousands_separator":{"oneOf":[{"type":"boolean","description":"Render a numeric result with thousands separators.","uniqueKey":"fields.items.[INDEX].oneOf.30.thousands_separator.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Render a numeric result with thousands separators.","uniqueKey":"fields.items.[INDEX].oneOf.30.thousands_separator.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.30.thousands_separator","typeLabel":"boolean | null"},"icon_type":{"oneOf":[{"type":"string","enum":["none","formula-2","date-2","number-2","dollar1","cny1","sum","text2"],"description":"Leading icon decoration.","uniqueKey":"fields.items.[INDEX].oneOf.30.icon_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["none","formula-2","date-2","number-2","dollar1","cny1","sum","text2"],"description":"Leading icon decoration.","uniqueKey":"fields.items.[INDEX].oneOf.30.icon_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.30.icon_type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.30","typeLabel":"Formula · object"},{"type":"object","title":"Page Break","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type"],"properties":{"type":{"type":"string","enum":["page_break"],"example":"page_break","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.31.type","typeLabel":"enum\u003cstring>"},"label":{"oneOf":[{"type":"string","description":"Optional display label / heading; may be null.","uniqueKey":"fields.items.[INDEX].oneOf.31.label.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional display label / heading; may be null.","uniqueKey":"fields.items.[INDEX].oneOf.31.label.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.31.label","typeLabel":"string | null"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"Omit to add a new field; provide an existing `api_code` (format `field_\u003cn>`) to target that field for update; omitting an existing field entirely deletes it.","uniqueKey":"fields.items.[INDEX].oneOf.31.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","description":"Descriptive / help text shown for this field.","uniqueKey":"fields.items.[INDEX].oneOf.31.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Descriptive / help text shown for this field.","uniqueKey":"fields.items.[INDEX].oneOf.31.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.31.notes","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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.31.next_page_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.31.previous_page_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.31.previous_page_text","typeLabel":"string | null"},"disable_previous_page":{"type":"boolean","description":"Hide the previous-page button on this page.","uniqueKey":"fields.items.[INDEX].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":"fields.items.[INDEX].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":"fields.items.[INDEX].oneOf.31.count_down.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.31.count_down","typeLabel":"integer | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.31","typeLabel":"Page Break · object"},{"type":"object","title":"Description","description":"A field definition supplied on form create / update. Every field accepts the shared keys\n(label, api_code, notes, private, required, ...) plus a set of type-specific keys\ndetermined by its `type` — see the per-type sections below.\n","required":["type"],"properties":{"type":{"type":"string","enum":["description"],"example":"description","isRequired":true,"uniqueKey":"fields.items.[INDEX].oneOf.32.type","typeLabel":"enum\u003cstring>"},"label":{"oneOf":[{"type":"string","description":"Optional display label / heading; may be null.","uniqueKey":"fields.items.[INDEX].oneOf.32.label.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional display label / heading; may be null.","uniqueKey":"fields.items.[INDEX].oneOf.32.label.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.32.label","typeLabel":"string | null"},"api_code":{"type":"string","pattern":"^field_\\d+$","description":"Omit to add a new field; provide an existing `api_code` (format `field_\u003cn>`) to target that field for update; omitting an existing field entirely deletes it.","uniqueKey":"fields.items.[INDEX].oneOf.32.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","description":"Descriptive / help text shown for this field.","uniqueKey":"fields.items.[INDEX].oneOf.32.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Descriptive / help text shown for this field.","uniqueKey":"fields.items.[INDEX].oneOf.32.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"fields.items.[INDEX].oneOf.32.notes","typeLabel":"string | null"}},"uniqueKey":"fields.items.[INDEX].oneOf.32","typeLabel":"Description · object"}],"uniqueKey":"fields.items.[INDEX]","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"},"uniqueKey":"fields","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)[]"},"theme":{"type":"object","description":"Auto-generate a header image and matching palette from Unsplash keywords.","properties":{"header_image_keywords":{"type":"string","description":"Unsplash search keywords; the server picks an image and derives a palette from it.","uniqueKey":"theme.header_image_keywords","typeLabel":"string"}},"uniqueKey":"theme","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"Customer feedback","description":"Welcome!","locale":"en","timezone":"America/New_York","folder_token":"KaB2c1","fields":[{"label":"\u003cstring>","type":"short_text","api_code":"\u003cstring>","cid":"\u003cstring>","notes":"\u003cstring>","private":true,"required":true,"customized_validation_message":"\u003cstring>","predefined_value":"\u003cstring>","placeholder":"\u003cstring>","answers":[{"score":123,"answer":["\u003cstring>"]}],"answer_explanation":"\u003cstring>"}],"theme":{"header_image_keywords":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"88a479cc-6596-4bc0-8102-218df165b218":{"description":"Created with card layout","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["name","description","token","scene","layout","locale","timezone","created_at","updated_at","last_entry_created_at","entries_count","folder","fields","owned","role"],"properties":{"name":{"type":"string","example":"Customer feedback","isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","example":"Please share your feedback","isRequired":true,"uniqueKey":"data.description.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please share your feedback","isRequired":true,"uniqueKey":"data.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.description","typeLabel":"string | null"},"token":{"type":"string","example":"Wabc12","isRequired":true,"uniqueKey":"data.token","typeLabel":"string"},"scene":{"type":"string","enum":["form","survey","exam","vote","registry","reservation","customer_acquisition","evaluation","online_payment"],"example":"survey","isRequired":true,"uniqueKey":"data.scene","typeLabel":"enum\u003cstring>"},"layout":{"type":"string","description":"Form layout","enum":["classic","card"],"example":"classic","isRequired":true,"uniqueKey":"data.layout","typeLabel":"enum\u003cstring>"},"locale":{"type":"string","description":"Form locale, e.g. `en`, `zh-CN`, `it`.","example":"en","isRequired":true,"uniqueKey":"data.locale","typeLabel":"string"},"timezone":{"type":"string","description":"IANA timezone name used by the form when interpreting times.","example":"UTC","isRequired":true,"uniqueKey":"data.timezone","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","example":"2026-05-12T08:00:00Z","isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","example":"2026-05-12T09:00:00Z","isRequired":true,"uniqueKey":"data.updated_at","typeLabel":"string\u003cdate-time>"},"last_entry_created_at":{"oneOf":[{"type":"string","format":"date-time","description":"Timestamp of the most recent entry submitted to this form; null when the form has no entries yet","example":"2026-05-13T10:00:00Z","isRequired":true,"uniqueKey":"data.last_entry_created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Timestamp of the most recent entry submitted to this form; null when the form has no entries yet","example":"2026-05-13T10:00:00Z","isRequired":true,"uniqueKey":"data.last_entry_created_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.last_entry_created_at","typeLabel":"string\u003cdate-time> | null"},"entries_count":{"type":"integer","example":42,"isRequired":true,"uniqueKey":"data.entries_count","typeLabel":"integer"},"folder":{"oneOf":[{"type":"object","required":["token","name"],"properties":{"token":{"type":"string","example":"KaB2c1","isRequired":true,"uniqueKey":"data.folder.oneOf.0.token","typeLabel":"string"},"name":{"type":"string","example":"Work","isRequired":true,"uniqueKey":"data.folder.oneOf.0.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.folder.oneOf.0","typeLabel":"object"},{"type":"null","required":["token","name"],"properties":{"token":{"type":"string","example":"KaB2c1"},"name":{"type":"string","example":"Work"}},"isRequired":true,"uniqueKey":"data.folder.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.folder","typeLabel":"object | null"},"fields":{"type":"array","description":"Form fields. Each field's `type` determines which type-specific keys it carries — see the catalog of supported field types below.","items":{"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":"data.fields.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.0.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.0.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.0.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.0.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.0.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.0.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.0.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.0.cid","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"data.fields.items.[INDEX].oneOf.0.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"data.fields.items.[INDEX].oneOf.0.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.0.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"data.fields.items.[INDEX].oneOf.0.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"data.fields.items.[INDEX].oneOf.0.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.0.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.0.answers.items.[INDEX].answer.oneOf.0","typeLabel":"string[]"},{"type":"string","description":"Expected text. Single-element array or a bare string.","uniqueKey":"data.fields.items.[INDEX].oneOf.0.answers.items.[INDEX].answer.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.0.answers.items.[INDEX].answer","typeLabel":"string[] | string"}},"additionalProperties":false,"uniqueKey":"data.fields.items.[INDEX].oneOf.0.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.0.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.0.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.0.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.0.answer_explanation","typeLabel":"string | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.1.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.1.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.1.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.1.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.1.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.1.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.1.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.1.cid","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"data.fields.items.[INDEX].oneOf.1.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"data.fields.items.[INDEX].oneOf.1.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.1.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"data.fields.items.[INDEX].oneOf.1.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"data.fields.items.[INDEX].oneOf.1.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.1.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.1.answers.items.[INDEX].answer.oneOf.0","typeLabel":"string[]"},{"type":"string","description":"Expected text. Single-element array or a bare string.","uniqueKey":"data.fields.items.[INDEX].oneOf.1.answers.items.[INDEX].answer.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.1.answers.items.[INDEX].answer","typeLabel":"string[] | string"}},"additionalProperties":false,"uniqueKey":"data.fields.items.[INDEX].oneOf.1.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.1.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.1.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.1.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.1.answer_explanation","typeLabel":"string | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.2.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.2.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.2.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.2.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.2.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.2.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.2.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.2.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.2.answers.items.[INDEX].answer.oneOf.1","typeLabel":"integer"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.2.answers.items.[INDEX].answer","typeLabel":"integer[] | integer"}},"additionalProperties":false,"uniqueKey":"data.fields.items.[INDEX].oneOf.2.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.2.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.2.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.2.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.2.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.2.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.2.choices.items.[INDEX].extended_text_placeholder.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.2.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.2.choices.items.[INDEX].operand_value","typeLabel":"number | null"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.2.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.2.choices","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.3.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.3.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.3.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.3.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.3.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.3.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.3.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.3.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.3.answers.items.[INDEX].answer.oneOf.1","typeLabel":"integer"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.3.answers.items.[INDEX].answer","typeLabel":"integer[] | integer"}},"additionalProperties":false,"uniqueKey":"data.fields.items.[INDEX].oneOf.3.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.3.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.3.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.3.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.3.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.3.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.3.choices.items.[INDEX].extended_text_placeholder.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.3.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.3.choices.items.[INDEX].operand_value","typeLabel":"number | null"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.3.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.3.choices","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.4.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.4.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.4.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.4.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.4.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.4.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.4.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.4.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.4.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.4.choices.items.[INDEX].image.oneOf.0.id","typeLabel":"string"},"url":{"oneOf":[{"type":"string","description":"Public URL of the image.","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.4.choices.items.[INDEX].image.oneOf.0.url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Public URL of the image.","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.4.choices.items.[INDEX].image.oneOf.0.url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.4.choices.items.[INDEX].image.oneOf.0.url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.4.choices.items.[INDEX].image.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.4.choices.items.[INDEX].image.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.4.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.4.choices.items.[INDEX].operand_value","typeLabel":"number | null"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.4.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.4.choices","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.5.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.5.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.5.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.5.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.5.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.5.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.5.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.5.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.5.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.5.choices.items.[INDEX].image.oneOf.0.id","typeLabel":"string"},"url":{"oneOf":[{"type":"string","description":"Public URL of the image.","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.5.choices.items.[INDEX].image.oneOf.0.url.oneOf.0","typeLabel":"string"},{"type":"null","description":"Public URL of the image.","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.5.choices.items.[INDEX].image.oneOf.0.url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.5.choices.items.[INDEX].image.oneOf.0.url","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.5.choices.items.[INDEX].image.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.5.choices.items.[INDEX].image.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.5.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.5.choices.items.[INDEX].operand_value","typeLabel":"number | null"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.5.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.5.choices","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.6.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.6.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.6.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.6.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.6.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.6.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.6.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.6.cid","typeLabel":"string | null"},"prompt":{"oneOf":[{"type":"string","description":"Placeholder shown before any choice is picked.","uniqueKey":"data.fields.items.[INDEX].oneOf.6.prompt.oneOf.0","typeLabel":"string"},{"type":"null","description":"Placeholder shown before any choice is picked.","uniqueKey":"data.fields.items.[INDEX].oneOf.6.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.6.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.6.answers.items.[INDEX].answer.oneOf.1","typeLabel":"integer"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.6.answers.items.[INDEX].answer","typeLabel":"integer[] | integer"}},"additionalProperties":false,"uniqueKey":"data.fields.items.[INDEX].oneOf.6.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.6.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.6.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.6.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.6.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.6.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.6.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.6.choices.items.[INDEX].operand_value","typeLabel":"number | null"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.6.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.6.choices","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.7.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.7.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.7.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.7.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.7.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.7.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.7.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.7.cid","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"data.fields.items.[INDEX].oneOf.7.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"data.fields.items.[INDEX].oneOf.7.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.7.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"data.fields.items.[INDEX].oneOf.7.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"data.fields.items.[INDEX].oneOf.7.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.7.placeholder","typeLabel":"string | null"},"precision":{"oneOf":[{"type":"integer","description":"Number of decimal places to enforce.","uniqueKey":"data.fields.items.[INDEX].oneOf.7.precision.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of decimal places to enforce.","uniqueKey":"data.fields.items.[INDEX].oneOf.7.precision.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.7.precision","typeLabel":"integer | null"},"display_as_percentage":{"oneOf":[{"type":"boolean","description":"Render the value with a trailing % sign in reports.","uniqueKey":"data.fields.items.[INDEX].oneOf.7.display_as_percentage.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Render the value with a trailing % sign in reports.","uniqueKey":"data.fields.items.[INDEX].oneOf.7.display_as_percentage.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.7.display_as_percentage","typeLabel":"boolean | null"},"range_min":{"oneOf":[{"type":"number","description":"Inclusive lower bound.","uniqueKey":"data.fields.items.[INDEX].oneOf.7.range_min.oneOf.0","typeLabel":"number"},{"type":"null","description":"Inclusive lower bound.","uniqueKey":"data.fields.items.[INDEX].oneOf.7.range_min.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.7.range_min","typeLabel":"number | null"},"range_max":{"oneOf":[{"type":"number","description":"Inclusive upper bound.","uniqueKey":"data.fields.items.[INDEX].oneOf.7.range_max.oneOf.0","typeLabel":"number"},{"type":"null","description":"Inclusive upper bound.","uniqueKey":"data.fields.items.[INDEX].oneOf.7.range_max.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.7.range_max","typeLabel":"number | null"},"icon_type":{"type":"string","enum":["none","number-2","dollar1","cny1"],"description":"Leading icon decoration.","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.7.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"number","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.7.answers.items.[INDEX].answer.oneOf.0","typeLabel":"number[]"},{"type":"number","description":"Expected numeric value. Single-element array or a bare number.","uniqueKey":"data.fields.items.[INDEX].oneOf.7.answers.items.[INDEX].answer.oneOf.1","typeLabel":"number"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.7.answers.items.[INDEX].answer","typeLabel":"number[] | number"}},"additionalProperties":false,"uniqueKey":"data.fields.items.[INDEX].oneOf.7.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.7.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.7.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.7.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.7.answer_explanation","typeLabel":"string | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.8.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.8.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.8.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.8.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.8.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.8.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.8.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.8.cid","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","uniqueKey":"data.fields.items.[INDEX].oneOf.8.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.fields.items.[INDEX].oneOf.8.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.8.placeholder","typeLabel":"string | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.9.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.9.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.9.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.9.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.9.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.9.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.9.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.9.cid","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"data.fields.items.[INDEX].oneOf.9.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"data.fields.items.[INDEX].oneOf.9.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.9.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"data.fields.items.[INDEX].oneOf.9.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"data.fields.items.[INDEX].oneOf.9.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.9.placeholder","typeLabel":"string | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.10.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.10.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.10.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.10.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.10.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.10.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.10.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.10.cid","typeLabel":"string | null"},"precision":{"type":"string","enum":["month","day","minute","second"],"description":"Picker granularity; controls the format of stored values.","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.10.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.10.start_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"Inclusive earliest acceptable value. Naive string per `precision` or a dynamic token.","uniqueKey":"data.fields.items.[INDEX].oneOf.10.start_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.10.end_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"Inclusive latest acceptable value. Naive string per `precision` or a dynamic token.","uniqueKey":"data.fields.items.[INDEX].oneOf.10.end_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.10.as_age.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Treat the value as an age (years) instead of a date.","uniqueKey":"data.fields.items.[INDEX].oneOf.10.as_age.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.10.as_age","typeLabel":"boolean | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.11.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.11.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.11.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.11.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.11.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.11.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.11.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.11.cid","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"data.fields.items.[INDEX].oneOf.11.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"data.fields.items.[INDEX].oneOf.11.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.11.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"data.fields.items.[INDEX].oneOf.11.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"data.fields.items.[INDEX].oneOf.11.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.11.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.11.answers.items.[INDEX].answer.oneOf.0","typeLabel":"string[]"},{"type":"string","description":"Expected text. Single-element array or a bare string.","uniqueKey":"data.fields.items.[INDEX].oneOf.11.answers.items.[INDEX].answer.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.11.answers.items.[INDEX].answer","typeLabel":"string[] | string"}},"additionalProperties":false,"uniqueKey":"data.fields.items.[INDEX].oneOf.11.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.11.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.11.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.11.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.11.answer_explanation","typeLabel":"string | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.12.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.12.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.12.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.12.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.12.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.12.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.12.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.12.cid","typeLabel":"string | null"},"predefined_value":{"oneOf":[{"type":"string","description":"Default value pre-filled when the form opens.","uniqueKey":"data.fields.items.[INDEX].oneOf.12.predefined_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Default value pre-filled when the form opens.","uniqueKey":"data.fields.items.[INDEX].oneOf.12.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.12.predefined_value","typeLabel":"string | null"},"placeholder":{"oneOf":[{"type":"string","description":"Greyed hint text shown when empty.","uniqueKey":"data.fields.items.[INDEX].oneOf.12.placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"Greyed hint text shown when empty.","uniqueKey":"data.fields.items.[INDEX].oneOf.12.placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.12.placeholder","typeLabel":"string | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.13.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.13.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.13.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.13.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.13.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.13.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.13.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.13.changeable_sections.address_line2","typeLabel":"boolean"},"state":{"type":"boolean","uniqueKey":"data.fields.items.[INDEX].oneOf.13.changeable_sections.state","typeLabel":"boolean"},"postal_code":{"type":"boolean","uniqueKey":"data.fields.items.[INDEX].oneOf.13.changeable_sections.postal_code","typeLabel":"boolean"},"country":{"type":"boolean","uniqueKey":"data.fields.items.[INDEX].oneOf.13.changeable_sections.country","typeLabel":"boolean"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.13.changeable_sections","typeLabel":"object"},"predefined_value":{"oneOf":[{"type":"object","additionalProperties":false,"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":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.address_line1.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.address_line1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.address_line1","typeLabel":"string | null"},"address_line2":{"oneOf":[{"type":"string","uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.address_line2.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.address_line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.address_line2","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.state","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.postal_code","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","description":"ISO 3166-1 alpha-2 country code.","uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO 3166-1 alpha-2 country code.","uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0.country","typeLabel":"string | null"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"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."}]}},"uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.13.predefined_value","typeLabel":"object | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.14.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.14.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.14.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.14.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.14.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.14.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.14.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.14.cid","typeLabel":"string | null"},"minimum_ratings_display_text":{"oneOf":[{"type":"string","description":"Caption shown next to the lowest rating.","uniqueKey":"data.fields.items.[INDEX].oneOf.14.minimum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Caption shown next to the lowest rating.","uniqueKey":"data.fields.items.[INDEX].oneOf.14.minimum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.14.maximum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Caption shown next to the highest rating.","uniqueKey":"data.fields.items.[INDEX].oneOf.14.maximum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.14.maximum_ratings_display_text","typeLabel":"string | null"},"rating_type":{"type":"string","enum":["star","heart","happy"],"description":"Visual style of the scale.","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.14.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.14.answers.items.[INDEX].answer.oneOf.1","typeLabel":"integer"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.14.answers.items.[INDEX].answer","typeLabel":"integer[] | integer"}},"additionalProperties":false,"uniqueKey":"data.fields.items.[INDEX].oneOf.14.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.14.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.14.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.14.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.14.answer_explanation","typeLabel":"string | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.15.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.15.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.15.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.15.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.15.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.15.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.15.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.15.cid","typeLabel":"string | null"},"minimum_ratings_display_text":{"oneOf":[{"type":"string","description":"Caption shown next to the lowest rating.","uniqueKey":"data.fields.items.[INDEX].oneOf.15.minimum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Caption shown next to the lowest rating.","uniqueKey":"data.fields.items.[INDEX].oneOf.15.minimum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.15.maximum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","description":"Caption shown next to the highest rating.","uniqueKey":"data.fields.items.[INDEX].oneOf.15.maximum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.15.maximum_ratings_display_text","typeLabel":"string | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.16.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.16.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.16.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.16.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.16.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.16.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.16.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.16.max_size","typeLabel":"enum\u003cnumber>"},"max_file_quantity":{"oneOf":[{"type":"integer","minimum":1,"maximum":15,"description":"Maximum number of files.","uniqueKey":"data.fields.items.[INDEX].oneOf.16.max_file_quantity.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":15,"description":"Maximum number of files.","uniqueKey":"data.fields.items.[INDEX].oneOf.16.max_file_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.16.media_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"array","items":{"type":"string","pattern":"^\\.?[A-Za-z0-9_-]+$","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.16.media_type.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.16.media_type","typeLabel":"enum\u003cstring> | string[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.17.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.17.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.17.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.17.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.17.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.17.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.17.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.17.max_duration","typeLabel":"enum\u003cinteger>"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.18.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.18.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.18.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.18.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.18.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.18.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.18.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.18.cid","typeLabel":"string | null"},"levels":{"type":"integer","enum":[2,3,4],"description":"Number of cascade levels (default 2).","uniqueKey":"data.fields.items.[INDEX].oneOf.18.levels","typeLabel":"enum\u003cinteger>"},"prompt":{"oneOf":[{"type":"string","description":"Single prompt applied to every level (server fans this out to `prompts`).","uniqueKey":"data.fields.items.[INDEX].oneOf.18.prompt.oneOf.0","typeLabel":"string"},{"type":"null","description":"Single prompt applied to every level (server fans this out to `prompts`).","uniqueKey":"data.fields.items.[INDEX].oneOf.18.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.18.calculable.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.18.choices.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.18.choices.items.[INDEX].operand_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.18.choices.items.[INDEX].operand_value","typeLabel":"number | null"},"sub_choices":{"type":"array","items":{"$circularRef":"e4f18dca-e897-4326-9729-46ac01f92a35"},"uniqueKey":"data.fields.items.[INDEX].oneOf.18.choices.items.[INDEX].sub_choices","typeLabel":"array"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.18.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.18.choices","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.19.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.19.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.19.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.19.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.19.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.19.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.19.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.19.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.19.choices.items.[INDEX].selected","typeLabel":"boolean | null"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.19.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.19.choices","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.20.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.20.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.20.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.20.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.20.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.20.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.20.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.20.statements.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","uniqueKey":"data.fields.items.[INDEX].oneOf.20.statements.items.[INDEX].api_code","typeLabel":"string"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.20.statements.items.[INDEX]","typeLabel":"object"},"description":"Matrix rows.","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.20.dimensions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.20.dimensions.items.[INDEX].api_code","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.20.dimensions.items.[INDEX]","typeLabel":"object"},"description":"Matrix columns; each is itself a typed sub-field.","uniqueKey":"data.fields.items.[INDEX].oneOf.20.dimensions","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.21.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.21.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.21.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.21.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.21.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.21.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.21.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.21.cid","typeLabel":"string | null"},"likert_choice_style":{"type":"string","enum":["single","multiple"],"description":"Whether each statement accepts one or many choices.","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.21.statements.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","uniqueKey":"data.fields.items.[INDEX].oneOf.21.statements.items.[INDEX].api_code","typeLabel":"string"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.21.statements.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.21.answers.items.[INDEX].score","typeLabel":"number"},"answer":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.21.answers.items.[INDEX].answer.oneOf.1","typeLabel":"integer"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.21.answers.items.[INDEX].answer","typeLabel":"integer[] | integer"}},"additionalProperties":false,"uniqueKey":"data.fields.items.[INDEX].oneOf.21.answers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.21.answers","typeLabel":"object[]"},"answer_explanation":{"oneOf":[{"type":"string","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.21.answer_explanation.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional explanation shown to respondents after grading. Only honored in `exam` scene.","uniqueKey":"data.fields.items.[INDEX].oneOf.21.answer_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.21.choices.items.[INDEX].selected.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.21.choices.items.[INDEX].selected","typeLabel":"boolean | null"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.21.choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.21.choices","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.22.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.22.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.22.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.22.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.22.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.22.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.22.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.22.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.22.cid","typeLabel":"string | null"},"include_second":{"oneOf":[{"type":"boolean","description":"Capture the seconds component of the time.","uniqueKey":"data.fields.items.[INDEX].oneOf.22.include_second.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Capture the seconds component of the time.","uniqueKey":"data.fields.items.[INDEX].oneOf.22.include_second.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.22.include_second","typeLabel":"boolean | null"},"predefined_value":{"oneOf":[{"type":"object","additionalProperties":false,"required":["hour","minute"],"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.","properties":{"hour":{"type":"integer","minimum":0,"maximum":23,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.22.predefined_value.oneOf.0.hour","typeLabel":"integer"},"minute":{"type":"integer","minimum":0,"maximum":59,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.22.predefined_value.oneOf.0.minute","typeLabel":"integer"},"second":{"oneOf":[{"type":"integer","minimum":0,"maximum":59,"description":"Only stored when the field has `include_second`.","uniqueKey":"data.fields.items.[INDEX].oneOf.22.predefined_value.oneOf.0.second.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"maximum":59,"description":"Only stored when the field has `include_second`.","uniqueKey":"data.fields.items.[INDEX].oneOf.22.predefined_value.oneOf.0.second.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.22.predefined_value.oneOf.0.second","typeLabel":"integer | null"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.22.predefined_value.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":false,"required":["hour","minute"],"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.","properties":{"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59},"second":{"oneOf":[{"type":"integer","minimum":0,"maximum":59,"description":"Only stored when the field has `include_second`."},{"type":"null","minimum":0,"maximum":59,"description":"Only stored when the field has `include_second`."}]}},"uniqueKey":"data.fields.items.[INDEX].oneOf.22.predefined_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.22.predefined_value","typeLabel":"object | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.23.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.23.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.23.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.23.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.23.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.23.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.23.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.23.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.23.cid","typeLabel":"string | null"},"localizable_on_mobile":{"oneOf":[{"type":"boolean","description":"Auto-locate the user via GPS on mobile.","uniqueKey":"data.fields.items.[INDEX].oneOf.23.localizable_on_mobile.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Auto-locate the user via GPS on mobile.","uniqueKey":"data.fields.items.[INDEX].oneOf.23.localizable_on_mobile.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.23.localizable_on_mobile","typeLabel":"boolean | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.24.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.24.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.24.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.24.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.24.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.24.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.24.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.24.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.24.cid","typeLabel":"string | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.25.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.25.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.25.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.25.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.25.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.25.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.25.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.25.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.25.statements.items.[INDEX].label","typeLabel":"string"},"api_code":{"type":"string","uniqueKey":"data.fields.items.[INDEX].oneOf.25.statements.items.[INDEX].api_code","typeLabel":"string"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.25.statements.items.[INDEX]","typeLabel":"object"},"description":"Matrix rows. At least one statement is required.","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].api_code","typeLabel":"string"},"rating_type":{"type":"string","enum":["star","heart","happy"],"uniqueKey":"data.fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].rating_type","typeLabel":"enum\u003cstring>"},"rating_max":{"type":"integer","enum":[3,4,5,6,7,8,9,10],"uniqueKey":"data.fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].rating_max","typeLabel":"enum\u003cinteger>"},"minimum_ratings_display_text":{"oneOf":[{"type":"string","uniqueKey":"data.fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].minimum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].minimum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].minimum_ratings_display_text","typeLabel":"string | null"},"maximum_ratings_display_text":{"oneOf":[{"type":"string","uniqueKey":"data.fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].maximum_ratings_display_text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].maximum_ratings_display_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.25.dimensions.items.[INDEX].maximum_ratings_display_text","typeLabel":"string | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.25.dimensions","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.26.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.26.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.26.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.26.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.26.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.26.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.26.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.26.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.26.dimensions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.26.dimensions.items.[INDEX].api_code","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.26.dimensions.items.[INDEX]","typeLabel":"object"},"description":"Table columns; each is itself a typed sub-field.","uniqueKey":"data.fields.items.[INDEX].oneOf.26.dimensions","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.27.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.27.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.27.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.27.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.27.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.27.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.27.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].api_code","typeLabel":"string"},"price":{"type":"number","description":"Price for items without `dimensions`. Defaults to 0.","uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].price","typeLabel":"number"},"original_price":{"oneOf":[{"type":"number","uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].original_price.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].original_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].original_price","typeLabel":"number | null"},"inventory":{"oneOf":[{"type":"integer","minimum":0,"description":"Available stock when the item has no `dimensions`. Omit or null for unlimited.","uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].inventory.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Available stock when the item has no `dimensions`. Omit or null for unlimited.","uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].inventory.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].inventory","typeLabel":"integer | null"},"min_purchase_quantity":{"oneOf":[{"type":"integer","minimum":0,"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].min_purchase_quantity.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].min_purchase_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].min_purchase_quantity","typeLabel":"integer | null"},"max_purchase_quantity":{"oneOf":[{"type":"integer","minimum":0,"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].max_purchase_quantity.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].max_purchase_quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].api_code","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].options.items.[INDEX].api_code","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].options.items.[INDEX].label","typeLabel":"string"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].options.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX].options","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].dimensions.items.[INDEX]","typeLabel":"object"},"description":"Specification axes (Size / Color / ...). Omit for a simple priced item.","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].specification.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].specification","typeLabel":"object"},"price":{"type":"number","uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].price","typeLabel":"number"},"original_price":{"oneOf":[{"type":"number","uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].original_price.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].original_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].original_price","typeLabel":"number | null"},"inventory":{"oneOf":[{"type":"integer","minimum":0,"description":"Available stock for this SKU. Omit or null for unlimited.","uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].inventory.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Available stock for this SKU. Omit or null for unlimited.","uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].inventory.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].skus.items.[INDEX].inventory","typeLabel":"integer | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].images.items.[INDEX].oneOf.0.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].images.items.[INDEX].oneOf.1.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].images.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX].images","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items.items.[INDEX]","typeLabel":"object"},"description":"Sellable items.","uniqueKey":"data.fields.items.[INDEX].oneOf.27.goods_items","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.28.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.28.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.28.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.28.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.28.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.28.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.28.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.28.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.28.cid","typeLabel":"string | null"},"item_allow_multiple_reservations":{"type":"boolean","description":"Allow each respondent to book the same item multiple times.","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.28.allow_multiple_items","typeLabel":"boolean"},"allow_multiple_number":{"type":"boolean","description":"Allow each respondent to specify quantities larger than 1.","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].name","typeLabel":"string"},"api_code":{"type":"string","uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].api_code","typeLabel":"string"},"description":{"oneOf":[{"type":"string","uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].description","typeLabel":"string | null"},"selected":{"type":"boolean","description":"Pre-select this item by default.","uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].selected","typeLabel":"boolean"},"start_date":{"oneOf":[{"type":"string","format":"date-time","description":"Earliest reservable date (ISO 8601).","uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].start_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Earliest reservable date (ISO 8601).","uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].start_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].start_date","typeLabel":"string\u003cdate-time> | null"},"end_date":{"oneOf":[{"type":"string","format":"date-time","description":"Latest reservable date (ISO 8601).","uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].end_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Latest reservable date (ISO 8601).","uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].end_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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","minimum":0,"description":"Total bookable slots in this window; null or omitted means unlimited.","uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas.items.[INDEX].quota.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Total bookable slots in this window; null or omitted means unlimited.","uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas.items.[INDEX].quota.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas.items.[INDEX].end_time","typeLabel":"string"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].quota_setting.daily_time_range_quotas.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].quota_setting.available_days_of_week.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].quota_setting.available_days_of_week","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].images.items.[INDEX].oneOf.0.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].images.items.[INDEX].oneOf.1.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].images.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX].images","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items.items.[INDEX]","typeLabel":"object"},"description":"Reservation items (slot categories) shown to respondents.","uniqueKey":"data.fields.items.[INDEX].oneOf.28.reservation_items","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.29.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.29.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.29.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.29.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.29.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.29.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.29.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.29.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.29.associated_form_token","typeLabel":"string"},"associated_field_api_codes":{"type":"array","items":{"type":"string","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.29.associated_field_api_codes","typeLabel":"string[]"},"display_field_api_codes":{"type":"array","items":{"type":"string","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.29.associated_fields.items.[INDEX].type","typeLabel":"string"},"label":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.29.associated_fields.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.29.associated_fields.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.29.associated_fields.items.[INDEX].choices.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.29.associated_fields.items.[INDEX].choices.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.29.associated_fields.items.[INDEX].choices.items.[INDEX].label","typeLabel":"string | null"},"api_code":{"type":"string","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.29.associated_fields.items.[INDEX].choices.items.[INDEX].sub_choices","typeLabel":"array"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.29.associated_fields.items.[INDEX].choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.29.associated_fields.items.[INDEX].choices","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.29.associated_fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.29.display_fields.items.[INDEX].type","typeLabel":"string"},"label":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.29.display_fields.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.29.display_fields.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.29.display_fields.items.[INDEX].choices.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.29.display_fields.items.[INDEX].choices.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.29.display_fields.items.[INDEX].choices.items.[INDEX].label","typeLabel":"string | null"},"api_code":{"type":"string","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.29.display_fields.items.[INDEX].choices.items.[INDEX].sub_choices","typeLabel":"array"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.29.display_fields.items.[INDEX].choices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.29.display_fields.items.[INDEX].choices","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.29.display_fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.fields.items.[INDEX].oneOf.29.display_fields","typeLabel":"object[]"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.30.type","typeLabel":"enum\u003cstring>"},"label":{"type":"string","example":"Name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.30.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.30.notes.oneOf.0","typeLabel":"string"},{"type":"null","example":"Please use your real name","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.30.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.30.notes","typeLabel":"string | null"},"private":{"type":"boolean","description":"Whether the field is private","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.30.private","typeLabel":"boolean"},"required":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.30.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.30.cid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.30.formula","typeLabel":"string"},"result_type":{"oneOf":[{"type":"string","enum":["numeric","datetime","string"],"description":"Auto-inferred result type. Returned on read; ignored on write.","uniqueKey":"data.fields.items.[INDEX].oneOf.30.result_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["numeric","datetime","string"],"description":"Auto-inferred result type. Returned on read; ignored on write.","uniqueKey":"data.fields.items.[INDEX].oneOf.30.result_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.30.result_type","typeLabel":"enum\u003cstring> | null"},"precision":{"oneOf":[{"type":"integer","description":"Decimal places for a numeric result.","uniqueKey":"data.fields.items.[INDEX].oneOf.30.precision.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Decimal places for a numeric result.","uniqueKey":"data.fields.items.[INDEX].oneOf.30.precision.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.30.precision","typeLabel":"integer | null"},"display_as_percentage":{"oneOf":[{"type":"boolean","description":"Render a numeric result with a trailing % sign.","uniqueKey":"data.fields.items.[INDEX].oneOf.30.display_as_percentage.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Render a numeric result with a trailing % sign.","uniqueKey":"data.fields.items.[INDEX].oneOf.30.display_as_percentage.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.30.display_as_percentage","typeLabel":"boolean | null"},"thousands_separator":{"oneOf":[{"type":"boolean","description":"Render a numeric result with thousands separators.","uniqueKey":"data.fields.items.[INDEX].oneOf.30.thousands_separator.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Render a numeric result with thousands separators.","uniqueKey":"data.fields.items.[INDEX].oneOf.30.thousands_separator.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.30.thousands_separator","typeLabel":"boolean | null"},"icon_type":{"oneOf":[{"type":"string","enum":["none","formula-2","date-2","number-2","dollar1","cny1","sum","text2"],"description":"Leading icon decoration.","uniqueKey":"data.fields.items.[INDEX].oneOf.30.icon_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["none","formula-2","date-2","number-2","dollar1","cny1","sum","text2"],"description":"Leading icon decoration.","uniqueKey":"data.fields.items.[INDEX].oneOf.30.icon_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.30.icon_type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.31.type","typeLabel":"enum\u003cstring>"},"label":{"oneOf":[{"type":"string","example":"","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.31.label.oneOf.0","typeLabel":"string"},{"type":"null","example":"","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.31.label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.31.label","typeLabel":"string | null"},"api_code":{"type":"string","example":"field_1","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.31.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.31.notes.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.31.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.31.notes","typeLabel":"string | null"},"private":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.31.private","typeLabel":"boolean"},"required":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.31.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.31.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.31.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.31.next_page_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.31.previous_page_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.31.previous_page_text","typeLabel":"string | null"},"disable_previous_page":{"type":"boolean","description":"Hide the previous-page button on this page.","uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.31.count_down.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fields.items.[INDEX].oneOf.31.count_down","typeLabel":"integer | null"}},"uniqueKey":"data.fields.items.[INDEX].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":"data.fields.items.[INDEX].oneOf.32.type","typeLabel":"enum\u003cstring>"},"label":{"oneOf":[{"type":"string","example":"","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.32.label.oneOf.0","typeLabel":"string"},{"type":"null","example":"","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.32.label.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.32.label","typeLabel":"string | null"},"api_code":{"type":"string","example":"field_1","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.32.api_code","typeLabel":"string"},"notes":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.32.notes.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.32.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.32.notes","typeLabel":"string | null"},"private":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.32.private","typeLabel":"boolean"},"required":{"type":"boolean","example":false,"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.32.required","typeLabel":"boolean"},"customized_validation_message":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.32.customized_validation_message.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.32.customized_validation_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.fields.items.[INDEX].oneOf.32.customized_validation_message","typeLabel":"string | null"}},"uniqueKey":"data.fields.items.[INDEX].oneOf.32","typeLabel":"Description · object"}],"uniqueKey":"data.fields.items.[INDEX]","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"},"isRequired":true,"uniqueKey":"data.fields","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)[]"},"owned":{"type":"boolean","description":"Whether the current user is this form's creator","example":true,"isRequired":true,"uniqueKey":"data.owned","typeLabel":"boolean"},"role":{"oneOf":[{"type":"string","enum":["manager","data_maintainer","data_viewer","custom"],"example":"manager","description":"Current user's collaboration role on this form. `manager`: full control — edit the form and its settings, theme, rules, and webhooks, and manage its entries. `data_maintainer`: manage the form's entries but not the form itself. `data_viewer`: read the form's entries only. `custom`: a form-specific role with a tailored permission set.","isRequired":true,"uniqueKey":"data.role.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["manager","data_maintainer","data_viewer","custom"],"example":"manager","description":"Current user's collaboration role on this form. `manager`: full control — edit the form and its settings, theme, rules, and webhooks, and manage its entries. `data_maintainer`: manage the form's entries but not the form itself. `data_viewer`: read the form's entries only. `custom`: a form-specific role with a tailored permission set.","isRequired":true,"uniqueKey":"data.role.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.role","typeLabel":"enum\u003cstring> | null"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"name":"Customer feedback","description":"Please share your feedback","token":"Wabc12","scene":"survey","layout":"classic","locale":"en","timezone":"UTC","created_at":"2026-05-12T08:00:00Z","updated_at":"2026-05-12T09:00:00Z","last_entry_created_at":"2026-05-13T10:00:00Z","entries_count":42,"folder":{"token":"KaB2c1","name":"Work"},"fields":[{"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>"}],"owned":true,"role":"manager"}}}},"exampleType":"generated"}},"exampleType":"generated"},"6afb0351-b72b-4dd5-a2c6-f4593736e552":{"description":"Current user cannot manage the target folder","content":{"application/json":{"examples":{"forbidden":{"title":"forbidden","value":{"error":"Forbidden"}}},"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"fc3d3774-0118-4f2a-b2e4-75c136b3299e":{"description":"Target folder not found","content":{"application/json":{"examples":{"folder_not_found":{"title":"folder_not_found","value":{"error":"Target folder not found"}}},"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"05045b20-021c-4665-ae8a-939d509462cb":{"description":"Missing required parameter","content":{"application/json":{"examples":{"missing_name":{"title":"missing_name","value":{"error":"Invalid field input","error_details":[{"attribute":"name","message":"object at root is missing required properties: name"}]}}},"schema":{"type":"object","required":["error","error_details"],"description":"Returned on model validation failures. error_details lists per-field errors.","properties":{"error":{"type":"string","example":"Name can't be blank","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_details":{"type":"array","items":{"type":"object","required":["attribute","message"],"properties":{"attribute":{"type":"string","example":"name","isRequired":true,"uniqueKey":"error_details.items.[INDEX].attribute","typeLabel":"string"},"message":{"type":"string","example":"can't be blank","isRequired":true,"uniqueKey":"error_details.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error_details.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"error_details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"7a989e5e-42a4-4acd-b761-a1925de0733f":{"PersonalAccessToken":{"type":"http","scheme":"bearer","bearerFormat":"PAT","description":"Personal Access Token prefixed with `fh_`. Sent as `Authorization: Bearer fh_xxx`.\nThe scope required by each endpoint is listed in that endpoint's description.\n","scopes":["form:write"],"schemeName":"PersonalAccessToken"}}},"servers":{"8e8bfda0-f1ef-4ae4-afa9-25e9767fdcdc":{"url":"https://formhug.ai"}},"schemas":{"e4f18dca-e897-4326-9729-46ac01f92a35":{"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},"api_code":{"type":"string"},"operand_value":{"oneOf":[{"type":"number","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`."},{"type":"null","description":"Numeric weight summed when this choice is selected; required on every choice when the field is `calculable`."}]},"sub_choices":{"type":"array","items":{"$circularRef":"e4f18dca-e897-4326-9729-46ac01f92a35"}}}},"a69d5b42-a9c3-443c-a30f-873f19b46265":{"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},{"type":"null","isRequired":true}],"isRequired":true},"api_code":{"type":"string","isRequired":true},"sub_choices":{"type":"array","items":{"$circularRef":"a69d5b42-a9c3-443c-a30f-873f19b46265"}}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"PAT","description":"Personal Access Token prefixed with `fh_`. Sent as `Authorization: Bearer fh_xxx`.\nThe scope required by each endpoint is listed in that endpoint's description.\n","scopes":["form:write"],"schemeName":"PersonalAccessToken"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Personal Access Token prefixed with `fh_`. Sent as `Authorization: Bearer fh_xxx`.\nThe scope required by each endpoint is listed in that endpoint's description.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"PersonalAccessToken","name":"Authorization"}],"title":"PersonalAccessToken"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"formhug-8bc4ebd1","siteName":"FormHug","title":"Create a form - FormHug","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/forms/create-a-form.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=\"Create a blank form. Optionally supply initial fields, locale, timezone and a theme (via header_image_keywords for Unsplash-based header image). When timezone is omitted, the form uses your account\u0026#x27;s timezone, falling back to UTC if that is unset or invalid. Required scope: form:write.\">\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=\"Create a form - FormHug\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a blank form. Optionally supply initial fields, locale, timezone and a theme (via header_image_keywords for Unsplash-based header image). When timezone is omitted, the form uses your account\u0026#x27;s timezone, falling back to UTC if that is unset or invalid. Required scope: form:write.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"FormHug\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://formhug.ai/docs/api-reference/forms/create-a-form\">\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=Forms\u0026amp;title=Create+a+form\u0026amp;description=Create+a+blank+form.+Optionally+supply+initial+fields%2C+locale%2C+timezone+and+a+theme%0A%28via+%60header_image_keywords%60+for+Unsplash-based+header+image%29.+When+%60timezon\u0026amp;theme=f65d2e66686ae10fbc4af29c\u0026amp;signature=02449554c56f2591bdcad85a1fe476967d5948d7923bcd9490d05a0b92eb4ee6\">\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=\"Create a form - FormHug\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a blank form. Optionally supply initial fields, locale, timezone and a theme (via header_image_keywords for Unsplash-based header image). When timezone is omitted, the form uses your account\u0026#x27;s timezone, falling back to UTC if that is unset or invalid. Required scope: form:write.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://formhug-8bc4ebd1.mintlify.site/docs/_mintlify/api/og/v2?division=Forms\u0026amp;title=Create+a+form\u0026amp;description=Create+a+blank+form.+Optionally+supply+initial+fields%2C+locale%2C+timezone+and+a+theme%0A%28via+%60header_image_keywords%60+for+Unsplash-based+header+image%29.+When+%60timezon\u0026amp;theme=f65d2e66686ae10fbc4af29c\u0026amp;signature=02449554c56f2591bdcad85a1fe476967d5948d7923bcd9490d05a0b92eb4ee6\">\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/forms/create-a-form\">\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/forms/create-a-form.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/forms/create-a-form#webpage\",\"url\":\"https://formhug.ai/docs/api-reference/forms/create-a-form\",\"name\":\"Create a form\",\"description\":\"Create a blank form. Optionally supply initial fields, locale, timezone and a theme (via header_image_keywords for Unsplash-based header image). When timezone is omitted, the form uses your account's timezone, falling back to UTC if that is unset or invalid. Required scope: form:write.\",\"isPartOf\":{\"@id\":\"https://formhug.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://formhug.ai/docs/api-reference/forms/create-a-form#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://formhug.ai/docs/api-reference/forms/create-a-form#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Forms\",\"item\":\"https://formhug.ai/docs/api-reference/forms/list-the-current-user-forms\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a form\",\"item\":\"https://formhug.ai/docs/api-reference/forms/create-a-form\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://formhug.ai/docs/api-reference/forms/create-a-form#apireference\",\"headline\":\"Create a form\",\"name\":\"Create a form\",\"description\":\"Create a blank form. Optionally supply initial fields, locale, timezone and a theme (via header_image_keywords for Unsplash-based header image). When timezone is omitted, the form uses your account's timezone, falling back to UTC if that is unset or invalid. Required scope: form:write.\",\"url\":\"https://formhug.ai/docs/api-reference/forms/create-a-form\",\"mainEntityOfPage\":{\"@id\":\"https://formhug.ai/docs/api-reference/forms/create-a-form#webpage\"},\"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\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","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","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","description":"**Required scope:** `form:read`.","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":"Create a form - FormHug","buildId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","deploymentId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D_7my4bd.js","utils-Cq_itTNA.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B5KPEvGz.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DBX-JepP.js","snippetPresets-Bsspz-Ge.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-jcs-2nGf.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Dp53in7F.js","shallow-Dv9eUdUd.js","getApiPlaygroundDisplay-D8cDwNhi.js","CodeSnippet-DkwXLQor.js","CodeSnippets-DcSgKqs5.js","Page-t8ynOKTD.js","getPastedJson-I2RjoApV.js","icon-BIj57rZC.js","MethodPill-CTwLPWXC.js","DuplicateIcon-BJpFwygY.js","createIcon-C7PorfAe.js","DynamicMarkdown-BBht_uEs.js","SectionHeading-YIBwxbzj.js","axios-vUo_bRtp.js","Markdown--YCeFtOs.js","clsx-CrPa459s.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BWxsj3I0.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fBzVvq7k.js"]}