{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Crave Cloud Documentation","description":"Developer documentation for Crave Cloud, Crave.js, Storefront APIs, and restaurant franchise integrations.","colors":{"primary":"#133B2F","light":"#1F5A49","dark":"#0B1F19"},"logo":{"light":"https://mintcdn.com/craveup-1493c4c7/P4icpH7dO6tjC3GV/logo/crave-wordmark.png?fit=max\u0026auto=format\u0026n=P4icpH7dO6tjC3GV\u0026q=85\u0026s=c6965caeaa3bfbd9e84cf5416bbf2576","dark":"https://mintcdn.com/craveup-1493c4c7/P4icpH7dO6tjC3GV/logo/crave-wordmark-dark.svg?fit=max\u0026auto=format\u0026n=P4icpH7dO6tjC3GV\u0026q=85\u0026s=d379668f5b2407f7092bbc4603c403bc","href":"https://developer.craveup.com"},"favicon":"https://mintcdn.com/craveup-1493c4c7/Nv2UkyJdWuAjqtql/favicon.svg?fit=max\u0026auto=format\u0026n=Nv2UkyJdWuAjqtql\u0026q=85\u0026s=7a4dc1dfa23901b208e854d9b64f0448","navbar":{"links":[{"href":"mailto:hello@craveup.com","label":"Support"},{"icon":"slack","href":"https://join.slack.com/t/cravejscommunity/shared_invite/zt-3hfr081io-aYuLC3n6gBFKQuho0HrTng","label":""}],"primary":{"type":"button","label":"Developer Console","href":"https://developer.craveup.com/console"}},"footer":{"socials":{"github":"https://github.com/crave-up","linkedin":"https://www.linkedin.com/company/craveup","x":"https://twitter.com/craveupcom"}},"search":{},"seo":{"metatags":{"canonical":"https://docs.craveup.com"}},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode",{"title":"Open in T3 Chat","description":"Open this page in T3 Chat","icon":"message-circle","href":"https://t3.chat/new?q=Read+this+documentation+page+and+help+me+implement+it:+$page"},{"title":"Open in Zed","description":"Open this page in Zed","icon":"terminal","href":"zed://docs?url=$page"}],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"craveup-1493c4c7","hasAudioNarration":false,"actualSubdomain":"craveup-1493c4c7","customDomains":["docs.craveup.com"],"gitSource":{"type":"github","owner":"craveup","repo":"craveup-turborepo","deployBranch":"main","contentDirectory":"apps/api-docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae427cf5917815ea7f4c717","collectionId":"d8545f6b-d64e-4d42-a6dc-f7ad2e3e4729","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae427cf5917815ea7f4c717"},"entitlements":{},"buildId":"6ae42ed740afc677620a1b02","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"API Reference","count":113},{"language":"default","tag":"API Endpoints","count":88},{"language":"default","tag":"Documentation","count":37},{"language":"default","tag":"Components","count":26},{"language":"default","tag":"Checkout","count":16},{"language":"default","tag":"Carts","count":15},{"language":"default","tag":"Catering","count":13},{"language":"default","tag":"Customers","count":12},{"language":"default","tag":"Staff Menu Manager authoring","count":8},{"language":"default","tag":"Loyalty","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"#navbar a[aria-label=\"Join the Crave Slack community\"]{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;overflow:hidden;white-space:nowrap;gap:0}#navbar a[aria-label=\"Join the Crave Slack community\"] svg{width:1.125rem;height:1.125rem}.preview-device{width:100%}.preview-device-toggle{display:inline-flex;gap:.25rem;margin-bottom:.75rem;padding:.25rem;border:1px solid #d8ded9;border-radius:6px;background:#fff}.preview-device-toggle button{min-width:5.5rem;min-height:2rem;padding:.375rem .75rem;border:0;border-radius:4px;color:inherit;background:0 0;cursor:pointer}.preview-device-toggle button.is-active{color:#fff;background:#133b2f}.preview-device-stage{width:100%;overflow:hidden;border:1px solid var(--border-color);border-radius:6px;background:#f6f1e9}.preview-device-stage.is-mobile{max-width:430px;margin-inline:auto}.preview-device-stage.is-mobile.is-local-mobile{position:relative;aspect-ratio:var(--preview-mobile-ratio, 430 / 560);container-type:inline-size}.preview-device-stage iframe{display:block;width:100%;border:0}.preview-device-stage.is-mobile.is-local-mobile iframe{position:absolute;inset:0;width:430px;height:var(--preview-mobile-height, 560px);transform:scale(calc(100cqw/430));transform-origin:top left}"}],"page":{"pagePath":"api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts","slug":"/api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts","pageMetadata":{"title":"Save or withdraw existing revisioned catering commercial facts","description":null,"deprecated":null,"version":null,"openapi":"/generated/catalog-workspace.openapi.json put /api/v1/catalog/workspace/commercial-facts","href":"/api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts","autogeneratedByOpenApi":true},"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":"Save or withdraw existing revisioned catering commercial facts","description":null,"deprecated":null,"version":null,"openapi":"/generated/catalog-workspace.openapi.json put /api/v1/catalog/workspace/commercial-facts","href":"/api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"catalogCommercialFactsEdit","summary":"Save or withdraw existing revisioned catering commercial facts","security":["cda2d095-e91f-43b3-8840-ef4b7a4f8ed0"],"x-crave-session-permission":"admin","parameters":[],"requestBody":"3c3d2bd0-125c-40e4-998f-06ccb108ce4f","responses":{"200":"4830ec9b-509e-4894-9a9d-66499b7e1176","400":"c555ab27-0c67-474c-a9c8-782e9babc3c1","401":"45deab19-212d-4b07-b270-d37b50f8eb89","403":"cf30d608-0c64-47f8-b13e-e702bce54143","404":"55cb3b75-aa93-4e14-8a0f-e706aff0f1fc","409":"379b8634-a9ca-482a-8063-2d8413e9e4df","422":"ba51a683-fa2c-4912-ad63-871ee8c16a7d"},"method":"put","type":"path","servers":[],"path":"/api/v1/catalog/workspace/commercial-facts","baseUrlOptions":[],"title":"Save or withdraw existing revisioned catering commercial facts","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expectedDraftRevision":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"expectedDraftRevision","typeLabel":"integer"},"locationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","isRequired":true,"uniqueKey":"locationId","typeLabel":"string\u003cuuid>"},"canonicalId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","isRequired":true,"uniqueKey":"canonicalId","typeLabel":"string\u003cuuid>"},"commercialFacts":{"oneOf":[{"type":"object","required":["kind","facts"],"properties":{"kind":{"type":"string","enum":["menu"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"facts":{"type":"object","properties":{"rules":{"type":"object","properties":{"all":{"type":"object","properties":{"minimumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.minimumGuests","typeLabel":"integer"},"maximumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.maximumGuests","typeLabel":"integer"},"minimumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.minimumUnits","typeLabel":"string"},"maximumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.maximumUnits","typeLabel":"string"},"minimumSpend":{"type":"object","properties":{"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.minimumSpend.amountCents","typeLabel":"integer"},"basis":{"type":"string","enum":["eligible_food_beverage_before_discounts"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.minimumSpend.basis","typeLabel":"enum\u003cstring>"}},"required":["amountCents","basis"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.minimumSpend","typeLabel":"object"},"leadTimeHours":{"type":"integer","minimum":0,"maximum":8760,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.leadTimeHours","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.all","typeLabel":"object"},"byServiceStyle":{"type":"object","additionalProperties":{"type":"object","properties":{"minimumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.minimumGuests","typeLabel":"integer"},"maximumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.maximumGuests","typeLabel":"integer"},"minimumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.minimumUnits","typeLabel":"string"},"maximumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.maximumUnits","typeLabel":"string"},"minimumSpend":{"type":"object","properties":{"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.minimumSpend.amountCents","typeLabel":"integer"},"basis":{"type":"string","enum":["eligible_food_beverage_before_discounts"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.minimumSpend.basis","typeLabel":"enum\u003cstring>"}},"required":["amountCents","basis"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.minimumSpend","typeLabel":"object"},"leadTimeHours":{"type":"integer","minimum":0,"maximum":8760,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.leadTimeHours","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.0.facts.rules","typeLabel":"object"},"allocationGroups":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"groupId":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups.items.[INDEX].groupId","typeLabel":"string"},"minimumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups.items.[INDEX].minimumGuests","typeLabel":"integer"},"maximumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups.items.[INDEX].maximumGuests","typeLabel":"integer"},"minimumGuestsPerProduct":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups.items.[INDEX].minimumGuestsPerProduct","typeLabel":"integer"},"maximumDistinctProducts":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":100,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups.items.[INDEX].maximumDistinctProducts","typeLabel":"integer"},"total":{"type":"string","enum":["event_headcount"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups.items.[INDEX].total","typeLabel":"enum\u003cstring>"}},"required":["groupId","minimumGuests","maximumGuests","minimumGuestsPerProduct","maximumDistinctProducts","total"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups.items.[INDEX]","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups","typeLabel":"object[]"},"reviewFacts":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["conflicting_lead_time","unsupported_minimum_spend_basis","unresolved_choice_scope","ambiguous_category_scope","staff_pricing"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.reviewFacts.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.reviewFacts.items.[INDEX].sourceText","typeLabel":"string"},"reason":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.reviewFacts.items.[INDEX].reason","typeLabel":"string"}},"required":["code","sourceText","reason"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.0.facts.reviewFacts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.0.facts.reviewFacts","typeLabel":"object[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind","facts"],"properties":{"kind":{"type":"string","enum":["category"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"facts":{"type":"object","properties":{"rules":{"type":"object","properties":{"all":{"type":"object","properties":{"minimumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.minimumGuests","typeLabel":"integer"},"maximumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.maximumGuests","typeLabel":"integer"},"minimumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.minimumUnits","typeLabel":"string"},"maximumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.maximumUnits","typeLabel":"string"},"minimumSpend":{"type":"object","properties":{"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.minimumSpend.amountCents","typeLabel":"integer"},"basis":{"type":"string","enum":["eligible_food_beverage_before_discounts"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.minimumSpend.basis","typeLabel":"enum\u003cstring>"}},"required":["amountCents","basis"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.minimumSpend","typeLabel":"object"},"leadTimeHours":{"type":"integer","minimum":0,"maximum":8760,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.leadTimeHours","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.all","typeLabel":"object"},"byServiceStyle":{"type":"object","additionalProperties":{"type":"object","properties":{"minimumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.minimumGuests","typeLabel":"integer"},"maximumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.maximumGuests","typeLabel":"integer"},"minimumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.minimumUnits","typeLabel":"string"},"maximumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.maximumUnits","typeLabel":"string"},"minimumSpend":{"type":"object","properties":{"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.minimumSpend.amountCents","typeLabel":"integer"},"basis":{"type":"string","enum":["eligible_food_beverage_before_discounts"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.minimumSpend.basis","typeLabel":"enum\u003cstring>"}},"required":["amountCents","basis"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.minimumSpend","typeLabel":"object"},"leadTimeHours":{"type":"integer","minimum":0,"maximum":8760,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.leadTimeHours","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.rules","typeLabel":"object"},"serves":{"oneOf":[{"type":"object","required":["kind","guests","sourceText"],"properties":{"kind":{"type":"string","enum":["exact"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"guests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.0.guests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.0.sourceText","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind","minGuests","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["range"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"minGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.1.minGuests","typeLabel":"integer"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.1.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.1.sourceText","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["up_to"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.2.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.2.sourceText","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.2","typeLabel":"object"},{"type":"object","required":["kind","minGuests","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["approximate"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"minGuests":{"oneOf":[{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.3.minGuests.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.3.minGuests.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.3.minGuests","typeLabel":"integer | null"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.3.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.3.sourceText","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.3","typeLabel":"object"},{"type":"null","uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.4","typeLabel":"null"}],"uniqueKey":"commercialFacts.oneOf.1.facts.serves","typeLabel":"object · object · object · object · null"},"planningYield":{"oneOf":[{"type":"object","properties":{"guests":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.planningYield.oneOf.0.guests","typeLabel":"string"},"quantity":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.planningYield.oneOf.0.quantity","typeLabel":"string"},"reviewNote":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.planningYield.oneOf.0.reviewNote","typeLabel":"string"}},"required":["guests","quantity","reviewNote"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.planningYield.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"guests":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$"},"quantity":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$"},"reviewNote":{"type":"string","minLength":1,"maxLength":2000}},"required":["guests","quantity","reviewNote"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.planningYield.oneOf.1","typeLabel":"null"}],"uniqueKey":"commercialFacts.oneOf.1.facts.planningYield","typeLabel":"object | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind","facts"],"properties":{"kind":{"type":"string","enum":["product"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"facts":{"type":"object","properties":{"priceBasis":{"type":"string","enum":["per_person","per_item","per_dozen","per_tray","per_pack","per_lb","per_oz","per_kg","per_g","per_gallon","per_quart","per_liter","per_ml","per_fl_oz"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.priceBasis","typeLabel":"enum\u003cstring>"},"printedPrice":{"oneOf":[{"type":"object","required":["kind","amountCents"],"properties":{"kind":{"type":"string","enum":["exact"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.0.amountCents","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind","minCents","maxCents"],"properties":{"kind":{"type":"string","enum":["range"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"minCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.1.minCents","typeLabel":"integer"},"maxCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.1.maxCents","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["quote_only"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.2.kind","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.2","typeLabel":"object"},{"type":"object","required":["kind","reason"],"properties":{"kind":{"type":"string","enum":["unknown"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.3.reason","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.3","typeLabel":"object"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice","typeLabel":"object"},"serves":{"oneOf":[{"type":"object","required":["kind","guests","sourceText"],"properties":{"kind":{"type":"string","enum":["exact"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"guests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.0.guests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.0.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind","minGuests","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["range"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"minGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.1.minGuests","typeLabel":"integer"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.1.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.1.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["up_to"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.2.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.2.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.2","typeLabel":"object"},{"type":"object","required":["kind","minGuests","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["approximate"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"minGuests":{"oneOf":[{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.3.minGuests.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.3.minGuests.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.3.minGuests","typeLabel":"integer | null"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.3.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.3.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.3","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves","typeLabel":"object · object · object · object · null"},"quantityRules":{"type":"object","properties":{"increment":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.quantityRules.increment","typeLabel":"string"},"minimum":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.quantityRules.minimum","typeLabel":"string"},"maximum":{"oneOf":[{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.quantityRules.maximum.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.quantityRules.maximum.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.quantityRules.maximum","typeLabel":"string | null"}},"required":["increment","minimum","maximum"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.quantityRules","typeLabel":"object"},"contents":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.contents.items.[INDEX].name","typeLabel":"string"},"quantity":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.contents.items.[INDEX].quantity","typeLabel":"string"},"unit":{"type":"string","enum":["person","item","dozen","tray","pack","lb","oz","kg","g","gallon","quart","liter","ml","fl_oz"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.contents.items.[INDEX].unit","typeLabel":"enum\u003cstring>"}},"required":["name","quantity","unit"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.contents.items.[INDEX]","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.2.facts.contents","typeLabel":"object[]"},"planningYield":{"oneOf":[{"type":"object","properties":{"guests":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.planningYield.oneOf.0.guests","typeLabel":"string"},"quantity":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.planningYield.oneOf.0.quantity","typeLabel":"string"},"reviewNote":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.planningYield.oneOf.0.reviewNote","typeLabel":"string"}},"required":["guests","quantity","reviewNote"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.planningYield.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"guests":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$"},"quantity":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$"},"reviewNote":{"type":"string","minLength":1,"maxLength":2000}},"required":["guests","quantity","reviewNote"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.planningYield.oneOf.1","typeLabel":"null"}],"uniqueKey":"commercialFacts.oneOf.2.facts.planningYield","typeLabel":"object | null"},"minimumSpendEligibility":{"type":"string","enum":["food_beverage","excluded","unreviewed"],"uniqueKey":"commercialFacts.oneOf.2.facts.minimumSpendEligibility","typeLabel":"enum\u003cstring>"},"allocationGroupId":{"type":"string","minLength":1,"maxLength":200,"uniqueKey":"commercialFacts.oneOf.2.facts.allocationGroupId","typeLabel":"string"},"rules":{"type":"object","properties":{"all":{"type":"object","properties":{"minimumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.minimumGuests","typeLabel":"integer"},"maximumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.maximumGuests","typeLabel":"integer"},"minimumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.minimumUnits","typeLabel":"string"},"maximumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.maximumUnits","typeLabel":"string"},"minimumSpend":{"type":"object","properties":{"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.minimumSpend.amountCents","typeLabel":"integer"},"basis":{"type":"string","enum":["eligible_food_beverage_before_discounts"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.minimumSpend.basis","typeLabel":"enum\u003cstring>"}},"required":["amountCents","basis"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.minimumSpend","typeLabel":"object"},"leadTimeHours":{"type":"integer","minimum":0,"maximum":8760,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.leadTimeHours","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.all","typeLabel":"object"},"byServiceStyle":{"type":"object","additionalProperties":{"type":"object","properties":{"minimumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.minimumGuests","typeLabel":"integer"},"maximumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.maximumGuests","typeLabel":"integer"},"minimumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.minimumUnits","typeLabel":"string"},"maximumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.maximumUnits","typeLabel":"string"},"minimumSpend":{"type":"object","properties":{"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.minimumSpend.amountCents","typeLabel":"integer"},"basis":{"type":"string","enum":["eligible_food_beverage_before_discounts"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.minimumSpend.basis","typeLabel":"enum\u003cstring>"}},"required":["amountCents","basis"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.minimumSpend","typeLabel":"object"},"leadTimeHours":{"type":"integer","minimum":0,"maximum":8760,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.leadTimeHours","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.rules","typeLabel":"object"},"reviewFacts":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["conflicting_lead_time","unsupported_minimum_spend_basis","unresolved_choice_scope","ambiguous_category_scope","staff_pricing"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.reviewFacts.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.reviewFacts.items.[INDEX].sourceText","typeLabel":"string"},"reason":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.reviewFacts.items.[INDEX].reason","typeLabel":"string"}},"required":["code","sourceText","reason"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.reviewFacts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.2.facts.reviewFacts","typeLabel":"object[]"}},"required":["priceBasis","printedPrice","serves"],"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2","typeLabel":"object"},{"type":"object","required":["kind","facts"],"properties":{"kind":{"type":"string","enum":["modifier_group"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"facts":{"type":"object","properties":{"semanticRole":{"type":"string","enum":["size","choice"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.3.facts.semanticRole","typeLabel":"enum\u003cstring>"}},"required":["semanticRole"],"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.3.facts","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.3","typeLabel":"object"},{"type":"object","required":["kind","facts"],"properties":{"kind":{"type":"string","enum":["modifier_option"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.kind","typeLabel":"enum\u003cstring>"},"facts":{"type":"object","properties":{"priceSemantics":{"type":"string","enum":["replaces_item","adds_to_item"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.priceSemantics","typeLabel":"enum\u003cstring>"},"printedPrice":{"oneOf":[{"type":"object","required":["kind","amountCents"],"properties":{"kind":{"type":"string","enum":["exact"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.0.amountCents","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind","minCents","maxCents"],"properties":{"kind":{"type":"string","enum":["range"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"minCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.1.minCents","typeLabel":"integer"},"maxCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.1.maxCents","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["quote_only"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.2.kind","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.2","typeLabel":"object"},{"type":"object","required":["kind","reason"],"properties":{"kind":{"type":"string","enum":["unknown"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.3.reason","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.3","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice","typeLabel":"object · object · object · object · null"},"serves":{"oneOf":[{"type":"object","required":["kind","guests","sourceText"],"properties":{"kind":{"type":"string","enum":["exact"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"guests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.0.guests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.0.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind","minGuests","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["range"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"minGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.1.minGuests","typeLabel":"integer"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.1.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.1.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["up_to"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.2.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.2.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.2","typeLabel":"object"},{"type":"object","required":["kind","minGuests","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["approximate"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"minGuests":{"oneOf":[{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.3.minGuests.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.3.minGuests.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.3.minGuests","typeLabel":"integer | null"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.3.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.3.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.3","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves","typeLabel":"object · object · object · object · null"},"planningYield":{"oneOf":[{"type":"object","properties":{"guests":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.planningYield.oneOf.0.guests","typeLabel":"string"},"quantity":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.planningYield.oneOf.0.quantity","typeLabel":"string"},"reviewNote":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.planningYield.oneOf.0.reviewNote","typeLabel":"string"}},"required":["guests","quantity","reviewNote"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.4.facts.planningYield.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"guests":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$"},"quantity":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$"},"reviewNote":{"type":"string","minLength":1,"maxLength":2000}},"required":["guests","quantity","reviewNote"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.4.facts.planningYield.oneOf.1","typeLabel":"null"}],"uniqueKey":"commercialFacts.oneOf.4.facts.planningYield","typeLabel":"object | null"},"charge":{"type":"object","properties":{"chargeId":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.charge.chargeId","typeLabel":"string"},"scope":{"type":"string","enum":["sold_unit","affected_person","order"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.charge.scope","typeLabel":"enum\u003cstring>"},"minimumSpendEligibility":{"type":"string","enum":["food_beverage","excluded","unreviewed"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.charge.minimumSpendEligibility","typeLabel":"enum\u003cstring>"}},"required":["chargeId","scope","minimumSpendEligibility"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.4.facts.charge","typeLabel":"object"},"reviewFacts":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["conflicting_lead_time","unsupported_minimum_spend_basis","unresolved_choice_scope","ambiguous_category_scope","staff_pricing"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.reviewFacts.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.reviewFacts.items.[INDEX].sourceText","typeLabel":"string"},"reason":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.reviewFacts.items.[INDEX].reason","typeLabel":"string"}},"required":["code","sourceText","reason"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.4.facts.reviewFacts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.4.facts.reviewFacts","typeLabel":"object[]"}},"required":["priceSemantics","printedPrice","serves"],"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"commercialFacts.oneOf.5","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts","typeLabel":"object · object · object · object · object · null"}},"required":["expectedDraftRevision","locationId","canonicalId","commercialFacts"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"expectedDraftRevision":4503599627370495,"locationId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","canonicalId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","commercialFacts":{"kind":"menu","facts":{"rules":{"all":{"minimumGuests":5000,"maximumGuests":5000,"minimumUnits":"\u003cstring>","maximumUnits":"\u003cstring>","leadTimeHours":4380},"byServiceStyle":{}},"allocationGroups":[{"groupId":"\u003cstring>","minimumGuests":5000,"maximumGuests":5000,"minimumGuestsPerProduct":5000,"maximumDistinctProducts":50,"total":"event_headcount"}],"reviewFacts":[{"sourceText":"\u003cstring>","reason":"\u003cstring>"}]}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"4830ec9b-509e-4894-9a9d-66499b7e1176":{"description":"Committed authoring evidence or read-only review; no publication is activated by a review.","content":{"application/json":{"schema":{"type":"object","properties":{"draftRevision":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"draftRevision","typeLabel":"integer"},"locationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","isRequired":true,"uniqueKey":"locationId","typeLabel":"string\u003cuuid>"},"canonicalId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","isRequired":true,"uniqueKey":"canonicalId","typeLabel":"string\u003cuuid>"},"commercialFacts":{"oneOf":[{"type":"object","required":["kind","facts"],"properties":{"kind":{"type":"string","enum":["menu"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"facts":{"type":"object","properties":{"rules":{"type":"object","properties":{"all":{"type":"object","properties":{"minimumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.minimumGuests","typeLabel":"integer"},"maximumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.maximumGuests","typeLabel":"integer"},"minimumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.minimumUnits","typeLabel":"string"},"maximumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.maximumUnits","typeLabel":"string"},"minimumSpend":{"type":"object","properties":{"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.minimumSpend.amountCents","typeLabel":"integer"},"basis":{"type":"string","enum":["eligible_food_beverage_before_discounts"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.minimumSpend.basis","typeLabel":"enum\u003cstring>"}},"required":["amountCents","basis"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.minimumSpend","typeLabel":"object"},"leadTimeHours":{"type":"integer","minimum":0,"maximum":8760,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.all.leadTimeHours","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.all","typeLabel":"object"},"byServiceStyle":{"type":"object","additionalProperties":{"type":"object","properties":{"minimumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.minimumGuests","typeLabel":"integer"},"maximumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.maximumGuests","typeLabel":"integer"},"minimumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.minimumUnits","typeLabel":"string"},"maximumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.maximumUnits","typeLabel":"string"},"minimumSpend":{"type":"object","properties":{"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.minimumSpend.amountCents","typeLabel":"integer"},"basis":{"type":"string","enum":["eligible_food_beverage_before_discounts"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.minimumSpend.basis","typeLabel":"enum\u003cstring>"}},"required":["amountCents","basis"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.minimumSpend","typeLabel":"object"},"leadTimeHours":{"type":"integer","minimum":0,"maximum":8760,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties.leadTimeHours","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle.additionalProperties","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.0.facts.rules.byServiceStyle","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.0.facts.rules","typeLabel":"object"},"allocationGroups":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"groupId":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups.items.[INDEX].groupId","typeLabel":"string"},"minimumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups.items.[INDEX].minimumGuests","typeLabel":"integer"},"maximumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups.items.[INDEX].maximumGuests","typeLabel":"integer"},"minimumGuestsPerProduct":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups.items.[INDEX].minimumGuestsPerProduct","typeLabel":"integer"},"maximumDistinctProducts":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":100,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups.items.[INDEX].maximumDistinctProducts","typeLabel":"integer"},"total":{"type":"string","enum":["event_headcount"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups.items.[INDEX].total","typeLabel":"enum\u003cstring>"}},"required":["groupId","minimumGuests","maximumGuests","minimumGuestsPerProduct","maximumDistinctProducts","total"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups.items.[INDEX]","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.0.facts.allocationGroups","typeLabel":"object[]"},"reviewFacts":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["conflicting_lead_time","unsupported_minimum_spend_basis","unresolved_choice_scope","ambiguous_category_scope","staff_pricing"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.reviewFacts.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.reviewFacts.items.[INDEX].sourceText","typeLabel":"string"},"reason":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts.reviewFacts.items.[INDEX].reason","typeLabel":"string"}},"required":["code","sourceText","reason"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.0.facts.reviewFacts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.0.facts.reviewFacts","typeLabel":"object[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0.facts","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind","facts"],"properties":{"kind":{"type":"string","enum":["category"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"facts":{"type":"object","properties":{"rules":{"type":"object","properties":{"all":{"type":"object","properties":{"minimumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.minimumGuests","typeLabel":"integer"},"maximumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.maximumGuests","typeLabel":"integer"},"minimumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.minimumUnits","typeLabel":"string"},"maximumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.maximumUnits","typeLabel":"string"},"minimumSpend":{"type":"object","properties":{"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.minimumSpend.amountCents","typeLabel":"integer"},"basis":{"type":"string","enum":["eligible_food_beverage_before_discounts"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.minimumSpend.basis","typeLabel":"enum\u003cstring>"}},"required":["amountCents","basis"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.minimumSpend","typeLabel":"object"},"leadTimeHours":{"type":"integer","minimum":0,"maximum":8760,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.all.leadTimeHours","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.all","typeLabel":"object"},"byServiceStyle":{"type":"object","additionalProperties":{"type":"object","properties":{"minimumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.minimumGuests","typeLabel":"integer"},"maximumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.maximumGuests","typeLabel":"integer"},"minimumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.minimumUnits","typeLabel":"string"},"maximumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.maximumUnits","typeLabel":"string"},"minimumSpend":{"type":"object","properties":{"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.minimumSpend.amountCents","typeLabel":"integer"},"basis":{"type":"string","enum":["eligible_food_beverage_before_discounts"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.minimumSpend.basis","typeLabel":"enum\u003cstring>"}},"required":["amountCents","basis"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.minimumSpend","typeLabel":"object"},"leadTimeHours":{"type":"integer","minimum":0,"maximum":8760,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties.leadTimeHours","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle.additionalProperties","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.1.facts.rules.byServiceStyle","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.rules","typeLabel":"object"},"serves":{"oneOf":[{"type":"object","required":["kind","guests","sourceText"],"properties":{"kind":{"type":"string","enum":["exact"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"guests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.0.guests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.0.sourceText","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind","minGuests","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["range"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"minGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.1.minGuests","typeLabel":"integer"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.1.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.1.sourceText","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["up_to"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.2.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.2.sourceText","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.2","typeLabel":"object"},{"type":"object","required":["kind","minGuests","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["approximate"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"minGuests":{"oneOf":[{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.3.minGuests.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.3.minGuests.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.3.minGuests","typeLabel":"integer | null"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.3.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.3.sourceText","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.3","typeLabel":"object"},{"type":"null","uniqueKey":"commercialFacts.oneOf.1.facts.serves.oneOf.4","typeLabel":"null"}],"uniqueKey":"commercialFacts.oneOf.1.facts.serves","typeLabel":"object · object · object · object · null"},"planningYield":{"oneOf":[{"type":"object","properties":{"guests":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.planningYield.oneOf.0.guests","typeLabel":"string"},"quantity":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.planningYield.oneOf.0.quantity","typeLabel":"string"},"reviewNote":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts.planningYield.oneOf.0.reviewNote","typeLabel":"string"}},"required":["guests","quantity","reviewNote"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.planningYield.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"guests":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$"},"quantity":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$"},"reviewNote":{"type":"string","minLength":1,"maxLength":2000}},"required":["guests","quantity","reviewNote"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.1.facts.planningYield.oneOf.1","typeLabel":"null"}],"uniqueKey":"commercialFacts.oneOf.1.facts.planningYield","typeLabel":"object | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1.facts","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind","facts"],"properties":{"kind":{"type":"string","enum":["product"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"facts":{"type":"object","properties":{"priceBasis":{"type":"string","enum":["per_person","per_item","per_dozen","per_tray","per_pack","per_lb","per_oz","per_kg","per_g","per_gallon","per_quart","per_liter","per_ml","per_fl_oz"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.priceBasis","typeLabel":"enum\u003cstring>"},"printedPrice":{"oneOf":[{"type":"object","required":["kind","amountCents"],"properties":{"kind":{"type":"string","enum":["exact"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.0.amountCents","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind","minCents","maxCents"],"properties":{"kind":{"type":"string","enum":["range"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"minCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.1.minCents","typeLabel":"integer"},"maxCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.1.maxCents","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["quote_only"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.2.kind","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.2","typeLabel":"object"},{"type":"object","required":["kind","reason"],"properties":{"kind":{"type":"string","enum":["unknown"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.3.reason","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice.oneOf.3","typeLabel":"object"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.printedPrice","typeLabel":"object"},"serves":{"oneOf":[{"type":"object","required":["kind","guests","sourceText"],"properties":{"kind":{"type":"string","enum":["exact"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"guests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.0.guests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.0.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind","minGuests","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["range"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"minGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.1.minGuests","typeLabel":"integer"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.1.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.1.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["up_to"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.2.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.2.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.2","typeLabel":"object"},{"type":"object","required":["kind","minGuests","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["approximate"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"minGuests":{"oneOf":[{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.3.minGuests.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.3.minGuests.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.3.minGuests","typeLabel":"integer | null"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.3.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.3.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.3","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.serves","typeLabel":"object · object · object · object · null"},"quantityRules":{"type":"object","properties":{"increment":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.quantityRules.increment","typeLabel":"string"},"minimum":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.quantityRules.minimum","typeLabel":"string"},"maximum":{"oneOf":[{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.quantityRules.maximum.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.quantityRules.maximum.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.quantityRules.maximum","typeLabel":"string | null"}},"required":["increment","minimum","maximum"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.quantityRules","typeLabel":"object"},"contents":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.contents.items.[INDEX].name","typeLabel":"string"},"quantity":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.contents.items.[INDEX].quantity","typeLabel":"string"},"unit":{"type":"string","enum":["person","item","dozen","tray","pack","lb","oz","kg","g","gallon","quart","liter","ml","fl_oz"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.contents.items.[INDEX].unit","typeLabel":"enum\u003cstring>"}},"required":["name","quantity","unit"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.contents.items.[INDEX]","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.2.facts.contents","typeLabel":"object[]"},"planningYield":{"oneOf":[{"type":"object","properties":{"guests":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.planningYield.oneOf.0.guests","typeLabel":"string"},"quantity":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.planningYield.oneOf.0.quantity","typeLabel":"string"},"reviewNote":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.planningYield.oneOf.0.reviewNote","typeLabel":"string"}},"required":["guests","quantity","reviewNote"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.planningYield.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"guests":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$"},"quantity":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$"},"reviewNote":{"type":"string","minLength":1,"maxLength":2000}},"required":["guests","quantity","reviewNote"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.planningYield.oneOf.1","typeLabel":"null"}],"uniqueKey":"commercialFacts.oneOf.2.facts.planningYield","typeLabel":"object | null"},"minimumSpendEligibility":{"type":"string","enum":["food_beverage","excluded","unreviewed"],"uniqueKey":"commercialFacts.oneOf.2.facts.minimumSpendEligibility","typeLabel":"enum\u003cstring>"},"allocationGroupId":{"type":"string","minLength":1,"maxLength":200,"uniqueKey":"commercialFacts.oneOf.2.facts.allocationGroupId","typeLabel":"string"},"rules":{"type":"object","properties":{"all":{"type":"object","properties":{"minimumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.minimumGuests","typeLabel":"integer"},"maximumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.maximumGuests","typeLabel":"integer"},"minimumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.minimumUnits","typeLabel":"string"},"maximumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.maximumUnits","typeLabel":"string"},"minimumSpend":{"type":"object","properties":{"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.minimumSpend.amountCents","typeLabel":"integer"},"basis":{"type":"string","enum":["eligible_food_beverage_before_discounts"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.minimumSpend.basis","typeLabel":"enum\u003cstring>"}},"required":["amountCents","basis"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.minimumSpend","typeLabel":"object"},"leadTimeHours":{"type":"integer","minimum":0,"maximum":8760,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.all.leadTimeHours","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.all","typeLabel":"object"},"byServiceStyle":{"type":"object","additionalProperties":{"type":"object","properties":{"minimumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.minimumGuests","typeLabel":"integer"},"maximumGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.maximumGuests","typeLabel":"integer"},"minimumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.minimumUnits","typeLabel":"string"},"maximumUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.maximumUnits","typeLabel":"string"},"minimumSpend":{"type":"object","properties":{"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.minimumSpend.amountCents","typeLabel":"integer"},"basis":{"type":"string","enum":["eligible_food_beverage_before_discounts"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.minimumSpend.basis","typeLabel":"enum\u003cstring>"}},"required":["amountCents","basis"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.minimumSpend","typeLabel":"object"},"leadTimeHours":{"type":"integer","minimum":0,"maximum":8760,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties.leadTimeHours","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle.additionalProperties","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.2.facts.rules.byServiceStyle","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.rules","typeLabel":"object"},"reviewFacts":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["conflicting_lead_time","unsupported_minimum_spend_basis","unresolved_choice_scope","ambiguous_category_scope","staff_pricing"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.reviewFacts.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.reviewFacts.items.[INDEX].sourceText","typeLabel":"string"},"reason":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts.reviewFacts.items.[INDEX].reason","typeLabel":"string"}},"required":["code","sourceText","reason"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.2.facts.reviewFacts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.2.facts.reviewFacts","typeLabel":"object[]"}},"required":["priceBasis","printedPrice","serves"],"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2.facts","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.2","typeLabel":"object"},{"type":"object","required":["kind","facts"],"properties":{"kind":{"type":"string","enum":["modifier_group"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"facts":{"type":"object","properties":{"semanticRole":{"type":"string","enum":["size","choice"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.3.facts.semanticRole","typeLabel":"enum\u003cstring>"}},"required":["semanticRole"],"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.3.facts","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.3","typeLabel":"object"},{"type":"object","required":["kind","facts"],"properties":{"kind":{"type":"string","enum":["modifier_option"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.kind","typeLabel":"enum\u003cstring>"},"facts":{"type":"object","properties":{"priceSemantics":{"type":"string","enum":["replaces_item","adds_to_item"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.priceSemantics","typeLabel":"enum\u003cstring>"},"printedPrice":{"oneOf":[{"type":"object","required":["kind","amountCents"],"properties":{"kind":{"type":"string","enum":["exact"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"amountCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.0.amountCents","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind","minCents","maxCents"],"properties":{"kind":{"type":"string","enum":["range"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"minCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.1.minCents","typeLabel":"integer"},"maxCents":{"type":"integer","minimum":0,"maximum":99999999,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.1.maxCents","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["quote_only"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.2.kind","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.2","typeLabel":"object"},{"type":"object","required":["kind","reason"],"properties":{"kind":{"type":"string","enum":["unknown"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.3.reason","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.3","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.printedPrice","typeLabel":"object · object · object · object · null"},"serves":{"oneOf":[{"type":"object","required":["kind","guests","sourceText"],"properties":{"kind":{"type":"string","enum":["exact"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"guests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.0.guests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.0.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.0","typeLabel":"object"},{"type":"object","required":["kind","minGuests","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["range"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"minGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.1.minGuests","typeLabel":"integer"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.1.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.1.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.1","typeLabel":"object"},{"type":"object","required":["kind","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["up_to"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.2.kind","typeLabel":"enum\u003cstring>"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.2.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.2.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.2","typeLabel":"object"},{"type":"object","required":["kind","minGuests","maxGuests","sourceText"],"properties":{"kind":{"type":"string","enum":["approximate"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.3.kind","typeLabel":"enum\u003cstring>"},"minGuests":{"oneOf":[{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.3.minGuests.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.3.minGuests.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.3.minGuests","typeLabel":"integer | null"},"maxGuests":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":10000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.3.maxGuests","typeLabel":"integer"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.3.sourceText","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.3","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.serves","typeLabel":"object · object · object · object · null"},"planningYield":{"oneOf":[{"type":"object","properties":{"guests":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.planningYield.oneOf.0.guests","typeLabel":"string"},"quantity":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$","isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.planningYield.oneOf.0.quantity","typeLabel":"string"},"reviewNote":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.planningYield.oneOf.0.reviewNote","typeLabel":"string"}},"required":["guests","quantity","reviewNote"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.4.facts.planningYield.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"guests":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$"},"quantity":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,4})(?:\\.\\d{1,6})?$"},"reviewNote":{"type":"string","minLength":1,"maxLength":2000}},"required":["guests","quantity","reviewNote"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.4.facts.planningYield.oneOf.1","typeLabel":"null"}],"uniqueKey":"commercialFacts.oneOf.4.facts.planningYield","typeLabel":"object | null"},"charge":{"type":"object","properties":{"chargeId":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.charge.chargeId","typeLabel":"string"},"scope":{"type":"string","enum":["sold_unit","affected_person","order"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.charge.scope","typeLabel":"enum\u003cstring>"},"minimumSpendEligibility":{"type":"string","enum":["food_beverage","excluded","unreviewed"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.charge.minimumSpendEligibility","typeLabel":"enum\u003cstring>"}},"required":["chargeId","scope","minimumSpendEligibility"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.4.facts.charge","typeLabel":"object"},"reviewFacts":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["conflicting_lead_time","unsupported_minimum_spend_basis","unresolved_choice_scope","ambiguous_category_scope","staff_pricing"],"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.reviewFacts.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"sourceText":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.reviewFacts.items.[INDEX].sourceText","typeLabel":"string"},"reason":{"type":"string","minLength":1,"maxLength":2000,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts.reviewFacts.items.[INDEX].reason","typeLabel":"string"}},"required":["code","sourceText","reason"],"additionalProperties":false,"uniqueKey":"commercialFacts.oneOf.4.facts.reviewFacts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"commercialFacts.oneOf.4.facts.reviewFacts","typeLabel":"object[]"}},"required":["priceSemantics","printedPrice","serves"],"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4.facts","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"commercialFacts.oneOf.4","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"commercialFacts.oneOf.5","typeLabel":"null"}],"isRequired":true,"uniqueKey":"commercialFacts","typeLabel":"object · object · object · object · object · null"}},"required":["draftRevision","locationId","canonicalId","commercialFacts"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"draftRevision":4503599627370495,"locationId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","canonicalId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","commercialFacts":{"kind":"menu","facts":{"rules":{"all":{"minimumGuests":5000,"maximumGuests":5000,"minimumUnits":"\u003cstring>","maximumUnits":"\u003cstring>","minimumSpend":{"amountCents":49999999,"basis":"eligible_food_beverage_before_discounts"},"leadTimeHours":4380},"byServiceStyle":{}},"allocationGroups":[{"groupId":"\u003cstring>","minimumGuests":5000,"maximumGuests":5000,"minimumGuestsPerProduct":5000,"maximumDistinctProducts":50,"total":"event_headcount"}],"reviewFacts":[{"code":"conflicting_lead_time","sourceText":"\u003cstring>","reason":"\u003cstring>"}]}}}}},"exampleType":"generated"}},"exampleType":"generated"},"c555ab27-0c67-474c-a9c8-782e9babc3c1":{"description":"Invalid shape, units or identifier.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"45deab19-212d-4b07-b270-d37b50f8eb89":{"description":"A current merchant staff session is required. Machine credentials are not admitted.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"cf30d608-0c64-47f8-b13e-e702bce54143":{"description":"Current organization role/location grant or POS authority forbids the operation.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"55cb3b75-aa93-4e14-8a0f-e706aff0f1fc":{"description":"The record or location does not exist in the authorized tenant.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"379b8634-a9ca-482a-8063-2d8413e9e4df":{"description":"CATALOG_DRAFT_STALE_REVISION: refresh the current draft before retrying.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"ba51a683-fa2c-4912-ad63-871ee8c16a7d":{"description":"Invalid references, non-ready publication evidence or semantic validation blockers.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"cda2d095-e91f-43b3-8840-ef4b7a4f8ed0":{"StaffSession":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"StaffSession"}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"StaffSession"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"StaffSession","name":"Authorization"}],"title":"StaffSession"}]},"originalFileLocation":"generated/catalog-workspace.openapi.json"},"subdomain":"craveup-1493c4c7","siteName":"Crave Cloud Documentation","title":"Save or withdraw existing revisioned catering commercial facts - Crave Cloud Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T05:45:07.854Z","originalFileLocation":"api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts.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=\"application-name\" content=\"Crave Cloud Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/craveup-1493c4c7/xHUpRIXxnvFKaY61/_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/craveup-1493c4c7/xHUpRIXxnvFKaY61/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/craveup-1493c4c7/xHUpRIXxnvFKaY61/_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/craveup-1493c4c7/xHUpRIXxnvFKaY61/_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/craveup-1493c4c7/xHUpRIXxnvFKaY61/_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/craveup-1493c4c7/xHUpRIXxnvFKaY61/_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/craveup-1493c4c7/xHUpRIXxnvFKaY61/_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/craveup-1493c4c7/xHUpRIXxnvFKaY61/_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/craveup-1493c4c7/xHUpRIXxnvFKaY61/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Save or withdraw existing revisioned catering commercial facts - Crave Cloud Documentation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Crave Cloud Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.craveup.com/api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://craveup-1493c4c7.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Save+or+withdraw+existing+revisioned+catering+commercial+facts\u0026amp;theme=b98c5e909d3955315eca9dcf\u0026amp;signature=3d916a2e4822ef14e7ad6dd7ec499f7b7232ccd2ed988b1c81bd17c13575ce63\">\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=\"Save or withdraw existing revisioned catering commercial facts - Crave Cloud Documentation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://craveup-1493c4c7.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Save+or+withdraw+existing+revisioned+catering+commercial+facts\u0026amp;theme=b98c5e909d3955315eca9dcf\u0026amp;signature=3d916a2e4822ef14e7ad6dd7ec499f7b7232ccd2ed988b1c81bd17c13575ce63\">\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/craveup-1493c4c7/xHUpRIXxnvFKaY61/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Crave Cloud Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#133B2F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.craveup.com/api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.craveup.com/#organization\",\"name\":\"Crave Cloud Documentation\",\"url\":\"https://docs.craveup.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/craveup-1493c4c7/P4icpH7dO6tjC3GV/logo/crave-wordmark.png?fit=max\u0026auto=format\u0026n=P4icpH7dO6tjC3GV\u0026q=85\u0026s=c6965caeaa3bfbd9e84cf5416bbf2576\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.craveup.com#website\",\"name\":\"Crave Cloud Documentation\",\"url\":\"https://docs.craveup.com\",\"publisher\":{\"@id\":\"https://docs.craveup.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.craveup.com/api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts#webpage\",\"url\":\"https://docs.craveup.com/api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts\",\"name\":\"Save or withdraw existing revisioned catering commercial facts\",\"dateModified\":\"2026-10-30T05:45:07.854Z\",\"isPartOf\":{\"@id\":\"https://docs.craveup.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.craveup.com/api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.craveup.com/api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Staff Menu Manager authoring\",\"item\":\"https://docs.craveup.com/api-reference/review-all-structural-and-recipe-uses-of-a-shared-record\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Reference\",\"item\":\"https://docs.craveup.com/api-reference/review-all-structural-and-recipe-uses-of-a-shared-record\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Save or withdraw existing revisioned catering commercial facts\",\"item\":\"https://docs.craveup.com/api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.craveup.com/api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts#apireference\",\"headline\":\"Save or withdraw existing revisioned catering commercial facts\",\"name\":\"Save or withdraw existing revisioned catering commercial facts\",\"url\":\"https://docs.craveup.com/api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts\",\"mainEntityOfPage\":{\"@id\":\"https://docs.craveup.com/api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts#webpage\"},\"dateModified\":\"2026-10-30T05:45:07.854Z\",\"publisher\":{\"@id\":\"https://docs.craveup.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.craveup.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Crave Cloud Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Crave Cloud Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/guides/crave-cloud-overview"}]},{"tab":"API Reference","icon":"square-terminal","groups":[{"group":"SDK Reference","icon":"book-open","pages":[{"title":"API Overview","href":"/api-reference/overview/api-overview"},{"title":"Core Concepts","href":"/api-reference/overview/core-concepts"}]},{"group":"API Endpoints","icon":"route","pages":[{"group":"Customer Auth","pages":[{"title":"Read eligible customer sign-in channels","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /merchant/{merchantSlug}/auth/config","href":"/api-reference/customer-auth/read-eligible-customer-sign-in-channels"},{"title":"Prepare a merchant-bound customer code challenge","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /merchant/{merchantSlug}/auth/challenges","href":"/api-reference/customer-auth/prepare-a-merchant-bound-customer-code-challenge"},{"title":"Replace an owned code challenge","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /merchant/{merchantSlug}/auth/challenges/{challengeId}/resend","href":"/api-reference/customer-auth/replace-an-owned-code-challenge"},{"title":"Consume a fresh code proof for a customer session","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /merchant/{merchantSlug}/auth/challenges/{challengeId}/verify","href":"/api-reference/customer-auth/consume-a-fresh-code-proof-for-a-customer-session"},{"title":"Rotate one customer session generation","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /merchant/{merchantSlug}/auth/session/refresh","href":"/api-reference/customer-auth/rotate-one-customer-session-generation"},{"title":"Read the current customer session identity","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /merchant/{merchantSlug}/auth/session","href":"/api-reference/customer-auth/read-the-current-customer-session-identity"},{"title":"Revoke the owned local customer session family","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json delete /merchant/{merchantSlug}/auth/session","href":"/api-reference/customer-auth/revoke-the-owned-local-customer-session-family"}]},{"group":"Catering","pages":[{"title":"Read an event-bound catering proposal","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/catering/events/{eventId}/live-cart","href":"/api-reference/catering/read-an-event-bound-catering-proposal"},{"title":"Suggest catering catalog quantities and preferences","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json put /locations/{locationId}/catering/events/{eventId}/live-cart","href":"/api-reference/catering/suggest-catering-catalog-quantities-and-preferences"},{"title":"View a customer catering event","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/catering/events/{eventId}","href":"/api-reference/catering/view-a-customer-catering-event"},{"title":"Accept the current catering offer","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/catering/events/{eventId}/accept","href":"/api-reference/catering/accept-the-current-catering-offer"},{"title":"Decline the current catering quote","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/catering/events/{eventId}/decline","href":"/api-reference/catering/decline-the-current-catering-quote"},{"title":"Review immutable proposed changes to an accepted catering booking","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/catering/events/{eventId}/amendments","href":"/api-reference/catering/review-immutable-proposed-changes-to-an-accepted-catering-booking"},{"title":"Explicitly accept or decline the exact proposed catering version","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/catering/events/{eventId}/amendments/decision","href":"/api-reference/catering/explicitly-accept-or-decline-the-exact-proposed-catering-version"},{"title":"Read a customer's cancellation request without changing the booking","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/catering/events/{eventId}/cancellation-request","href":"/api-reference/catering/read-a-customers-cancellation-request-without-changing-the-booking"},{"title":"Request restaurant review of cancellation; never cancels or refunds","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/catering/events/{eventId}/cancellation-request","href":"/api-reference/catering/request-restaurant-review-of-cancellation;-never-cancels-or-refunds"},{"title":"Pay the remaining balance of an accepted catering job","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/catering/events/{eventId}/balance-payment","href":"/api-reference/catering/pay-the-remaining-balance-of-an-accepted-catering-job"},{"title":"Show a location's public catering inquiry form","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/catering/inquiry-form","href":"/api-reference/catering/show-a-locations-public-catering-inquiry-form"},{"title":"Read a location's published catering menu","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/catering/menu","href":"/api-reference/catering/read-a-locations-published-catering-menu"},{"title":"Send a catering inquiry from a website","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/catering/inquiries","href":"/api-reference/catering/send-a-catering-inquiry-from-a-website"}]},{"group":"Loyalty","pages":[{"title":"Get the customer loyalty account, tier, membership, and wallet","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /customer/locations/{locationId}/loyalty/account","href":"/api-reference/loyalty/get-the-customer-loyalty-account-tier-membership-and-wallet"},{"title":"Get loyalty earning and reward options","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/carts/{cartId}/loyalty/quote","href":"/api-reference/loyalty/get-loyalty-earning-and-reward-options"},{"title":"Join the checkout's authoritative loyalty program","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/carts/{cartId}/loyalty/enrollment","href":"/api-reference/loyalty/join-the-checkouts-authoritative-loyalty-program"},{"title":"Reserve and apply a loyalty reward","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/carts/{cartId}/loyalty/redeem","href":"/api-reference/loyalty/reserve-and-apply-a-loyalty-reward"},{"title":"Remove the applied loyalty reward","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json delete /locations/{locationId}/carts/{cartId}/loyalty/redeem","href":"/api-reference/loyalty/remove-the-applied-loyalty-reward"},{"title":"Get customer loyalty balances and ledger","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /customer/locations/{locationId}/loyalty/ledger","href":"/api-reference/loyalty/get-customer-loyalty-balances-and-ledger"},{"title":"List customer loyalty claims","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /customer/loyalty/claims","href":"/api-reference/loyalty/list-customer-loyalty-claims"},{"title":"Submit a loyalty claim","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /customer/loyalty/claims","href":"/api-reference/loyalty/submit-a-loyalty-claim"}]},{"group":"Merchants","pages":[{"title":"Get a published merchant and its locations","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /merchant/{merchantSlug}","href":"/api-reference/merchants/get-a-published-merchant-and-its-locations"},{"title":"Resolve an exact active custom storefront hostname","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /domain-bootstrap/{hostname}","href":"/api-reference/merchants/resolve-an-exact-active-custom-storefront-hostname"}]},{"group":"Locations","pages":[{"title":"Get a published location","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationSlugOrId}","href":"/api-reference/locations/get-a-published-location"},{"title":"Calculate distance to a location","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/distance","href":"/api-reference/locations/calculate-distance-to-a-location"},{"title":"Get available order times","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/time-intervals","href":"/api-reference/locations/get-available-order-times"},{"title":"Read a location menu using an expiring merchant-issued preview capability","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/preview","href":"/api-reference/locations/read-a-location-menu-using-an-expiring-merchant-issued-preview-capability"},{"title":"Get gratuity configuration","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/gratuity","href":"/api-reference/locations/get-gratuity-configuration"},{"title":"Redirect to the hosted location storefront","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/redirect","href":"/api-reference/locations/redirect-to-the-hosted-location-storefront"}]},{"group":"Ordering Sessions","pages":[{"title":"Check ordering availability without creating a cart","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/ordering-readiness","href":"/api-reference/ordering-sessions/check-ordering-availability-without-creating-a-cart"},{"title":"Create or resume an ordering session","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/ordering-sessions","href":"/api-reference/ordering-sessions/create-or-resume-an-ordering-session"}]},{"group":"Menus","pages":[{"title":"List the published menu bundle","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/menus","href":"/api-reference/menus/list-the-published-menu-bundle"}]},{"group":"Products","pages":[{"title":"Get a published product","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/products/{productId}","href":"/api-reference/products/get-a-published-product"},{"title":"Preview an accepted configuration within a released menu","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/products/{productId}/configuration-preview","href":"/api-reference/products/preview-an-accepted-configuration-within-a-released-menu"}]},{"group":"Carts","pages":[{"title":"Persist session preferences and recalculate cart food advice","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json put /locations/{locationId}/carts/{cartId}/dietary-preferences","href":"/api-reference/carts/persist-session-preferences-and-recalculate-cart-food-advice"},{"title":"Get an authorized cart","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/carts/{cartId}","href":"/api-reference/carts/get-an-authorized-cart"},{"title":"Expire a cart","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json delete /locations/{locationId}/carts/{cartId}","href":"/api-reference/carts/expire-a-cart"},{"title":"Update cart fields","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json patch /locations/{locationId}/carts/{cartId}","href":"/api-reference/carts/update-cart-fields"},{"title":"Stream authorized cart revision events","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/carts/{cartId}/events","href":"/api-reference/carts/stream-authorized-cart-revision-events"},{"title":"Accept the current authoritative cart changes","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/carts/{cartId}/catalog-revalidation/accept","href":"/api-reference/carts/accept-the-current-authoritative-cart-changes"},{"title":"Start a cart at another merchant location","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/carts/{cartId}/location-switches","href":"/api-reference/carts/start-a-cart-at-another-merchant-location"},{"title":"List cart recommendations","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/carts/{cartId}/products","href":"/api-reference/carts/list-cart-recommendations"},{"title":"Update the DoorDash courier tip","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json put /locations/{locationId}/carts/{cartId}/courier-tip","href":"/api-reference/carts/update-the-doordash-courier-tip"},{"title":"Update cart gratuity","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json put /locations/{locationId}/carts/{cartId}/gratuity","href":"/api-reference/carts/update-cart-gratuity"},{"title":"Set cart delivery address","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json put /locations/{locationId}/carts/{cartId}/set-delivery","href":"/api-reference/carts/set-cart-delivery-address"},{"title":"Set table service details","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json put /locations/{locationId}/carts/{cartId}/set-table","href":"/api-reference/carts/set-table-service-details"},{"title":"Set room service details","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json put /locations/{locationId}/carts/{cartId}/set-room","href":"/api-reference/carts/set-room-service-details"},{"title":"Update cart order time","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json put /locations/{locationId}/carts/{cartId}/update-order-time","href":"/api-reference/carts/update-cart-order-time"},{"title":"Claim a guest cart for the signed-in customer","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/carts/{cartId}/claim","href":"/api-reference/carts/claim-a-guest-cart-for-the-signed-in-customer"}]},{"group":"Analytics","pages":[{"title":"Record an allowlisted Storefront analytics event","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/analytics-events","href":"/api-reference/analytics/record-an-allowlisted-storefront-analytics-event"}]},{"group":"Checkout","pages":[{"title":"Validate checkout and update customer contact details","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json put /locations/{locationId}/carts/{cartId}/validate-and-update","href":"/api-reference/checkout/validate-checkout-and-update-customer-contact-details"},{"title":"Get server-evaluated checkout collection choices","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/carts/{cartId}/collection-options","href":"/api-reference/checkout/get-server-evaluated-checkout-collection-choices"},{"title":"Create a one-time checkout handoff","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/carts/{cartId}/checkout-handoffs","href":"/api-reference/checkout/create-a-one-time-checkout-handoff"},{"title":"Exchange a one-time checkout handoff","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/carts/{cartId}/checkout-handoffs/exchange","href":"/api-reference/checkout/exchange-a-one-time-checkout-handoff"},{"title":"Prepare hosted checkout with separate read-only return authority","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/carts/{cartId}/checkout-observers","href":"/api-reference/checkout/prepare-hosted-checkout-with-separate-read-only-return-authority"},{"title":"Read persisted hosted checkout state without payment reconciliation","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/carts/{cartId}/checkout-result","href":"/api-reference/checkout/read-persisted-hosted-checkout-state-without-payment-reconciliation"},{"title":"Create or replay an order-first checkout submission","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/carts/{cartId}/submissions","href":"/api-reference/checkout/create-or-replay-an-order-first-checkout-submission"},{"title":"Get a stable order-first submission outcome","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/carts/{cartId}/submissions/{attemptId}","href":"/api-reference/checkout/get-a-stable-order-first-submission-outcome"},{"title":"Resolve a submission by attempt, cart, or payment intent","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /locations/{locationId}/carts/{cartId}/submission-lookup","href":"/api-reference/checkout/resolve-a-submission-by-attempt-cart-or-payment-intent"},{"title":"Submit a rating after successful payment","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/carts/{cartId}/rating","href":"/api-reference/checkout/submit-a-rating-after-successful-payment"}]},{"group":"Cart Items","pages":[{"title":"Add an item to a cart","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/carts/{cartId}/items","href":"/api-reference/cart-items/add-an-item-to-a-cart"},{"title":"Remove an item from a cart","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json delete /locations/{locationId}/carts/{cartId}/items/{itemId}","href":"/api-reference/cart-items/remove-an-item-from-a-cart"},{"title":"Update a cart item quantity","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json patch /locations/{locationId}/carts/{cartId}/items/{itemId}","href":"/api-reference/cart-items/update-a-cart-item-quantity"}]},{"group":"Discounts","pages":[{"title":"Apply a discount code","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /locations/{locationId}/carts/{cartId}/discount","href":"/api-reference/discounts/apply-a-discount-code"},{"title":"Remove the applied discount","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json delete /locations/{locationId}/carts/{cartId}/discount","href":"/api-reference/discounts/remove-the-applied-discount"}]},{"group":"Customers","pages":[{"title":"Get the signed-in customer profile","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /customer","href":"/api-reference/customers/get-the-signed-in-customer-profile"},{"title":"Request deletion of the signed-in customer account","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json delete /customer","href":"/api-reference/customers/request-deletion-of-the-signed-in-customer-account"},{"title":"Export the signed-in customer's organization data","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /customer/data-export","href":"/api-reference/customers/export-the-signed-in-customers-organization-data"},{"title":"Get signed-in customer deletion progress","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /customer/privacy-operations/{operationId}","href":"/api-reference/customers/get-signed-in-customer-deletion-progress"},{"title":"List customer addresses","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /customer/addresses","href":"/api-reference/customers/list-customer-addresses"},{"title":"Create a customer address","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /customer/addresses","href":"/api-reference/customers/create-a-customer-address"},{"title":"Delete a customer address","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json delete /customer/addresses/{addressId}","href":"/api-reference/customers/delete-a-customer-address"},{"title":"Update a customer address","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json patch /customer/addresses/{addressId}","href":"/api-reference/customers/update-a-customer-address"},{"title":"List saved payment methods","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /customer/locations/{locationId}/saved-payments","href":"/api-reference/customers/list-saved-payment-methods"},{"title":"Delete a saved payment method","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json delete /customer/locations/{locationId}/saved-payments/{paymentId}","href":"/api-reference/customers/delete-a-saved-payment-method"},{"title":"Create a Stripe saved-card setup session","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /customer/locations/{locationId}/saved-payment-setups","href":"/api-reference/customers/create-a-stripe-saved-card-setup-session"},{"title":"Get an authoritative Stripe saved-card setup status","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /customer/locations/{locationId}/saved-payment-setups/{setupIntentId}","href":"/api-reference/customers/get-an-authoritative-stripe-saved-card-setup-status"}]},{"group":"Orders","pages":[{"title":"List customer orders","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /customer/orders","href":"/api-reference/orders/list-customer-orders"},{"title":"Claim an eligible guest order with verified customer contact","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json post /customer/order-claims","href":"/api-reference/orders/claim-an-eligible-guest-order-with-verified-customer-contact"},{"title":"Get customer order details","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /customer/orders/{orderId}","href":"/api-reference/orders/get-customer-order-details"},{"title":"Get an authorized public receipt","deprecated":null,"version":null,"openapi":"/generated/storefront.openapi.json get /receipts/{receiptId}","href":"/api-reference/orders/get-an-authorized-public-receipt"}]}]},{"group":"Staff Menu Manager authoring","icon":"utensils","pages":[{"group":"API Reference","pages":[{"title":"Review all structural and recipe uses of a shared record","deprecated":null,"version":null,"openapi":"/generated/catalog-workspace.openapi.json get /api/v1/catalog/workspace/entities/{canonicalId}/usage","href":"/api-reference/review-all-structural-and-recipe-uses-of-a-shared-record"},{"title":"Replace one ordered parent list without deleting library records","deprecated":null,"version":null,"openapi":"/generated/catalog-workspace.openapi.json put /api/v1/catalog/workspace/relationships","href":"/api-reference/replace-one-ordered-parent-list-without-deleting-library-records"},{"title":"Review explicit menu/location/channel targets and retained releases","deprecated":null,"version":null,"openapi":"/generated/catalog-workspace.openapi.json post /api/v1/catalog/workspace/publication-review","href":"/api-reference/review-explicit-menulocationchannel-targets-and-retained-releases"},{"title":"Preview one selected menu at one location/channel/time from its draft revision or an active release","deprecated":null,"version":null,"openapi":"/generated/catalog-workspace.openapi.json post /api/v1/catalog/workspace/preview","href":"/api-reference/preview-one-selected-menu-at-one-locationchanneltime-from-its-draft-revision-or-an-active-release"},{"title":"Evaluate a configured item's food from the same draft or released source as the menu preview","description":null,"deprecated":null,"version":null,"openapi":"/generated/catalog-workspace.openapi.json post /api/v1/catalog/workspace/configuration-preview","href":"/api-reference/evaluate-a-configured-items-food-from-the-same-draft-or-released-source-as-the-menu-preview"},{"title":"Save or withdraw existing revisioned catering commercial facts","deprecated":null,"version":null,"openapi":"/generated/catalog-workspace.openapi.json put /api/v1/catalog/workspace/commercial-facts","href":"/api-reference/save-or-withdraw-existing-revisioned-catering-commercial-facts"},{"title":"Read draft commercial facts for a granted location","description":null,"deprecated":null,"version":null,"openapi":"/generated/catalog-workspace.openapi.json get /api/v1/locations/{locationId}/catalog/commercial-facts","href":"/api-reference/read-draft-commercial-facts-for-a-granted-location"},{"title":"Change immediate location availability using the operational owner","deprecated":null,"version":null,"openapi":"/generated/catalog-workspace.openapi.json patch /api/v1/locations/{locationId}/catalog/products/{productId}/availability","href":"/api-reference/change-immediate-location-availability-using-the-operational-owner"}]}]},{"group":"Server-to-Server Integration API","icon":"server","pages":[{"group":"API Reference","pages":[{"title":"List the locations this key can read","deprecated":null,"version":null,"openapi":"/generated/integration.openapi.json get /locations","href":"/api-reference/list-the-locations-this-key-can-read"},{"title":"Read a location's identity, hours and current open state","deprecated":null,"version":null,"openapi":"/generated/integration.openapi.json get /locations/{locationId}/profile","href":"/api-reference/read-a-locations-identity-hours-and-current-open-state"},{"title":"Read the canonical order and payment projection for a cart","deprecated":null,"version":null,"openapi":"/generated/integration.openapi.json get /locations/{locationId}/carts/{cartId}/commerce-projection","href":"/api-reference/read-the-canonical-order-and-payment-projection-for-a-cart"}]}]},{"group":"Error Codes","icon":"triangle-alert","pages":[{"title":"Error Codes","href":"/guides/error-codes"}]}]},{"tab":"Components","icon":"puzzle","pages":[{"title":"Components","href":"/components/overview"}]},{"tab":"Changelog","icon":"clock","pages":[{"title":"Changelog","href":"/changelog"}]}]},"title":"Save or withdraw existing revisioned catering commercial facts - Crave Cloud Documentation","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}