{"openapi":"3.1.0","info":{"title":"Cowtic Public API","version":"1.0.0","description":"Organization-scoped REST API for events, ticket types, orders, tickets, discounts, and webhooks."},"servers":[{"url":"https://api.cowtic.com/api/v1","description":"Current host"}],"tags":[{"name":"Events"},{"name":"Ticket Types"},{"name":"Orders"},{"name":"Tickets"},{"name":"Discounts"},{"name":"Webhooks"}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"An organization API key created in the Cowtic dashboard."}},"schemas":{"ProblemDetails":{"type":"object","properties":{"type":{"type":"string","example":""},"title":{"type":"string","example":""},"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":0},"detail":{"type":"string","example":""},"instance":{"type":"string","example":""},"requestId":{"type":"string","example":""},"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","example":""},"message":{"type":"string","example":""}},"required":["path","message"],"example":{"path":"","message":""}}}},"required":["type","title","status"],"example":{"type":"","title":"","status":0,"detail":"","instance":"","requestId":"","errors":[]}},"CursorPagination":{"type":"object","properties":{"cursor":{"type":"string","example":""},"limit":{"type":"integer","minimum":1,"maximum":100,"example":""}},"example":{"cursor":"","limit":""}},"CreateEvent":{"type":"object","properties":{"title":{"type":"string","minLength":3,"example":""},"description":{"nullable":true,"type":"string","minLength":5,"example":null},"location":{"nullable":true,"type":"string","minLength":3,"example":null},"currency":{"type":"string","minLength":3,"maxLength":3,"example":""},"timezone":{"type":"string","example":""},"startDate":{"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))$","example":""},"endDate":{"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))$","example":""},"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","example":""},"coverImage":{"type":"string","format":"uri","example":""},"isPublic":{"type":"boolean","example":""},"status":{"type":"string","enum":["PUBLISHED","DRAFTED","EXPIRED","SOLD_OUT","CANCELLED"],"example":""},"deliveryMethod":{"type":"string","enum":["DIGITAL","PHYSICAL"],"example":""},"shippingCountries":{"type":"array","items":{"type":"string"}},"acceptsCompany":{"type":"boolean","example":""}},"required":["title","startDate","slug","deliveryMethod"],"example":{"title":"","description":null,"location":null,"currency":"","timezone":"","startDate":"","endDate":"","slug":"","coverImage":"","isPublic":"","status":"","deliveryMethod":"","shippingCountries":[],"acceptsCompany":""}},"UpdateEvent":{"type":"object","properties":{"title":{"type":"string","minLength":3,"example":""},"description":{"nullable":true,"type":"string","minLength":5,"example":null},"location":{"nullable":true,"type":"string","minLength":3,"example":null},"currency":{"type":"string","minLength":3,"maxLength":3,"example":""},"timezone":{"type":"string","example":""},"startDate":{"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))$","example":""},"endDate":{"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))$","example":""},"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","example":""},"coverImage":{"type":"string","format":"uri","example":""},"isPublic":{"type":"boolean","example":""},"status":{"type":"string","enum":["PUBLISHED","DRAFTED","EXPIRED","SOLD_OUT","CANCELLED"],"example":""},"deliveryMethod":{"type":"string","enum":["DIGITAL","PHYSICAL"],"example":""},"shippingCountries":{"type":"array","items":{"type":"string"}},"acceptsCompany":{"type":"boolean","example":""}},"example":{"title":"","description":null,"location":null,"currency":"","timezone":"","startDate":"","endDate":"","slug":"","coverImage":"","isPublic":"","status":"","deliveryMethod":"","shippingCountries":[],"acceptsCompany":""}},"CreateTicketType":{"type":"object","properties":{"name":{"type":"string","minLength":2,"example":""},"price":{"type":"number","minimum":0,"example":0},"quantity":{"type":"number","minimum":1,"example":0},"description":{"type":"string","example":""},"status":{"type":"string","enum":["ON_SALE","DISPLAY_AS_SOLD_OUT","DISPLAY_AS_UNAVAILABLE","ONLY_VISIBLE_TO_OWNER"],"example":""},"displayRemaining":{"type":"boolean","example":""},"validityDays":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991,"example":null},"validityHours":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991,"example":null},"accessAreas":{"type":"array","items":{"type":"string"}},"maxPerOrder":{"type":"integer","minimum":1,"maximum":100,"example":""},"sortOrder":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":""},"ticketText":{"nullable":true,"type":"string","example":null},"ticketLogo":{"nullable":true,"type":"string","format":"uri","example":null},"validFrom":{"nullable":true,"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))$","example":null},"validUntil":{"nullable":true,"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))$","example":null},"allowedDates":{"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))$"}},"saleStartDate":{"nullable":true,"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))$","example":null},"saleEndDate":{"nullable":true,"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))$","example":null}},"required":["name","price","quantity"],"example":{"name":"","price":0,"quantity":0,"description":"","status":"","displayRemaining":"","validityDays":null,"validityHours":null,"accessAreas":[],"maxPerOrder":"","sortOrder":"","ticketText":null,"ticketLogo":null,"validFrom":null,"validUntil":null,"allowedDates":[],"saleStartDate":null,"saleEndDate":null}},"UpdateTicketType":{"type":"object","properties":{"name":{"type":"string","minLength":2,"example":""},"price":{"type":"number","minimum":0,"example":""},"quantity":{"type":"number","minimum":1,"example":""},"description":{"type":"string","example":""},"status":{"type":"string","enum":["ON_SALE","DISPLAY_AS_SOLD_OUT","DISPLAY_AS_UNAVAILABLE","ONLY_VISIBLE_TO_OWNER"],"example":""},"displayRemaining":{"type":"boolean","example":""},"validityDays":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991,"example":null},"validityHours":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991,"example":null},"accessAreas":{"type":"array","items":{"type":"string"}},"maxPerOrder":{"type":"integer","minimum":1,"maximum":100,"example":""},"sortOrder":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":""},"ticketText":{"nullable":true,"type":"string","example":null},"ticketLogo":{"nullable":true,"type":"string","format":"uri","example":null},"validFrom":{"nullable":true,"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))$","example":null},"validUntil":{"nullable":true,"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))$","example":null},"allowedDates":{"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))$"}},"saleStartDate":{"nullable":true,"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))$","example":null},"saleEndDate":{"nullable":true,"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))$","example":null}},"example":{"name":"","price":"","quantity":"","description":"","status":"","displayRemaining":"","validityDays":null,"validityHours":null,"accessAreas":[],"maxPerOrder":"","sortOrder":"","ticketText":null,"ticketLogo":null,"validFrom":null,"validUntil":null,"allowedDates":[],"saleStartDate":null,"saleEndDate":null}},"CreateOrder":{"type":"object","properties":{"eventId":{"type":"string","minLength":1,"example":""},"customer":{"type":"object","properties":{"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","example":""},"name":{"type":"string","minLength":1,"example":""},"companyName":{"nullable":true,"type":"string","example":null},"locale":{"nullable":true,"type":"string","example":null}},"required":["email","name"],"example":{"email":"","name":"","companyName":null,"locale":null}},"items":{"minItems":1,"type":"array","items":{"type":"object","properties":{"ticketId":{"type":"string","minLength":1,"example":""},"quantity":{"type":"integer","minimum":1,"maximum":100,"example":0}},"required":["ticketId","quantity"],"example":{"ticketId":"","quantity":0}}},"discountCode":{"nullable":true,"type":"string","example":null},"affiliateCode":{"nullable":true,"type":"string","example":null},"language":{"nullable":true,"type":"string","example":null},"shippingAddress":{"nullable":true,"type":"object","properties":{"street":{"type":"string","minLength":1,"example":""},"zip":{"type":"string","minLength":1,"example":""},"city":{"type":"string","minLength":1,"example":""},"country":{"type":"string","minLength":2,"maxLength":2,"example":""}},"required":["street","zip","city","country"],"example":null},"checkoutRedirectUrls":{"type":"object","properties":{"success":{"type":"string","format":"uri","example":""},"failure":{"type":"string","format":"uri","example":""},"cancel":{"type":"string","format":"uri","example":""}},"required":["success","failure","cancel"],"example":{"success":"","failure":"","cancel":""}}},"required":["eventId","customer","items"],"example":{"eventId":"","customer":{"email":"","name":"","companyName":null,"locale":null},"items":[{"ticketId":"","quantity":0}],"discountCode":null,"affiliateCode":null,"language":null,"shippingAddress":null,"checkoutRedirectUrls":{"success":"","failure":"","cancel":""}}},"IssueTickets":{"type":"object","properties":{"ticketId":{"type":"string","minLength":1,"example":""},"customer":{"type":"object","properties":{"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","example":""},"name":{"type":"string","minLength":1,"example":""},"locale":{"nullable":true,"type":"string","example":null}},"required":["email","name"],"example":{"email":"","name":"","locale":null}},"quantity":{"type":"integer","minimum":1,"maximum":10,"example":0}},"required":["ticketId","customer","quantity"],"example":{"ticketId":"","customer":{"email":"","name":"","locale":null},"quantity":0}},"CheckInTicket":{"type":"object","properties":{"code":{"type":"string","minLength":1,"example":""},"eventId":{"type":"string","minLength":1,"example":""}},"required":["code"],"example":{"code":"","eventId":""}},"CreateDiscount":{"type":"object","properties":{"code":{"type":"string","minLength":3,"maxLength":20,"example":""},"type":{"type":"string","enum":["PERCENTAGE","FIXED_AMOUNT"],"example":""},"value":{"type":"number","minimum":0,"example":0},"description":{"type":"string","maxLength":255,"example":""},"usageLimit":{"nullable":true,"type":"integer","minimum":1,"maximum":9007199254740991,"example":null},"validFrom":{"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))$","example":""},"validTo":{"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))$","example":""},"minimumPurchase":{"nullable":true,"type":"number","minimum":0,"example":null},"applicableTicketTypes":{"type":"array","items":{"type":"string","minLength":1}},"isActive":{"type":"boolean","example":""},"autoApply":{"type":"boolean","example":""},"eventId":{"type":"string","minLength":1,"example":""}},"required":["code","type","value","validFrom","validTo","eventId"],"example":{"code":"","type":"","value":0,"description":"","usageLimit":null,"validFrom":"","validTo":"","minimumPurchase":null,"applicableTicketTypes":[],"isActive":"","autoApply":"","eventId":""}},"UpdateDiscount":{"type":"object","properties":{"code":{"type":"string","minLength":3,"maxLength":20,"example":""},"type":{"type":"string","enum":["PERCENTAGE","FIXED_AMOUNT"],"example":""},"value":{"type":"number","minimum":0,"example":""},"description":{"type":"string","maxLength":255,"example":""},"usageLimit":{"nullable":true,"type":"integer","minimum":1,"maximum":9007199254740991,"example":null},"validFrom":{"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))$","example":""},"validTo":{"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))$","example":""},"minimumPurchase":{"nullable":true,"type":"number","minimum":0,"example":null},"applicableTicketTypes":{"type":"array","items":{"type":"string","minLength":1}},"isActive":{"type":"boolean","example":""},"autoApply":{"type":"boolean","example":""}},"example":{"code":"","type":"","value":"","description":"","usageLimit":null,"validFrom":"","validTo":"","minimumPurchase":null,"applicableTicketTypes":[],"isActive":"","autoApply":""}},"ValidateDiscount":{"type":"object","properties":{"eventId":{"type":"string","minLength":1,"example":""},"code":{"type":"string","minLength":1,"example":""},"orderAmount":{"type":"number","minimum":0,"example":0},"ticketItems":{"type":"array","items":{"type":"object","properties":{"ticketId":{"type":"string","example":""},"quantity":{"type":"integer","minimum":1,"maximum":9007199254740991,"example":0},"price":{"type":"number","minimum":0,"example":0}},"required":["ticketId","quantity","price"],"example":{"ticketId":"","quantity":0,"price":0}}}},"required":["eventId","code","orderAmount","ticketItems"],"example":{"eventId":"","code":"","orderAmount":0,"ticketItems":[{"ticketId":"","quantity":0,"price":0}]}},"CreateWebhook":{"type":"object","properties":{"url":{"type":"string","format":"uri","example":""},"description":{"nullable":true,"type":"string","maxLength":500,"example":null},"events":{"minItems":1,"type":"array","items":{"type":"string","enum":["order.completed","order.cancelled","ticket.issued","ticket.checked_in"]}},"enabled":{"type":"boolean","example":""}},"required":["url","events"],"example":{"url":"","description":null,"events":[""],"enabled":""}},"UpdateWebhook":{"type":"object","properties":{"url":{"type":"string","format":"uri","example":""},"description":{"nullable":true,"type":"string","maxLength":500,"example":null},"events":{"minItems":1,"type":"array","items":{"type":"string","enum":["order.completed","order.cancelled","ticket.issued","ticket.checked_in"]}},"enabled":{"type":"boolean","example":""}},"example":{"url":"","description":null,"events":[],"enabled":""}},"JsonValue":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/JsonValue"}},{"type":"object","additionalProperties":{"$ref":"#/components/schemas/JsonValue"}}]},"Event":{"type":"object","properties":{"id":{"type":"string","example":""},"title":{"type":"string","example":""},"description":{"nullable":true,"type":"string","example":null},"location":{"nullable":true,"type":"string","example":null},"locationMetadata":{"$ref":"#/components/schemas/JsonValue"},"currency":{"type":"string","example":""},"timezone":{"type":"string","example":""},"startDate":{"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))$","example":""},"startTime":{"nullable":true,"type":"string","example":null},"endDate":{"nullable":true,"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))$","example":null},"endTime":{"nullable":true,"type":"string","example":null},"coverImage":{"nullable":true,"type":"string","example":null},"status":{"type":"string","enum":["PUBLISHED","DRAFTED","EXPIRED","SOLD_OUT","CANCELLED"],"example":""},"organizerId":{"type":"string","example":""},"slug":{"type":"string","example":""},"tags":{"type":"array","items":{"type":"string"}},"isFeatured":{"type":"boolean","example":false},"pageViews":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":0},"isPublic":{"type":"boolean","example":false},"trackingPixels":{"$ref":"#/components/schemas/JsonValue"},"deliveryMethod":{"type":"string","enum":["DIGITAL","PHYSICAL"],"example":""},"shippingCountries":{"type":"array","items":{"type":"string"}},"acceptsCompany":{"type":"boolean","example":false},"disableOrganizerOrderNotifications":{"type":"boolean","example":false},"ticketPdfDesignVersion":{"type":"string","enum":["V1"],"example":""},"createdAt":{"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))$","example":""},"updatedAt":{"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))$","example":""}},"required":["id","title","description","location","locationMetadata","currency","timezone","startDate","startTime","endDate","endTime","coverImage","status","organizerId","slug","tags","isFeatured","pageViews","isPublic","trackingPixels","deliveryMethod","shippingCountries","acceptsCompany","disableOrganizerOrderNotifications","ticketPdfDesignVersion","createdAt","updatedAt"],"example":{"id":"","title":"","description":null,"location":null,"locationMetadata":null,"currency":"","timezone":"","startDate":"","startTime":null,"endDate":null,"endTime":null,"coverImage":null,"status":"","organizerId":"","slug":"","tags":[""],"isFeatured":false,"pageViews":0,"isPublic":false,"trackingPixels":null,"deliveryMethod":"","shippingCountries":[""],"acceptsCompany":false,"disableOrganizerOrderNotifications":false,"ticketPdfDesignVersion":"","createdAt":"","updatedAt":""}},"TicketType":{"type":"object","properties":{"id":{"type":"string","example":""},"name":{"type":"string","example":""},"description":{"nullable":true,"type":"string","example":null},"price":{"type":"number","example":0},"quantity":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":0},"sold":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":0},"eventId":{"type":"string","example":""},"status":{"type":"string","enum":["ON_SALE","DISPLAY_AS_SOLD_OUT","DISPLAY_AS_UNAVAILABLE","ONLY_VISIBLE_TO_OWNER"],"example":""},"displayRemaining":{"type":"boolean","example":false},"validFrom":{"nullable":true,"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))$","example":null},"validUntil":{"nullable":true,"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))$","example":null},"allowedDates":{"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))$"}},"validityDays":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":null},"validityHours":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":null},"accessAreas":{"type":"array","items":{"type":"string"}},"maxPerOrder":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":0},"saleStartDate":{"nullable":true,"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))$","example":null},"saleEndDate":{"nullable":true,"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))$","example":null},"sortOrder":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":0},"ticketText":{"nullable":true,"type":"string","example":null},"ticketLogo":{"nullable":true,"type":"string","example":null},"createdAt":{"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))$","example":""},"updatedAt":{"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))$","example":""}},"required":["id","name","description","price","quantity","sold","eventId","status","displayRemaining","validFrom","validUntil","allowedDates","validityDays","validityHours","accessAreas","maxPerOrder","saleStartDate","saleEndDate","sortOrder","ticketText","ticketLogo","createdAt","updatedAt"],"example":{"id":"","name":"","description":null,"price":0,"quantity":0,"sold":0,"eventId":"","status":"","displayRemaining":false,"validFrom":null,"validUntil":null,"allowedDates":[""],"validityDays":null,"validityHours":null,"accessAreas":[""],"maxPerOrder":0,"saleStartDate":null,"saleEndDate":null,"sortOrder":0,"ticketText":null,"ticketLogo":null,"createdAt":"","updatedAt":""}},"OrderSummary":{"type":"object","properties":{"id":{"type":"string","example":""},"total":{"type":"number","example":0},"discountedAmount":{"nullable":true,"type":"number","example":null},"status":{"type":"string","enum":["PENDING","COMPLETED","CANCELLED","EXPIRED"],"example":""},"customerId":{"type":"string","example":""},"eventId":{"type":"string","example":""},"organizerId":{"type":"string","example":""},"affiliateCode":{"nullable":true,"type":"string","example":null},"discountCode":{"nullable":true,"type":"string","example":null},"checkoutReminderSent":{"type":"boolean","example":false},"createdAt":{"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))$","example":""},"updatedAt":{"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))$","example":""},"customer":{"type":"object","properties":{"id":{"type":"string","example":""},"name":{"type":"string","example":""},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","example":""}},"required":["id","name","email"],"example":{"id":"","name":"","email":""}},"paymentGateway":{"nullable":true,"type":"object","properties":{"link":{"type":"string","example":""},"status":{"type":"string","enum":["WAITING","COMPLETED","FAILED","REFUNDED"],"example":""}},"required":["link","status"],"example":null},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":""},"quantity":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":0},"price":{"type":"number","example":0},"itemSubtotal":{"type":"number","example":0},"itemDiscount":{"type":"number","example":0},"finalAmount":{"type":"number","example":0},"orderId":{"type":"string","example":""},"ticketId":{"type":"string","example":""},"createdAt":{"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))$","example":""},"updatedAt":{"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))$","example":""}},"required":["id","quantity","price","itemSubtotal","itemDiscount","finalAmount","orderId","ticketId","createdAt","updatedAt"],"example":{"id":"","quantity":0,"price":0,"itemSubtotal":0,"itemDiscount":0,"finalAmount":0,"orderId":"","ticketId":"","createdAt":"","updatedAt":""}}}},"required":["id","total","discountedAmount","status","customerId","eventId","organizerId","affiliateCode","discountCode","checkoutReminderSent","createdAt","updatedAt","customer","paymentGateway","items"],"example":{"id":"","total":0,"discountedAmount":null,"status":"","customerId":"","eventId":"","organizerId":"","affiliateCode":null,"discountCode":null,"checkoutReminderSent":false,"createdAt":"","updatedAt":"","customer":{"id":"","name":"","email":""},"paymentGateway":null,"items":[{"id":"","quantity":0,"price":0,"itemSubtotal":0,"itemDiscount":0,"finalAmount":0,"orderId":"","ticketId":"","createdAt":"","updatedAt":""}]}},"Order":{"type":"object","properties":{"id":{"type":"string","example":""},"total":{"type":"number","example":0},"discountedAmount":{"nullable":true,"type":"number","example":null},"status":{"type":"string","enum":["PENDING","COMPLETED","CANCELLED","EXPIRED"],"example":""},"customerId":{"type":"string","example":""},"eventId":{"type":"string","example":""},"organizerId":{"type":"string","example":""},"affiliateCode":{"nullable":true,"type":"string","example":null},"discountCode":{"nullable":true,"type":"string","example":null},"checkoutReminderSent":{"type":"boolean","example":false},"createdAt":{"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))$","example":""},"updatedAt":{"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))$","example":""},"customer":{"type":"object","properties":{"id":{"type":"string","example":""},"name":{"type":"string","example":""},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","example":""}},"required":["id","name","email"],"example":{"id":"","name":"","email":""}},"paymentGateway":{"nullable":true,"type":"object","properties":{"link":{"type":"string","example":""},"status":{"type":"string","enum":["WAITING","COMPLETED","FAILED","REFUNDED"],"example":""}},"required":["link","status"],"example":null},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":""},"quantity":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":0},"price":{"type":"number","example":0},"itemSubtotal":{"type":"number","example":0},"itemDiscount":{"type":"number","example":0},"finalAmount":{"type":"number","example":0},"orderId":{"type":"string","example":""},"ticketId":{"type":"string","example":""},"createdAt":{"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))$","example":""},"updatedAt":{"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))$","example":""},"issuedTickets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":""},"code":{"type":"string","example":""},"status":{"type":"string","enum":["CHECKED_IN","NOT_CHECKED_IN","CANCELLED"],"example":""},"ticketId":{"type":"string","example":""}},"required":["id","code","status","ticketId"],"example":{"id":"","code":"","status":"","ticketId":""}}}},"required":["id","quantity","price","itemSubtotal","itemDiscount","finalAmount","orderId","ticketId","createdAt","updatedAt","issuedTickets"],"example":{"id":"","quantity":0,"price":0,"itemSubtotal":0,"itemDiscount":0,"finalAmount":0,"orderId":"","ticketId":"","createdAt":"","updatedAt":"","issuedTickets":[{"id":"","code":"","status":"","ticketId":""}]}}}},"required":["id","total","discountedAmount","status","customerId","eventId","organizerId","affiliateCode","discountCode","checkoutReminderSent","createdAt","updatedAt","customer","paymentGateway","items"],"example":{"id":"","total":0,"discountedAmount":null,"status":"","customerId":"","eventId":"","organizerId":"","affiliateCode":null,"discountCode":null,"checkoutReminderSent":false,"createdAt":"","updatedAt":"","customer":{"id":"","name":"","email":""},"paymentGateway":null,"items":[{"id":"","quantity":0,"price":0,"itemSubtotal":0,"itemDiscount":0,"finalAmount":0,"orderId":"","ticketId":"","createdAt":"","updatedAt":"","issuedTickets":[{"id":"","code":"","status":"","ticketId":""}]}]}},"CreateOrderResponse":{"type":"object","properties":{"order":{"type":"object","properties":{"id":{"type":"string","example":""},"total":{"type":"number","example":0},"discountedAmount":{"nullable":true,"type":"number","example":null},"status":{"type":"string","enum":["PENDING","COMPLETED","CANCELLED","EXPIRED"],"example":""},"customerId":{"type":"string","example":""},"eventId":{"type":"string","example":""},"organizerId":{"type":"string","example":""},"affiliateCode":{"nullable":true,"type":"string","example":null},"discountCode":{"nullable":true,"type":"string","example":null},"checkoutReminderSent":{"type":"boolean","example":false},"createdAt":{"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))$","example":""},"updatedAt":{"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))$","example":""},"customer":{"type":"object","properties":{"id":{"type":"string","example":""},"name":{"type":"string","example":""},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","example":""}},"required":["id","name","email"],"example":{"id":"","name":"","email":""}},"paymentGateway":{"nullable":true,"type":"object","properties":{"link":{"type":"string","example":""},"status":{"type":"string","enum":["WAITING","COMPLETED","FAILED","REFUNDED"],"example":""}},"required":["link","status"],"example":null},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":""},"quantity":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":0},"price":{"type":"number","example":0},"itemSubtotal":{"type":"number","example":0},"itemDiscount":{"type":"number","example":0},"finalAmount":{"type":"number","example":0},"orderId":{"type":"string","example":""},"ticketId":{"type":"string","example":""},"createdAt":{"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))$","example":""},"updatedAt":{"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))$","example":""},"issuedTickets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":""},"code":{"type":"string","example":""},"status":{"type":"string","enum":["CHECKED_IN","NOT_CHECKED_IN","CANCELLED"],"example":""},"ticketId":{"type":"string","example":""}},"required":["id","code","status","ticketId"],"example":{"id":"","code":"","status":"","ticketId":""}}}},"required":["id","quantity","price","itemSubtotal","itemDiscount","finalAmount","orderId","ticketId","createdAt","updatedAt","issuedTickets"],"example":{"id":"","quantity":0,"price":0,"itemSubtotal":0,"itemDiscount":0,"finalAmount":0,"orderId":"","ticketId":"","createdAt":"","updatedAt":"","issuedTickets":[{"id":"","code":"","status":"","ticketId":""}]}}}},"required":["id","total","discountedAmount","status","customerId","eventId","organizerId","affiliateCode","discountCode","checkoutReminderSent","createdAt","updatedAt","customer","paymentGateway","items"],"example":{"id":"","total":0,"discountedAmount":null,"status":"","customerId":"","eventId":"","organizerId":"","affiliateCode":null,"discountCode":null,"checkoutReminderSent":false,"createdAt":"","updatedAt":"","customer":{"id":"","name":"","email":""},"paymentGateway":null,"items":[{"id":"","quantity":0,"price":0,"itemSubtotal":0,"itemDiscount":0,"finalAmount":0,"orderId":"","ticketId":"","createdAt":"","updatedAt":"","issuedTickets":[{"id":"","code":"","status":"","ticketId":""}]}]}},"checkoutUrl":{"nullable":true,"type":"string","example":null},"issuedTickets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":""},"code":{"type":"string","example":""},"status":{"type":"string","enum":["CHECKED_IN","NOT_CHECKED_IN","CANCELLED"],"example":""},"ticketId":{"type":"string","example":""}},"required":["id","code","status","ticketId"],"example":{"id":"","code":"","status":"","ticketId":""}}}},"required":["order","checkoutUrl","issuedTickets"],"example":{"order":{"id":"","total":0,"discountedAmount":null,"status":"","customerId":"","eventId":"","organizerId":"","affiliateCode":null,"discountCode":null,"checkoutReminderSent":false,"createdAt":"","updatedAt":"","customer":{"id":"","name":"","email":""},"paymentGateway":null,"items":[{"id":"","quantity":0,"price":0,"itemSubtotal":0,"itemDiscount":0,"finalAmount":0,"orderId":"","ticketId":"","createdAt":"","updatedAt":"","issuedTickets":[{"id":"","code":"","status":"","ticketId":""}]}]},"checkoutUrl":null,"issuedTickets":[{"id":"","code":"","status":"","ticketId":""}]}},"CancelOrderResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true],"example":false},"requiresManualRefund":{"type":"boolean","example":false}},"required":["success","requiresManualRefund"],"example":{"success":false,"requiresManualRefund":false}},"CancelledIssuedTicket":{"type":"object","properties":{"id":{"type":"string","example":""},"ticketId":{"type":"string","example":""},"orderItemId":{"nullable":true,"type":"string","example":null},"customerId":{"nullable":true,"type":"string","example":null},"code":{"type":"string","example":""},"downloadTicketUrl":{"nullable":true,"type":"string","example":null},"status":{"type":"string","enum":["CHECKED_IN","NOT_CHECKED_IN","CANCELLED"],"example":""},"checkInDate":{"nullable":true,"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))$","example":null},"checkOutDate":{"nullable":true,"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))$","example":null},"checkedInById":{"nullable":true,"type":"string","example":null},"isInternal":{"type":"boolean","example":false},"internalAllocationId":{"nullable":true,"type":"string","example":null},"ticketLabel":{"nullable":true,"type":"string","example":null},"firstScanDate":{"nullable":true,"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))$","example":null},"expiresAt":{"nullable":true,"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))$","example":null},"lastScanDate":{"nullable":true,"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))$","example":null},"scanCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":0},"createdAt":{"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))$","example":""},"updatedAt":{"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))$","example":""}},"required":["id","ticketId","orderItemId","customerId","code","downloadTicketUrl","status","checkInDate","checkOutDate","checkedInById","isInternal","internalAllocationId","ticketLabel","firstScanDate","expiresAt","lastScanDate","scanCount","createdAt","updatedAt"],"example":{"id":"","ticketId":"","orderItemId":null,"customerId":null,"code":"","downloadTicketUrl":null,"status":"","checkInDate":null,"checkOutDate":null,"checkedInById":null,"isInternal":false,"internalAllocationId":null,"ticketLabel":null,"firstScanDate":null,"expiresAt":null,"lastScanDate":null,"scanCount":0,"createdAt":"","updatedAt":""}},"IssuedTicket":{"type":"object","properties":{"id":{"type":"string","example":""},"ticketId":{"type":"string","example":""},"orderItemId":{"nullable":true,"type":"string","example":null},"customerId":{"nullable":true,"type":"string","example":null},"code":{"type":"string","example":""},"downloadTicketUrl":{"nullable":true,"type":"string","example":null},"status":{"type":"string","enum":["CHECKED_IN","NOT_CHECKED_IN","CANCELLED"],"example":""},"checkInDate":{"nullable":true,"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))$","example":null},"checkOutDate":{"nullable":true,"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))$","example":null},"checkedInById":{"nullable":true,"type":"string","example":null},"isInternal":{"type":"boolean","example":false},"internalAllocationId":{"nullable":true,"type":"string","example":null},"ticketLabel":{"nullable":true,"type":"string","example":null},"firstScanDate":{"nullable":true,"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))$","example":null},"expiresAt":{"nullable":true,"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))$","example":null},"lastScanDate":{"nullable":true,"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))$","example":null},"scanCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":0},"createdAt":{"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))$","example":""},"updatedAt":{"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))$","example":""},"ticket":{"type":"object","properties":{"id":{"type":"string","example":""},"name":{"type":"string","example":""},"eventId":{"type":"string","example":""}},"required":["id","name","eventId"],"example":{"id":"","name":"","eventId":""}},"customer":{"nullable":true,"type":"object","properties":{"id":{"type":"string","example":""},"name":{"type":"string","example":""},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","example":""}},"required":["id","name","email"],"example":null}},"required":["id","ticketId","orderItemId","customerId","code","downloadTicketUrl","status","checkInDate","checkOutDate","checkedInById","isInternal","internalAllocationId","ticketLabel","firstScanDate","expiresAt","lastScanDate","scanCount","createdAt","updatedAt","ticket","customer"],"example":{"id":"","ticketId":"","orderItemId":null,"customerId":null,"code":"","downloadTicketUrl":null,"status":"","checkInDate":null,"checkOutDate":null,"checkedInById":null,"isInternal":false,"internalAllocationId":null,"ticketLabel":null,"firstScanDate":null,"expiresAt":null,"lastScanDate":null,"scanCount":0,"createdAt":"","updatedAt":"","ticket":{"id":"","name":"","eventId":""},"customer":null}},"IssueTicketsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true],"example":false},"message":{"type":"string","example":""},"issuedTickets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":""},"code":{"type":"string","example":""}},"required":["id","code"],"example":{"id":"","code":""}}}},"required":["success","message","issuedTickets"],"example":{"success":false,"message":"","issuedTickets":[{"id":"","code":""}]}},"Discount":{"type":"object","properties":{"id":{"type":"string","example":""},"eventId":{"type":"string","example":""},"code":{"type":"string","example":""},"type":{"type":"string","enum":["PERCENTAGE","FIXED_AMOUNT"],"example":""},"value":{"type":"number","example":0},"description":{"nullable":true,"type":"string","example":null},"autoApply":{"type":"boolean","example":false},"usageLimit":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":null},"usedCount":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":null},"validFrom":{"nullable":true,"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))$","example":null},"validTo":{"nullable":true,"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))$","example":null},"isActive":{"type":"boolean","example":false},"minimumPurchase":{"nullable":true,"type":"number","example":null},"applicableTicketTypes":{"type":"array","items":{"type":"string"}},"createdAt":{"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))$","example":""},"updatedAt":{"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))$","example":""}},"required":["id","eventId","code","type","value","description","autoApply","usageLimit","usedCount","validFrom","validTo","isActive","minimumPurchase","applicableTicketTypes","createdAt","updatedAt"],"example":{"id":"","eventId":"","code":"","type":"","value":0,"description":null,"autoApply":false,"usageLimit":null,"usedCount":null,"validFrom":null,"validTo":null,"isActive":false,"minimumPurchase":null,"applicableTicketTypes":[""],"createdAt":"","updatedAt":""}},"DiscountValidationResponse":{"type":"object","properties":{"valid":{"type":"boolean","example":false},"error":{"nullable":true,"type":"string","example":null},"errorData":{"type":"object","properties":{"amount":{"type":"number","example":0}},"required":["amount"],"example":{"amount":0}},"discount":{"nullable":true,"type":"object","properties":{"id":{"type":"string","example":""},"code":{"type":"string","example":""},"type":{"type":"string","enum":["PERCENTAGE","FIXED_AMOUNT"],"example":""},"value":{"type":"number","example":0},"applicableTicketTypes":{"type":"array","items":{"type":"string"}},"discountedAmount":{"type":"number","example":0}},"required":["id","code","type","value","applicableTicketTypes","discountedAmount"],"example":null}},"required":["valid","error","discount"],"example":{"valid":false,"error":null,"errorData":{"amount":0},"discount":null}},"WebhookEndpoint":{"type":"object","properties":{"id":{"type":"string","example":""},"url":{"type":"string","format":"uri","example":""},"description":{"nullable":true,"type":"string","example":null},"events":{"type":"array","items":{"type":"string","enum":["order.completed","order.cancelled","ticket.issued","ticket.checked_in"]}},"enabled":{"type":"boolean","example":false},"createdAt":{"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))$","example":""},"updatedAt":{"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))$","example":""},"secretHint":{"nullable":true,"type":"string","example":null}},"required":["id","url","description","events","enabled","createdAt","updatedAt","secretHint"],"example":{"id":"","url":"","description":null,"events":[""],"enabled":false,"createdAt":"","updatedAt":"","secretHint":null}},"CreatedWebhookEndpoint":{"type":"object","properties":{"id":{"type":"string","example":""},"url":{"type":"string","format":"uri","example":""},"description":{"nullable":true,"type":"string","example":null},"events":{"type":"array","items":{"type":"string","enum":["order.completed","order.cancelled","ticket.issued","ticket.checked_in"]}},"enabled":{"type":"boolean","example":false},"createdAt":{"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))$","example":""},"updatedAt":{"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))$","example":""},"secretHint":{"nullable":true,"type":"string","example":null},"secret":{"type":"string","example":""}},"required":["id","url","description","events","enabled","createdAt","updatedAt","secretHint","secret"],"example":{"id":"","url":"","description":null,"events":[""],"enabled":false,"createdAt":"","updatedAt":"","secretHint":null,"secret":""}},"RotatedWebhookSecret":{"type":"object","properties":{"id":{"type":"string","example":""},"secret":{"type":"string","example":""}},"required":["id","secret"],"example":{"id":"","secret":""}},"WebhookDelivery":{"type":"object","properties":{"id":{"type":"string","example":""},"endpointId":{"type":"string","example":""},"outboxId":{"nullable":true,"type":"string","example":null},"eventType":{"type":"string","enum":["ORDER_COMPLETED","ORDER_CANCELLED","TICKET_ISSUED","TICKET_CHECKED_IN"],"example":""},"eventId":{"type":"string","example":""},"requestBody":{"type":"string","example":""},"responseStatus":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":null},"responseBody":{"nullable":true,"type":"string","example":null},"success":{"type":"boolean","example":false},"attempt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":0},"durationMs":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"example":null},"errorMessage":{"nullable":true,"type":"string","example":null},"createdAt":{"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))$","example":""}},"required":["id","endpointId","outboxId","eventType","eventId","requestBody","responseStatus","responseBody","success","attempt","durationMs","errorMessage","createdAt"],"example":{"id":"","endpointId":"","outboxId":null,"eventType":"","eventId":"","requestBody":"","responseStatus":null,"responseBody":null,"success":false,"attempt":0,"durationMs":null,"errorMessage":null,"createdAt":""}}},"headers":{"RateLimitLimit":{"schema":{"type":"integer"},"description":"Maximum requests allowed in the current window"},"RateLimitRemaining":{"schema":{"type":"integer"},"description":"Remaining requests in the current window"},"RateLimitReset":{"schema":{"type":"integer"},"description":"Unix timestamp when the current window resets"},"RetryAfter":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying after a 429"}}},"security":[{"ApiKeyAuth":[]}],"paths":{"/events":{"get":{"summary":"List events","operationId":"listEvents","tags":["Events"],"parameters":[{"name":"cursor","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Paginated events","content":{"application/json":{"schema":{"type":"object","required":["data","nextCursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"nextCursor":{"type":["string","null"]}}}}}},"401":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"summary":"Create event","operationId":"createEvent","tags":["Events"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEvent"}}}},"responses":{"201":{"description":"Created event","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"400":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/events/{eventId}":{"get":{"summary":"Get event","operationId":"getEvent","tags":["Events"],"parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Event","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"summary":"Update event","operationId":"updateEvent","tags":["Events"],"parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEvent"}}}},"responses":{"200":{"description":"Updated event","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"400":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"summary":"Delete event","operationId":"deleteEvent","tags":["Events"],"parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/events/{eventId}/ticket-types":{"get":{"summary":"List ticket types for an event","operationId":"listTicketTypes","tags":["Ticket Types"],"parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Paginated ticket types","content":{"application/json":{"schema":{"type":"object","required":["data","nextCursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TicketType"}},"nextCursor":{"type":["string","null"]}}}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"summary":"Create ticket type","operationId":"createTicketType","tags":["Ticket Types"],"parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTicketType"}}}},"responses":{"201":{"description":"Created ticket type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketType"}}}},"400":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/ticket-types/{ticketTypeId}":{"get":{"summary":"Get ticket type","operationId":"getTicketType","tags":["Ticket Types"],"parameters":[{"name":"ticketTypeId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Ticket type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketType"}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"summary":"Update ticket type","operationId":"updateTicketType","tags":["Ticket Types"],"parameters":[{"name":"ticketTypeId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTicketType"}}}},"responses":{"200":{"description":"Updated ticket type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketType"}}}},"400":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"summary":"Delete ticket type","operationId":"deleteTicketType","tags":["Ticket Types"],"parameters":[{"name":"ticketTypeId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/orders":{"get":{"summary":"List orders","operationId":"listOrders","tags":["Orders"],"parameters":[{"name":"cursor","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Paginated orders","content":{"application/json":{"schema":{"type":"object","required":["data","nextCursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/OrderSummary"}},"nextCursor":{"type":["string","null"]}}}}}}}},"post":{"summary":"Create order / checkout","description":"Free or fully discounted orders auto-complete and return issued tickets. Paid orders remain pending and return a Zahls checkout URL.","operationId":"createOrder","tags":["Orders"],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key used to safely retry this request.","schema":{"type":"string","minLength":1,"maxLength":255}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrder"}}}},"responses":{"201":{"description":"Order created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrderResponse"}}}},"400":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"409":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/orders/{orderId}":{"get":{"summary":"Get order","operationId":"getOrder","tags":["Orders"],"parameters":[{"name":"orderId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Order"}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/orders/{orderId}/cancel":{"post":{"summary":"Cancel order","operationId":"cancelOrder","tags":["Orders"],"parameters":[{"name":"orderId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Cancelled order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelOrderResponse"}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/tickets":{"get":{"summary":"List issued tickets","operationId":"listTickets","tags":["Tickets"],"parameters":[{"name":"cursor","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Paginated issued tickets","content":{"application/json":{"schema":{"type":"object","required":["data","nextCursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/IssuedTicket"}},"nextCursor":{"type":["string","null"]}}}}}}}}},"/tickets/issue":{"post":{"summary":"Manually issue tickets","operationId":"issueTickets","tags":["Tickets"],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique key used to safely retry this request.","schema":{"type":"string","minLength":1,"maxLength":255}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueTickets"}}}},"responses":{"201":{"description":"Issued tickets","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssueTicketsResponse"}}}},"400":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"409":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/tickets/check-in":{"post":{"summary":"Check in a ticket by code","operationId":"checkInTicket","tags":["Tickets"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckInTicket"}}}},"responses":{"200":{"description":"Checked in ticket","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssuedTicket"}}}},"400":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/tickets/{ticketId}":{"get":{"summary":"Get issued ticket","operationId":"getTicket","tags":["Tickets"],"parameters":[{"name":"ticketId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Ticket","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssuedTicket"}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/tickets/{ticketId}/cancel":{"post":{"summary":"Cancel issued ticket","operationId":"cancelTicket","tags":["Tickets"],"parameters":[{"name":"ticketId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Cancelled ticket","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelledIssuedTicket"}}}},"400":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/discounts":{"get":{"summary":"List discounts","operationId":"listDiscounts","tags":["Discounts"],"parameters":[{"name":"cursor","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Paginated discounts","content":{"application/json":{"schema":{"type":"object","required":["data","nextCursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Discount"}},"nextCursor":{"type":["string","null"]}}}}}}}},"post":{"summary":"Create discount","operationId":"createDiscount","tags":["Discounts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDiscount"}}}},"responses":{"201":{"description":"Created discount","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Discount"}}}},"400":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/discounts/validate":{"post":{"summary":"Validate discount code","operationId":"validateDiscount","tags":["Discounts"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateDiscount"}}}},"responses":{"200":{"description":"Validation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscountValidationResponse"}}}},"400":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/discounts/{discountId}":{"get":{"summary":"Get discount","operationId":"getDiscount","tags":["Discounts"],"parameters":[{"name":"discountId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Discount","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Discount"}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"summary":"Update discount","operationId":"updateDiscount","tags":["Discounts"],"parameters":[{"name":"discountId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDiscount"}}}},"responses":{"200":{"description":"Updated discount","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Discount"}}}},"400":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"summary":"Delete discount","operationId":"deleteDiscount","tags":["Discounts"],"parameters":[{"name":"discountId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/webhooks":{"get":{"summary":"List webhook endpoints","operationId":"listWebhooks","tags":["Webhooks"],"parameters":[{"name":"cursor","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Webhook endpoints","content":{"application/json":{"schema":{"type":"object","required":["data","nextCursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEndpoint"}},"nextCursor":{"type":["string","null"]}}}}}}}},"post":{"summary":"Create webhook endpoint","description":"Supported events: order.completed, order.cancelled, ticket.issued, ticket.checked_in","operationId":"createWebhook","tags":["Webhooks"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhook"}}}},"responses":{"201":{"description":"Created webhook with one-time secret","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatedWebhookEndpoint"}}}},"400":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/webhooks/{webhookId}":{"get":{"summary":"Get webhook endpoint","operationId":"getWebhook","tags":["Webhooks"],"parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Webhook endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"summary":"Update webhook endpoint","operationId":"updateWebhook","tags":["Webhooks"],"parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWebhook"}}}},"responses":{"200":{"description":"Updated webhook","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"400":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"summary":"Delete webhook endpoint","operationId":"deleteWebhook","tags":["Webhooks"],"parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/webhooks/{webhookId}/rotate-secret":{"post":{"summary":"Rotate webhook signing secret","operationId":"rotateWebhookSecret","tags":["Webhooks"],"parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"New secret, shown once","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RotatedWebhookSecret"}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/webhooks/{webhookId}/deliveries":{"get":{"summary":"List webhook delivery attempts","operationId":"listWebhookDeliveries","tags":["Webhooks"],"parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Delivery history","content":{"application/json":{"schema":{"type":"object","required":["data","nextCursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WebhookDelivery"}},"nextCursor":{"type":["string","null"]}}}}}},"404":{"description":"Request failed","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}}},"x-cowtic-scopes":{"events":["read","write","delete"],"ticket_types":["read","write","delete"],"orders":["read","write","cancel"],"tickets":["read","write","issue","check_in","cancel"],"discounts":["read","write","delete","validate"],"webhooks":["read","write","delete"]},"x-cowtic-compatibility":{"policy":"non-breaking-within-v1","deprecation":"Deprecated fields remain for at least 90 days with docs notice"}}