{"openapi":"3.1.0","info":{"title":"Ressera Customer API","version":"1.1.0","description":"Public, read-and-quote API for venue websites. Requests require a published channel and an approved Origin. Lists bookable start times and issues 15-minute price quotes. Quotes do not reserve capacity, create bookings or take payment. Human guide: /developers. LLM guide: /llms-full.txt."},"externalDocs":{"description":"Developer guide","url":"/developers"},"paths":{"/api/v1/customer/channels/{channelId}/catalog":{"parameters":[{"name":"channelId","in":"path","required":true,"description":"Public channel ID issued by the venue operator.","schema":{"type":"string","format":"uuid"}}],"get":{"operationId":"getCatalog","summary":"Published offerings for a channel","responses":{"200":{"description":"Published offering snapshot","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Catalog"}}}},"default":{"description":"Request rejected or service unavailable. See the `code` field and the error table in /llms-full.txt.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerError"}}}}}}},"/api/v1/customer/channels/{channelId}/starts":{"parameters":[{"name":"channelId","in":"path","required":true,"description":"Public channel ID issued by the venue operator.","schema":{"type":"string","format":"uuid"}}],"get":{"operationId":"getStarts","summary":"Bookable start times for one offering","description":"Dates are local to catalog.timezone. The range covers at most 31 dates. Starts follow published opening rules; live capacity is confirmed only when a booking is placed.","parameters":[{"name":"offeringId","in":"query","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"from","in":"query","required":true,"description":"First local date (YYYY-MM-DD).","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"through","in":"query","required":false,"description":"Last local date (YYYY-MM-DD), inclusive. Defaults to `from`.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}],"responses":{"200":{"description":"Bookable starts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookableStarts"}}}},"default":{"description":"Request rejected or service unavailable. See the `code` field and the error table in /llms-full.txt.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerError"}}}}}}},"/api/v1/customer/channels/{channelId}/quotes":{"parameters":[{"name":"channelId","in":"path","required":true,"description":"Public channel ID issued by the venue operator.","schema":{"type":"string","format":"uuid"}}],"post":{"operationId":"createQuote","summary":"Price a selection (15-minute quote)","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh UUID per intent; reuse only when retrying the identical request.","schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequest"}}}},"responses":{"201":{"description":"Expiring quote; no capacity reserved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quote"}}}},"default":{"description":"Request rejected or service unavailable. See the `code` field and the error table in /llms-full.txt.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerError"}}}}}}}},"components":{"schemas":{"Catalog":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"channelId":{"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)$"},"version":{"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)$"},"venueName":{"type":"string","minLength":1,"maxLength":200},"locale":{"type":"string","enum":["cs-CZ","en-GB"]},"timezone":{"type":"string","minLength":1,"maxLength":200},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"theme":{"type":"string","enum":["arena","ice"]},"offerings":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"id":{"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)$"},"name":{"type":"string","minLength":1,"maxLength":200},"type":{"type":"string","enum":["standard","package","duration"]},"minPlayers":{"type":"integer","minimum":1,"maximum":1000},"maxPlayers":{"type":"integer","minimum":1,"maximum":1000},"starts":{"maxItems":20000,"type":"array","items":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"description":{"type":"string","minLength":1,"maxLength":600},"maxGuests":{"type":"integer","minimum":1,"maximum":1000},"minutes":{"type":"integer","minimum":1,"maximum":1440},"hours":{"type":"object","properties":{"min":{"type":"integer","minimum":1,"maximum":24},"max":{"type":"integer","minimum":1,"maximum":24}},"required":["min","max"],"additionalProperties":false},"optionIds":{"maxItems":50,"type":"array","items":{"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)$"}},"formIds":{"maxItems":20,"type":"array","items":{"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)$"}}},"required":["id","name","type","minPlayers","maxPlayers"],"additionalProperties":false}},"options":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"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)$"},"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","minLength":1,"maxLength":600},"pricing":{"type":"string","enum":["per_group","per_person","per_item"]},"amount":{"type":"integer","minimum":0,"maximum":2147483647},"required":{"type":"boolean"},"maxQuantity":{"type":"integer","minimum":1,"maximum":1000},"minimumNoticeHours":{"type":"integer","minimum":1,"maximum":8760},"reviewNoticeHours":{"type":"integer","minimum":1,"maximum":8760}},"required":["id","name","pricing","amount","required","maxQuantity"],"additionalProperties":false}},"forms":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"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)$"},"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","minLength":1,"maxLength":600},"kind":{"type":"string","enum":["custom","birthday_children","company","school"]},"minEntries":{"type":"integer","minimum":0,"maximum":50},"maxEntries":{"type":"integer","minimum":1,"maximum":50},"fields":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9_]{1,40}$"},"label":{"type":"string","minLength":1,"maxLength":200},"type":{"type":"string","enum":["text","number","date","choice"]},"required":{"type":"boolean"},"choices":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["id","label","type","required"],"additionalProperties":false}}},"required":["id","name","minEntries","maxEntries","fields"],"additionalProperties":false}},"groups":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9-]{1,40}$"},"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","minLength":1,"maxLength":600},"offeringIds":{"minItems":1,"maxItems":50,"type":"array","items":{"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)$"}}},"required":["id","name","offeringIds"],"additionalProperties":false}}},"required":["channelId","version","venueName","locale","timezone","currency","offerings"],"additionalProperties":false},"BookableStarts":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"channelId":{"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)$"},"catalogVersion":{"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)$"},"offeringId":{"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)$"},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"through":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"starts":{"maxItems":20000,"type":"array","items":{"type":"object","properties":{"start":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"confirmation":{"type":"string","enum":["instant","request"]}},"required":["start","confirmation"],"additionalProperties":false}}},"required":["channelId","catalogVersion","offeringId","from","through","starts"],"additionalProperties":false},"QuoteRequest":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"catalogVersion":{"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)$"},"offeringId":{"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)$"},"playerCount":{"type":"integer","minimum":1,"maximum":1000},"guestCount":{"type":"integer","minimum":1,"maximum":1000},"startTimes":{"minItems":1,"maxItems":48,"type":"array","items":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"durationMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":1440},"addOns":{"maxItems":64,"type":"array","items":{"type":"object","properties":{"id":{"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)$"},"quantity":{"type":"integer","minimum":1,"maximum":1000}},"required":["id","quantity"],"additionalProperties":false}},"voucherCode":{"type":"string","minLength":1,"maxLength":128},"customerNote":{"type":"boolean","const":true},"childAges":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"integer","minimum":0,"maximum":120}}},"required":["catalogVersion","offeringId","playerCount","startTimes"],"additionalProperties":false},"Quote":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"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)$"},"channelId":{"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)$"},"catalogVersion":{"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)$"},"offeringId":{"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)$"},"issuedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"amounts":{"type":"object","properties":{"serviceTotal":{"type":"integer","minimum":0,"maximum":2147483647},"voucherTender":{"type":"integer","minimum":0,"maximum":2147483647},"dueNow":{"type":"integer","minimum":0,"maximum":2147483647},"dueLater":{"type":"integer","minimum":0,"maximum":2147483647}},"required":["serviceTotal","voucherTender","dueNow","dueLater"],"additionalProperties":false},"visit":{"minItems":1,"maxItems":256,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["game","break","food","setup","cleanup"]},"start":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"end":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["kind","start","end"],"additionalProperties":false}}},"required":["id","channelId","catalogVersion","offeringId","issuedAt","expiresAt","currency","amounts","visit"],"additionalProperties":false},"CustomerError":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","enum":["invalid_request","channel_unavailable","origin_denied","offering_unavailable","stale_catalog","unavailable_start","invalid_voucher","idempotency_conflict","rate_limited","temporarily_unavailable"]}},"required":["code"],"additionalProperties":false}}}}