Change any task, including ones staff or other integrations created: title, description, due date, site, assignee or resource. Fields you leave out are unchanged, and null removes an optional one. A task.updated webhook fires unless only metadata changed. A new assignee isn’t emailed.
To change the status, use Complete a Task or Open a Task instead.
This endpoint supports expandable responses. For more, see the documentation page.
fields
string[]
Returns only the listed fields, such as id,status,site.name. Identifiers and constant fields such as object are always returned. A field inside an expandable association also needs it in expand, unless the collapsed association returns it, such as site.id. For more, see the documentation page.
Body
application/json
Update Task Request
title
string
The title of the task.
description
string | null
Description of the task. Set to null to remove it.
due_at
string<date-time> | null
Due date and time of the task (ISO 8601 date-time). Set to null to remove it.
site
object | null
Site the task belongs to. Set to null to remove the site.
Show child attributes
assignee
object | null
Staff member assigned to the task. Set to null to remove the assignee.
Resource the task is about: a unit, contact or subscription. Set to null to remove the resource.
Option 1
Option 2
Option 3
Show child attributes
Response
Task updated
Single Task
task
object
required
Task
Show child attributes
meta
object
required
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Stora","colors":{"primary":"#05195A","light":"#F54309","dark":"#13183E"},"logo":{"light":"https://mintcdn.com/stora-f4154d0c/OkDRMCLydnzT1IFG/logo/stora-logo.svg?fit=max\u0026auto=format\u0026n=OkDRMCLydnzT1IFG\u0026q=85\u0026s=208e8987df1797b88ccc8c1c418f8126","dark":"https://mintcdn.com/stora-f4154d0c/dmKerB3EhgN2KR1E/logo/stora-logo-white.svg?fit=max\u0026auto=format\u0026n=dmKerB3EhgN2KR1E\u0026q=85\u0026s=952b96d5123da5b794de397c9d2edacb"},"favicon":"https://mintcdn.com/stora-f4154d0c/OkDRMCLydnzT1IFG/favicon.svg?fit=max\u0026auto=format\u0026n=OkDRMCLydnzT1IFG\u0026q=85\u0026s=03693c34ec06252c51107f6d1057a0ac","appearance":{"default":"system"},"navbar":{"links":[{"href":"https://stora.co/contact","label":"Contact"}],"primary":{"type":"button","label":"Book a demo","href":"https://stora.co/get-started"}},"integrations":{"intercom":{"appId":"qaw9usmk"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stora-f4154d0c","hasAudioNarration":false,"actualSubdomain":"stora-f4154d0c","customDomains":["docs.stora.co"],"gitSource":{"type":"github","owner":"stora-co","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0ad9ad2db098fe8411a45f","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"API reference","count":188},{"language":"default","tag":"Webhooks","count":73},{"language":"default","tag":"Guides","count":31},{"language":"default","tag":"Opportunities","count":10},{"language":"default","tag":"Building integrations","count":8},{"language":"default","tag":"Deals","count":8},{"language":"default","tag":"Orders","count":8},{"language":"default","tag":"Working with the API","count":7},{"language":"default","tag":"Tasks","count":7},{"language":"default","tag":"Units","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"api@stora.co","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img.nav-logo{height:21px}.mermaid .node rect{rx:0.375rem;ry:0.375rem}.mermaid .edgeLabel,.mermaid .edgeLabel .labelBkg{border-radius:4px!important}[data-component-part=\"update-tag\"]{padding:0.0625rem 0.375rem;background-color:#f4f4f5;border:1px solid #e4e4e7;font-size:0.75rem}.dark [data-component-part=\"update-tag\"]{background-color:#27272a;border-color:#3f3f46}.mermaid .edgeLabel p{color:#ffffff!important;font-size:0.625rem!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:0.05em!important}.dark .mermaid .messageText,.dark .mermaid .labelText,.dark .mermaid .labelText>tspan,.dark .mermaid .loopText,.dark .mermaid .loopText>tspan{fill:#f4f4f5!important;stroke:none!important}.dark .mermaid .messageLine0,.dark .mermaid .messageLine1{stroke:#ff7237!important}.dark .mermaid marker[id$=\"-arrowhead\"] path,.dark .mermaid marker[id$=\"-filled-head\"] path{fill:#ff7237!important;stroke:#ff7237!important}.dark .mermaid marker[id$=\"-crosshead\"] path{stroke:#ff7237!important}[data-nav-tag=\"Beta\"],[data-nav-tag=\"Beta\"] *{background-color:#f87171;color:white!important}[data-nav-tag=\"Changing\"],[data-nav-tag=\"Changing\"] *{background-color:#f59e0b;color:white!important}"}]}
{"page":{"pagePath":"2025-09/api-reference/tasks/update-a-task","slug":"/2025-09/api-reference/tasks/update-a-task","pageMetadata":{"title":"Update a Task","description":"Change any task, including ones staff or other integrations created: title, description, due date, site, assignee or resource. Fields you leave out are unchanged, and `null` removes an optional one. A `task.updated` webhook fires unless only `metadata` changed. A new assignee isn't emailed.\n\nTo change the status, use **Complete a Task** or **Open a Task** instead.\n\nRequired authorization scope: `public.task:write`\n","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/tasks/{task_id}","href":"/2025-09/api-reference/tasks/update-a-task","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: [\"Change any task, including ones staff or other integrations created: title, description, due date, site, assignee or resource. Fields you leave out are unchanged, and \", _jsx(_components.code, {\n children: \"null\"\n }), \" removes an optional one. A \", _jsx(_components.code, {\n children: \"task.updated\"\n }), \" webhook fires unless only \", _jsx(_components.code, {\n children: \"metadata\"\n }), \" changed. A new assignee isn’t emailed.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"To change the status, use \", _jsx(_components.strong, {\n children: \"Complete a Task\"\n }), \" or \", _jsx(_components.strong, {\n children: \"Open a Task\"\n }), \" instead.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Required authorization scope: \", _jsx(_components.code, {\n children: \"public.task: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":"Update a Task","description":"Change any task, including ones staff or other integrations created: title, description, due date, site, assignee or resource. Fields you leave out are unchanged, and `null` removes an optional one. A `task.updated` webhook fires unless only `metadata` changed. A new assignee isn't emailed.\n\nTo change the status, use **Complete a Task** or **Open a Task** instead.\n\nRequired authorization scope: `public.task:write`\n","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/tasks/{task_id}","href":"/2025-09/api-reference/tasks/update-a-task","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Update a Task","tags":["Tasks"],"operationId":"task_update","description":"Change any task, including ones staff or other integrations created: title, description, due date, site, assignee or resource. Fields you leave out are unchanged, and `null` removes an optional one. A `task.updated` webhook fires unless only `metadata` changed. A new assignee isn't emailed.\n\nTo change the status, use **Complete a Task** or **Open a Task** instead.\n\nRequired authorization scope: `public.task:write`\n","security":["8e697bf8-ef4c-40b2-88bb-04fc8c9089fc","88095e2d-67a2-49b1-a03c-b66af9451b81"],"parameters":["fc97f45b-a20f-4e5e-aee8-c01b5088b009","c210ed28-d898-4477-9257-f51524fafab3"],"x-mint":{"metadata":{"tag":"Beta"}},"responses":{"200":"c4d838c0-ab7a-4bf2-8332-2883c1a1020a","404":"f2903bac-90a7-4d7f-bc2d-b01227bd1e0a","422":"9e46a799-a3c7-4bf1-b1e5-7b91984051ad"},"requestBody":"5507bb80-9524-4dc2-95fc-f84f43a57a8f","method":"patch","type":"path","servers":["dfd9468a-821b-43d2-b340-0e11580495e0"],"path":"/2025-09/tasks/{task_id}","baseUrlOptions":["https://public-api.stora.co"],"title":"Update a Task","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"fc97f45b-a20f-4e5e-aee8-c01b5088b009":{"name":"expand","in":"query","required":false,"description":"This endpoint supports expandable responses. For more, see the [documentation page](https://docs.stora.co/2025-09/guides/responses#expanding-responses).","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX]","typeLabel":"string"},"isRequired":false,"description":"This endpoint supports expandable responses. For more, see the [documentation page](https://docs.stora.co/2025-09/guides/responses#expanding-responses).","uniqueKey":"","typeLabel":"string[]"}},"c210ed28-d898-4477-9257-f51524fafab3":{"name":"fields","in":"query","required":false,"description":"Returns only the listed fields, such as `id,status,site.name`. Identifiers and constant fields such as `object` are always returned. A field inside an expandable association also needs it in `expand`, unless the collapsed association returns it, such as `site.id`. For more, see the [documentation page](https://docs.stora.co/2025-09/guides/responses#selecting-fields).","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX]","typeLabel":"string"},"isRequired":false,"description":"Returns only the listed fields, such as `id,status,site.name`. Identifiers and constant fields such as `object` are always returned. A field inside an expandable association also needs it in `expand`, unless the collapsed association returns it, such as `site.id`. For more, see the [documentation page](https://docs.stora.co/2025-09/guides/responses#selecting-fields).","uniqueKey":"","typeLabel":"string[]"}},"dc8ca80b-6ab1-4e26-81de-67d58f7faa3d":{"name":"task_id","in":"path","required":true,"description":"The ID of the task","schema":{"type":"string","pattern":"^task_","isRequired":true,"description":"The ID of the task","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"The title of the task.","uniqueKey":"title","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Description of the task. Set to `null` to remove it.","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the task. Set to `null` to remove it.","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"due_at":{"oneOf":[{"type":"string","format":"date-time","description":"Due date and time of the task (ISO 8601 date-time). Set to `null` to remove it.","uniqueKey":"due_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Due date and time of the task (ISO 8601 date-time). Set to `null` to remove it.","uniqueKey":"due_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"due_at","typeLabel":"string\u003cdate-time> | null"},"site":{"oneOf":[{"type":"object","required":["id"],"properties":{"id":{"type":"string","pattern":"^site_","description":"ID of the site (`site_…`).","isRequired":true,"uniqueKey":"site.oneOf.0.id","typeLabel":"string"}},"additionalProperties":false,"description":"Site the task belongs to. Set to `null` to remove the site.","uniqueKey":"site.oneOf.0","typeLabel":"object"},{"type":"null","required":["id"],"properties":{"id":{"type":"string","pattern":"^site_","description":"ID of the site (`site_…`)."}},"additionalProperties":false,"description":"Site the task belongs to. Set to `null` to remove the site.","uniqueKey":"site.oneOf.1","typeLabel":"null"}],"uniqueKey":"site","typeLabel":"object | null"},"assignee":{"oneOf":[{"type":"object","required":["id"],"properties":{"id":{"type":"string","pattern":"^staff_","description":"ID of the staff member (`staff_…`).","isRequired":true,"uniqueKey":"assignee.oneOf.0.id","typeLabel":"string"}},"additionalProperties":false,"description":"Staff member assigned to the task. Set to `null` to remove the assignee.","uniqueKey":"assignee.oneOf.0","typeLabel":"object"},{"type":"null","required":["id"],"properties":{"id":{"type":"string","pattern":"^staff_","description":"ID of the staff member (`staff_…`)."}},"additionalProperties":false,"description":"Staff member assigned to the task. Set to `null` to remove the assignee.","uniqueKey":"assignee.oneOf.1","typeLabel":"null"}],"uniqueKey":"assignee","typeLabel":"object | null"},"metadata":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"string"},"maxProperties":20,"description":"Set of key-value pairs for storing additional information on the task. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","uniqueKey":"metadata.oneOf.1.additionalProperties","typeLabel":"string"},"maxProperties":20,"description":"Set of key-value pairs for storing additional information on the task. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"},"resource":{"oneOf":[{"type":"object","description":"Resource the task is about: a unit, contact or subscription. Set to `null` to remove the resource.","required":["id"],"properties":{"id":{"type":"string","pattern":"^unit_","description":"ID of the unit (`unit_…`).","isRequired":true,"uniqueKey":"resource.oneOf.0.id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"resource.oneOf.0","typeLabel":"object"},{"type":"object","description":"Resource the task is about: a unit, contact or subscription. Set to `null` to remove the resource.","required":["id"],"properties":{"id":{"type":"string","pattern":"^con_","description":"ID of the contact (`con_…`).","isRequired":true,"uniqueKey":"resource.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"resource.oneOf.1","typeLabel":"object"},{"type":"object","description":"Resource the task is about: a unit, contact or subscription. Set to `null` to remove the resource.","required":["id"],"properties":{"id":{"type":"string","pattern":"^sub_","description":"ID of the subscription (`sub_…`).","isRequired":true,"uniqueKey":"resource.oneOf.2.id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"resource.oneOf.2","typeLabel":"object"},{"type":"null","description":"Resource the task is about: a unit, contact or subscription. Set to `null` to remove the resource.","uniqueKey":"resource.oneOf.3","typeLabel":"null"}],"uniqueKey":"resource","typeLabel":"object · object · object · null"}},"additionalProperties":false,"description":"Update Task Request","uniqueKey":"","typeLabel":"object"},"examples":{"task_successfully_updated":{"title":"task_successfully_updated","summary":"task successfully updated","value":{"title":"Updated Task Title","description":"Updated description for the task.","due_at":"2025-02-25T14:41:00Z","assignee":{"id":"staff_06778802edebb94d"},"site":{"id":"site_14b419f1096013f1"},"resource":{"id":"unit_1e36123098e22cf8"},"metadata":{"source":"api","external_id":"ext_456"}}},"task_successfully_updated_to_remove_associations":{"title":"task_successfully_updated_to_remove_associations","summary":"task successfully updated to remove associations","value":{"site":null,"assignee":null,"resource":null}},"task_successfully_updated_with_description_null":{"title":"task_successfully_updated_with_description_null","summary":"task successfully updated with description null","value":{"description":null}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"c4d838c0-ab7a-4bf2-8332-2883c1a1020a":{"description":"Task updated","content":{"application/json":{"examples":{"task_successfully_updated":{"title":"task_successfully_updated","summary":"task successfully updated","value":{"task":{"id":"task_195h6kfm9ro15lof","assignee":{"id":"staff_06778802edebb94d"},"completed_at":null,"created_at":"2025-02-22T14:41:00Z","creator":{"id":"staff_06778802edebb94d"},"description":"Updated description for the task.","due_at":"2025-02-25T14:41:00Z","metadata":{"source":"api","external_id":"ext_456"},"resource":{"id":"unit_1e36123098e22cf8"},"site":{"id":"site_14b419f1096013f1"},"status":"open","title":"Updated Task Title","updated_at":"2025-02-22T14:41:00Z"},"meta":{"request_id":"01563646-58c1-4607-8fe0-cae3e92c4477","curies":[{"name":"bo","href":"https://app.stora.test{rel}","templated":true,"title":"Backoffice"},{"name":"sf","href":"https://acme.stora.test{rel}","templated":true,"title":"Storefront"}]}}},"task_successfully_updated_to_remove_associations":{"title":"task_successfully_updated_to_remove_associations","summary":"task successfully updated to remove associations","value":{"task":{"id":"task_195h6kfm9ro15lof","assignee":null,"completed_at":null,"created_at":"2025-02-22T14:41:00Z","creator":{"id":"staff_06778802edebb94d"},"description":"\u003cp>This is a test task.\u003c/p>","due_at":"2025-02-24T14:41:00Z","metadata":{},"resource":null,"site":null,"status":"open","title":"My Task","updated_at":"2025-02-22T14:41:00Z"},"meta":{"request_id":"01563646-58c1-4607-8fe0-cae3e92c4477","curies":[{"name":"bo","href":"https://app.stora.test{rel}","templated":true,"title":"Backoffice"},{"name":"sf","href":"https://acme.stora.test{rel}","templated":true,"title":"Storefront"}]}}},"task_successfully_updated_with_description_null":{"title":"task_successfully_updated_with_description_null","summary":"task successfully updated with description null","value":{"task":{"id":"task_195h6kfm9ro15lof","assignee":{"id":"staff_06778802edebb94d"},"completed_at":null,"created_at":"2025-02-22T14:41:00Z","creator":{"id":"staff_06778802edebb94d"},"description":null,"due_at":"2025-02-24T14:41:00Z","metadata":{},"resource":{"id":"unit_1e36123098e22cf8"},"site":{"id":"site_14b419f1096013f1"},"status":"open","title":"My Task","updated_at":"2025-02-22T14:41:00Z"},"meta":{"request_id":"01563646-58c1-4607-8fe0-cae3e92c4477","curies":[{"name":"bo","href":"https://app.stora.test{rel}","templated":true,"title":"Backoffice"},{"name":"sf","href":"https://acme.stora.test{rel}","templated":true,"title":"Storefront"}]}}}},"schema":{"type":"object","required":["task","meta"],"properties":{"task":{"type":"object","description":"Task","required":["id","assignee","completed_at","created_at","creator","description","due_at","metadata","resource","site","status","title","updated_at"],"properties":{"id":{"type":"string","pattern":"^task_","description":"Unique identifier for the task (`task_…`).","isRequired":true,"uniqueKey":"task.id","typeLabel":"string"},"assignee":{"oneOf":[{"type":"object","description":"Staff member assigned to the task. **Expandable** (shows only ID when not expanded).","required":["id","created_at","email","name","updated_at"],"properties":{"id":{"type":"string","pattern":"^staff_","description":"Unique identifier for the staff member (`staff_…`).","isRequired":true,"uniqueKey":"task.assignee.oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the staff.","isRequired":true,"uniqueKey":"task.assignee.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"email":{"type":"string","format":"email","description":"Email address of the staff member.","isRequired":true,"uniqueKey":"task.assignee.oneOf.0.email","typeLabel":"string\u003cemail>"},"name":{"type":"string","description":"Full name of the staff member.","isRequired":true,"uniqueKey":"task.assignee.oneOf.0.name","typeLabel":"string"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the staff.","isRequired":true,"uniqueKey":"task.assignee.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.assignee.oneOf.0","typeLabel":"object"},{"type":"object","description":"Staff member assigned to the task. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^staff_","description":"Unique identifier for the staff member (`staff_…`).","isRequired":true,"uniqueKey":"task.assignee.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.assignee.oneOf.1","typeLabel":"object"},{"type":"null","description":"Staff member assigned to the task. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.assignee.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.assignee","typeLabel":"object · object · null"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","description":"Completion date and time for the task.","isRequired":true,"uniqueKey":"task.completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Completion date and time for the task.","isRequired":true,"uniqueKey":"task.completed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.completed_at","typeLabel":"string\u003cdate-time> | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the task.","isRequired":true,"uniqueKey":"task.created_at","typeLabel":"string\u003cdate-time>"},"creator":{"oneOf":[{"type":"object","description":"Creator of the task. Can be Staff, Access Token, or Application. **Expandable** (shows only ID when not expanded).","required":["id","created_at","email","name","updated_at"],"properties":{"id":{"type":"string","pattern":"^staff_","description":"Unique identifier for the staff member (`staff_…`).","isRequired":true,"uniqueKey":"task.creator.oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the staff.","isRequired":true,"uniqueKey":"task.creator.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"email":{"type":"string","format":"email","description":"Email address of the staff member.","isRequired":true,"uniqueKey":"task.creator.oneOf.0.email","typeLabel":"string\u003cemail>"},"name":{"type":"string","description":"Full name of the staff member.","isRequired":true,"uniqueKey":"task.creator.oneOf.0.name","typeLabel":"string"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the staff.","isRequired":true,"uniqueKey":"task.creator.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.creator.oneOf.0","typeLabel":"object"},{"type":"object","description":"Creator of the task. Can be Staff, Access Token, or Application. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^staff_","description":"Unique identifier for the staff member (`staff_…`).","isRequired":true,"uniqueKey":"task.creator.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.creator.oneOf.1","typeLabel":"object"},{"type":"object","description":"Creator of the task. Can be Staff, Access Token, or Application. **Expandable** (shows only ID when not expanded).","required":["id","name"],"properties":{"id":{"type":"string","description":"Unique identifier for the access token or application.","isRequired":true,"uniqueKey":"task.creator.oneOf.2.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the access token or application.","isRequired":true,"uniqueKey":"task.creator.oneOf.2.name","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.creator.oneOf.2","typeLabel":"object"},{"type":"object","description":"Creator of the task. Can be Staff, Access Token, or Application. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","description":"Unique identifier for the access token or application.","isRequired":true,"uniqueKey":"task.creator.oneOf.3.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.creator.oneOf.3","typeLabel":"object"},{"type":"null","description":"Creator of the task. Can be Staff, Access Token, or Application. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.creator.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.creator","typeLabel":"object · object · object · object · null"},"description":{"oneOf":[{"type":"string","format":"html","description":"Optional description of the task.","isRequired":true,"uniqueKey":"task.description.oneOf.0","typeLabel":"string\u003chtml>"},{"type":"null","format":"html","description":"Optional description of the task.","isRequired":true,"uniqueKey":"task.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.description","typeLabel":"string\u003chtml> | null"},"due_at":{"oneOf":[{"type":"string","format":"date-time","description":"Due date and time for the task.","isRequired":true,"uniqueKey":"task.due_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Due date and time for the task.","isRequired":true,"uniqueKey":"task.due_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.due_at","typeLabel":"string\u003cdate-time> | null"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"task.metadata.additionalProperties","typeLabel":"string"},"maxProperties":20,"description":"Set of key-value pairs for storing additional information. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","isRequired":true,"uniqueKey":"task.metadata","typeLabel":"object"},"resource":{"oneOf":[{"type":"object","description":"Resource associated with the task. Can be a Unit, Contact, or Subscription. **Expandable** (shows only ID when not expanded).","required":["id","created_at","reference_id","status","unit_allocation","unit_type","updated_at"],"properties":{"id":{"type":"string","pattern":"^unit_","description":"Unique identifier for the unit (`unit_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the unit.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"reference_id":{"type":"string","description":"Reference identifier for the unit.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.reference_id","typeLabel":"string"},"status":{"type":"string","enum":["available","occupied","overlock","repossessed","reserved","unavailable"],"description":"Status of the unit.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.status","typeLabel":"enum\u003cstring>"},"unit_allocation":{"oneOf":[{"type":"object","description":"Current allocation for the unit. **Expandable** (shows only ID when not expanded).","required":["id","created_at","granted_access_at","reserved_at","tenancy","updated_at"],"properties":{"id":{"type":"string","pattern":"^alloc_","description":"Unique identifier for the unit allocation (`alloc_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"granted_access_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the contact was granted access to the unit, which is the move-in date. `null` until access is granted.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.granted_access_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the contact was granted access to the unit, which is the move-in date. `null` until access is granted.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.granted_access_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.granted_access_at","typeLabel":"string\u003cdate-time> | null"},"reserved_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the unit was reserved for the contact. A reserved unit is held for the contact, who doesn't have access yet. `null` if the unit was allocated without a reservation.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.reserved_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the unit was reserved for the contact. A reserved unit is held for the contact, who doesn't have access yet. `null` if the unit was allocated without a reservation.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.reserved_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.reserved_at","typeLabel":"string\u003cdate-time> | null"},"tenancy":{"oneOf":[{"type":"object","description":"Tenancy associated with this allocation. **Expandable** (shows only ID when not expanded).","required":["id","contact","created_at","ends_at","order","site","starts_at","subscription","updated_at"],"properties":{"id":{"type":"string","pattern":"^ten_","description":"Unique identifier for the tenancy (`ten_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.id","typeLabel":"string"},"contact":{"oneOf":[{"type":"object","description":"Contact associated with the tenancy. **Expandable** (shows only ID when not expanded).","required":["id","accounting_code","address","company_registration_number","created_at","email","full_name","identity_check","marketing_source","metadata","phone_number","source","status","stripe_customer_id","tax_id","tenancies_count","type","updated_at","use_case"],"properties":{"id":{"type":"string","pattern":"^con_","description":"Unique identifier for the contact (`con_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.id","typeLabel":"string"},"accounting_code":{"oneOf":[{"type":"string","description":"The contact's account reference in your accounting software, included in invoice exports.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.accounting_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact's account reference in your accounting software, included in invoice exports.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.accounting_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.accounting_code","typeLabel":"string | null"},"address":{"oneOf":[{"type":"object","description":"Address of the contact, `null` when no address is set.","required":["city","country_alpha2","line_1","line_2","postal_code","state"],"properties":{"city":{"oneOf":[{"type":"string","description":"City","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.city","typeLabel":"string | null"},"country_alpha2":{"oneOf":[{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW",null],"description":"Country Alpha 2","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.country_alpha2.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW",null],"description":"Country Alpha 2","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.country_alpha2.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.country_alpha2","typeLabel":"enum\u003cstring> | null"},"line_1":{"oneOf":[{"type":"string","description":"Line 1","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"Line 1","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Line 2","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Line 2","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.line_2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"State or province, ISO 3166-2 only","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","description":"State or province, ISO 3166-2 only","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0.state","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the contact, `null` when no address is set.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.address","typeLabel":"object | null"},"company_registration_number":{"oneOf":[{"type":"string","description":"Company registration number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.company_registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Company registration number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.company_registration_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.company_registration_number","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"email":{"type":"string","format":"email","description":"Email address of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.email","typeLabel":"string\u003cemail>"},"full_name":{"type":"string","description":"Full name of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.full_name","typeLabel":"string"},"identity_check":{"type":"object","description":"Identity check requirement and status of the contact.","required":["required","status"],"properties":{"required":{"type":"boolean","description":"Whether the contact is required to complete identity verification based on the operator's checkin settings.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.identity_check.required","typeLabel":"boolean"},"status":{"type":"string","enum":["failed","processing","succeeded","cancelled","not_attempted"],"description":"Status of the contact's latest identity verification. `not_attempted` is unique to this field (infers no identity verification resource yet exists for this contact).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.identity_check.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.identity_check","typeLabel":"object"},"marketing_source":{"oneOf":[{"type":"string","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"description":"Source of marketing for the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.marketing_source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"description":"Source of marketing for the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.marketing_source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.marketing_source","typeLabel":"enum\u003cstring> | null"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.metadata.additionalProperties","typeLabel":"string"},"maxProperties":20,"description":"Set of key-value pairs for storing additional information. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.metadata","typeLabel":"object"},"phone_number":{"oneOf":[{"type":"string","description":"Phone number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.phone_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.phone_number","typeLabel":"string | null"},"source":{"oneOf":[{"type":"string","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"description":"Source of the contact information.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"description":"Source of the contact information.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.source","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","enum":["lead","customer","churned"],"description":"Status of the contact, derived from its tenancies. `lead` means the contact has no tenancies, and is the default. `customer` means at least one tenancy hasn't ended. `churned` means all tenancies have ended.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.status","typeLabel":"enum\u003cstring>"},"stripe_customer_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated. Will be removed in a future API version.** Stripe Customer identifier of the contact. Kept for backwards compatibility. Don't use it in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.stripe_customer_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated. Will be removed in a future API version.** Stripe Customer identifier of the contact. Kept for backwards compatibility. Don't use it in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.stripe_customer_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.stripe_customer_id","typeLabel":"string | null"},"tax_id":{"oneOf":[{"type":"string","description":"Tax identification number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax identification number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.tax_id","typeLabel":"string | null"},"tenancies_count":{"type":"integer","description":"Number of tenancies associated with the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.tenancies_count","typeLabel":"integer"},"type":{"oneOf":[{"type":"string","enum":["domestic","company","student","charity","local_authority",null],"description":"Type of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["domestic","company","student","charity","local_authority",null],"description":"Type of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"use_case":{"oneOf":[{"type":"string","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"description":"Use case for the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.use_case.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"description":"Use case for the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.use_case.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0.use_case","typeLabel":"enum\u003cstring> | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.0","typeLabel":"object"},{"type":"object","description":"Contact associated with the tenancy. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^con_","description":"Unique identifier for the contact (`con_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.contact","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the tenancy.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"ends_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time for end of the tenancy period.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.ends_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time for end of the tenancy period.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.ends_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.ends_at","typeLabel":"string\u003cdate-time> | null"},"order":{"oneOf":[{"type":"object","description":"Order associated with the tenancy. **Expandable** (shows only ID when not expanded).","required":["id","billing_period","contract_template","coupon","created_at","creator","email_notifications","line_items","metadata","one_time_total","one_time_total_excluding_tax","payment_method","payment_url","purchase_order_number","source","starts_at","status","subtotal","tax","total","total_discount","total_excluding_tax","updated_at"],"properties":{"id":{"type":"string","pattern":"^order_","description":"Unique identifier for the order (`order_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.id","typeLabel":"string"},"billing_period":{"oneOf":[{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Billing period of the order, `null` when not set.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.billing_period.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Billing period of the order, `null` when not set.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.billing_period.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.billing_period","typeLabel":"enum\u003cstring> | null"},"contract_template":{"oneOf":[{"type":"object","description":"Contract template associated with the order. **Expandable** (shows only ID when not expanded).","required":["id","created_at","name","updated_at"],"properties":{"id":{"type":"string","pattern":"^ctpl_","description":"Unique identifier for the contract template (`ctpl_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.contract_template.oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the contract template.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.contract_template.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"name":{"type":"string","description":"Name of the contract template.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.contract_template.oneOf.0.name","typeLabel":"string"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the contract template.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.contract_template.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.contract_template.oneOf.0","typeLabel":"object"},{"type":"object","description":"Contract template associated with the order. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^ctpl_","description":"Unique identifier for the contract template (`ctpl_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.contract_template.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.contract_template.oneOf.1","typeLabel":"object"},{"type":"null","description":"Contract template associated with the order. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.contract_template.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.contract_template","typeLabel":"object · object · null"},"coupon":{"oneOf":[{"type":"object","description":"Coupon associated with the order. **Expandable** (shows only ID when not expanded).","required":["id","auto_apply_to","billing_period","code","created_at","duration","max_redemptions","months","name","public","title","type","updated_at"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.id","typeLabel":"string"},"auto_apply_to":{"type":"object","description":"Line items the coupon is applied to automatically when used on an order.","required":["products","protections","subscriptions","unit_types"],"properties":{"products":{"type":"boolean","description":"Whether the coupon applies to product line items.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.auto_apply_to.products","typeLabel":"boolean"},"protections":{"type":"boolean","description":"Whether the coupon applies to protection line items.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.auto_apply_to.protections","typeLabel":"boolean"},"subscriptions":{"type":"boolean","description":"Whether the coupon applies to the subscription.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.auto_apply_to.subscriptions","typeLabel":"boolean"},"unit_types":{"type":"boolean","description":"Whether the coupon applies to unit type line items.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.auto_apply_to.unit_types","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.auto_apply_to","typeLabel":"object"},"billing_period":{"oneOf":[{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.billing_period.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.billing_period.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.billing_period","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.code","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"duration":{"type":"string","enum":["once","forever","repeating"],"description":"Duration of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.duration","typeLabel":"enum\u003cstring>"},"max_redemptions":{"oneOf":[{"type":"integer","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.max_redemptions.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.max_redemptions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.max_redemptions","typeLabel":"integer | null"},"months":{"oneOf":[{"type":"integer","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.months.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.months.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.months","typeLabel":"integer | null"},"name":{"type":"string","description":"Name of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.name","typeLabel":"string"},"public":{"type":"boolean","description":"Indicates if the coupon is publicly available for any contact to use. When set to `true`, the `code` field is not used.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.public","typeLabel":"boolean"},"title":{"oneOf":[{"type":"string","description":"Title of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.title","typeLabel":"string | null"},"type":{"type":"string","enum":["percentage","amount"],"description":"Type of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.type","typeLabel":"enum\u003cstring>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"amount":{"type":"object","description":"Amount deducted from the price when the coupon is applied.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.amount.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.amount.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.amount.formatted","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.amount","typeLabel":"object"},"percent":{"type":"number","description":"Percentage off the price, greater than 0 and at most 100, with up to 2 decimal places. `20` means 20% off.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0.percent","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.0","typeLabel":"object"},{"type":"object","description":"Coupon associated with the order. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.1","typeLabel":"object"},{"type":"null","description":"Coupon associated with the order. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.coupon","typeLabel":"object · object · null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the order.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"creator":{"oneOf":[{"type":"object","description":"Creator of the order. Can be a Contact (for orders made on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","required":["id","created_at","email","name","updated_at"],"properties":{"id":{"type":"string","pattern":"^staff_","description":"Unique identifier for the staff member (`staff_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the staff.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"email":{"type":"string","format":"email","description":"Email address of the staff member.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.0.email","typeLabel":"string\u003cemail>"},"name":{"type":"string","description":"Full name of the staff member.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.0.name","typeLabel":"string"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the staff.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.0","typeLabel":"object"},{"type":"object","description":"Creator of the order. Can be a Contact (for orders made on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^staff_","description":"Unique identifier for the staff member (`staff_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.1","typeLabel":"object"},{"type":"object","description":"Creator of the order. Can be a Contact (for orders made on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","required":["id","accounting_code","address","company_registration_number","created_at","email","full_name","identity_check","marketing_source","metadata","phone_number","source","status","stripe_customer_id","tax_id","tenancies_count","type","updated_at","use_case"],"properties":{"id":{"type":"string","pattern":"^con_","description":"Unique identifier for the contact (`con_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.id","typeLabel":"string"},"accounting_code":{"oneOf":[{"type":"string","description":"The contact's account reference in your accounting software, included in invoice exports.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.accounting_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact's account reference in your accounting software, included in invoice exports.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.accounting_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.accounting_code","typeLabel":"string | null"},"address":{"type":"any","description":"Address of the contact, `null` when no address is set.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.address","typeLabel":"any"},"company_registration_number":{"oneOf":[{"type":"string","description":"Company registration number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.company_registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Company registration number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.company_registration_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.company_registration_number","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.created_at","typeLabel":"string\u003cdate-time>"},"email":{"type":"string","format":"email","description":"Email address of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.email","typeLabel":"string\u003cemail>"},"full_name":{"type":"string","description":"Full name of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.full_name","typeLabel":"string"},"identity_check":{"type":"object","description":"Identity check requirement and status of the contact.","required":["required","status"],"properties":{"required":{"type":"boolean","description":"Whether the contact is required to complete identity verification based on the operator's checkin settings.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.identity_check.required","typeLabel":"boolean"},"status":{"type":"string","enum":["failed","processing","succeeded","cancelled","not_attempted"],"description":"Status of the contact's latest identity verification. `not_attempted` is unique to this field (infers no identity verification resource yet exists for this contact).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.identity_check.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.identity_check","typeLabel":"object"},"marketing_source":{"oneOf":[{"type":"string","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"description":"Source of marketing for the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.marketing_source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"description":"Source of marketing for the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.marketing_source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.marketing_source","typeLabel":"enum\u003cstring> | null"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.metadata.additionalProperties","typeLabel":"string"},"maxProperties":20,"description":"Set of key-value pairs for storing additional information. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.metadata","typeLabel":"object"},"phone_number":{"oneOf":[{"type":"string","description":"Phone number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.phone_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.phone_number","typeLabel":"string | null"},"source":{"oneOf":[{"type":"string","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"description":"Source of the contact information.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"description":"Source of the contact information.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.source","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","enum":["lead","customer","churned"],"description":"Status of the contact, derived from its tenancies. `lead` means the contact has no tenancies, and is the default. `customer` means at least one tenancy hasn't ended. `churned` means all tenancies have ended.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.status","typeLabel":"enum\u003cstring>"},"stripe_customer_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated. Will be removed in a future API version.** Stripe Customer identifier of the contact. Kept for backwards compatibility. Don't use it in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.stripe_customer_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated. Will be removed in a future API version.** Stripe Customer identifier of the contact. Kept for backwards compatibility. Don't use it in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.stripe_customer_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.stripe_customer_id","typeLabel":"string | null"},"tax_id":{"oneOf":[{"type":"string","description":"Tax identification number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax identification number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.tax_id","typeLabel":"string | null"},"tenancies_count":{"type":"integer","description":"Number of tenancies associated with the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.tenancies_count","typeLabel":"integer"},"type":{"oneOf":[{"type":"string","enum":["domestic","company","student","charity","local_authority",null],"description":"Type of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["domestic","company","student","charity","local_authority",null],"description":"Type of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.type","typeLabel":"enum\u003cstring> | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.updated_at","typeLabel":"string\u003cdate-time>"},"use_case":{"oneOf":[{"type":"string","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"description":"Use case for the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.use_case.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"description":"Use case for the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.use_case.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2.use_case","typeLabel":"enum\u003cstring> | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.2","typeLabel":"object"},{"type":"object","description":"Creator of the order. Can be a Contact (for orders made on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^con_","description":"Unique identifier for the contact (`con_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.3.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.3","typeLabel":"object"},{"type":"object","description":"Creator of the order. Can be a Contact (for orders made on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","required":["id","name"],"properties":{"id":{"type":"string","description":"Unique identifier for the access token or application.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.4.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the access token or application.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.4.name","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.4","typeLabel":"object"},{"type":"object","description":"Creator of the order. Can be a Contact (for orders made on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","description":"Unique identifier for the access token or application.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.5.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.5","typeLabel":"object"},{"type":"null","description":"Creator of the order. Can be a Contact (for orders made on the storefront), Staff, Access Token or Application. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator.oneOf.6","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.creator","typeLabel":"object · object · object · object · object · object · null"},"email_notifications":{"type":"object","description":"Email notifications settings for the order.","required":["booking_confirmation","move_in_day","payment_details"],"properties":{"booking_confirmation":{"type":"boolean","description":"Whether to send the booking confirmation email.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.email_notifications.booking_confirmation","typeLabel":"boolean"},"move_in_day":{"type":"boolean","description":"Whether to send the move-in day email.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.email_notifications.move_in_day","typeLabel":"boolean"},"payment_details":{"type":"boolean","description":"Whether to send the email with a link to complete payment when the order is finalized.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.email_notifications.payment_details","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.email_notifications","typeLabel":"object"},"line_items":{"type":"array","items":{"oneOf":[{"type":"object","description":"Order Line Item","required":["id","created_at","discount_total","item","price","quantity","tax","total","total_excluding_tax","type","updated_at"],"properties":{"id":{"type":"string","pattern":"^olitm_","description":"Unique identifier for the order line item (`olitm_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the order line item.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"discount_total":{"type":"object","description":"Discount towards line item.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.discount_total.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.discount_total.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.discount_total.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.discount_total","typeLabel":"object"},"item":{"oneOf":[{"type":"object","description":"Item associated with the line item. Can be a Unit type, Protection level, or Product. **Expandable** (shows only ID when not expanded).","required":["id","_links","created_at","dimensions","dynamic_pricing","images","live_prices","name","promotion","require_insurance_coverage","require_security_deposit","security_deposit","selling_points","size_description","slug","status","stripe_product_id","updated_at"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.id","typeLabel":"string"},"_links":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"href":{"type":"string","description":"Relative path for API links, relative path for CURIE links.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0._links.additionalProperties.href","typeLabel":"string"},"method":{"type":"string","description":"Available only for API links. Other links use always `get`.","enum":["get","post","patch","delete"],"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0._links.additionalProperties.method","typeLabel":"enum\u003cstring>"},"title":{"type":"string","description":"Human-readable label for the link.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0._links.additionalProperties.title","typeLabel":"string"},"reference":{"oneOf":[{"type":"string","description":"OpenAPI reference for API links. Component schema for self links, path operation for action links.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0._links.additionalProperties.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"OpenAPI reference for API links. Component schema for self links, path operation for action links.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0._links.additionalProperties.reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0._links.additionalProperties.reference","typeLabel":"string | null"}},"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0._links.additionalProperties","typeLabel":"object"},"description":"Links related to the resource.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0._links","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"dimensions":{"type":"object","description":"Dimensions of the unit type.","required":["height","length","measurement_unit","width"],"properties":{"height":{"type":"number","description":"Height of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.dimensions.height","typeLabel":"number"},"length":{"type":"number","description":"Length of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.dimensions.length","typeLabel":"number"},"measurement_unit":{"type":"string","enum":["ft","m"],"description":"Unit of length of the dimensions: `m` for metres or `ft` for feet.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.dimensions.measurement_unit","typeLabel":"enum\u003cstring>"},"width":{"type":"number","description":"Width of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.dimensions.width","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.dimensions","typeLabel":"object"},"dynamic_pricing":{"type":"boolean","description":"Indicates whether dynamic pricing is enabled for this unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.dynamic_pricing","typeLabel":"boolean"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.images","typeLabel":"object"},"live_prices":{"type":"array","items":{"type":"object","description":"Price","required":["billing_period","price","stripe_price_id"],"properties":{"billing_period":{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period for the price.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX].billing_period","typeLabel":"enum\u003cstring>"},"price":{"type":"object","description":"Price for the specified billing period.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX].price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX].price.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX].price","typeLabel":"object"},"stripe_price_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX].stripe_price_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX].stripe_price_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX].stripe_price_id","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices.items.[INDEX]","typeLabel":"object"},"description":"Current source price used by storefront pricing. Returns the active dynamic price when one applies; otherwise returns the base storefront price. Promotions, discounts, and tax-exclusive variants are not applied.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.live_prices","typeLabel":"object[]"},"name":{"type":"string","description":"Name of the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.name","typeLabel":"string"},"promotion":{"type":"any","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.promotion","typeLabel":"any"},"require_insurance_coverage":{"type":"boolean","description":"Indicates whether insurance coverage is required for this unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.require_insurance_coverage","typeLabel":"boolean"},"require_security_deposit":{"type":"boolean","description":"Indicates whether a security deposit is required for this unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.require_security_deposit","typeLabel":"boolean"},"security_deposit":{"type":"any","description":"Security deposit amount for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.security_deposit","typeLabel":"any"},"selling_points":{"type":"array","items":{"type":"string","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.selling_points.items.[INDEX]","typeLabel":"string"},"description":"List of selling points for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.selling_points","typeLabel":"string[]"},"size_description":{"type":"string","description":"Description of the size of the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.size_description","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly identifier for the unit type, typically used in web addresses.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.slug","typeLabel":"string"},"status":{"type":"string","enum":["bookable","hidden","lead_capture"],"description":"Availability of the unit type on the storefront: `bookable`, `lead_capture` (collecting leads) or `hidden`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.status","typeLabel":"enum\u003cstring>"},"stripe_product_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the unit type, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.stripe_product_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the unit type, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.stripe_product_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.stripe_product_id","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.0","typeLabel":"object"},{"type":"object","description":"Item associated with the line item. Can be a Unit type, Protection level, or Product. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.1","typeLabel":"object"},{"type":"object","description":"Item associated with the line item. Can be a Unit type, Protection level, or Product. **Expandable** (shows only ID when not expanded).","required":["id","account_code","cover_level","created_at","public","site","stripe_product_id","updated_at"],"properties":{"id":{"type":"string","pattern":"^plvl_","description":"Unique identifier for the protection level (`plvl_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2.id","typeLabel":"string"},"account_code":{"oneOf":[{"type":"string","description":"Account code associated with the protection level.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2.account_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Account code associated with the protection level.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2.account_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2.account_code","typeLabel":"string | null"},"cover_level":{"type":"object","description":"Monetary value representing the cover level of the protection.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2.cover_level.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2.cover_level.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2.cover_level.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2.cover_level","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the protection level.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2.created_at","typeLabel":"string\u003cdate-time>"},"public":{"type":"boolean","description":"Indicates whether the protection level is available for selection.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2.public","typeLabel":"boolean"},"site":{"type":"any","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2.site","typeLabel":"any"},"stripe_product_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the protection level, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2.stripe_product_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the protection level, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2.stripe_product_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2.stripe_product_id","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the protection level.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.2","typeLabel":"object"},{"type":"object","description":"Item associated with the line item. Can be a Unit type, Protection level, or Product. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^plvl_","description":"Unique identifier for the protection level (`plvl_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.3.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.3","typeLabel":"object"},{"type":"object","description":"Item associated with the line item. Can be a Unit type, Protection level, or Product. **Expandable** (shows only ID when not expanded).","required":["id","accounting_code","category","charge_type","created_at","description","images","name","sku","updated_at"],"properties":{"id":{"type":"string","pattern":"^prod_","description":"Unique identifier for the product (`prod_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.id","typeLabel":"string"},"accounting_code":{"oneOf":[{"type":"string","description":"Accounting code associated with the product, if any.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.accounting_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Accounting code associated with the product, if any.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.accounting_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.accounting_code","typeLabel":"string | null"},"category":{"type":"any","description":"Category associated with the product. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.category","typeLabel":"any"},"charge_type":{"type":"string","enum":["one_time","recurring"],"description":"Type of charge for the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.charge_type","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.created_at","typeLabel":"string\u003cdate-time>"},"description":{"type":"string","description":"Detailed description of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.description","typeLabel":"string"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.images","typeLabel":"object"},"name":{"type":"string","description":"Name of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.name","typeLabel":"string"},"sku":{"oneOf":[{"type":"string","description":"Stock keeping unit (SKU) of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.sku.oneOf.0","typeLabel":"string"},{"type":"null","description":"Stock keeping unit (SKU) of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.sku.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.sku","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.4","typeLabel":"object"},{"type":"object","description":"Item associated with the line item. Can be a Unit type, Protection level, or Product. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^prod_","description":"Unique identifier for the product (`prod_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.5.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.5","typeLabel":"object"},{"type":"null","description":"Item associated with the line item. Can be a Unit type, Protection level, or Product. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item.oneOf.6","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.item","typeLabel":"object · object · object · object · object · object · null"},"price":{"type":"object","description":"Per-item cost of line item.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.price.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.price.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.price","typeLabel":"object"},"quantity":{"type":"integer","description":"Quantity of the item in the order line item.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.quantity","typeLabel":"integer"},"tax":{"type":"object","description":"Total cost of taxes.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.tax.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.tax.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.tax.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.tax","typeLabel":"object"},"total":{"type":"object","description":"Gross cost of line item.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.total.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.total.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.total.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.total","typeLabel":"object"},"total_excluding_tax":{"type":"object","description":"Total cost of line item before applying taxes.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.total_excluding_tax.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.total_excluding_tax.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.total_excluding_tax.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.total_excluding_tax","typeLabel":"object"},"type":{"type":"string","enum":["unit_type","protection","product","security_deposit"],"description":"Type of the item on the line item.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the order line item.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["id"],"properties":{"id":{"type":"string","pattern":"^olitm_","description":"Unique identifier for the order line item (`olitm_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items.items.[INDEX]","typeLabel":"object"},"description":"List of line items in the order. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.line_items","typeLabel":"object[]"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.metadata.additionalProperties","typeLabel":"string"},"maxProperties":20,"description":"Set of key-value pairs for storing additional information. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.metadata","typeLabel":"object"},"one_time_total":{"type":"object","description":"Gross cost of one off products after applying taxes and discounts.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.one_time_total.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.one_time_total.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.one_time_total.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.one_time_total","typeLabel":"object"},"one_time_total_excluding_tax":{"type":"object","description":"Gross cost of one off products before applying taxes and after applying discounts.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.one_time_total_excluding_tax.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.one_time_total_excluding_tax.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.one_time_total_excluding_tax.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.one_time_total_excluding_tax","typeLabel":"object"},"payment_method":{"oneOf":[{"type":"string","description":"Payment method used for the order.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.payment_method.oneOf.0","typeLabel":"string"},{"type":"null","description":"Payment method used for the order.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.payment_method.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.payment_method","typeLabel":"string | null"},"payment_url":{"oneOf":[{"type":"string","format":"uri","description":"URL for payment processing. Available only when the order is finalized.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.payment_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"URL for payment processing. Available only when the order is finalized.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.payment_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.payment_url","typeLabel":"string\u003curi> | null"},"purchase_order_number":{"oneOf":[{"type":"string","description":"Purchase order number associated with the order.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.purchase_order_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Purchase order number associated with the order.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.purchase_order_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.purchase_order_number","typeLabel":"string | null"},"source":{"oneOf":[{"type":"string","enum":["backoffice","storefront","storefront_multi_step","import","public_api","unspecified",null],"description":"Source of the order.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["backoffice","storefront","storefront_multi_step","import","public_api","unspecified",null],"description":"Source of the order.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.source","typeLabel":"enum\u003cstring> | null"},"starts_at":{"oneOf":[{"type":"string","description":"Start date and time of the order (ISO 8601 date-time, UTC), or `now` while a draft order is set to start immediately after finalization.","const":"now","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.starts_at.oneOf.0","typeLabel":"string"},{"type":"string","description":"Start date and time of the order (ISO 8601 date-time, UTC), or `now` while a draft order is set to start immediately after finalization.","format":"date-time","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.starts_at.oneOf.1","typeLabel":"string\u003cdate-time>"},{"type":"null","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.starts_at.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.starts_at","typeLabel":"string | string\u003cdate-time> | null"},"status":{"type":"string","enum":["draft","finalized","completed","abandoned"],"description":"Status of the order.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.status","typeLabel":"enum\u003cstring>"},"subtotal":{"type":"object","description":"Gross cost of order before applying taxes and discounts.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.subtotal.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.subtotal.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.subtotal.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.subtotal","typeLabel":"object"},"tax":{"type":"object","description":"Total cost of tax.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.tax.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.tax.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.tax.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.tax","typeLabel":"object"},"total":{"type":"object","description":"Gross cost of order after applying taxes and discounts.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.total.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.total.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.total.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.total","typeLabel":"object"},"total_discount":{"type":"object","description":"Discount total towards order.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.total_discount.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.total_discount.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.total_discount.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.total_discount","typeLabel":"object"},"total_excluding_tax":{"type":"object","description":"Gross cost of order before applying taxes and after applying discounts.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.total_excluding_tax.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.total_excluding_tax.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.total_excluding_tax.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.total_excluding_tax","typeLabel":"object"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the order.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.0","typeLabel":"object"},{"type":"object","description":"Order associated with the tenancy. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^order_","description":"Unique identifier for the order (`order_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.1","typeLabel":"object"},{"type":"null","description":"Order associated with the tenancy. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.order","typeLabel":"object · object · null"},"site":{"oneOf":[{"type":"object","description":"Site associated with the tenancy. **Expandable** (shows only ID when not expanded).","required":["id","access_hours","address","created_at","description","directions","images","name","opened_at","phone","updated_at"],"properties":{"id":{"type":"string","pattern":"^site_","description":"Unique identifier for the site (`site_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.id","typeLabel":"string"},"access_hours":{"oneOf":[{"type":"object","description":"Access hours for the site.","required":["friday","monday","saturday","sunday","thursday","tuesday","wednesday"],"properties":{"friday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.friday","typeLabel":"object"},"monday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.monday","typeLabel":"object"},"saturday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.saturday","typeLabel":"object"},"sunday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.sunday","typeLabel":"object"},"thursday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.thursday","typeLabel":"object"},"tuesday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.tuesday","typeLabel":"object"},"wednesday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0.wednesday","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.0","typeLabel":"object"},{"type":"null","description":"Access hours for the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.access_hours","typeLabel":"object | null"},"address":{"oneOf":[{"type":"object","description":"Address of the site.","required":["city","line_1","line_2","postal_code"],"properties":{"city":{"oneOf":[{"type":"string","description":"City of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.address.oneOf.0.city","typeLabel":"string | null"},"line_1":{"oneOf":[{"type":"string","description":"First line of the address.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"First line of the address.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Second line of the address (optional).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.address.oneOf.0.line_2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.address.oneOf.0.postal_code","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.address","typeLabel":"object | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"type":"string","description":"Description of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.description","typeLabel":"string | null"},"directions":{"type":"object","description":"Directions to the site.","required":["google_maps_url"],"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.directions.google_maps_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to Google Maps for the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.directions.google_maps_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.directions.google_maps_url","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.directions","typeLabel":"object"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.images","typeLabel":"object"},"name":{"type":"string","description":"Name of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.name","typeLabel":"string"},"opened_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time when the site opened or will open.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.opened_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time when the site opened or will open.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.opened_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.opened_at","typeLabel":"string\u003cdate-time> | null"},"phone":{"oneOf":[{"type":"string","description":"Phone number of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.phone","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.0","typeLabel":"object"},{"type":"object","description":"Site associated with the tenancy. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^site_","description":"Unique identifier for the site (`site_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.site","typeLabel":"object"},"starts_at":{"type":"string","format":"date-time","description":"Date and time for start of the tenancy period.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.starts_at","typeLabel":"string\u003cdate-time>"},"subscription":{"oneOf":[{"type":"object","description":"Subscription associated with the tenancy. **Expandable** (shows only ID when not expanded).","required":["id","billing_period","cancellation_reason","cancelled","created_at","current_period","ends_at","line_items","starts_at","stripe_subscription_id","stripe_subscription_schedule_id","updated_at"],"properties":{"id":{"type":"string","pattern":"^sub_","description":"Unique identifier for the subscription (`sub_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.id","typeLabel":"string"},"billing_period":{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period of the subscription.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.billing_period","typeLabel":"enum\u003cstring>"},"cancellation_reason":{"oneOf":[{"type":"string","enum":["move_out_not_needed","move_out_seasonal","move_out_business","issue_cost","issue_location","issue_security","issue_quality","issue_accessibility","issue_cleanliness","issue_unsuitable","new_sub_date_change","new_sub_unit_type_change","new_sub_payment_method_change","new_sub_incorrect_cancellation","new_sub_billing_period_change","eviction","no_show","alternative_found","other",null],"description":"Reason for subscription cancellation.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.cancellation_reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["move_out_not_needed","move_out_seasonal","move_out_business","issue_cost","issue_location","issue_security","issue_quality","issue_accessibility","issue_cleanliness","issue_unsuitable","new_sub_date_change","new_sub_unit_type_change","new_sub_payment_method_change","new_sub_incorrect_cancellation","new_sub_billing_period_change","eviction","no_show","alternative_found","other",null],"description":"Reason for subscription cancellation.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.cancellation_reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.cancellation_reason","typeLabel":"enum\u003cstring> | null"},"cancelled":{"type":"boolean","description":"Indicates whether subscription is cancelled.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.cancelled","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the subscription.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"current_period":{"type":"object","description":"Current subscription period.","required":["ends_at","starts_at"],"properties":{"ends_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time for end of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.current_period.ends_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time for end of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.current_period.ends_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.current_period.ends_at","typeLabel":"string\u003cdate-time> | null"},"starts_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time for start of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.current_period.starts_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time for start of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.current_period.starts_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.current_period.starts_at","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.current_period","typeLabel":"object"},"ends_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time for end of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.ends_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time for end of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.ends_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.ends_at","typeLabel":"string\u003cdate-time> | null"},"line_items":{"type":"array","items":{"type":"object","description":"Subscription Line Item","required":["created_at","item","price","quantity","type","updated_at"],"properties":{"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the subscription line item.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"item":{"oneOf":[{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id","accounting_code","category","charge_type","created_at","description","images","name","sku","updated_at"],"properties":{"id":{"type":"string","pattern":"^prod_","description":"Unique identifier for the product (`prod_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.id","typeLabel":"string"},"accounting_code":{"oneOf":[{"type":"string","description":"Accounting code associated with the product, if any.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.accounting_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Accounting code associated with the product, if any.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.accounting_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.accounting_code","typeLabel":"string | null"},"category":{"oneOf":[{"type":"object","description":"Category associated with the product. **Expandable** (shows only ID when not expanded).","required":["id","name"],"properties":{"id":{"type":"string","pattern":"^pcat_","description":"Unique identifier for the product category (`pcat_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.category.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the product category.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.category.oneOf.0.name","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.category.oneOf.0","typeLabel":"object"},{"type":"object","description":"Category associated with the product. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^pcat_","description":"Unique identifier for the product category (`pcat_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.category.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.category.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.category","typeLabel":"object"},"charge_type":{"type":"string","enum":["one_time","recurring"],"description":"Type of charge for the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.charge_type","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"description":{"type":"string","description":"Detailed description of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.description","typeLabel":"string"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.images","typeLabel":"object"},"name":{"type":"string","description":"Name of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.name","typeLabel":"string"},"sku":{"oneOf":[{"type":"string","description":"Stock keeping unit (SKU) of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.sku.oneOf.0","typeLabel":"string"},{"type":"null","description":"Stock keeping unit (SKU) of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.sku.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.sku","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.0","typeLabel":"object"},{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^prod_","description":"Unique identifier for the product (`prod_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.1","typeLabel":"object"},{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id","_links","created_at","dimensions","dynamic_pricing","images","live_prices","name","promotion","require_insurance_coverage","require_security_deposit","security_deposit","selling_points","size_description","slug","status","stripe_product_id","updated_at"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.id","typeLabel":"string"},"_links":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"href":{"type":"string","description":"Relative path for API links, relative path for CURIE links.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties.href","typeLabel":"string"},"method":{"type":"string","description":"Available only for API links. Other links use always `get`.","enum":["get","post","patch","delete"],"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties.method","typeLabel":"enum\u003cstring>"},"title":{"type":"string","description":"Human-readable label for the link.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties.title","typeLabel":"string"},"reference":{"oneOf":[{"type":"string","description":"OpenAPI reference for API links. Component schema for self links, path operation for action links.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"OpenAPI reference for API links. Component schema for self links, path operation for action links.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties.reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties.reference","typeLabel":"string | null"}},"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties","typeLabel":"object"},"description":"Links related to the resource.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2._links","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.created_at","typeLabel":"string\u003cdate-time>"},"dimensions":{"type":"object","description":"Dimensions of the unit type.","required":["height","length","measurement_unit","width"],"properties":{"height":{"type":"number","description":"Height of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.dimensions.height","typeLabel":"number"},"length":{"type":"number","description":"Length of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.dimensions.length","typeLabel":"number"},"measurement_unit":{"type":"string","enum":["ft","m"],"description":"Unit of length of the dimensions: `m` for metres or `ft` for feet.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.dimensions.measurement_unit","typeLabel":"enum\u003cstring>"},"width":{"type":"number","description":"Width of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.dimensions.width","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.dimensions","typeLabel":"object"},"dynamic_pricing":{"type":"boolean","description":"Indicates whether dynamic pricing is enabled for this unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.dynamic_pricing","typeLabel":"boolean"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.images","typeLabel":"object"},"live_prices":{"type":"array","items":{"type":"object","description":"Price","required":["billing_period","price","stripe_price_id"],"properties":{"billing_period":{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period for the price.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].billing_period","typeLabel":"enum\u003cstring>"},"price":{"type":"object","description":"Price for the specified billing period.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].price.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].price","typeLabel":"object"},"stripe_price_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].stripe_price_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].stripe_price_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].stripe_price_id","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX]","typeLabel":"object"},"description":"Current source price used by storefront pricing. Returns the active dynamic price when one applies; otherwise returns the base storefront price. Promotions, discounts, and tax-exclusive variants are not applied.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.live_prices","typeLabel":"object[]"},"name":{"type":"string","description":"Name of the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.name","typeLabel":"string"},"promotion":{"oneOf":[{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["id","auto_apply_to","billing_period","code","created_at","duration","max_redemptions","months","name","public","title","type","updated_at"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.id","typeLabel":"string"},"auto_apply_to":{"type":"object","description":"Line items the coupon is applied to automatically when used on an order.","required":["products","protections","subscriptions","unit_types"],"properties":{"products":{"type":"boolean","description":"Whether the coupon applies to product line items.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.auto_apply_to.products","typeLabel":"boolean"},"protections":{"type":"boolean","description":"Whether the coupon applies to protection line items.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.auto_apply_to.protections","typeLabel":"boolean"},"subscriptions":{"type":"boolean","description":"Whether the coupon applies to the subscription.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.auto_apply_to.subscriptions","typeLabel":"boolean"},"unit_types":{"type":"boolean","description":"Whether the coupon applies to unit type line items.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.auto_apply_to.unit_types","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.auto_apply_to","typeLabel":"object"},"billing_period":{"oneOf":[{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.billing_period.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.billing_period.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.billing_period","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.code","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"duration":{"type":"string","enum":["once","forever","repeating"],"description":"Duration of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.duration","typeLabel":"enum\u003cstring>"},"max_redemptions":{"oneOf":[{"type":"integer","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.max_redemptions.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.max_redemptions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.max_redemptions","typeLabel":"integer | null"},"months":{"oneOf":[{"type":"integer","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.months.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.months.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.months","typeLabel":"integer | null"},"name":{"type":"string","description":"Name of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.name","typeLabel":"string"},"public":{"type":"boolean","description":"Indicates if the coupon is publicly available for any contact to use. When set to `true`, the `code` field is not used.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.public","typeLabel":"boolean"},"title":{"oneOf":[{"type":"string","description":"Title of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.title","typeLabel":"string | null"},"type":{"type":"string","enum":["percentage","amount"],"description":"Type of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.type","typeLabel":"enum\u003cstring>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"amount":{"type":"object","description":"Amount deducted from the price when the coupon is applied.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.amount.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.amount.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.amount.formatted","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.amount","typeLabel":"object"},"percent":{"type":"number","description":"Percentage off the price, greater than 0 and at most 100, with up to 2 decimal places. `20` means 20% off.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.percent","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0","typeLabel":"object"},{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.1","typeLabel":"object"},{"type":"null","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.promotion","typeLabel":"object · object · null"},"require_insurance_coverage":{"type":"boolean","description":"Indicates whether insurance coverage is required for this unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.require_insurance_coverage","typeLabel":"boolean"},"require_security_deposit":{"type":"boolean","description":"Indicates whether a security deposit is required for this unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.require_security_deposit","typeLabel":"boolean"},"security_deposit":{"oneOf":[{"type":"object","description":"Security deposit amount for the unit type.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.security_deposit.oneOf.0.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.security_deposit.oneOf.0.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.security_deposit.oneOf.0.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.security_deposit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Security deposit amount for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.security_deposit.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.security_deposit","typeLabel":"object | null"},"selling_points":{"type":"array","items":{"type":"string","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.selling_points.items.[INDEX]","typeLabel":"string"},"description":"List of selling points for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.selling_points","typeLabel":"string[]"},"size_description":{"type":"string","description":"Description of the size of the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.size_description","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly identifier for the unit type, typically used in web addresses.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.slug","typeLabel":"string"},"status":{"type":"string","enum":["bookable","hidden","lead_capture"],"description":"Availability of the unit type on the storefront: `bookable`, `lead_capture` (collecting leads) or `hidden`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.status","typeLabel":"enum\u003cstring>"},"stripe_product_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the unit type, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.stripe_product_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the unit type, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.stripe_product_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.stripe_product_id","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.2","typeLabel":"object"},{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.3.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.3","typeLabel":"object"},{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id","account_code","cover_level","created_at","public","site","stripe_product_id","updated_at"],"properties":{"id":{"type":"string","pattern":"^plvl_","description":"Unique identifier for the protection level (`plvl_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.id","typeLabel":"string"},"account_code":{"oneOf":[{"type":"string","description":"Account code associated with the protection level.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.account_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Account code associated with the protection level.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.account_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.account_code","typeLabel":"string | null"},"cover_level":{"type":"object","description":"Monetary value representing the cover level of the protection.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.cover_level.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.cover_level.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.cover_level.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.cover_level","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the protection level.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.created_at","typeLabel":"string\u003cdate-time>"},"public":{"type":"boolean","description":"Indicates whether the protection level is available for selection.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.public","typeLabel":"boolean"},"site":{"oneOf":[{"type":"object","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","required":["id","access_hours","address","created_at","description","directions","images","name","opened_at","phone","updated_at"],"properties":{"id":{"type":"string","pattern":"^site_","description":"Unique identifier for the site (`site_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.id","typeLabel":"string"},"access_hours":{"type":"any","description":"Access hours for the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours","typeLabel":"any"},"address":{"type":"any","description":"Address of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address","typeLabel":"any"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"type":"string","description":"Description of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.description","typeLabel":"string | null"},"directions":{"type":"object","description":"Directions to the site.","required":["google_maps_url"],"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.directions.google_maps_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to Google Maps for the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.directions.google_maps_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.directions.google_maps_url","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.directions","typeLabel":"object"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images","typeLabel":"object"},"name":{"type":"string","description":"Name of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.name","typeLabel":"string"},"opened_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time when the site opened or will open.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.opened_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time when the site opened or will open.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.opened_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.opened_at","typeLabel":"string\u003cdate-time> | null"},"phone":{"oneOf":[{"type":"string","description":"Phone number of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.phone","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0","typeLabel":"object"},{"type":"object","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^site_","description":"Unique identifier for the site (`site_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.1","typeLabel":"object"},{"type":"null","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.site","typeLabel":"object · object · null"},"stripe_product_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the protection level, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.stripe_product_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the protection level, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.stripe_product_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.stripe_product_id","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the protection level.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.4","typeLabel":"object"},{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^plvl_","description":"Unique identifier for the protection level (`plvl_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.5.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item.oneOf.5","typeLabel":"object"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].item","typeLabel":"object"},"price":{"type":"object","description":"Price of the subscription line item per unit.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].price.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].price","typeLabel":"object"},"quantity":{"type":"integer","description":"Quantity of the item in the subscription line item.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].quantity","typeLabel":"integer"},"type":{"type":"string","enum":["protection","unit_type","custom_product"],"description":"Type of the item on the line item.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the subscription line item.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items.items.[INDEX]","typeLabel":"object"},"description":"List of line items in the subscription.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.line_items","typeLabel":"object[]"},"starts_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time for start of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.starts_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time for start of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.starts_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.starts_at","typeLabel":"string\u003cdate-time> | null"},"stripe_subscription_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Subscription ID linked to the subscription. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.stripe_subscription_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Subscription ID linked to the subscription. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.stripe_subscription_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.stripe_subscription_id","typeLabel":"string | null"},"stripe_subscription_schedule_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Subscription Schedule ID associated with the subscription. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.stripe_subscription_schedule_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Subscription Schedule ID associated with the subscription. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.stripe_subscription_schedule_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.stripe_subscription_schedule_id","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the subscription.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.0","typeLabel":"object"},{"type":"object","description":"Subscription associated with the tenancy. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^sub_","description":"Unique identifier for the subscription (`sub_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.subscription","typeLabel":"object"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the tenancy.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Tenancy associated with this allocation. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^ten_","description":"Unique identifier for the tenancy (`ten_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.tenancy","typeLabel":"object"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.0","typeLabel":"object"},{"type":"object","description":"Current allocation for the unit. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^alloc_","description":"Unique identifier for the unit allocation (`alloc_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.1","typeLabel":"object"},{"type":"null","description":"Current allocation for the unit. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_allocation","typeLabel":"object · object · null"},"unit_type":{"oneOf":[{"type":"object","description":"Unit type associated with the unit. **Expandable** (shows only ID when not expanded).","required":["id","_links","created_at","dimensions","dynamic_pricing","images","live_prices","name","promotion","require_insurance_coverage","require_security_deposit","security_deposit","selling_points","size_description","slug","status","stripe_product_id","updated_at"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.id","typeLabel":"string"},"_links":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"href":{"type":"string","description":"Relative path for API links, relative path for CURIE links.","uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0._links.additionalProperties.href","typeLabel":"string"},"method":{"type":"string","description":"Available only for API links. Other links use always `get`.","enum":["get","post","patch","delete"],"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0._links.additionalProperties.method","typeLabel":"enum\u003cstring>"},"title":{"type":"string","description":"Human-readable label for the link.","uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0._links.additionalProperties.title","typeLabel":"string"},"reference":{"oneOf":[{"type":"string","description":"OpenAPI reference for API links. Component schema for self links, path operation for action links.","uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0._links.additionalProperties.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"OpenAPI reference for API links. Component schema for self links, path operation for action links.","uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0._links.additionalProperties.reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0._links.additionalProperties.reference","typeLabel":"string | null"}},"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0._links.additionalProperties","typeLabel":"object"},"description":"Links related to the resource.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0._links","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"dimensions":{"type":"object","description":"Dimensions of the unit type.","required":["height","length","measurement_unit","width"],"properties":{"height":{"type":"number","description":"Height of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.dimensions.height","typeLabel":"number"},"length":{"type":"number","description":"Length of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.dimensions.length","typeLabel":"number"},"measurement_unit":{"type":"string","enum":["ft","m"],"description":"Unit of length of the dimensions: `m` for metres or `ft` for feet.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.dimensions.measurement_unit","typeLabel":"enum\u003cstring>"},"width":{"type":"number","description":"Width of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.dimensions.width","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.dimensions","typeLabel":"object"},"dynamic_pricing":{"type":"boolean","description":"Indicates whether dynamic pricing is enabled for this unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.dynamic_pricing","typeLabel":"boolean"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.images","typeLabel":"object"},"live_prices":{"type":"array","items":{"type":"object","description":"Price","required":["billing_period","price","stripe_price_id"],"properties":{"billing_period":{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period for the price.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].billing_period","typeLabel":"enum\u003cstring>"},"price":{"type":"object","description":"Price for the specified billing period.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].price.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].price","typeLabel":"object"},"stripe_price_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].stripe_price_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].stripe_price_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].stripe_price_id","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX]","typeLabel":"object"},"description":"Current source price used by storefront pricing. Returns the active dynamic price when one applies; otherwise returns the base storefront price. Promotions, discounts, and tax-exclusive variants are not applied.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.live_prices","typeLabel":"object[]"},"name":{"type":"string","description":"Name of the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.name","typeLabel":"string"},"promotion":{"oneOf":[{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["id","auto_apply_to","billing_period","code","created_at","duration","max_redemptions","months","name","public","title","type","updated_at"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.id","typeLabel":"string"},"auto_apply_to":{"type":"object","description":"Line items the coupon is applied to automatically when used on an order.","required":["products","protections","subscriptions","unit_types"],"properties":{"products":{"type":"boolean","description":"Whether the coupon applies to product line items.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.auto_apply_to.products","typeLabel":"boolean"},"protections":{"type":"boolean","description":"Whether the coupon applies to protection line items.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.auto_apply_to.protections","typeLabel":"boolean"},"subscriptions":{"type":"boolean","description":"Whether the coupon applies to the subscription.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.auto_apply_to.subscriptions","typeLabel":"boolean"},"unit_types":{"type":"boolean","description":"Whether the coupon applies to unit type line items.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.auto_apply_to.unit_types","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.auto_apply_to","typeLabel":"object"},"billing_period":{"oneOf":[{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.billing_period.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.billing_period.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.billing_period","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.code","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"duration":{"type":"string","enum":["once","forever","repeating"],"description":"Duration of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.duration","typeLabel":"enum\u003cstring>"},"max_redemptions":{"oneOf":[{"type":"integer","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.max_redemptions.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.max_redemptions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.max_redemptions","typeLabel":"integer | null"},"months":{"oneOf":[{"type":"integer","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.months.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.months.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.months","typeLabel":"integer | null"},"name":{"type":"string","description":"Name of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.name","typeLabel":"string"},"public":{"type":"boolean","description":"Indicates if the coupon is publicly available for any contact to use. When set to `true`, the `code` field is not used.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.public","typeLabel":"boolean"},"title":{"oneOf":[{"type":"string","description":"Title of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.title","typeLabel":"string | null"},"type":{"type":"string","enum":["percentage","amount"],"description":"Type of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.type","typeLabel":"enum\u003cstring>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"amount":{"type":"object","description":"Amount deducted from the price when the coupon is applied.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.amount.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.amount.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.amount.formatted","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.amount","typeLabel":"object"},"percent":{"type":"number","description":"Percentage off the price, greater than 0 and at most 100, with up to 2 decimal places. `20` means 20% off.","uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.percent","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0","typeLabel":"object"},{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.1","typeLabel":"object"},{"type":"null","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.promotion","typeLabel":"object · object · null"},"require_insurance_coverage":{"type":"boolean","description":"Indicates whether insurance coverage is required for this unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.require_insurance_coverage","typeLabel":"boolean"},"require_security_deposit":{"type":"boolean","description":"Indicates whether a security deposit is required for this unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.require_security_deposit","typeLabel":"boolean"},"security_deposit":{"oneOf":[{"type":"object","description":"Security deposit amount for the unit type.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.security_deposit.oneOf.0.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.security_deposit.oneOf.0.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.security_deposit.oneOf.0.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.security_deposit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Security deposit amount for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.security_deposit.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.security_deposit","typeLabel":"object | null"},"selling_points":{"type":"array","items":{"type":"string","uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.selling_points.items.[INDEX]","typeLabel":"string"},"description":"List of selling points for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.selling_points","typeLabel":"string[]"},"size_description":{"type":"string","description":"Description of the size of the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.size_description","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly identifier for the unit type, typically used in web addresses.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.slug","typeLabel":"string"},"status":{"type":"string","enum":["bookable","hidden","lead_capture"],"description":"Availability of the unit type on the storefront: `bookable`, `lead_capture` (collecting leads) or `hidden`.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.status","typeLabel":"enum\u003cstring>"},"stripe_product_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the unit type, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.stripe_product_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the unit type, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.stripe_product_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.stripe_product_id","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.0","typeLabel":"object"},{"type":"object","description":"Unit type associated with the unit. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.0.unit_type","typeLabel":"object"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the unit.","isRequired":true,"uniqueKey":"task.resource.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.0","typeLabel":"object"},{"type":"object","description":"Resource associated with the task. Can be a Unit, Contact, or Subscription. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^unit_","description":"Unique identifier for the unit (`unit_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.1","typeLabel":"object"},{"type":"object","description":"Resource associated with the task. Can be a Unit, Contact, or Subscription. **Expandable** (shows only ID when not expanded).","required":["id","accounting_code","address","company_registration_number","created_at","email","full_name","identity_check","marketing_source","metadata","phone_number","source","status","stripe_customer_id","tax_id","tenancies_count","type","updated_at","use_case"],"properties":{"id":{"type":"string","pattern":"^con_","description":"Unique identifier for the contact (`con_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.2.id","typeLabel":"string"},"accounting_code":{"oneOf":[{"type":"string","description":"The contact's account reference in your accounting software, included in invoice exports.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.accounting_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The contact's account reference in your accounting software, included in invoice exports.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.accounting_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.accounting_code","typeLabel":"string | null"},"address":{"oneOf":[{"type":"object","description":"Address of the contact, `null` when no address is set.","required":["city","country_alpha2","line_1","line_2","postal_code","state"],"properties":{"city":{"oneOf":[{"type":"string","description":"City","isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City","isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.city","typeLabel":"string | null"},"country_alpha2":{"oneOf":[{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW",null],"description":"Country Alpha 2","isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.country_alpha2.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW",null],"description":"Country Alpha 2","isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.country_alpha2.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.country_alpha2","typeLabel":"enum\u003cstring> | null"},"line_1":{"oneOf":[{"type":"string","description":"Line 1","isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"Line 1","isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Line 2","isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Line 2","isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.line_2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code","isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code","isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.postal_code","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","description":"State or province, ISO 3166-2 only","isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","description":"State or province, ISO 3166-2 only","isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.state.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0.state","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the contact, `null` when no address is set.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.address","typeLabel":"object | null"},"company_registration_number":{"oneOf":[{"type":"string","description":"Company registration number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.company_registration_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Company registration number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.company_registration_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.company_registration_number","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.created_at","typeLabel":"string\u003cdate-time>"},"email":{"type":"string","format":"email","description":"Email address of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.email","typeLabel":"string\u003cemail>"},"full_name":{"type":"string","description":"Full name of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.full_name","typeLabel":"string"},"identity_check":{"type":"object","description":"Identity check requirement and status of the contact.","required":["required","status"],"properties":{"required":{"type":"boolean","description":"Whether the contact is required to complete identity verification based on the operator's checkin settings.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.identity_check.required","typeLabel":"boolean"},"status":{"type":"string","enum":["failed","processing","succeeded","cancelled","not_attempted"],"description":"Status of the contact's latest identity verification. `not_attempted` is unique to this field (infers no identity verification resource yet exists for this contact).","isRequired":true,"uniqueKey":"task.resource.oneOf.2.identity_check.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.2.identity_check","typeLabel":"object"},"marketing_source":{"oneOf":[{"type":"string","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"description":"Source of marketing for the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.marketing_source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["used_before","recommendation","received_leaflet","seen_building_signs","seen_advert","facebook_marketplace","google_search","other_online_search","social_media","email","radio","other",null],"description":"Source of marketing for the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.marketing_source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.marketing_source","typeLabel":"enum\u003cstring> | null"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"task.resource.oneOf.2.metadata.additionalProperties","typeLabel":"string"},"maxProperties":20,"description":"Set of key-value pairs for storing additional information. [Learn more about metadata.](https://docs.stora.co/2025-09/guides/metadata)","isRequired":true,"uniqueKey":"task.resource.oneOf.2.metadata","typeLabel":"object"},"phone_number":{"oneOf":[{"type":"string","description":"Phone number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.phone_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.phone_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.phone_number","typeLabel":"string | null"},"source":{"oneOf":[{"type":"string","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"description":"Source of the contact information.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.source.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["pre_open","incomplete_booking","registered_interest","price_interest","quotation_request","booking","popup","external_enquiry","phone","walkin","import","other",null],"description":"Source of the contact information.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.source","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","enum":["lead","customer","churned"],"description":"Status of the contact, derived from its tenancies. `lead` means the contact has no tenancies, and is the default. `customer` means at least one tenancy hasn't ended. `churned` means all tenancies have ended.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.status","typeLabel":"enum\u003cstring>"},"stripe_customer_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated. Will be removed in a future API version.** Stripe Customer identifier of the contact. Kept for backwards compatibility. Don't use it in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.stripe_customer_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated. Will be removed in a future API version.** Stripe Customer identifier of the contact. Kept for backwards compatibility. Don't use it in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.stripe_customer_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.stripe_customer_id","typeLabel":"string | null"},"tax_id":{"oneOf":[{"type":"string","description":"Tax identification number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.tax_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Tax identification number of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.tax_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.tax_id","typeLabel":"string | null"},"tenancies_count":{"type":"integer","description":"Number of tenancies associated with the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.tenancies_count","typeLabel":"integer"},"type":{"oneOf":[{"type":"string","enum":["domestic","company","student","charity","local_authority",null],"description":"Type of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["domestic","company","student","charity","local_authority",null],"description":"Type of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.type","typeLabel":"enum\u003cstring> | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.updated_at","typeLabel":"string\u003cdate-time>"},"use_case":{"oneOf":[{"type":"string","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"description":"Use case for the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.use_case.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["business_needs","moving_home","more_space","refurb","travelling","other",null],"description":"Use case for the contact.","isRequired":true,"uniqueKey":"task.resource.oneOf.2.use_case.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.2.use_case","typeLabel":"enum\u003cstring> | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.2","typeLabel":"object"},{"type":"object","description":"Resource associated with the task. Can be a Unit, Contact, or Subscription. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^con_","description":"Unique identifier for the contact (`con_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.3.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.3","typeLabel":"object"},{"type":"object","description":"Resource associated with the task. Can be a Unit, Contact, or Subscription. **Expandable** (shows only ID when not expanded).","required":["id","billing_period","cancellation_reason","cancelled","created_at","current_period","ends_at","line_items","starts_at","stripe_subscription_id","stripe_subscription_schedule_id","tenancy","updated_at"],"properties":{"id":{"type":"string","pattern":"^sub_","description":"Unique identifier for the subscription (`sub_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.id","typeLabel":"string"},"billing_period":{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period of the subscription.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.billing_period","typeLabel":"enum\u003cstring>"},"cancellation_reason":{"oneOf":[{"type":"string","enum":["move_out_not_needed","move_out_seasonal","move_out_business","issue_cost","issue_location","issue_security","issue_quality","issue_accessibility","issue_cleanliness","issue_unsuitable","new_sub_date_change","new_sub_unit_type_change","new_sub_payment_method_change","new_sub_incorrect_cancellation","new_sub_billing_period_change","eviction","no_show","alternative_found","other",null],"description":"Reason for subscription cancellation.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.cancellation_reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["move_out_not_needed","move_out_seasonal","move_out_business","issue_cost","issue_location","issue_security","issue_quality","issue_accessibility","issue_cleanliness","issue_unsuitable","new_sub_date_change","new_sub_unit_type_change","new_sub_payment_method_change","new_sub_incorrect_cancellation","new_sub_billing_period_change","eviction","no_show","alternative_found","other",null],"description":"Reason for subscription cancellation.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.cancellation_reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.cancellation_reason","typeLabel":"enum\u003cstring> | null"},"cancelled":{"type":"boolean","description":"Indicates whether subscription is cancelled.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.cancelled","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the subscription.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.created_at","typeLabel":"string\u003cdate-time>"},"current_period":{"type":"object","description":"Current subscription period.","required":["ends_at","starts_at"],"properties":{"ends_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time for end of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.current_period.ends_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time for end of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.current_period.ends_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.current_period.ends_at","typeLabel":"string\u003cdate-time> | null"},"starts_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time for start of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.current_period.starts_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time for start of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.current_period.starts_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.current_period.starts_at","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.current_period","typeLabel":"object"},"ends_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time for end of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.ends_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time for end of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.ends_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.ends_at","typeLabel":"string\u003cdate-time> | null"},"line_items":{"type":"array","items":{"type":"object","description":"Subscription Line Item","required":["created_at","item","price","quantity","type","updated_at"],"properties":{"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the subscription line item.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].created_at","typeLabel":"string\u003cdate-time>"},"item":{"oneOf":[{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id","accounting_code","category","charge_type","created_at","description","images","name","sku","updated_at"],"properties":{"id":{"type":"string","pattern":"^prod_","description":"Unique identifier for the product (`prod_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.id","typeLabel":"string"},"accounting_code":{"oneOf":[{"type":"string","description":"Accounting code associated with the product, if any.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.accounting_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Accounting code associated with the product, if any.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.accounting_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.accounting_code","typeLabel":"string | null"},"category":{"oneOf":[{"type":"object","description":"Category associated with the product. **Expandable** (shows only ID when not expanded).","required":["id","name"],"properties":{"id":{"type":"string","pattern":"^pcat_","description":"Unique identifier for the product category (`pcat_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.category.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the product category.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.category.oneOf.0.name","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.category.oneOf.0","typeLabel":"object"},{"type":"object","description":"Category associated with the product. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^pcat_","description":"Unique identifier for the product category (`pcat_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.category.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.category.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.category","typeLabel":"object"},"charge_type":{"type":"string","enum":["one_time","recurring"],"description":"Type of charge for the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.charge_type","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"description":{"type":"string","description":"Detailed description of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.description","typeLabel":"string"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.images","typeLabel":"object"},"name":{"type":"string","description":"Name of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.name","typeLabel":"string"},"sku":{"oneOf":[{"type":"string","description":"Stock keeping unit (SKU) of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.sku.oneOf.0","typeLabel":"string"},{"type":"null","description":"Stock keeping unit (SKU) of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.sku.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.sku","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the product.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.0","typeLabel":"object"},{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^prod_","description":"Unique identifier for the product (`prod_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.1","typeLabel":"object"},{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id","_links","created_at","dimensions","dynamic_pricing","images","live_prices","name","promotion","require_insurance_coverage","require_security_deposit","security_deposit","selling_points","size_description","slug","status","stripe_product_id","updated_at"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.id","typeLabel":"string"},"_links":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"href":{"type":"string","description":"Relative path for API links, relative path for CURIE links.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties.href","typeLabel":"string"},"method":{"type":"string","description":"Available only for API links. Other links use always `get`.","enum":["get","post","patch","delete"],"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties.method","typeLabel":"enum\u003cstring>"},"title":{"type":"string","description":"Human-readable label for the link.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties.title","typeLabel":"string"},"reference":{"oneOf":[{"type":"string","description":"OpenAPI reference for API links. Component schema for self links, path operation for action links.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"OpenAPI reference for API links. Component schema for self links, path operation for action links.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties.reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties.reference","typeLabel":"string | null"}},"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2._links.additionalProperties","typeLabel":"object"},"description":"Links related to the resource.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2._links","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.created_at","typeLabel":"string\u003cdate-time>"},"dimensions":{"type":"object","description":"Dimensions of the unit type.","required":["height","length","measurement_unit","width"],"properties":{"height":{"type":"number","description":"Height of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.dimensions.height","typeLabel":"number"},"length":{"type":"number","description":"Length of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.dimensions.length","typeLabel":"number"},"measurement_unit":{"type":"string","enum":["ft","m"],"description":"Unit of length of the dimensions: `m` for metres or `ft` for feet.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.dimensions.measurement_unit","typeLabel":"enum\u003cstring>"},"width":{"type":"number","description":"Width of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.dimensions.width","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.dimensions","typeLabel":"object"},"dynamic_pricing":{"type":"boolean","description":"Indicates whether dynamic pricing is enabled for this unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.dynamic_pricing","typeLabel":"boolean"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.images","typeLabel":"object"},"live_prices":{"type":"array","items":{"type":"object","description":"Price","required":["billing_period","price","stripe_price_id"],"properties":{"billing_period":{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period for the price.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].billing_period","typeLabel":"enum\u003cstring>"},"price":{"type":"object","description":"Price for the specified billing period.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].price.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].price","typeLabel":"object"},"stripe_price_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].stripe_price_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].stripe_price_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX].stripe_price_id","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.live_prices.items.[INDEX]","typeLabel":"object"},"description":"Current source price used by storefront pricing. Returns the active dynamic price when one applies; otherwise returns the base storefront price. Promotions, discounts, and tax-exclusive variants are not applied.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.live_prices","typeLabel":"object[]"},"name":{"type":"string","description":"Name of the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.name","typeLabel":"string"},"promotion":{"oneOf":[{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["id","auto_apply_to","billing_period","code","created_at","duration","max_redemptions","months","name","public","title","type","updated_at"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.id","typeLabel":"string"},"auto_apply_to":{"type":"object","description":"Line items the coupon is applied to automatically when used on an order.","required":["products","protections","subscriptions","unit_types"],"properties":{"products":{"type":"boolean","description":"Whether the coupon applies to product line items.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.auto_apply_to.products","typeLabel":"boolean"},"protections":{"type":"boolean","description":"Whether the coupon applies to protection line items.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.auto_apply_to.protections","typeLabel":"boolean"},"subscriptions":{"type":"boolean","description":"Whether the coupon applies to the subscription.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.auto_apply_to.subscriptions","typeLabel":"boolean"},"unit_types":{"type":"boolean","description":"Whether the coupon applies to unit type line items.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.auto_apply_to.unit_types","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.auto_apply_to","typeLabel":"object"},"billing_period":{"oneOf":[{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.billing_period.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.billing_period.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.billing_period","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.code","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"duration":{"type":"string","enum":["once","forever","repeating"],"description":"Duration of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.duration","typeLabel":"enum\u003cstring>"},"max_redemptions":{"oneOf":[{"type":"integer","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.max_redemptions.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.max_redemptions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.max_redemptions","typeLabel":"integer | null"},"months":{"oneOf":[{"type":"integer","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.months.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.months.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.months","typeLabel":"integer | null"},"name":{"type":"string","description":"Name of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.name","typeLabel":"string"},"public":{"type":"boolean","description":"Indicates if the coupon is publicly available for any contact to use. When set to `true`, the `code` field is not used.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.public","typeLabel":"boolean"},"title":{"oneOf":[{"type":"string","description":"Title of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.title","typeLabel":"string | null"},"type":{"type":"string","enum":["percentage","amount"],"description":"Type of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.type","typeLabel":"enum\u003cstring>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"amount":{"type":"object","description":"Amount deducted from the price when the coupon is applied.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.amount.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.amount.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.amount.formatted","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.amount","typeLabel":"object"},"percent":{"type":"number","description":"Percentage off the price, greater than 0 and at most 100, with up to 2 decimal places. `20` means 20% off.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0.percent","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.0","typeLabel":"object"},{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.1","typeLabel":"object"},{"type":"null","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.promotion","typeLabel":"object · object · null"},"require_insurance_coverage":{"type":"boolean","description":"Indicates whether insurance coverage is required for this unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.require_insurance_coverage","typeLabel":"boolean"},"require_security_deposit":{"type":"boolean","description":"Indicates whether a security deposit is required for this unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.require_security_deposit","typeLabel":"boolean"},"security_deposit":{"oneOf":[{"type":"object","description":"Security deposit amount for the unit type.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.security_deposit.oneOf.0.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.security_deposit.oneOf.0.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.security_deposit.oneOf.0.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.security_deposit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Security deposit amount for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.security_deposit.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.security_deposit","typeLabel":"object | null"},"selling_points":{"type":"array","items":{"type":"string","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.selling_points.items.[INDEX]","typeLabel":"string"},"description":"List of selling points for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.selling_points","typeLabel":"string[]"},"size_description":{"type":"string","description":"Description of the size of the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.size_description","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly identifier for the unit type, typically used in web addresses.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.slug","typeLabel":"string"},"status":{"type":"string","enum":["bookable","hidden","lead_capture"],"description":"Availability of the unit type on the storefront: `bookable`, `lead_capture` (collecting leads) or `hidden`.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.status","typeLabel":"enum\u003cstring>"},"stripe_product_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the unit type, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.stripe_product_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the unit type, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.stripe_product_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.stripe_product_id","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.2","typeLabel":"object"},{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.3.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.3","typeLabel":"object"},{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id","account_code","cover_level","created_at","public","site","stripe_product_id","updated_at"],"properties":{"id":{"type":"string","pattern":"^plvl_","description":"Unique identifier for the protection level (`plvl_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.id","typeLabel":"string"},"account_code":{"oneOf":[{"type":"string","description":"Account code associated with the protection level.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.account_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Account code associated with the protection level.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.account_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.account_code","typeLabel":"string | null"},"cover_level":{"type":"object","description":"Monetary value representing the cover level of the protection.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.cover_level.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.cover_level.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.cover_level.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.cover_level","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the protection level.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.created_at","typeLabel":"string\u003cdate-time>"},"public":{"type":"boolean","description":"Indicates whether the protection level is available for selection.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.public","typeLabel":"boolean"},"site":{"oneOf":[{"type":"object","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","required":["id","access_hours","address","created_at","description","directions","images","name","opened_at","phone","updated_at"],"properties":{"id":{"type":"string","pattern":"^site_","description":"Unique identifier for the site (`site_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.id","typeLabel":"string"},"access_hours":{"oneOf":[{"type":"object","description":"Access hours for the site.","required":["friday","monday","saturday","sunday","thursday","tuesday","wednesday"],"properties":{"friday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.friday","typeLabel":"object"},"monday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.monday","typeLabel":"object"},"saturday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.saturday","typeLabel":"object"},"sunday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.sunday","typeLabel":"object"},"thursday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.thursday","typeLabel":"object"},"tuesday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.tuesday","typeLabel":"object"},"wednesday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0.wednesday","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.0","typeLabel":"object"},{"type":"null","description":"Access hours for the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.access_hours","typeLabel":"object | null"},"address":{"oneOf":[{"type":"object","description":"Address of the site.","required":["city","line_1","line_2","postal_code"],"properties":{"city":{"oneOf":[{"type":"string","description":"City of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.city","typeLabel":"string | null"},"line_1":{"oneOf":[{"type":"string","description":"First line of the address.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"First line of the address.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Second line of the address (optional).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.line_2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0.postal_code","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.address","typeLabel":"object | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"type":"string","description":"Description of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.description","typeLabel":"string | null"},"directions":{"type":"object","description":"Directions to the site.","required":["google_maps_url"],"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.directions.google_maps_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to Google Maps for the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.directions.google_maps_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.directions.google_maps_url","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.directions","typeLabel":"object"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.images","typeLabel":"object"},"name":{"type":"string","description":"Name of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.name","typeLabel":"string"},"opened_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time when the site opened or will open.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.opened_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time when the site opened or will open.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.opened_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.opened_at","typeLabel":"string\u003cdate-time> | null"},"phone":{"oneOf":[{"type":"string","description":"Phone number of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.phone","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the site.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.0","typeLabel":"object"},{"type":"object","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^site_","description":"Unique identifier for the site (`site_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.1","typeLabel":"object"},{"type":"null","description":"Site associated with the protection level. Returns `null` for global protection levels. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.site","typeLabel":"object · object · null"},"stripe_product_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the protection level, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.stripe_product_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the protection level, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.stripe_product_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.stripe_product_id","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the protection level.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.4","typeLabel":"object"},{"type":"object","description":"Item associated with the subscription line item. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^plvl_","description":"Unique identifier for the protection level (`plvl_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.5.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item.oneOf.5","typeLabel":"object"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].item","typeLabel":"object"},"price":{"type":"object","description":"Price of the subscription line item per unit.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].price.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].price","typeLabel":"object"},"quantity":{"type":"integer","description":"Quantity of the item in the subscription line item.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].quantity","typeLabel":"integer"},"type":{"type":"string","enum":["protection","unit_type","custom_product"],"description":"Type of the item on the line item.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the subscription line item.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX].updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.4.line_items.items.[INDEX]","typeLabel":"object"},"description":"List of line items in the subscription.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.line_items","typeLabel":"object[]"},"starts_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time for start of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.starts_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time for start of the subscription period.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.starts_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.starts_at","typeLabel":"string\u003cdate-time> | null"},"stripe_subscription_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Subscription ID linked to the subscription. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.stripe_subscription_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Subscription ID linked to the subscription. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.stripe_subscription_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.stripe_subscription_id","typeLabel":"string | null"},"stripe_subscription_schedule_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Subscription Schedule ID associated with the subscription. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.stripe_subscription_schedule_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Subscription Schedule ID associated with the subscription. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.stripe_subscription_schedule_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.stripe_subscription_schedule_id","typeLabel":"string | null"},"tenancy":{"oneOf":[{"type":"object","description":"Tenancy associated with the subscription. **Expandable** (shows only ID when not expanded).","required":["id","created_at","ends_at","starts_at","unit_allocations","updated_at"],"properties":{"id":{"type":"string","pattern":"^ten_","description":"Unique identifier for the tenancy (`ten_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the tenancy.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"ends_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time for end of the tenancy period.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.ends_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time for end of the tenancy period.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.ends_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.ends_at","typeLabel":"string\u003cdate-time> | null"},"starts_at":{"type":"string","format":"date-time","description":"Date and time for start of the tenancy period.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.starts_at","typeLabel":"string\u003cdate-time>"},"unit_allocations":{"type":"array","items":{"oneOf":[{"type":"object","description":"Unit Allocation","required":["id","created_at","granted_access_at","reserved_at","unit","updated_at"],"properties":{"id":{"type":"string","pattern":"^alloc_","description":"Unique identifier for the unit allocation (`alloc_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"granted_access_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the contact was granted access to the unit, which is the move-in date. `null` until access is granted.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.granted_access_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the contact was granted access to the unit, which is the move-in date. `null` until access is granted.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.granted_access_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.granted_access_at","typeLabel":"string\u003cdate-time> | null"},"reserved_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the unit was reserved for the contact. A reserved unit is held for the contact, who doesn't have access yet. `null` if the unit was allocated without a reservation.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.reserved_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the unit was reserved for the contact. A reserved unit is held for the contact, who doesn't have access yet. `null` if the unit was allocated without a reservation.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.reserved_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.reserved_at","typeLabel":"string\u003cdate-time> | null"},"unit":{"oneOf":[{"type":"object","description":"Unit associated with this allocation. **Expandable** (shows only ID when not expanded).","required":["id","created_at","reference_id","status","unit_type","updated_at"],"properties":{"id":{"type":"string","pattern":"^unit_","description":"Unique identifier for the unit (`unit_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the unit.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"reference_id":{"type":"string","description":"Reference identifier for the unit.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.reference_id","typeLabel":"string"},"status":{"type":"string","enum":["available","occupied","overlock","repossessed","reserved","unavailable"],"description":"Status of the unit.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.status","typeLabel":"enum\u003cstring>"},"unit_type":{"oneOf":[{"type":"object","description":"Unit type associated with the unit. **Expandable** (shows only ID when not expanded).","required":["id","_links","created_at","dimensions","dynamic_pricing","images","live_prices","name","promotion","require_insurance_coverage","require_security_deposit","security_deposit","selling_points","size_description","slug","status","stripe_product_id","updated_at"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.id","typeLabel":"string"},"_links":{"type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"href":{"type":"string","description":"Relative path for API links, relative path for CURIE links.","uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0._links.additionalProperties.href","typeLabel":"string"},"method":{"type":"string","description":"Available only for API links. Other links use always `get`.","enum":["get","post","patch","delete"],"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0._links.additionalProperties.method","typeLabel":"enum\u003cstring>"},"title":{"type":"string","description":"Human-readable label for the link.","uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0._links.additionalProperties.title","typeLabel":"string"},"reference":{"oneOf":[{"type":"string","description":"OpenAPI reference for API links. Component schema for self links, path operation for action links.","uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0._links.additionalProperties.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"OpenAPI reference for API links. Component schema for self links, path operation for action links.","uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0._links.additionalProperties.reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0._links.additionalProperties.reference","typeLabel":"string | null"}},"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0._links.additionalProperties","typeLabel":"object"},"description":"Links related to the resource.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0._links","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"dimensions":{"type":"object","description":"Dimensions of the unit type.","required":["height","length","measurement_unit","width"],"properties":{"height":{"type":"number","description":"Height of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.dimensions.height","typeLabel":"number"},"length":{"type":"number","description":"Length of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.dimensions.length","typeLabel":"number"},"measurement_unit":{"type":"string","enum":["ft","m"],"description":"Unit of length of the dimensions: `m` for metres or `ft` for feet.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.dimensions.measurement_unit","typeLabel":"enum\u003cstring>"},"width":{"type":"number","description":"Width of the unit type, in `measurement_unit`.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.dimensions.width","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.dimensions","typeLabel":"object"},"dynamic_pricing":{"type":"boolean","description":"Indicates whether dynamic pricing is enabled for this unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.dynamic_pricing","typeLabel":"boolean"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.images","typeLabel":"object"},"live_prices":{"type":"array","items":{"type":"object","description":"Price","required":["billing_period","price","stripe_price_id"],"properties":{"billing_period":{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time"],"description":"Billing period for the price.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].billing_period","typeLabel":"enum\u003cstring>"},"price":{"type":"object","description":"Price for the specified billing period.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].price.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].price.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].price.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].price","typeLabel":"object"},"stripe_price_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].stripe_price_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Price ID associated with this price, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].stripe_price_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX].stripe_price_id","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices.items.[INDEX]","typeLabel":"object"},"description":"Current source price used by storefront pricing. Returns the active dynamic price when one applies; otherwise returns the base storefront price. Promotions, discounts, and tax-exclusive variants are not applied.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.live_prices","typeLabel":"object[]"},"name":{"type":"string","description":"Name of the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.name","typeLabel":"string"},"promotion":{"oneOf":[{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["id","auto_apply_to","billing_period","code","created_at","duration","max_redemptions","months","name","public","title","type","updated_at"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.id","typeLabel":"string"},"auto_apply_to":{"type":"object","description":"Line items the coupon is applied to automatically when used on an order.","required":["products","protections","subscriptions","unit_types"],"properties":{"products":{"type":"boolean","description":"Whether the coupon applies to product line items.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.auto_apply_to.products","typeLabel":"boolean"},"protections":{"type":"boolean","description":"Whether the coupon applies to protection line items.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.auto_apply_to.protections","typeLabel":"boolean"},"subscriptions":{"type":"boolean","description":"Whether the coupon applies to the subscription.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.auto_apply_to.subscriptions","typeLabel":"boolean"},"unit_types":{"type":"boolean","description":"Whether the coupon applies to unit type line items.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.auto_apply_to.unit_types","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.auto_apply_to","typeLabel":"object"},"billing_period":{"oneOf":[{"type":"string","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.billing_period.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["monthly","weekly","every_four_weeks","every_three_months","every_six_months","yearly","one_time",null],"description":"Used for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.billing_period.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.billing_period","typeLabel":"enum\u003cstring> | null"},"code":{"oneOf":[{"type":"string","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique code for the coupon for non-public coupons.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.code","typeLabel":"string | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"duration":{"type":"string","enum":["once","forever","repeating"],"description":"Duration of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.duration","typeLabel":"enum\u003cstring>"},"max_redemptions":{"oneOf":[{"type":"integer","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.max_redemptions.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum number of times the coupon can be redeemed.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.max_redemptions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.max_redemptions","typeLabel":"integer | null"},"months":{"oneOf":[{"type":"integer","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.months.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Number of months the coupon is valid for, applicable for `repeating` duration.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.months.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.months","typeLabel":"integer | null"},"name":{"type":"string","description":"Name of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.name","typeLabel":"string"},"public":{"type":"boolean","description":"Indicates if the coupon is publicly available for any contact to use. When set to `true`, the `code` field is not used.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.public","typeLabel":"boolean"},"title":{"oneOf":[{"type":"string","description":"Title of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.title","typeLabel":"string | null"},"type":{"type":"string","enum":["percentage","amount"],"description":"Type of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.type","typeLabel":"enum\u003cstring>"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the coupon.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"amount":{"type":"object","description":"Amount deducted from the price when the coupon is applied.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.amount.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.amount.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.amount.formatted","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.amount","typeLabel":"object"},"percent":{"type":"number","description":"Percentage off the price, greater than 0 and at most 100, with up to 2 decimal places. `20` means 20% off.","uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0.percent","typeLabel":"number"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.0","typeLabel":"object"},{"type":"object","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^cpn_","description":"Unique identifier for the coupon (`cpn_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.1","typeLabel":"object"},{"type":"null","description":"Promotional coupon associated with the unit type. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.promotion","typeLabel":"object · object · null"},"require_insurance_coverage":{"type":"boolean","description":"Indicates whether insurance coverage is required for this unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.require_insurance_coverage","typeLabel":"boolean"},"require_security_deposit":{"type":"boolean","description":"Indicates whether a security deposit is required for this unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.require_security_deposit","typeLabel":"boolean"},"security_deposit":{"oneOf":[{"type":"object","description":"Security deposit amount for the unit type.","required":["amount","currency","formatted"],"properties":{"amount":{"type":"integer","description":"Amount of money in the smallest currency unit (e.g., cents for USD).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.security_deposit.oneOf.0.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["AED","AUD","BGN","BRL","CAD","CHF","CZK","DKK","EUR","GBP","HKD","HUF","MXN","MYR","NOK","NZD","PLN","RON","SEK","SGD","THB","USD"],"description":"ISO 4217 currency code.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.security_deposit.oneOf.0.currency","typeLabel":"enum\u003cstring>"},"formatted":{"type":"string","description":"Formatted string representation of the money amount, including the currency symbol.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.security_deposit.oneOf.0.formatted","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.security_deposit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Security deposit amount for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.security_deposit.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.security_deposit","typeLabel":"object | null"},"selling_points":{"type":"array","items":{"type":"string","uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.selling_points.items.[INDEX]","typeLabel":"string"},"description":"List of selling points for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.selling_points","typeLabel":"string[]"},"size_description":{"type":"string","description":"Description of the size of the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.size_description","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly identifier for the unit type, typically used in web addresses.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.slug","typeLabel":"string"},"status":{"type":"string","enum":["bookable","hidden","lead_capture"],"description":"Availability of the unit type on the storefront: `bookable`, `lead_capture` (collecting leads) or `hidden`.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.status","typeLabel":"enum\u003cstring>"},"stripe_product_id":{"oneOf":[{"type":"string","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the unit type, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.stripe_product_id.oneOf.0","typeLabel":"string"},{"type":"null","deprecated":true,"description":"**Deprecated — will be removed in a future API version.** Stripe Product ID associated with the unit type, used for payment processing. Retained for backwards compatibility; do not use in new integrations.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.stripe_product_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.stripe_product_id","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the unit type.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.0","typeLabel":"object"},{"type":"object","description":"Unit type associated with the unit. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^utype_","description":"Unique identifier for the unit type (`utype_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.unit_type","typeLabel":"object"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the unit.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.0","typeLabel":"object"},{"type":"object","description":"Unit associated with this allocation. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^unit_","description":"Unique identifier for the unit (`unit_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.unit","typeLabel":"object"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["id"],"properties":{"id":{"type":"string","pattern":"^alloc_","description":"Unique identifier for the unit allocation (`alloc_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations.items.[INDEX]","typeLabel":"object"},"description":"Allocated units associated with the tenancy. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.unit_allocations","typeLabel":"object[]"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time for the tenancy.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Tenancy associated with the subscription. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^ten_","description":"Unique identifier for the tenancy (`ten_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"task.resource.oneOf.4.tenancy","typeLabel":"object"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the subscription.","isRequired":true,"uniqueKey":"task.resource.oneOf.4.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.4","typeLabel":"object"},{"type":"object","description":"Resource associated with the task. Can be a Unit, Contact, or Subscription. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^sub_","description":"Unique identifier for the subscription (`sub_…`).","isRequired":true,"uniqueKey":"task.resource.oneOf.5.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.5","typeLabel":"object"},{"type":"object","description":"Resource associated with the task. Can be a Unit, Contact, or Subscription. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","description":"Unique identifier for the resource.","isRequired":true,"uniqueKey":"task.resource.oneOf.6.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.6","typeLabel":"object"},{"type":"object","description":"Resource associated with the task. Can be a Unit, Contact, or Subscription. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","description":"Unique identifier for the resource.","isRequired":true,"uniqueKey":"task.resource.oneOf.7.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.resource.oneOf.7","typeLabel":"object"},{"type":"null","description":"Resource associated with the task. Can be a Unit, Contact, or Subscription. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.resource.oneOf.8","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.resource","typeLabel":"object · object · object · object · object · object · object · object · null"},"site":{"oneOf":[{"type":"object","description":"Site associated with the task. **Expandable** (shows only ID when not expanded).","required":["id","access_hours","address","created_at","description","directions","images","name","opened_at","phone","updated_at"],"properties":{"id":{"type":"string","pattern":"^site_","description":"Unique identifier for the site (`site_…`).","isRequired":true,"uniqueKey":"task.site.oneOf.0.id","typeLabel":"string"},"access_hours":{"oneOf":[{"type":"object","description":"Access hours for the site.","required":["friday","monday","saturday","sunday","thursday","tuesday","wednesday"],"properties":{"friday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.friday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.friday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.friday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.friday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.friday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.friday","typeLabel":"object"},"monday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.monday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.monday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.monday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.monday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.monday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.monday","typeLabel":"object"},"saturday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.saturday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.saturday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.saturday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.saturday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.saturday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.saturday","typeLabel":"object"},"sunday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.sunday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.sunday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.sunday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.sunday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.sunday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.sunday","typeLabel":"object"},"thursday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.thursday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.thursday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.thursday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.thursday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.thursday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.thursday","typeLabel":"object"},"tuesday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.tuesday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.tuesday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.tuesday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.tuesday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.tuesday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.tuesday","typeLabel":"object"},"wednesday":{"type":"object","description":"Access Hours Day","required":["close","open","status"],"properties":{"close":{"oneOf":[{"type":"string","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.0","typeLabel":"string"},{"type":"null","description":"Closing time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.wednesday.close.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.wednesday.close","typeLabel":"string | null"},"open":{"oneOf":[{"type":"string","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.0","typeLabel":"string"},{"type":"null","description":"Opening time in 24-hour `HH:MM` format. Has `null` for `appointment` or `closed` status.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.wednesday.open.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.wednesday.open","typeLabel":"string | null"},"status":{"type":"string","enum":["set_hours","appointment","closed"],"description":"Access on the day: `set_hours` between `open` and `close`, `appointment` by appointment only, or `closed`.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.wednesday.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0.wednesday","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.0","typeLabel":"object"},{"type":"null","description":"Access hours for the site.","isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.access_hours","typeLabel":"object | null"},"address":{"oneOf":[{"type":"object","description":"Address of the site.","required":["city","line_1","line_2","postal_code"],"properties":{"city":{"oneOf":[{"type":"string","description":"City of the site.","isRequired":true,"uniqueKey":"task.site.oneOf.0.address.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","description":"City of the site.","isRequired":true,"uniqueKey":"task.site.oneOf.0.address.oneOf.0.city.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.address.oneOf.0.city","typeLabel":"string | null"},"line_1":{"oneOf":[{"type":"string","description":"First line of the address.","isRequired":true,"uniqueKey":"task.site.oneOf.0.address.oneOf.0.line_1.oneOf.0","typeLabel":"string"},{"type":"null","description":"First line of the address.","isRequired":true,"uniqueKey":"task.site.oneOf.0.address.oneOf.0.line_1.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.address.oneOf.0.line_1","typeLabel":"string | null"},"line_2":{"oneOf":[{"type":"string","description":"Second line of the address (optional).","isRequired":true,"uniqueKey":"task.site.oneOf.0.address.oneOf.0.line_2.oneOf.0","typeLabel":"string"},{"type":"null","description":"Second line of the address (optional).","isRequired":true,"uniqueKey":"task.site.oneOf.0.address.oneOf.0.line_2.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.address.oneOf.0.line_2","typeLabel":"string | null"},"postal_code":{"oneOf":[{"type":"string","description":"Postal code of the site.","isRequired":true,"uniqueKey":"task.site.oneOf.0.address.oneOf.0.postal_code.oneOf.0","typeLabel":"string"},{"type":"null","description":"Postal code of the site.","isRequired":true,"uniqueKey":"task.site.oneOf.0.address.oneOf.0.postal_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.address.oneOf.0.postal_code","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.site.oneOf.0.address.oneOf.0","typeLabel":"object"},{"type":"null","description":"Address of the site.","isRequired":true,"uniqueKey":"task.site.oneOf.0.address.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.address","typeLabel":"object | null"},"created_at":{"type":"string","format":"date-time","description":"Creation date and time of the site.","isRequired":true,"uniqueKey":"task.site.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"type":"string","description":"Description of the site.","isRequired":true,"uniqueKey":"task.site.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description of the site.","isRequired":true,"uniqueKey":"task.site.oneOf.0.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.description","typeLabel":"string | null"},"directions":{"type":"object","description":"Directions to the site.","required":["google_maps_url"],"properties":{"google_maps_url":{"oneOf":[{"type":"string","description":"URL to Google Maps for the site.","isRequired":true,"uniqueKey":"task.site.oneOf.0.directions.google_maps_url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to Google Maps for the site.","isRequired":true,"uniqueKey":"task.site.oneOf.0.directions.google_maps_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.directions.google_maps_url","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.site.oneOf.0.directions","typeLabel":"object"},"images":{"type":"object","additionalProperties":false,"properties":{"default":{"oneOf":[{"type":"object","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image.","uniqueKey":"task.site.oneOf.0.images.default.oneOf.0.original","typeLabel":"string\u003curi>"},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px.","uniqueKey":"task.site.oneOf.0.images.default.oneOf.0.small","typeLabel":"string\u003curi>"},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px.","uniqueKey":"task.site.oneOf.0.images.default.oneOf.0.medium","typeLabel":"string\u003curi>"},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px.","uniqueKey":"task.site.oneOf.0.images.default.oneOf.0.large","typeLabel":"string\u003curi>"}},"uniqueKey":"task.site.oneOf.0.images.default.oneOf.0","typeLabel":"object"},{"type":"null","description":"The `default` image, or `null` when none is uploaded.","additionalProperties":false,"properties":{"original":{"type":"string","format":"uri","description":"Original unresized image."},"small":{"type":"string","format":"uri","description":"Resized to max 250x250px."},"medium":{"type":"string","format":"uri","description":"Resized to max 500x500px."},"large":{"type":"string","format":"uri","description":"Resized to max 1000x1000px."}},"uniqueKey":"task.site.oneOf.0.images.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"task.site.oneOf.0.images.default","typeLabel":"object | null"}},"description":"Image URLs keyed by image name. Each URL redirects to a short-lived download link, so don't cache the redirect target.","isRequired":true,"uniqueKey":"task.site.oneOf.0.images","typeLabel":"object"},"name":{"type":"string","description":"Name of the site.","isRequired":true,"uniqueKey":"task.site.oneOf.0.name","typeLabel":"string"},"opened_at":{"oneOf":[{"type":"string","format":"date-time","description":"Date and time when the site opened or will open.","isRequired":true,"uniqueKey":"task.site.oneOf.0.opened_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Date and time when the site opened or will open.","isRequired":true,"uniqueKey":"task.site.oneOf.0.opened_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.opened_at","typeLabel":"string\u003cdate-time> | null"},"phone":{"oneOf":[{"type":"string","description":"Phone number of the site.","isRequired":true,"uniqueKey":"task.site.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number of the site.","isRequired":true,"uniqueKey":"task.site.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site.oneOf.0.phone","typeLabel":"string | null"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the site.","isRequired":true,"uniqueKey":"task.site.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.site.oneOf.0","typeLabel":"object"},{"type":"object","description":"Site associated with the task. **Expandable** (shows only ID when not expanded).","required":["id"],"properties":{"id":{"type":"string","pattern":"^site_","description":"Unique identifier for the site (`site_…`).","isRequired":true,"uniqueKey":"task.site.oneOf.1.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task.site.oneOf.1","typeLabel":"object"},{"type":"null","description":"Site associated with the task. **Expandable** (shows only ID when not expanded).","isRequired":true,"uniqueKey":"task.site.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"task.site","typeLabel":"object · object · null"},"status":{"type":"string","enum":["open","completed"],"description":"Status of the task.","isRequired":true,"uniqueKey":"task.status","typeLabel":"enum\u003cstring>"},"title":{"type":"string","description":"Title of the task.","isRequired":true,"uniqueKey":"task.title","typeLabel":"string"},"updated_at":{"type":"string","format":"date-time","description":"Last update date and time of the task.","isRequired":true,"uniqueKey":"task.updated_at","typeLabel":"string\u003cdate-time>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"task","typeLabel":"object"},"meta":{"type":"object","required":["curies","request_id"],"properties":{"curies":{"type":"array","items":{"type":"object","description":"CURIE definition for resolving namespaced link relations.","required":["href","name","templated","title"],"properties":{"href":{"type":"string","description":"URI template for resolving the CURIE.","isRequired":true,"uniqueKey":"meta.curies.items.[INDEX].href","typeLabel":"string"},"name":{"type":"string","enum":["bo","sf"],"description":"CURIE prefix name","isRequired":true,"uniqueKey":"meta.curies.items.[INDEX].name","typeLabel":"enum\u003cstring>"},"templated":{"type":"boolean","description":"Whether the href is a URI template.","isRequired":true,"uniqueKey":"meta.curies.items.[INDEX].templated","typeLabel":"boolean"},"title":{"type":"string","description":"Human-readable title.","isRequired":true,"uniqueKey":"meta.curies.items.[INDEX].title","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"meta.curies.items.[INDEX]","typeLabel":"object"},"description":"CURIE definitions for resolving namespaced link relations.","isRequired":true,"uniqueKey":"meta.curies","typeLabel":"object[]"},"request_id":{"type":"string","description":"Unique request identifier.","isRequired":true,"uniqueKey":"meta.request_id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"additionalProperties":false,"description":"Single Task","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"f2903bac-90a7-4d7f-bc2d-b01227bd1e0a":{"description":"task not found","content":{"application/json":{"examples":{"default":{"title":"default","summary":"task not found","value":{"error":{"code":"resource_not_found","details":[],"links":[{"kind":"api_reference","name":"Update a Task","url":"https://docs.stora.test/2025-09/api-reference/tasks/update-a-task"},{"kind":"open_api","name":"OpenAPI specification","url":"https://docs.stora.test/2025-09/openapi.json"},{"kind":"documentation","name":"Errors","url":"https://docs.stora.test/2025-09/guides/errors#resource_not_found"}],"message":"The Task was not found.","request_id":"01563646-58c1-4607-8fe0-cae3e92c4477","type":"invalid_request_error"}}}},"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","description":"Error","required":["code","details","links","message","request_id","type"],"properties":{"code":{"type":"string","description":"Short code that represents the error.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","description":"ErrorDetail","required":["message","pointer"],"properties":{"message":{"type":"string","description":"Human-readable message providing detailed information about the error.","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"},"pointer":{"oneOf":[{"type":"string","description":"Points to the request field that caused the error:\n- String starting with '/': Exact path of the problematic field.\n- String starting without '/': General hint, cannot pinpoint exact field.\n- null: Error cannot be mapped to any specific field.\n","isRequired":true,"uniqueKey":"error.details.items.[INDEX].pointer.oneOf.0","typeLabel":"string"},{"type":"null","description":"Points to the request field that caused the error:\n- String starting with '/': Exact path of the problematic field.\n- String starting without '/': General hint, cannot pinpoint exact field.\n- null: Error cannot be mapped to any specific field.\n","isRequired":true,"uniqueKey":"error.details.items.[INDEX].pointer.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.details.items.[INDEX].pointer","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Array of error details.","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"links":{"type":"array","items":{"type":"object","description":"Link to Stora developer resources","required":["kind","name","url"],"properties":{"kind":{"type":"string","description":"Kind of Stora documentation","isRequired":true,"uniqueKey":"error.links.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"Name of Stora documentation","isRequired":true,"uniqueKey":"error.links.items.[INDEX].name","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"URL to Stora documentation","isRequired":true,"uniqueKey":"error.links.items.[INDEX].url","typeLabel":"string\u003curi>"}},"additionalProperties":false,"uniqueKey":"error.links.items.[INDEX]","typeLabel":"object"},"description":"Link(s) to Stora developer resources","isRequired":true,"uniqueKey":"error.links","typeLabel":"object[]"},"message":{"type":"string","description":"Human-readable message providing brief information about the error.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Unique request identifier.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","api_error"],"description":"Type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"additionalProperties":false,"description":"Error","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"},"9e46a799-a3c7-4bf1-b1e5-7b91984051ad":{"description":"invalid request with invalid due_at","content":{"application/json":{"examples":{"invalid_path_id":{"title":"invalid_path_id","summary":"invalid path ID","value":{"error":{"code":"invalid_url_param","details":[{"message":"value `invalid` at `/task_id` does not match pattern: ^task_","pointer":"/task_id"}],"links":[{"kind":"api_reference","name":"Update a Task","url":"https://docs.stora.test/2025-09/api-reference/tasks/update-a-task"},{"kind":"open_api","name":"OpenAPI specification","url":"https://docs.stora.test/2025-09/openapi.json"},{"kind":"documentation","name":"Errors","url":"https://docs.stora.test/2025-09/guides/errors#invalid_url_param"}],"message":"The request URL param is invalid.","request_id":"01563646-58c1-4607-8fe0-cae3e92c4477","type":"invalid_request_error"}}},"default":{"title":"default","summary":"invalid request with invalid due_at","value":{"error":{"code":"invalid_content","details":[{"message":"value at `/due_at` does not match format: date-time","pointer":"/due_at"}],"links":[{"kind":"api_reference","name":"Update a Task","url":"https://docs.stora.test/2025-09/api-reference/tasks/update-a-task"},{"kind":"open_api","name":"OpenAPI specification","url":"https://docs.stora.test/2025-09/openapi.json"},{"kind":"documentation","name":"Errors","url":"https://docs.stora.test/2025-09/guides/errors#invalid_content"}],"message":"The request body content is not valid.","request_id":"01563646-58c1-4607-8fe0-cae3e92c4477","type":"invalid_request_error"}}}},"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","description":"Error","required":["code","details","links","message","request_id","type"],"properties":{"code":{"type":"string","description":"Short code that represents the error.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","description":"ErrorDetail","required":["message","pointer"],"properties":{"message":{"type":"string","description":"Human-readable message providing detailed information about the error.","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"},"pointer":{"oneOf":[{"type":"string","description":"Points to the request field that caused the error:\n- String starting with '/': Exact path of the problematic field.\n- String starting without '/': General hint, cannot pinpoint exact field.\n- null: Error cannot be mapped to any specific field.\n","isRequired":true,"uniqueKey":"error.details.items.[INDEX].pointer.oneOf.0","typeLabel":"string"},{"type":"null","description":"Points to the request field that caused the error:\n- String starting with '/': Exact path of the problematic field.\n- String starting without '/': General hint, cannot pinpoint exact field.\n- null: Error cannot be mapped to any specific field.\n","isRequired":true,"uniqueKey":"error.details.items.[INDEX].pointer.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.details.items.[INDEX].pointer","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"description":"Array of error details.","isRequired":true,"uniqueKey":"error.details","typeLabel":"object[]"},"links":{"type":"array","items":{"type":"object","description":"Link to Stora developer resources","required":["kind","name","url"],"properties":{"kind":{"type":"string","description":"Kind of Stora documentation","isRequired":true,"uniqueKey":"error.links.items.[INDEX].kind","typeLabel":"string"},"name":{"type":"string","description":"Name of Stora documentation","isRequired":true,"uniqueKey":"error.links.items.[INDEX].name","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"URL to Stora documentation","isRequired":true,"uniqueKey":"error.links.items.[INDEX].url","typeLabel":"string\u003curi>"}},"additionalProperties":false,"uniqueKey":"error.links.items.[INDEX]","typeLabel":"object"},"description":"Link(s) to Stora developer resources","isRequired":true,"uniqueKey":"error.links","typeLabel":"object[]"},"message":{"type":"string","description":"Human-readable message providing brief information about the error.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","description":"Unique request identifier.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","api_error"],"description":"Type of error returned.","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"additionalProperties":false,"description":"Error","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"8e697bf8-ef4c-40b2-88bb-04fc8c9089fc":{"Bearer":{"description":"Bearer Token necessary to use API","type":"http","scheme":"bearer","bearerFormat":"token","scopes":["public.task:write"],"schemeName":"Bearer"}},"88095e2d-67a2-49b1-a03c-b66af9451b81":{"OAuth2":{"type":"oauth2","description":"OAuth 2 authentication","flows":{"clientCredentials":{"tokenUrl":"https://public-api.stora.co/oauth2/token","scopes":{"public.access_token:read":"Access Token (Read)","public.application:read":"Application (Read)","public.contact:read":"Contact (Read)","public.contact:write":"Contact (Write)","public.contract:read":"Contract (Read)","public.contract_template:read":"Contract Template (Read)","public.coupon:read":"Coupon (Read)","public.credit_note:read":"Credit Note (Read)","public.deal:read":"Deal (Read)","public.deal:write":"Deal (Write)","public.deal_stage:read":"Deal Stage (Read)","public.identity_verification:read":"Identity Verification (Read)","public.invoice:read":"Invoice (Read)","public.note:read":"Note (Read)","public.note:write":"Note (Write)","public.opportunity:read":"Opportunity (Read)","public.opportunity:write":"Opportunity (Write)","public.order:read":"Order (Read)","public.order:write":"Order (Write)","public.price_adjustment:read":"Price Adjustment (Read)","public.price_adjustment:skip_notifications":"Price Adjustment (Skip notifications)","public.price_adjustment:write":"Price Adjustment (Write)","public.product:read":"Product (Read)","public.product:write":"Product (Write)","public.product_category:read":"Product Category (Read)","public.protection_level:read":"Protection Level (Read)","public.protection_level:write":"Protection Level (Write)","public.site:read":"Site (Read)","public.staff:read":"Staff (Read)","public.subscription:read":"Subscription (Read)","public.task:read":"Task (Read)","public.task:write":"Task (Write)","public.tenancy:read":"Tenancy (Read)","public.timeline_event:read":"Timeline Event (Read)","public.timeline_event:write":"Timeline Event (Write)","public.timeline_source:read":"Timeline Source (Read)","public.timeline_template:read":"Timeline Template (Read)","public.unit:read":"Unit (Read)","public.unit:write":"Unit (Write)","public.unit_allocation:read":"Unit Allocation (Read)","public.unit_type:read":"Unit Type (Read)","public.unit_type:write":"Unit Type (Write)","public.webhook_endpoint:read":"Webhook Endpoint (Read)","public.webhook_endpoint:write":"Webhook Endpoint (Write)"}},"authorizationCode":{"authorizationUrl":"https://app.stora.co/oauth2/authorize","tokenUrl":"https://public-api.stora.co/oauth2/token","scopes":{"public.access_token:read":"Access Token (Read)","public.application:read":"Application (Read)","public.contact:read":"Contact (Read)","public.contact:write":"Contact (Write)","public.contract:read":"Contract (Read)","public.contract_template:read":"Contract Template (Read)","public.coupon:read":"Coupon (Read)","public.credit_note:read":"Credit Note (Read)","public.deal:read":"Deal (Read)","public.deal:write":"Deal (Write)","public.deal_stage:read":"Deal Stage (Read)","public.identity_verification:read":"Identity Verification (Read)","public.invoice:read":"Invoice (Read)","public.note:read":"Note (Read)","public.note:write":"Note (Write)","public.opportunity:read":"Opportunity (Read)","public.opportunity:write":"Opportunity (Write)","public.order:read":"Order (Read)","public.order:write":"Order (Write)","public.price_adjustment:read":"Price Adjustment (Read)","public.price_adjustment:skip_notifications":"Price Adjustment (Skip notifications)","public.price_adjustment:write":"Price Adjustment (Write)","public.product:read":"Product (Read)","public.product:write":"Product (Write)","public.product_category:read":"Product Category (Read)","public.protection_level:read":"Protection Level (Read)","public.protection_level:write":"Protection Level (Write)","public.site:read":"Site (Read)","public.staff:read":"Staff (Read)","public.subscription:read":"Subscription (Read)","public.task:read":"Task (Read)","public.task:write":"Task (Write)","public.tenancy:read":"Tenancy (Read)","public.timeline_event:read":"Timeline Event (Read)","public.timeline_event:write":"Timeline Event (Write)","public.timeline_source:read":"Timeline Source (Read)","public.timeline_template:read":"Timeline Template (Read)","public.unit:read":"Unit (Read)","public.unit:write":"Unit (Write)","public.unit_allocation:read":"Unit Allocation (Read)","public.unit_type:read":"Unit Type (Read)","public.unit_type:write":"Unit Type (Write)","public.webhook_endpoint:read":"Webhook Endpoint (Read)","public.webhook_endpoint:write":"Webhook Endpoint (Write)"}}},"scopes":["public.task:write"],"schemeName":"OAuth2"}}},"servers":{"dfd9468a-821b-43d2-b340-0e11580495e0":{"url":"https://public-api.stora.co","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"Bearer Token necessary to use API","type":"http","scheme":"bearer","bearerFormat":"token","scopes":["public.task:write"],"schemeName":"Bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer Token necessary to use API","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Bearer","name":"Authorization"}],"title":"Bearer"},{"schemes":[{"scheme":{"type":"oauth2","description":"OAuth 2 authentication","flows":{"clientCredentials":{"tokenUrl":"https://public-api.stora.co/oauth2/token","scopes":{"public.access_token:read":"Access Token (Read)","public.application:read":"Application (Read)","public.contact:read":"Contact (Read)","public.contact:write":"Contact (Write)","public.contract:read":"Contract (Read)","public.contract_template:read":"Contract Template (Read)","public.coupon:read":"Coupon (Read)","public.credit_note:read":"Credit Note (Read)","public.deal:read":"Deal (Read)","public.deal:write":"Deal (Write)","public.deal_stage:read":"Deal Stage (Read)","public.identity_verification:read":"Identity Verification (Read)","public.invoice:read":"Invoice (Read)","public.note:read":"Note (Read)","public.note:write":"Note (Write)","public.opportunity:read":"Opportunity (Read)","public.opportunity:write":"Opportunity (Write)","public.order:read":"Order (Read)","public.order:write":"Order (Write)","public.price_adjustment:read":"Price Adjustment (Read)","public.price_adjustment:skip_notifications":"Price Adjustment (Skip notifications)","public.price_adjustment:write":"Price Adjustment (Write)","public.product:read":"Product (Read)","public.product:write":"Product (Write)","public.product_category:read":"Product Category (Read)","public.protection_level:read":"Protection Level (Read)","public.protection_level:write":"Protection Level (Write)","public.site:read":"Site (Read)","public.staff:read":"Staff (Read)","public.subscription:read":"Subscription (Read)","public.task:read":"Task (Read)","public.task:write":"Task (Write)","public.tenancy:read":"Tenancy (Read)","public.timeline_event:read":"Timeline Event (Read)","public.timeline_event:write":"Timeline Event (Write)","public.timeline_source:read":"Timeline Source (Read)","public.timeline_template:read":"Timeline Template (Read)","public.unit:read":"Unit (Read)","public.unit:write":"Unit (Write)","public.unit_allocation:read":"Unit Allocation (Read)","public.unit_type:read":"Unit Type (Read)","public.unit_type:write":"Unit Type (Write)","public.webhook_endpoint:read":"Webhook Endpoint (Read)","public.webhook_endpoint:write":"Webhook Endpoint (Write)"}},"authorizationCode":{"authorizationUrl":"https://app.stora.co/oauth2/authorize","tokenUrl":"https://public-api.stora.co/oauth2/token","scopes":{"public.access_token:read":"Access Token (Read)","public.application:read":"Application (Read)","public.contact:read":"Contact (Read)","public.contact:write":"Contact (Write)","public.contract:read":"Contract (Read)","public.contract_template:read":"Contract Template (Read)","public.coupon:read":"Coupon (Read)","public.credit_note:read":"Credit Note (Read)","public.deal:read":"Deal (Read)","public.deal:write":"Deal (Write)","public.deal_stage:read":"Deal Stage (Read)","public.identity_verification:read":"Identity Verification (Read)","public.invoice:read":"Invoice (Read)","public.note:read":"Note (Read)","public.note:write":"Note (Write)","public.opportunity:read":"Opportunity (Read)","public.opportunity:write":"Opportunity (Write)","public.order:read":"Order (Read)","public.order:write":"Order (Write)","public.price_adjustment:read":"Price Adjustment (Read)","public.price_adjustment:skip_notifications":"Price Adjustment (Skip notifications)","public.price_adjustment:write":"Price Adjustment (Write)","public.product:read":"Product (Read)","public.product:write":"Product (Write)","public.product_category:read":"Product Category (Read)","public.protection_level:read":"Protection Level (Read)","public.protection_level:write":"Protection Level (Write)","public.site:read":"Site (Read)","public.staff:read":"Staff (Read)","public.subscription:read":"Subscription (Read)","public.task:read":"Task (Read)","public.task:write":"Task (Write)","public.tenancy:read":"Tenancy (Read)","public.timeline_event:read":"Timeline Event (Read)","public.timeline_event:write":"Timeline Event (Write)","public.timeline_source:read":"Timeline Source (Read)","public.timeline_template:read":"Timeline Template (Read)","public.unit:read":"Unit (Read)","public.unit:write":"Unit (Write)","public.unit_allocation:read":"Unit Allocation (Read)","public.unit_type:read":"Unit Type (Read)","public.unit_type:write":"Unit Type (Write)","public.webhook_endpoint:read":"Webhook Endpoint (Read)","public.webhook_endpoint:write":"Webhook Endpoint (Write)"}}},"scopes":["public.task:write"],"schemeName":"OAuth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"OAuth 2 authentication","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"OAuth2","name":"Authorization"}],"title":"OAuth2"}]},"originalFileLocation":"2025-09/openapi.json"},"subdomain":"stora-f4154d0c","siteName":"Stora","title":"Update a Task - Stora","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"2025-09":{"href":"/2025-09/api-reference/tasks/update-a-task","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-28T13:40:24.896Z","originalFileLocation":"2025-09/api-reference/tasks/update-a-task.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=\"Change any task, including ones staff or other integrations created: title, description, due date, site, assignee or resource. Fields you leave out are unchanged, and null removes an optional one. A task.updated webhook fires unless only metadata changed. A new assignee isn\u0026#x27;t emailed. To change the status, use Complete a Task or Open a Task instead. Required authorization scope: public.task:write\">\u003cmeta data-mint-head name=\"application-name\" content=\"Stora\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stora-f4154d0c/vqyFqxlOxTWjpk26/_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=\"/mintlify-assets/_mintlify/favicons/stora-f4154d0c/vqyFqxlOxTWjpk26/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stora-f4154d0c/vqyFqxlOxTWjpk26/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stora-f4154d0c/vqyFqxlOxTWjpk26/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stora-f4154d0c/vqyFqxlOxTWjpk26/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stora-f4154d0c/vqyFqxlOxTWjpk26/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stora-f4154d0c/vqyFqxlOxTWjpk26/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stora-f4154d0c/vqyFqxlOxTWjpk26/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stora-f4154d0c/vqyFqxlOxTWjpk26/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a Task - Stora\">\u003cmeta data-mint-head property=\"og:description\" content=\"Change any task, including ones staff or other integrations created: title, description, due date, site, assignee or resource. Fields you leave out are unchanged, and null removes an optional one. A task.updated webhook fires unless only metadata changed. A new assignee isn\u0026#x27;t emailed. To change the status, use Complete a Task or Open a Task instead. Required authorization scope: public.task:write\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Stora\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.stora.co/2025-09/api-reference/tasks/update-a-task\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://stora-f4154d0c.mintlify.site/_mintlify/api/og/v2?division=Tasks\u0026amp;title=Update+a+Task\u0026amp;description=Change+any+task%2C+including+ones+staff+or+other+integrations+created%3A+title%2C+description%2C+due+date%2C+site%2C+assignee+or+resource.+Fields+you+leave+out+are+unchange\u0026amp;theme=6db5bd5e68127dc65254e888\u0026amp;signature=4186633219e8dc237a0aa618e627212b4b6ef42be53b0e01c62849db062af912\">\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=\"Update a Task - Stora\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Change any task, including ones staff or other integrations created: title, description, due date, site, assignee or resource. Fields you leave out are unchanged, and null removes an optional one. A task.updated webhook fires unless only metadata changed. A new assignee isn\u0026#x27;t emailed. To change the status, use Complete a Task or Open a Task instead. Required authorization scope: public.task:write\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stora-f4154d0c.mintlify.site/_mintlify/api/og/v2?division=Tasks\u0026amp;title=Update+a+Task\u0026amp;description=Change+any+task%2C+including+ones+staff+or+other+integrations+created%3A+title%2C+description%2C+due+date%2C+site%2C+assignee+or+resource.+Fields+you+leave+out+are+unchange\u0026amp;theme=6db5bd5e68127dc65254e888\u0026amp;signature=4186633219e8dc237a0aa618e627212b4b6ef42be53b0e01c62849db062af912\">\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=\"/mintlify-assets/_mintlify/favicons/stora-f4154d0c/vqyFqxlOxTWjpk26/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Stora\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#05195A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.stora.co/2025-09/api-reference/tasks/update-a-task\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/2025-09/api-reference/tasks/update-a-task.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.stora.co/#organization\",\"name\":\"Stora\",\"url\":\"https://docs.stora.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/stora-f4154d0c/OkDRMCLydnzT1IFG/logo/stora-logo.svg?fit=max\u0026auto=format\u0026n=OkDRMCLydnzT1IFG\u0026q=85\u0026s=208e8987df1797b88ccc8c1c418f8126\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.stora.co#website\",\"name\":\"Stora\",\"url\":\"https://docs.stora.co\",\"publisher\":{\"@id\":\"https://docs.stora.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.stora.co/2025-09/api-reference/tasks/update-a-task#webpage\",\"url\":\"https://docs.stora.co/2025-09/api-reference/tasks/update-a-task\",\"name\":\"Update a Task\",\"description\":\"Change any task, including ones staff or other integrations created: title, description, due date, site, assignee or resource. Fields you leave out are unchanged, and null removes an optional one. A task.updated webhook fires unless only metadata changed. A new assignee isn't emailed. To change the status, use Complete a Task or Open a Task instead. Required authorization scope: public.task:write\",\"dateModified\":\"2026-11-28T13:40:24.896Z\",\"isPartOf\":{\"@id\":\"https://docs.stora.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.stora.co/2025-09/api-reference/tasks/update-a-task#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.stora.co/2025-09/api-reference/tasks/update-a-task#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tasks\",\"item\":\"https://docs.stora.co/2025-09/api-reference/tasks/complete-a-task\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update a Task\",\"item\":\"https://docs.stora.co/2025-09/api-reference/tasks/update-a-task\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.stora.co/2025-09/api-reference/tasks/update-a-task#apireference\",\"headline\":\"Update a Task\",\"name\":\"Update a Task\",\"description\":\"Change any task, including ones staff or other integrations created: title, description, due date, site, assignee or resource. Fields you leave out are unchanged, and null removes an optional one. A task.updated webhook fires unless only metadata changed. A new assignee isn't emailed. To change the status, use Complete a Task or Open a Task instead. Required authorization scope: public.task:write\",\"url\":\"https://docs.stora.co/2025-09/api-reference/tasks/update-a-task\",\"mainEntityOfPage\":{\"@id\":\"https://docs.stora.co/2025-09/api-reference/tasks/update-a-task#webpage\"},\"dateModified\":\"2026-11-28T13:40:24.896Z\",\"publisher\":{\"@id\":\"https://docs.stora.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.stora.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Stora\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Stora\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/2025-09/api-reference/tasks/update-a-task.md","siteName":"Stora","nav":{"global":null,"versions":[{"version":"2025-09","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/2025-09/guides/introduction"}]},{"tab":"API reference","groups":[{"group":"Contacts","pages":[{"title":"List all Contacts","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/contacts","href":"/2025-09/api-reference/contacts/list-all-contacts"},{"title":"Create a Contact","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/contacts","href":"/2025-09/api-reference/contacts/create-a-contact"},{"title":"Show a Contact","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/contacts/{contact_id}","href":"/2025-09/api-reference/contacts/show-a-contact"},{"title":"Delete a Contact","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json delete /2025-09/contacts/{contact_id}","href":"/2025-09/api-reference/contacts/delete-a-contact"},{"title":"Update a Contact","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json patch /2025-09/contacts/{contact_id}","href":"/2025-09/api-reference/contacts/update-a-contact"}]},{"group":"Contract Templates","pages":[{"title":"List all Contract Templates","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/contract_templates","href":"/2025-09/api-reference/contract-templates/list-all-contract-templates"},{"title":"Show a Contract Template","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/contract_templates/{contract_template_id}","href":"/2025-09/api-reference/contract-templates/show-a-contract-template"}]},{"group":"Contracts","pages":[{"title":"List all Contracts","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/contracts","href":"/2025-09/api-reference/contracts/list-all-contracts"},{"title":"Show a Contract","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/contracts/{contract_id}","href":"/2025-09/api-reference/contracts/show-a-contract"}]},{"group":"Coupons","pages":[{"title":"List all Coupons","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/coupons","href":"/2025-09/api-reference/coupons/list-all-coupons"},{"title":"Show a Coupon","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/coupons/{coupon_id}","href":"/2025-09/api-reference/coupons/show-a-coupon"}]},{"group":"Credit Notes","pages":[{"title":"List all Credit Notes","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/credit_notes","href":"/2025-09/api-reference/credit-notes/list-all-credit-notes"},{"title":"Show a Credit Note","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/credit_notes/{credit_note_id}","href":"/2025-09/api-reference/credit-notes/show-a-credit-note"}]},{"group":"Deals","pages":[{"title":"Lose a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/deals/{deal_id}/lose","href":"/2025-09/api-reference/deals/lose-a-deal"},{"title":"Reopen a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/deals/{deal_id}/reopen","href":"/2025-09/api-reference/deals/reopen-a-deal"},{"title":"Win a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/deals/{deal_id}/win","href":"/2025-09/api-reference/deals/win-a-deal"},{"title":"List all Deals","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/deals","href":"/2025-09/api-reference/deals/list-all-deals"},{"title":"Create a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/deals","href":"/2025-09/api-reference/deals/create-a-deal"},{"title":"Show a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/deals/{deal_id}","href":"/2025-09/api-reference/deals/show-a-deal"},{"title":"Delete a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json delete /2025-09/deals/{deal_id}","href":"/2025-09/api-reference/deals/delete-a-deal"},{"title":"Update a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/deals/{deal_id}","href":"/2025-09/api-reference/deals/update-a-deal"}]},{"group":"Deals / Stages","pages":[{"title":"List all Stages","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/deals/stages","href":"/2025-09/api-reference/deals-stages/list-all-stages"},{"title":"Show a Deal Stage","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/deals/stages/{stage_id}","href":"/2025-09/api-reference/deals-stages/show-a-deal-stage"}]},{"group":"Identity Verifications","pages":[{"title":"List all Identity Verifications","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/identity_verifications","href":"/2025-09/api-reference/identity-verifications/list-all-identity-verifications"},{"title":"Show an Identity Verification","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/identity_verifications/{identity_verification_id}","href":"/2025-09/api-reference/identity-verifications/show-an-identity-verification"}]},{"group":"Images","pages":[{"title":"Get an image","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/images/{token}/{filename}","href":"/2025-09/api-reference/images/get-an-image"}]},{"group":"Invoices","pages":[{"title":"List all Invoices","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/invoices","href":"/2025-09/api-reference/invoices/list-all-invoices"},{"title":"Show an Invoice","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/invoices/{invoice_id}","href":"/2025-09/api-reference/invoices/show-an-invoice"}]},{"group":"Notes","pages":[{"title":"List all Notes","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/notes","href":"/2025-09/api-reference/notes/list-all-notes"},{"title":"Create a Note","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/notes","href":"/2025-09/api-reference/notes/create-a-note"},{"title":"Show a Note","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/notes/{note_id}","href":"/2025-09/api-reference/notes/show-a-note"},{"title":"Delete a Note","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json delete /2025-09/notes/{note_id}","href":"/2025-09/api-reference/notes/delete-a-note"},{"title":"Update a Note","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/notes/{note_id}","href":"/2025-09/api-reference/notes/update-a-note"}]},{"group":"OAuth 2","pages":[{"title":"Retrieve an Access Token","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /oauth2/token","href":"/2025-09/api-reference/oauth-2/retrieve-an-access-token"},{"title":"Retrieve info for the Access Token","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /oauth2/token/info","href":"/2025-09/api-reference/oauth-2/retrieve-info-for-the-access-token"},{"title":"Introspect an Access Token","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /oauth2/introspect","href":"/2025-09/api-reference/oauth-2/introspect-an-access-token"},{"title":"Revoke an Access Token","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /oauth2/revoke","href":"/2025-09/api-reference/oauth-2/revoke-an-access-token"}]},{"group":"Opportunities","pages":[{"title":"Archive an Opportunity","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/opportunities/{opportunity_id}/archive","href":"/2025-09/api-reference/opportunities/archive-an-opportunity"},{"title":"Associate an Opportunity with a Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/opportunities/{opportunity_id}/associate_deal","href":"/2025-09/api-reference/opportunities/associate-an-opportunity-with-a-deal"},{"title":"Disassociate an Opportunity from its Deal","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json delete /2025-09/opportunities/{opportunity_id}/associate_deal","href":"/2025-09/api-reference/opportunities/disassociate-an-opportunity-from-its-deal"},{"title":"Create a Deal from an Opportunity","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/opportunities/{opportunity_id}/deal","href":"/2025-09/api-reference/opportunities/create-a-deal-from-an-opportunity"},{"title":"Unarchive an Opportunity","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/opportunities/{opportunity_id}/unarchive","href":"/2025-09/api-reference/opportunities/unarchive-an-opportunity"},{"title":"List all Opportunities","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/opportunities","href":"/2025-09/api-reference/opportunities/list-all-opportunities"},{"title":"Create an Opportunity","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/opportunities","href":"/2025-09/api-reference/opportunities/create-an-opportunity"},{"title":"Show an Opportunity","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/opportunities/{opportunity_id}","href":"/2025-09/api-reference/opportunities/show-an-opportunity"},{"title":"Delete an Opportunity","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json delete /2025-09/opportunities/{opportunity_id}","href":"/2025-09/api-reference/opportunities/delete-an-opportunity"},{"title":"Update an Opportunity","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/opportunities/{opportunity_id}","href":"/2025-09/api-reference/opportunities/update-an-opportunity"}]},{"group":"Orders","pages":[{"title":"Abandon an Order","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/orders/{order_id}/abandon","href":"/2025-09/api-reference/orders/abandon-an-order"},{"title":"Finalize an Order","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/orders/{order_id}/finalize","href":"/2025-09/api-reference/orders/finalize-an-order"},{"title":"Validate an Order","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/orders/{order_id}/validate","href":"/2025-09/api-reference/orders/validate-an-order"},{"title":"List all Orders","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/orders","href":"/2025-09/api-reference/orders/list-all-orders"},{"title":"Create an Order","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/orders","href":"/2025-09/api-reference/orders/create-an-order"},{"title":"Show an Order","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/orders/{order_id}","href":"/2025-09/api-reference/orders/show-an-order"},{"title":"Delete an Order","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json delete /2025-09/orders/{order_id}","href":"/2025-09/api-reference/orders/delete-an-order"},{"title":"Update an Order","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json patch /2025-09/orders/{order_id}","href":"/2025-09/api-reference/orders/update-an-order"}]},{"group":"Orders / Line Items","pages":[{"title":"List all Line Items","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/orders/{order_id}/line_items","href":"/2025-09/api-reference/orders-line-items/list-all-line-items"},{"title":"Create a Line Item","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/orders/{order_id}/line_items","href":"/2025-09/api-reference/orders-line-items/create-a-line-item"},{"title":"Delete a Line Item","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json delete /2025-09/orders/{order_id}/line_items/{line_item_id}","href":"/2025-09/api-reference/orders-line-items/delete-a-line-item"},{"title":"Update a Line Item","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json patch /2025-09/orders/{order_id}/line_items/{line_item_id}","href":"/2025-09/api-reference/orders-line-items/update-a-line-item"}]},{"group":"Price Adjustments","pages":[{"title":"Schedule a Price Adjustment","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/price_adjustments/{price_adjustment_id}/schedule","href":"/2025-09/api-reference/price-adjustments/schedule-a-price-adjustment"},{"title":"List all Price Adjustments","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/price_adjustments","href":"/2025-09/api-reference/price-adjustments/list-all-price-adjustments"},{"title":"Create a Price Adjustment","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/price_adjustments","href":"/2025-09/api-reference/price-adjustments/create-a-price-adjustment"},{"title":"Show a Price Adjustment","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/price_adjustments/{price_adjustment_id}","href":"/2025-09/api-reference/price-adjustments/show-a-price-adjustment"},{"title":"Delete a Price Adjustment","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json delete /2025-09/price_adjustments/{price_adjustment_id}","href":"/2025-09/api-reference/price-adjustments/delete-a-price-adjustment"},{"title":"Update a Price Adjustment","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/price_adjustments/{price_adjustment_id}","href":"/2025-09/api-reference/price-adjustments/update-a-price-adjustment"}]},{"group":"Product Categories","pages":[{"title":"List all Product Categories","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/product_categories","href":"/2025-09/api-reference/product-categories/list-all-product-categories"},{"title":"Show a Product Category","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/product_categories/{product_category_id}","href":"/2025-09/api-reference/product-categories/show-a-product-category"}]},{"group":"Products","pages":[{"title":"Create Base Price for the Product","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/products/{product_id}/base_price","href":"/2025-09/api-reference/products/create-base-price-for-the-product"},{"title":"List all Products","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/products","href":"/2025-09/api-reference/products/list-all-products"},{"title":"Show a Product","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/products/{product_id}","href":"/2025-09/api-reference/products/show-a-product"}]},{"group":"Protection Levels","pages":[{"title":"Create Base Price for the Protection Level","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/protection_levels/{protection_level_id}/base_price","href":"/2025-09/api-reference/protection-levels/create-base-price-for-the-protection-level"},{"title":"List all Protection Levels","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/protection_levels","href":"/2025-09/api-reference/protection-levels/list-all-protection-levels"},{"title":"Show a Protection Level","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/protection_levels/{protection_level_id}","href":"/2025-09/api-reference/protection-levels/show-a-protection-level"}]},{"group":"Sites","pages":[{"title":"List all Sites","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/sites","href":"/2025-09/api-reference/sites/list-all-sites"},{"title":"Show a Site","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/sites/{site_id}","href":"/2025-09/api-reference/sites/show-a-site"}]},{"group":"Staff","pages":[{"title":"List all Staff","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/staff","href":"/2025-09/api-reference/staff/list-all-staff"},{"title":"Show a Staff Member","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/staff/{staff_id}","href":"/2025-09/api-reference/staff/show-a-staff-member"}]},{"group":"Subscriptions","pages":[{"title":"List all Subscriptions","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/subscriptions","href":"/2025-09/api-reference/subscriptions/list-all-subscriptions"},{"title":"Show a Subscription","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/subscriptions/{subscription_id}","href":"/2025-09/api-reference/subscriptions/show-a-subscription"}]},{"group":"Tasks","pages":[{"title":"Complete a Task","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/tasks/{task_id}/complete","href":"/2025-09/api-reference/tasks/complete-a-task"},{"title":"Open a Task","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/tasks/{task_id}/open","href":"/2025-09/api-reference/tasks/open-a-task"},{"title":"List all Tasks","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/tasks","href":"/2025-09/api-reference/tasks/list-all-tasks"},{"title":"Create a Task","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/tasks","href":"/2025-09/api-reference/tasks/create-a-task"},{"title":"Show a Task","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/tasks/{task_id}","href":"/2025-09/api-reference/tasks/show-a-task"},{"title":"Delete a Task","description":"Permanently delete any task, including ones staff or other integrations created, along with its notes. No webhook fires. To close a task but keep it, use **Complete a Task** instead.\n\nRequired authorization scope: `public.task:write`\n","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json delete /2025-09/tasks/{task_id}","href":"/2025-09/api-reference/tasks/delete-a-task"},{"title":"Update a Task","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/tasks/{task_id}","href":"/2025-09/api-reference/tasks/update-a-task"}]},{"group":"Tenancies","pages":[{"title":"List all Tenancies","description":"List tenancies. A tenancy records which contact rents which units at which site, from `starts_at` to `ends_at`. Stora creates one with its subscription, for example when an order completes. Use **List all Subscriptions** for the billing side.\n\nFilter by `contact_id`, `site_id` or date ranges such as `starts_after` and `ends_before`, and expand `unit_allocations` for the assigned units.\n\nSee [Allocations and access](https://docs.stora.co/2025-09/guides/allocations-and-access).\n\nRequired authorization scope: `public.tenancy:read`\n","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/tenancies","href":"/2025-09/api-reference/tenancies/list-all-tenancies"},{"title":"Show a Tenancy","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/tenancies/{tenancy_id}","href":"/2025-09/api-reference/tenancies/show-a-tenancy"}]},{"group":"Timeline / Events","pages":[{"title":"Create an Event","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/timeline/events","href":"/2025-09/api-reference/timeline-events/create-an-event"},{"title":"Delete an Event","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json delete /2025-09/timeline/events/{event_id}","href":"/2025-09/api-reference/timeline-events/delete-an-event"},{"title":"Update an Event","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json patch /2025-09/timeline/events/{event_id}","href":"/2025-09/api-reference/timeline-events/update-an-event"}]},{"group":"Timeline / Sources","pages":[{"title":"List all Sources","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/timeline/sources","href":"/2025-09/api-reference/timeline-sources/list-all-sources"},{"title":"Show a Source","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/timeline/sources/{source_id}","href":"/2025-09/api-reference/timeline-sources/show-a-source"}]},{"group":"Timeline / Templates","pages":[{"title":"List all Templates","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/timeline/templates","href":"/2025-09/api-reference/timeline-templates/list-all-templates"},{"title":"Show a Template","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json get /2025-09/timeline/templates/{template_id}","href":"/2025-09/api-reference/timeline-templates/show-a-template"}]},{"group":"Unit Allocations","pages":[{"title":"List all Unit Allocations","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/unit_allocations","href":"/2025-09/api-reference/unit-allocations/list-all-unit-allocations"},{"title":"Show a Unit Allocation","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/unit_allocations/{unit_allocation_id}","href":"/2025-09/api-reference/unit-allocations/show-a-unit-allocation"}]},{"group":"Unit Types","pages":[{"title":"Create Base Price for the Unit Type","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/unit_types/{unit_type_id}/base_price","href":"/2025-09/api-reference/unit-types/create-base-price-for-the-unit-type"},{"title":"Create an Order for a Unit Type","deprecated":null,"version":null,"tag":"Beta","openapi":"/2025-09/openapi.json post /2025-09/unit_types/{unit_type_id}/order","href":"/2025-09/api-reference/unit-types/create-an-order-for-a-unit-type"},{"title":"List all Unit Types","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/unit_types","href":"/2025-09/api-reference/unit-types/list-all-unit-types"},{"title":"Show a Unit Type","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/unit_types/{unit_type_id}","href":"/2025-09/api-reference/unit-types/show-a-unit-type"}]},{"group":"Units","pages":[{"title":"Deallocate a Unit","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/units/{unit_id}/deallocate","href":"/2025-09/api-reference/units/deallocate-a-unit"},{"title":"Grant Access to a Unit","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/units/{unit_id}/grant_access","href":"/2025-09/api-reference/units/grant-access-to-a-unit"},{"title":"Overlock Units by Contact","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/units/overlock","href":"/2025-09/api-reference/units/overlock-units-by-contact"},{"title":"Remove Overlock from Units by Contact","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/units/remove_overlock","href":"/2025-09/api-reference/units/remove-overlock-from-units-by-contact"},{"title":"Reserve a Unit","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/units/{unit_id}/reserve","href":"/2025-09/api-reference/units/reserve-a-unit"},{"title":"List all Units","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/units","href":"/2025-09/api-reference/units/list-all-units"},{"title":"Show a Unit","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/units/{unit_id}","href":"/2025-09/api-reference/units/show-a-unit"}]},{"group":"Webhook Endpoints","pages":[{"title":"Disable a Webhook Endpoint","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/webhook_endpoints/{webhook_endpoint_id}/disable","href":"/2025-09/api-reference/webhook-endpoints/disable-a-webhook-endpoint"},{"title":"Enable a Webhook Endpoint","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/webhook_endpoints/{webhook_endpoint_id}/enable","href":"/2025-09/api-reference/webhook-endpoints/enable-a-webhook-endpoint"},{"title":"List all Webhook Endpoints","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/webhook_endpoints","href":"/2025-09/api-reference/webhook-endpoints/list-all-webhook-endpoints"},{"title":"Create a Webhook Endpoint","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json post /2025-09/webhook_endpoints","href":"/2025-09/api-reference/webhook-endpoints/create-a-webhook-endpoint"},{"title":"Show a Webhook Endpoint","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json get /2025-09/webhook_endpoints/{webhook_endpoint_id}","href":"/2025-09/api-reference/webhook-endpoints/show-a-webhook-endpoint"},{"title":"Delete a Webhook Endpoint","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json delete /2025-09/webhook_endpoints/{webhook_endpoint_id}","href":"/2025-09/api-reference/webhook-endpoints/delete-a-webhook-endpoint"},{"title":"Update a Webhook Endpoint","deprecated":null,"version":null,"openapi":"/2025-09/openapi.json patch /2025-09/webhook_endpoints/{webhook_endpoint_id}","href":"/2025-09/api-reference/webhook-endpoints/update-a-webhook-endpoint"}]},{"group":"Webhooks","pages":[{"title":"contact.churned","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook contact.churned","href":"/2025-09/api-reference/webhooks/contactchurned"},{"title":"contact.converted","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook contact.converted","href":"/2025-09/api-reference/webhooks/contactconverted"},{"title":"contact.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook contact.created","href":"/2025-09/api-reference/webhooks/contactcreated"},{"title":"contact.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook contact.updated","href":"/2025-09/api-reference/webhooks/contactupdated"},{"title":"contract.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook contract.created","href":"/2025-09/api-reference/webhooks/contractcreated"},{"title":"contract.signed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook contract.signed","href":"/2025-09/api-reference/webhooks/contractsigned"},{"title":"coupon.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook coupon.created","href":"/2025-09/api-reference/webhooks/couponcreated"},{"title":"coupon.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook coupon.updated","href":"/2025-09/api-reference/webhooks/couponupdated"},{"title":"credit_note.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook credit_note.created","href":"/2025-09/api-reference/webhooks/credit_notecreated"},{"title":"credit_note.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook credit_note.updated","href":"/2025-09/api-reference/webhooks/credit_noteupdated"},{"title":"deal.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook deal.created","href":"/2025-09/api-reference/webhooks/dealcreated"},{"title":"deal.lost","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook deal.lost","href":"/2025-09/api-reference/webhooks/deallost"},{"title":"deal.reopened","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook deal.reopened","href":"/2025-09/api-reference/webhooks/dealreopened"},{"title":"deal.stage_changed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook deal.stage_changed","href":"/2025-09/api-reference/webhooks/dealstage_changed"},{"title":"deal.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook deal.updated","href":"/2025-09/api-reference/webhooks/dealupdated"},{"title":"deal.won","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook deal.won","href":"/2025-09/api-reference/webhooks/dealwon"},{"title":"identity_verification.cancelled","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook identity_verification.cancelled","href":"/2025-09/api-reference/webhooks/identity_verificationcancelled"},{"title":"identity_verification.failed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook identity_verification.failed","href":"/2025-09/api-reference/webhooks/identity_verificationfailed"},{"title":"identity_verification.processing","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook identity_verification.processing","href":"/2025-09/api-reference/webhooks/identity_verificationprocessing"},{"title":"identity_verification.succeeded","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook identity_verification.succeeded","href":"/2025-09/api-reference/webhooks/identity_verificationsucceeded"},{"title":"invoice.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook invoice.created","href":"/2025-09/api-reference/webhooks/invoicecreated"},{"title":"invoice.finalized","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook invoice.finalized","href":"/2025-09/api-reference/webhooks/invoicefinalized"},{"title":"invoice.marked_uncollectible","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook invoice.marked_uncollectible","href":"/2025-09/api-reference/webhooks/invoicemarked_uncollectible"},{"title":"invoice.overdue","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook invoice.overdue","href":"/2025-09/api-reference/webhooks/invoiceoverdue"},{"title":"invoice.paid","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook invoice.paid","href":"/2025-09/api-reference/webhooks/invoicepaid"},{"title":"invoice.payment_failed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook invoice.payment_failed","href":"/2025-09/api-reference/webhooks/invoicepayment_failed"},{"title":"invoice.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook invoice.updated","href":"/2025-09/api-reference/webhooks/invoiceupdated"},{"title":"note.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook note.created","href":"/2025-09/api-reference/webhooks/notecreated"},{"title":"note.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook note.updated","href":"/2025-09/api-reference/webhooks/noteupdated"},{"title":"opportunity.archived","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook opportunity.archived","href":"/2025-09/api-reference/webhooks/opportunityarchived"},{"title":"opportunity.associated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook opportunity.associated","href":"/2025-09/api-reference/webhooks/opportunityassociated"},{"title":"opportunity.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook opportunity.created","href":"/2025-09/api-reference/webhooks/opportunitycreated"},{"title":"opportunity.deleted","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook opportunity.deleted","href":"/2025-09/api-reference/webhooks/opportunitydeleted"},{"title":"opportunity.unarchived","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook opportunity.unarchived","href":"/2025-09/api-reference/webhooks/opportunityunarchived"},{"title":"opportunity.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook opportunity.updated","href":"/2025-09/api-reference/webhooks/opportunityupdated"},{"title":"order.abandoned","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook order.abandoned","href":"/2025-09/api-reference/webhooks/orderabandoned"},{"title":"order.completed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook order.completed","href":"/2025-09/api-reference/webhooks/ordercompleted"},{"title":"order.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook order.created","href":"/2025-09/api-reference/webhooks/ordercreated"},{"title":"order.finalized","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook order.finalized","href":"/2025-09/api-reference/webhooks/orderfinalized"},{"title":"price_adjustment.cancelled","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook price_adjustment.cancelled","href":"/2025-09/api-reference/webhooks/price_adjustmentcancelled"},{"title":"price_adjustment.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook price_adjustment.created","href":"/2025-09/api-reference/webhooks/price_adjustmentcreated"},{"title":"price_adjustment.failed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook price_adjustment.failed","href":"/2025-09/api-reference/webhooks/price_adjustmentfailed"},{"title":"price_adjustment.invoiced","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook price_adjustment.invoiced","href":"/2025-09/api-reference/webhooks/price_adjustmentinvoiced"},{"title":"price_adjustment.rescheduled","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook price_adjustment.rescheduled","href":"/2025-09/api-reference/webhooks/price_adjustmentrescheduled"},{"title":"price_adjustment.scheduled","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook price_adjustment.scheduled","href":"/2025-09/api-reference/webhooks/price_adjustmentscheduled"},{"title":"price_adjustment.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook price_adjustment.updated","href":"/2025-09/api-reference/webhooks/price_adjustmentupdated"},{"title":"protection_level.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook protection_level.created","href":"/2025-09/api-reference/webhooks/protection_levelcreated"},{"title":"protection_level.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook protection_level.updated","href":"/2025-09/api-reference/webhooks/protection_levelupdated"},{"title":"subscription.cancelled","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook subscription.cancelled","href":"/2025-09/api-reference/webhooks/subscriptioncancelled"},{"title":"subscription.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook subscription.created","href":"/2025-09/api-reference/webhooks/subscriptioncreated"},{"title":"subscription.ended","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook subscription.ended","href":"/2025-09/api-reference/webhooks/subscriptionended"},{"title":"subscription.resumed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook subscription.resumed","href":"/2025-09/api-reference/webhooks/subscriptionresumed"},{"title":"subscription.started","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook subscription.started","href":"/2025-09/api-reference/webhooks/subscriptionstarted"},{"title":"task.completed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook task.completed","href":"/2025-09/api-reference/webhooks/taskcompleted"},{"title":"task.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook task.created","href":"/2025-09/api-reference/webhooks/taskcreated"},{"title":"task.reopened","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook task.reopened","href":"/2025-09/api-reference/webhooks/taskreopened"},{"title":"task.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook task.updated","href":"/2025-09/api-reference/webhooks/taskupdated"},{"title":"tenancy.auto_reservation.failed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook tenancy.auto_reservation.failed","href":"/2025-09/api-reference/webhooks/tenancyauto_reservationfailed"},{"title":"tenancy.auto_reservation.partially_succeeded","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook tenancy.auto_reservation.partially_succeeded","href":"/2025-09/api-reference/webhooks/tenancyauto_reservationpartially_succeeded"},{"title":"tenancy.auto_reservation.succeeded","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook tenancy.auto_reservation.succeeded","href":"/2025-09/api-reference/webhooks/tenancyauto_reservationsucceeded"},{"title":"tenancy.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook tenancy.created","href":"/2025-09/api-reference/webhooks/tenancycreated"},{"title":"tenancy.started","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook tenancy.started","href":"/2025-09/api-reference/webhooks/tenancystarted"},{"title":"unit_type.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit_type.created","href":"/2025-09/api-reference/webhooks/unit_typecreated"},{"title":"unit_type.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit_type.updated","href":"/2025-09/api-reference/webhooks/unit_typeupdated"},{"title":"unit.available","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.available","href":"/2025-09/api-reference/webhooks/unitavailable"},{"title":"unit.created","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.created","href":"/2025-09/api-reference/webhooks/unitcreated"},{"title":"unit.deallocated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.deallocated","href":"/2025-09/api-reference/webhooks/unitdeallocated"},{"title":"unit.occupied","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.occupied","href":"/2025-09/api-reference/webhooks/unitoccupied"},{"title":"unit.overlocked","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.overlocked","href":"/2025-09/api-reference/webhooks/unitoverlocked"},{"title":"unit.repossessed","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.repossessed","href":"/2025-09/api-reference/webhooks/unitrepossessed"},{"title":"unit.reserved","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.reserved","href":"/2025-09/api-reference/webhooks/unitreserved"},{"title":"unit.unavailable","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.unavailable","href":"/2025-09/api-reference/webhooks/unitunavailable"},{"title":"unit.updated","version":null,"deprecated":null,"openapi":"/2025-09/openapi.json webhook unit.updated","href":"/2025-09/api-reference/webhooks/unitupdated"}]}]}]}]},"basePath":"","title":"Update a Task - Stora","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B8kPdtB2.js","snippetPresets-C-p1aFQ1.js","utils-B9NnUZSZ.js","style-to-object-BY3JEAdk.js","utils-DFxl7cW2.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-bSr9h7OB.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Bw4Gcy_r.js","_Uint8Array-C68x8Gny.js","isObject-FP1Yky1u.js","ApiExamples-BXsp8PHs.js","usePlaygroundInputsStore-BlAOLmIF.js","shallow-C2F02mqa.js","isEqual-C8iG4q2G.js","CodeSnippets-45lHR04X.js","CodeSnippet-6Cemznl-.js","use-playground-group-access-Cyy8SXp5.js","Page-CeZ_ZB5X.js","api-description-markdown-DiOdv5rp.js","DynamicMarkdown-B_9ywLDq.js","SectionHeading-Cc2r-uqU.js","MethodPill-Df3Tcu4c.js","getPastedJson-B3vrV0wE.js","Check2Icon-YQhSFafd.js","axios-CsQoIw0U.js","Markdown-0RkHcMOI.js","AssistantPageLink-DeJZCj9t.js","dist-DVqS175j.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}