{"openapi":"3.1.0","info":{"title":"Unmatched Competitions API","version":"1.0.0","description":"The public REST API v1. JSON over HTTPS. Money is integer pence. Times are ISO-8601 UTC. Changes within v1 are additive; ignore unknown fields and tolerate unknown enum values. See the guide at /api/docs."},"servers":[{"url":"/api/v1","description":"API base"}],"tags":[{"name":"Configuration and content"},{"name":"Competitions, draws and results"},{"name":"Basket, checkout and orders"},{"name":"Player authentication"},{"name":"Player account"},{"name":"Realtime"},{"name":"Imports"}],"paths":{"/config":{"get":{"operationId":"E-001","tags":["Configuration and content"],"summary":"Tenant configuration","description":"Every public setting a client front end needs: branding, legal entity, consent wording versions, checkout, limits, free entry and more.\n\nRequires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-001","x-scopes":["READ"],"security":[{"ApiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TenantConfig"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/menus/{key}":{"get":{"operationId":"E-002","tags":["Configuration and content"],"summary":"A navigation menu","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-002","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"key","schema":{"type":"string","enum":["HEADER","MOBILE","FOOTER"]},"required":true}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Menu"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/home":{"get":{"operationId":"E-003","tags":["Configuration and content"],"summary":"Home page aggregate","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-003","x-scopes":["READ"],"security":[{"ApiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Home"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hero-slides":{"get":{"operationId":"E-004","tags":["Configuration and content"],"summary":"Hero slides","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-004","x-scopes":["READ"],"security":[{"ApiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/HeroSlide"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/stats":{"get":{"operationId":"E-005","tags":["Configuration and content"],"summary":"Stats band","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-005","x-scopes":["READ"],"security":[{"ApiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Stat"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/activity":{"get":{"operationId":"E-006","tags":["Configuration and content"],"summary":"Live activity ticker items","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-006","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema0"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ActivityItem"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/content-blocks":{"get":{"operationId":"E-007","tags":["Configuration and content"],"summary":"Content blocks by key","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-007","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"query","name":"keys","schema":{"type":"string","minLength":1,"maxLength":1000,"description":"Comma-separated block keys."},"required":true,"description":"Comma-separated block keys."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/pages/{slug}":{"get":{"operationId":"E-008","tags":["Configuration and content"],"summary":"A CMS page or current legal document","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-008","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"slug","schema":{"type":"string","minLength":1,"maxLength":200},"required":true}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CmsPage"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/pages":{"get":{"operationId":"E-009","tags":["Configuration and content"],"summary":"Page index","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-009","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"query","name":"type","schema":{"type":"string","enum":["info","legal"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PageIndex"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/faqs":{"get":{"operationId":"E-010","tags":["Configuration and content"],"summary":"FAQs","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-010","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"query","name":"category","schema":{"type":"string","maxLength":100}},{"in":"query","name":"featured","schema":{"$ref":"#/components/schemas/__schema1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Faq"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/newsletter/subscriptions":{"post":{"operationId":"E-011","tags":["Configuration and content"],"summary":"Subscribe to the newsletter","description":"Always answers 202, whatever the address (no enumeration). May answer 403 CHALLENGE_REQUIRED; retry with the solution in X-Challenge.\n\nRequires a secret or publishable key with scope READ.","x-endpoint":"E-011","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},{"in":"header","name":"X-Challenge","schema":{"description":"Proof-of-work answer after a 403 CHALLENGE_REQUIRED.","$ref":"#/components/schemas/__schema2"},"description":"Proof-of-work answer after a 403 CHALLENGE_REQUIRED."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/__schema3"},"consentWordingVersions":{"$ref":"#/components/schemas/__schema4"},"ageConfirmed":{"type":"boolean","const":true},"source":{"type":"string","minLength":1,"maxLength":100},"honeypot":{"type":"string","maxLength":200}},"required":["email","consentWordingVersions","ageConfirmed","source"],"additionalProperties":false}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"status":{"type":"string","const":"pending_confirmation"}},"required":["status"],"additionalProperties":false},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"WORDING_VERSION_OUTDATED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/newsletter/subscriptions/confirm":{"post":{"operationId":"E-012","tags":["Configuration and content"],"summary":"Confirm a newsletter subscription","description":"Requires a secret or publishable key with scope READ.","x-endpoint":"E-012","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/__schema8"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"status":{"type":"string","const":"confirmed"},"welcomeCode":{"type":["string","null"]}},"required":["status","welcomeCode"],"additionalProperties":false},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/newsletter/subscriptions/unsubscribe":{"post":{"operationId":"E-013","tags":["Configuration and content"],"summary":"Unsubscribe from the newsletter","description":"With `{token}` the address is unsubscribed at once (200). With `{email}` a confirmation email with a one-click link is sent (202), whatever the address.\n\nRequires a secret or publishable key with scope READ.","x-endpoint":"E-013","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"token":{"$ref":"#/components/schemas/__schema9"}},"required":["token"],"additionalProperties":false},{"type":"object","properties":{"email":{"$ref":"#/components/schemas/__schema3"}},"required":["email"],"additionalProperties":false}]}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"status":{"type":"string","enum":["unsubscribed","confirmation_sent"]}},"required":["status"],"additionalProperties":false},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/contact-requests":{"post":{"operationId":"E-014","tags":["Configuration and content"],"summary":"Send a contact request or complaint","description":"Returns the reference; the tracking link is emailed.\n\nRequires a secret or publishable key with scope READ and optionally a player access token.","x-endpoint":"E-014","x-scopes":["READ"],"security":[{"ApiKey":[]},{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},{"in":"header","name":"X-Challenge","schema":{"description":"Proof-of-work answer after a 403 CHALLENGE_REQUIRED.","$ref":"#/components/schemas/__schema10"},"description":"Proof-of-work answer after a 403 CHALLENGE_REQUIRED."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"email":{"$ref":"#/components/schemas/__schema3"},"accountEmail":{"$ref":"#/components/schemas/__schema3"},"topic":{"type":"string","enum":["general","complaint","data_protection","prize","account","payment","responsible_play"]},"competitionId":{"$ref":"#/components/schemas/__schema11"},"orderNumber":{"type":"integer","minimum":0,"maximum":9007199254740991},"message":{"type":"string","minLength":1,"maxLength":5000},"honeypot":{"type":"string","maxLength":200}},"required":["name","email","topic","message"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"reference":{"type":"string"}},"required":["reference"],"additionalProperties":false},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/contact-requests/{reference}":{"get":{"operationId":"E-102","tags":["Configuration and content"],"summary":"Contact request status","description":"Requires a secret or publishable key with scope READ.","x-endpoint":"E-102","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"reference","schema":{"$ref":"#/components/schemas/__schema12"},"required":true},{"in":"header","name":"X-Complaint-Token","schema":{"type":"string","description":"The tracking token from the email."},"required":true,"description":"The tracking token from the email."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"reference":{"type":"string"},"status":{"type":"string"},"updatedAt":{"type":"string"},"messages":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string"},"body":{"type":"string"}},"required":["at","body"],"additionalProperties":false}}},"required":["reference","status","updatedAt","messages"],"additionalProperties":false},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/contact-requests/{reference}/status":{"post":{"operationId":"E-102P","tags":["Configuration and content"],"summary":"Contact request status (token in the body)","description":"Requires a secret or publishable key with scope READ.","x-endpoint":"E-102P","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"reference","schema":{"$ref":"#/components/schemas/__schema12"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/__schema9"}},"required":["token"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"reference":{"type":"string"},"status":{"type":"string"},"updatedAt":{"type":"string"},"messages":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string"},"body":{"type":"string"}},"required":["at","body"],"additionalProperties":false}}},"required":["reference","status","updatedAt","messages"],"additionalProperties":false},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/cookie-consents":{"post":{"operationId":"E-115","tags":["Configuration and content"],"summary":"Record a cookie consent choice","description":"Requires a secret or publishable key with scope READ and optionally a player access token.","x-endpoint":"E-115","x-scopes":["READ"],"security":[{"ApiKey":[]},{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"anonymousId":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$","description":"16 to 128 URL-safe characters."},"choices":{"type":"object","properties":{"analytics":{"type":"boolean"},"marketing":{"type":"boolean"}},"required":["analytics","marketing"],"additionalProperties":false},"bannerVersion":{"type":"string","minLength":1,"maxLength":64}},"required":["anonymousId","choices","bannerVersion"],"additionalProperties":false}}}},"responses":{"204":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/legal-documents/{type}":{"get":{"operationId":"E-116","tags":["Configuration and content"],"summary":"Current legal document","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-116","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"type","schema":{"type":"string","enum":["TERMS","PRIVACY","COOKIES","RESPONSIBLE_PLAY","COMPLAINTS","ACCEPTABLE_USE","FREE_ENTRY","WINNER_PUBLICITY","HOW_DRAWS_WORK","ACCESSIBILITY","COMPETITION_RULES_TEMPLATE"]},"required":true}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/LegalDocument"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/legal-documents/{type}/versions/{version}":{"get":{"operationId":"E-117","tags":["Configuration and content"],"summary":"A legal document version","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-117","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"type","schema":{"type":"string","enum":["TERMS","PRIVACY","COOKIES","RESPONSIBLE_PLAY","COMPLAINTS","ACCEPTABLE_USE","FREE_ENTRY","WINNER_PUBLICITY","HOW_DRAWS_WORK","ACCESSIBILITY","COMPETITION_RULES_TEMPLATE"]},"required":true},{"in":"path","name":"version","schema":{"type":"string","minLength":1,"maxLength":64},"required":true}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/LegalDocument"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/redirects/resolve":{"get":{"operationId":"E-130","tags":["Configuration and content"],"summary":"Resolve a legacy redirect","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-130","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"query","name":"path","schema":{"type":"string","minLength":1,"maxLength":500},"required":true}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Redirect"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/categories":{"get":{"operationId":"E-020","tags":["Competitions, draws and results"],"summary":"Categories","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-020","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"query","name":"withCounts","schema":{"$ref":"#/components/schemas/__schema1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Categories"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/competitions":{"get":{"operationId":"E-021","tags":["Competitions, draws and results"],"summary":"List competitions","description":"Sorted by the `sort` parameter (default priority) with id as tie-break. `meta.counts` holds counts per status.\n\nRequires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-021","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema13"},"description":"Page size, 1 to 100 (default 20)."},{"in":"query","name":"cursor","schema":{"$ref":"#/components/schemas/__schema15"},"description":"Opaque cursor from the previous page's `page.nextCursor`."},{"in":"query","name":"status","schema":{"type":"string","enum":["live","upcoming","ended"]}},{"in":"query","name":"category","schema":{"type":"string","maxLength":100}},{"in":"query","name":"hasInstantWins","schema":{"$ref":"#/components/schemas/__schema1"}},{"in":"query","name":"endingSoon","schema":{"$ref":"#/components/schemas/__schema1"}},{"in":"query","name":"q","schema":{"type":"string","maxLength":100}},{"in":"query","name":"sort","schema":{"type":"string","enum":["priority","closing","newest","price","odds"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CompetitionCard"}},"page":{"$ref":"#/components/schemas/PageInfo"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","page","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/competitions/{id}":{"get":{"operationId":"E-022","tags":["Competitions, draws and results"],"summary":"Competition detail","description":"`{id}` is a competition id or slug. With a player token the `me` block is added and the answer is private.\n\nRequires a secret or publishable key with scope READ and optionally a player access token.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-022","x-scopes":["READ"],"security":[{"ApiKey":[]},{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"type":"string","minLength":1,"maxLength":200,"description":"A competition id or slug."},"required":true,"description":"A competition id or slug."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CompetitionDetail"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"COMPETITION_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/competitions/{id}/availability":{"get":{"operationId":"E-023","tags":["Competitions, draws and results"],"summary":"Ticket availability","description":"Requires a secret or publishable key with scope READ and optionally a player access token.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-023","x-scopes":["READ"],"security":[{"ApiKey":[]},{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"query","name":"from","schema":{"type":"integer","minimum":1,"maximum":10000000},"required":true},{"in":"query","name":"to","schema":{"type":"integer","minimum":1,"maximum":10000000},"required":true},{"in":"query","name":"random","schema":{"$ref":"#/components/schemas/__schema1"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Availability"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"COMPETITION_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/competitions/{id}/instant-wins":{"get":{"operationId":"E-024","tags":["Competitions, draws and results"],"summary":"Instant wins of a competition","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-024","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema13"},"description":"Page size, 1 to 100 (default 20)."},{"in":"query","name":"cursor","schema":{"$ref":"#/components/schemas/__schema15"},"description":"Opaque cursor from the previous page's `page.nextCursor`."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/InstantWins"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"COMPETITION_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/competitions/{id}/entries":{"get":{"operationId":"E-025","tags":["Competitions, draws and results"],"summary":"Published entry list","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-025","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema13"},"description":"Page size, 1 to 100 (default 20)."},{"in":"query","name":"cursor","schema":{"$ref":"#/components/schemas/__schema15"},"description":"Opaque cursor from the previous page's `page.nextCursor`."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/EntryList"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/competitions/{id}/result":{"get":{"operationId":"E-026","tags":["Competitions, draws and results"],"summary":"Draw result","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-026","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Result"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/competitions/{id}/draw-certificate":{"get":{"operationId":"E-106","tags":["Competitions, draws and results"],"summary":"Draw certificate","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-106","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DrawCertificate"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/competitions/{id}/notify-me":{"put":{"operationId":"E-104","tags":["Competitions, draws and results"],"summary":"Subscribe to a competition notification","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-104","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"responses":{"204":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"COMPETITION_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"E-105","tags":["Competitions, draws and results"],"summary":"Cancel a competition notification","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-105","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"responses":{"204":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/instant-wins/recent":{"get":{"operationId":"E-027","tags":["Competitions, draws and results"],"summary":"Recent instant wins","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-027","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema0"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/RecentInstantWin"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/live-draws":{"get":{"operationId":"E-030","tags":["Competitions, draws and results"],"summary":"Live draw sessions","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-030","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema13"},"description":"Page size, 1 to 100 (default 20)."},{"in":"query","name":"cursor","schema":{"$ref":"#/components/schemas/__schema15"},"description":"Opaque cursor from the previous page's `page.nextCursor`."},{"in":"query","name":"status","schema":{"type":"string","enum":["upcoming","past"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/LiveDraw"}},"page":{"$ref":"#/components/schemas/PageInfo"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","page","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/live-draws/next":{"get":{"operationId":"E-031","tags":["Competitions, draws and results"],"summary":"Next live draw","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-031","x-scopes":["READ"],"security":[{"ApiKey":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"anyOf":[{"$ref":"#/components/schemas/LiveDraw"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/live-draws/{id}":{"get":{"operationId":"E-032","tags":["Competitions, draws and results"],"summary":"A live draw session","description":"Requires a secret or publishable key with scope READ and optionally a player access token.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-032","x-scopes":["READ"],"security":[{"ApiKey":[]},{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/LiveDraw"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/live-draws/{id}/reminder":{"put":{"operationId":"E-033","tags":["Competitions, draws and results"],"summary":"Set a live draw reminder","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-033","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Reminder"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"E-034","tags":["Competitions, draws and results"],"summary":"Cancel a live draw reminder","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-034","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"responses":{"204":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/results":{"get":{"operationId":"E-035","tags":["Competitions, draws and results"],"summary":"Past results","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-035","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema13"},"description":"Page size, 1 to 100 (default 20)."},{"in":"query","name":"cursor","schema":{"$ref":"#/components/schemas/__schema15"},"description":"Opaque cursor from the previous page's `page.nextCursor`."},{"in":"query","name":"category","schema":{"type":"string","maxLength":100}},{"in":"query","name":"month","schema":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Result"}},"page":{"$ref":"#/components/schemas/PageInfo"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","page","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/winners":{"get":{"operationId":"E-036","tags":["Competitions, draws and results"],"summary":"Published winners","description":"Requires a secret or publishable key with scope READ.\n\nCached: weak ETag and `Cache-Control: public, max-age=10, stale-while-revalidate=30` for anonymous requests; `If-None-Match` answers 304.","x-endpoint":"E-036","x-scopes":["READ"],"security":[{"ApiKey":[]}],"parameters":[{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema13"},"description":"Page size, 1 to 100 (default 20)."},{"in":"query","name":"cursor","schema":{"$ref":"#/components/schemas/__schema15"},"description":"Opaque cursor from the previous page's `page.nextCursor`."},{"in":"query","name":"type","schema":{"type":"string","enum":["main","instant"]}},{"in":"query","name":"category","schema":{"type":"string","maxLength":100}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WinnerCard"}},"page":{"$ref":"#/components/schemas/PageInfo"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","page","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/baskets":{"post":{"operationId":"E-040","tags":["Basket, checkout and orders"],"summary":"Create an anonymous basket","description":"Returns the basket id and its token. The token is shown only here: send it as X-Basket-Token. The response is not stored for idempotency.\n\nRequires a secret or publishable key with scope COMMERCE.","x-endpoint":"E-040","x-scopes":["COMMERCE"],"security":[{"ApiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BasketCreated"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"TENANT_NOT_LIVE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/baskets/{id}":{"get":{"operationId":"E-041","tags":["Basket, checkout and orders"],"summary":"Get a basket","description":"Requires a secret or publishable key with scope COMMERCE and optionally a player access token, or, for an anonymous basket, the X-Basket-Token header.","x-endpoint":"E-041","x-scopes":["COMMERCE"],"security":[{"ApiKey":[]},{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"X-Basket-Token","schema":{"description":"The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.","$ref":"#/components/schemas/__schema17"},"description":"The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Basket"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"BASKET_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"BASKET_EXPIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/baskets/{id}/items":{"post":{"operationId":"E-042","tags":["Basket, checkout and orders"],"summary":"Add tickets to a basket","description":"Requires a secret or publishable key with scope COMMERCE and optionally a player access token, or, for an anonymous basket, the X-Basket-Token header.","x-endpoint":"E-042","x-scopes":["COMMERCE"],"security":[{"ApiKey":[]},{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},{"in":"header","name":"X-Basket-Token","schema":{"description":"The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.","$ref":"#/components/schemas/__schema18"},"description":"The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"competitionId":{"$ref":"#/components/schemas/__schema11"},"luckyDipQuantity":{"type":"integer","minimum":0,"maximum":10000},"pickedNumbers":{"default":[],"maxItems":1000,"type":"array","items":{"$ref":"#/components/schemas/__schema19"}},"skillAnswerOptionId":{"$ref":"#/components/schemas/__schema11"}},"required":["competitionId","luckyDipQuantity"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Basket"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"LOGIN_REQUIRED_FOR_PICKS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ACCOUNT_BLOCKED, PLAYER_SELF_EXCLUDED, PLAYER_ON_BREAK, PLAYER_RESTRICTED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"BASKET_NOT_FOUND, COMPETITION_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"COMPETITION_NOT_LIVE, COMPETITION_CLOSED, COMPETITION_SOLD_OUT, SALES_PAUSED, TENANT_NOT_LIVE, INSUFFICIENT_TICKETS, NUMBERS_UNAVAILABLE, NUMBER_PICKING_DISABLED, MAX_PER_PERSON_EXCEEDED, SKILL_ATTEMPTS_EXHAUSTED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"BASKET_EXPIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"BASKET_LIMIT, MAX_PER_ORDER_EXCEEDED, MIN_PER_ORDER, SKILL_ANSWER_REQUIRED, SKILL_ANSWER_INCORRECT","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/baskets/{id}/items/{lineId}":{"patch":{"operationId":"E-043","tags":["Basket, checkout and orders"],"summary":"Change a basket line","description":"Requires a secret or publishable key with scope COMMERCE and optionally a player access token, or, for an anonymous basket, the X-Basket-Token header.","x-endpoint":"E-043","x-scopes":["COMMERCE"],"security":[{"ApiKey":[]},{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"path","name":"lineId","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},{"in":"header","name":"X-Basket-Token","schema":{"description":"The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.","$ref":"#/components/schemas/__schema20"},"description":"The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"luckyDipQuantity":{"type":"integer","minimum":0,"maximum":10000},"addNumbers":{"maxItems":1000,"type":"array","items":{"$ref":"#/components/schemas/__schema19"}},"removeNumbers":{"maxItems":1000,"type":"array","items":{"$ref":"#/components/schemas/__schema19"}},"skillAnswerOptionId":{"$ref":"#/components/schemas/__schema11"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Basket"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"LOGIN_REQUIRED_FOR_PICKS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ACCOUNT_BLOCKED, PLAYER_SELF_EXCLUDED, PLAYER_ON_BREAK, PLAYER_RESTRICTED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"BASKET_NOT_FOUND, COMPETITION_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"COMPETITION_NOT_LIVE, COMPETITION_CLOSED, COMPETITION_SOLD_OUT, SALES_PAUSED, TENANT_NOT_LIVE, INSUFFICIENT_TICKETS, NUMBERS_UNAVAILABLE, NUMBER_PICKING_DISABLED, MAX_PER_PERSON_EXCEEDED, SKILL_ATTEMPTS_EXHAUSTED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"BASKET_EXPIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"BASKET_LIMIT, MAX_PER_ORDER_EXCEEDED, MIN_PER_ORDER, SKILL_ANSWER_REQUIRED, SKILL_ANSWER_INCORRECT","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"E-044","tags":["Basket, checkout and orders"],"summary":"Remove a basket line","description":"Requires a secret or publishable key with scope COMMERCE and optionally a player access token, or, for an anonymous basket, the X-Basket-Token header.","x-endpoint":"E-044","x-scopes":["COMMERCE"],"security":[{"ApiKey":[]},{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"path","name":"lineId","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},{"in":"header","name":"X-Basket-Token","schema":{"description":"The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.","$ref":"#/components/schemas/__schema21"},"description":"The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Basket"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"BASKET_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"BASKET_EXPIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/baskets/{id}/coupon":{"put":{"operationId":"E-045","tags":["Basket, checkout and orders"],"summary":"Apply a coupon","description":"Requires a secret or publishable key with scope COMMERCE and optionally a player access token, or, for an anonymous basket, the X-Basket-Token header.","x-endpoint":"E-045","x-scopes":["COMMERCE"],"security":[{"ApiKey":[]},{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},{"in":"header","name":"X-Basket-Token","schema":{"description":"The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.","$ref":"#/components/schemas/__schema22"},"description":"The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":64}},"required":["code"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Basket"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"BASKET_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"BASKET_EXPIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"COUPON_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"E-045D","tags":["Basket, checkout and orders"],"summary":"Remove the coupon","description":"Requires a secret or publishable key with scope COMMERCE and optionally a player access token, or, for an anonymous basket, the X-Basket-Token header.","x-endpoint":"E-045D","x-scopes":["COMMERCE"],"security":[{"ApiKey":[]},{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},{"in":"header","name":"X-Basket-Token","schema":{"description":"The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token.","$ref":"#/components/schemas/__schema23"},"description":"The basket token returned by POST /baskets (anonymous baskets). Not needed with a player token."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Basket"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"BASKET_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"BASKET_EXPIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/baskets/{id}/attach":{"post":{"operationId":"E-046","tags":["Basket, checkout and orders"],"summary":"Attach an anonymous basket to the signed-in player","description":"`{id}` is the anonymous basket; the basket token in the body proves ownership.\n\nRequires a secret or publishable key with scope COMMERCE and a player access token (Bearer).","x-endpoint":"E-046","x-scopes":["COMMERCE"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"basketToken":{"type":"string","minLength":1,"maxLength":512}},"required":["basketToken"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Basket"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"BASKET_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"BASKET_EXPIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/checkouts":{"post":{"operationId":"E-047","tags":["Basket, checkout and orders"],"summary":"Place an order","description":"Wallet-only and zero-value orders answer `status: processing` with no payment session; poll E-048.\n\nRequires a secret or publishable key with scope COMMERCE and a player access token (Bearer).","x-endpoint":"E-047","x-scopes":["COMMERCE"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"basketId":{"$ref":"#/components/schemas/__schema11"},"wallet":{"type":"object","properties":{"amountPence":{"$ref":"#/components/schemas/__schema24"},"sources":{"type":"string","enum":["CREDIT_THEN_CASH","CREDIT_ONLY"]}},"required":["amountPence","sources"],"additionalProperties":false},"billingAddressId":{"$ref":"#/components/schemas/__schema11"},"billingAddress":{"$ref":"#/components/schemas/AddressInput"},"acceptTermsVersion":{"type":"string","minLength":1,"maxLength":64},"ageConfirmed":{"type":"boolean","const":true},"eligibilityConfirmed":{"type":"boolean","const":true},"expressPerformanceRequested":{"type":"boolean"},"cancellationRightAcknowledged":{"type":"boolean"},"marketingOptIn":{"type":"object","properties":{"email":{"type":"boolean"},"sms":{"type":"boolean"},"push":{"type":"boolean"}},"additionalProperties":false},"consentWordingVersions":{"$ref":"#/components/schemas/__schema4"},"returnUrl":{"type":"string","maxLength":2000},"cancelUrl":{"type":"string","maxLength":2000},"orderButtonLabel":{"type":"string","minLength":1,"maxLength":100,"description":"The exact button text shown (renderOrderButtonLabel)."},"cancellationWordingVersion":{"type":"string","minLength":1,"maxLength":64}},"required":["basketId","wallet","acceptTermsVersion","ageConfirmed","eligibilityConfirmed","orderButtonLabel","cancellationWordingVersion"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CheckoutResult"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ACCOUNT_BLOCKED, ACCOUNT_CLOSED, PLAYER_SELF_EXCLUDED, PLAYER_ON_BREAK, PLAYER_RESTRICTED, REACTIVATION_REQUIRED, EMAIL_NOT_VERIFIED, UNDERAGE, AGE_VERIFICATION_REQUIRED, REGION_NOT_ELIGIBLE, SPEND_LIMIT_EXCEEDED, ORIGIN_NOT_ALLOWED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"BASKET_NOT_FOUND, NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"TENANT_NOT_LIVE, SALES_PAUSED, TERMS_ACCEPTANCE_REQUIRED, COMPETITION_NOT_LIVE, COMPETITION_CLOSED, HOLD_EXPIRED, INSUFFICIENT_TICKETS, NUMBERS_UNAVAILABLE, MAX_PER_PERSON_EXCEEDED, PRICE_CHANGED, WALLET_INSUFFICIENT, WALLET_LOCKED, WORDING_VERSION_OUTDATED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"DOB_REQUIRED, MAX_PER_ORDER_EXCEEDED, SKILL_ANSWER_REQUIRED, SKILL_ANSWER_INCORRECT, COUPON_INVALID, ACKNOWLEDGEMENT_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"PAYMENTS_UNAVAILABLE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/status":{"get":{"operationId":"E-048","tags":["Basket, checkout and orders"],"summary":"Order status","description":"Requires a secret or publishable key with scope COMMERCE and a player access token (Bearer).","x-endpoint":"E-048","x-scopes":["COMMERCE"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/OrderStatus"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"ORDER_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/payment-session":{"post":{"operationId":"E-107","tags":["Basket, checkout and orders"],"summary":"Pay again: a new payment session","description":"Requires a secret or publishable key with scope COMMERCE and a player access token (Bearer).","x-endpoint":"E-107","x-scopes":["COMMERCE"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"returnUrl":{"type":"string","maxLength":2000},"cancelUrl":{"type":"string","maxLength":2000}},"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PaymentSession"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ORIGIN_NOT_ALLOWED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"ORDER_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ORDER_NOT_PAYABLE, PAYMENT_ATTEMPTS_EXHAUSTED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"PAYMENTS_UNAVAILABLE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/orders/{id}/cancel":{"post":{"operationId":"E-108","tags":["Basket, checkout and orders"],"summary":"Cancel an unpaid order","description":"Requires a secret or publishable key with scope COMMERCE and a player access token (Bearer).","x-endpoint":"E-108","x-scopes":["COMMERCE"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"responses":{"204":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"ORDER_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ORDER_NOT_CANCELLABLE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/register":{"post":{"operationId":"E-050","tags":["Player authentication"],"summary":"Register a player","description":"Always answers 202 `verification_sent`; it never logs in. May answer 403 CHALLENGE_REQUIRED: solve the proof of work and retry with X-Challenge.\n\nRequires a secret or publishable key with scope PLAYERS.","x-endpoint":"E-050","x-scopes":["PLAYERS"],"security":[{"ApiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},{"in":"header","name":"X-Challenge","schema":{"description":"Proof-of-work answer after a 403 CHALLENGE_REQUIRED.","$ref":"#/components/schemas/__schema37"},"description":"Proof-of-work answer after a 403 CHALLENGE_REQUIRED."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/__schema3"},"password":{"type":"string","minLength":1,"maxLength":200},"firstName":{"type":"string","minLength":1,"maxLength":100},"lastName":{"type":"string","minLength":1,"maxLength":100},"dateOfBirth":{"$ref":"#/components/schemas/__schema38"},"phone":{"type":"string","maxLength":30},"address":{"$ref":"#/components/schemas/AddressInput"},"acceptTermsVersion":{"type":"string","minLength":1,"maxLength":64},"acceptPrivacyVersion":{"type":"string","minLength":1,"maxLength":64},"marketing":{"type":"object","properties":{"email":{"type":"boolean"},"sms":{"type":"boolean"},"push":{"type":"boolean"}},"required":["email","sms"],"additionalProperties":false},"publicDisplay":{"$ref":"#/components/schemas/__schema39"},"spendLimits":{"type":"object","properties":{"monthlyPence":{"$ref":"#/components/schemas/__schema24"},"weeklyPence":{"$ref":"#/components/schemas/__schema24"},"dailyPence":{"$ref":"#/components/schemas/__schema24"}},"required":["monthlyPence"],"additionalProperties":false},"consentWordingVersions":{"$ref":"#/components/schemas/__schema4"}},"required":["email","password","firstName","lastName","dateOfBirth","acceptTermsVersion","acceptPrivacyVersion","marketing","consentWordingVersions"],"additionalProperties":false}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/__schema382"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"UNDERAGE, CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"TERMS_ACCEPTANCE_REQUIRED, WORDING_VERSION_OUTDATED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"PASSWORD_POLICY, ACKNOWLEDGEMENT_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/login":{"post":{"operationId":"E-051","tags":["Player authentication"],"summary":"Log in","description":"Requires a secret or publishable key with scope PLAYERS.","x-endpoint":"E-051","x-scopes":["PLAYERS"],"security":[{"ApiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},{"in":"header","name":"X-Challenge","schema":{"description":"Proof-of-work answer after a 403 CHALLENGE_REQUIRED.","$ref":"#/components/schemas/__schema40"},"description":"Proof-of-work answer after a 403 CHALLENGE_REQUIRED."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/__schema3"},"password":{"type":"string","minLength":1,"maxLength":200}},"required":["email","password"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AuthSession"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ACCOUNT_BLOCKED, ACCOUNT_CLOSED, CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"TOO_MANY_ATTEMPTS, RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"AUTH_BUSY","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/token/refresh":{"post":{"operationId":"E-052","tags":["Player authentication"],"summary":"Refresh the access token","description":"Refresh tokens rotate: each is single use. The Idempotency-Key is optional.\n\nRequires a secret or publishable key with scope PLAYERS.","x-endpoint":"E-052","x-scopes":["PLAYERS"],"security":[{"ApiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.","$ref":"#/components/schemas/__schema41"},"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"refreshToken":{"$ref":"#/components/schemas/__schema9"}},"required":["refreshToken"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Tokens"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"AUTH_REQUIRED, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"TOKEN_ROTATED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"TOO_MANY_ATTEMPTS, RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/logout":{"post":{"operationId":"E-053","tags":["Player authentication"],"summary":"Log out","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-053","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.","$ref":"#/components/schemas/__schema42"},"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"refreshToken":{"$ref":"#/components/schemas/__schema9"},"allDevices":{"type":"boolean"}},"additionalProperties":false}}}},"responses":{"204":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/email/verify":{"post":{"operationId":"E-054","tags":["Player authentication"],"summary":"Verify an email address or confirm an email change","description":"Consumes the token from the emailed link and logs the player in.\n\nRequires a secret or publishable key with scope PLAYERS.","x-endpoint":"E-054","x-scopes":["PLAYERS"],"security":[{"ApiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/__schema8"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AuthSession"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"TOO_MANY_ATTEMPTS, RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/email/verify/resend":{"post":{"operationId":"E-055","tags":["Player authentication"],"summary":"Resend the verification email","description":"Requires a secret or publishable key with scope PLAYERS and optionally a player access token.","x-endpoint":"E-055","x-scopes":["PLAYERS"],"security":[{"ApiKey":[]},{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},{"in":"header","name":"X-Challenge","schema":{"description":"Proof-of-work answer after a 403 CHALLENGE_REQUIRED.","$ref":"#/components/schemas/__schema43"},"description":"Proof-of-work answer after a 403 CHALLENGE_REQUIRED."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/__schema3"}},"additionalProperties":false}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/__schema382"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/password/forgot":{"post":{"operationId":"E-056","tags":["Player authentication"],"summary":"Request a password reset","description":"Requires a secret or publishable key with scope PLAYERS.","x-endpoint":"E-056","x-scopes":["PLAYERS"],"security":[{"ApiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},{"in":"header","name":"X-Challenge","schema":{"description":"Proof-of-work answer after a 403 CHALLENGE_REQUIRED.","$ref":"#/components/schemas/__schema44"},"description":"Proof-of-work answer after a 403 CHALLENGE_REQUIRED."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/__schema3"}},"required":["email"],"additionalProperties":false}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/__schema382"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"CHALLENGE_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/password/reset":{"post":{"operationId":"E-057","tags":["Player authentication"],"summary":"Reset or set a password","description":"Requires a secret or publishable key with scope PLAYERS.","x-endpoint":"E-057","x-scopes":["PLAYERS"],"security":[{"ApiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/__schema9"},"password":{"type":"string","minLength":1,"maxLength":200}},"required":["token","password"],"additionalProperties":false}}}},"responses":{"204":{"description":"Success"},"400":{"description":"TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"PASSWORD_POLICY","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"TOO_MANY_ATTEMPTS, RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me":{"get":{"operationId":"E-060","tags":["Player account"],"summary":"The signed-in player","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-060","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Me"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"E-061","tags":["Player account"],"summary":"Update the profile","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-061","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"firstName":{"type":"string","minLength":1,"maxLength":100},"lastName":{"type":"string","minLength":1,"maxLength":100},"phone":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]},"publicDisplay":{"$ref":"#/components/schemas/__schema39"},"showInActivityFeed":{"type":"boolean"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Me"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/date-of-birth":{"post":{"operationId":"E-127","tags":["Player account"],"summary":"Set the date of birth","description":"Only while it is empty (imported players). Under 18 blocks the account.\n\nRequires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-127","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"dateOfBirth":{"$ref":"#/components/schemas/__schema38"}},"required":["dateOfBirth"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Me"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"UNDERAGE, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"DOB_ALREADY_SET","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/email-change":{"post":{"operationId":"E-062","tags":["Player account"],"summary":"Request an email change","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-062","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"newEmail":{"$ref":"#/components/schemas/__schema3"},"password":{"type":"string","minLength":1,"maxLength":200}},"required":["newEmail","password"],"additionalProperties":false}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"status":{"type":"string","const":"sent"}},"required":["status"],"additionalProperties":false},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/password":{"post":{"operationId":"E-063","tags":["Player account"],"summary":"Change the password","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-063","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"currentPassword":{"type":"string","minLength":1,"maxLength":200},"newPassword":{"type":"string","minLength":1,"maxLength":200}},"required":["currentPassword","newPassword"],"additionalProperties":false}}}},"responses":{"204":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"PASSWORD_POLICY","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/addresses":{"get":{"operationId":"E-064L","tags":["Player account"],"summary":"List addresses","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-064L","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AddressBookEntry"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"E-064","tags":["Player account"],"summary":"Add an address","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-064","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressInput"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/addresses/{id}":{"patch":{"operationId":"E-064U","tags":["Player account"],"summary":"Change an address","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-064U","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressInput"}}}},"responses":{"204":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"E-064D","tags":["Player account"],"summary":"Delete an address","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-064D","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"responses":{"204":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/tickets":{"get":{"operationId":"E-065","tags":["Player account"],"summary":"My competitions with tickets","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-065","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema13"},"description":"Page size, 1 to 100 (default 20)."},{"in":"query","name":"cursor","schema":{"$ref":"#/components/schemas/__schema15"},"description":"Opaque cursor from the previous page's `page.nextCursor`."},{"in":"query","name":"status","schema":{"type":"string","enum":["live","ended","won"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MyCompetitionTickets"}},"page":{"$ref":"#/components/schemas/PageInfo"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","page","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/competitions/{id}/tickets":{"get":{"operationId":"E-066","tags":["Player account"],"summary":"My tickets in a competition","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-066","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema13"},"description":"Page size, 1 to 100 (default 20)."},{"in":"query","name":"cursor","schema":{"$ref":"#/components/schemas/__schema15"},"description":"Opaque cursor from the previous page's `page.nextCursor`."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MyTicket"}},"page":{"$ref":"#/components/schemas/PageInfo"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","page","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/orders":{"get":{"operationId":"E-067","tags":["Player account"],"summary":"My orders","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-067","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema13"},"description":"Page size, 1 to 100 (default 20)."},{"in":"query","name":"cursor","schema":{"$ref":"#/components/schemas/__schema15"},"description":"Opaque cursor from the previous page's `page.nextCursor`."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/OrderSummary"}},"page":{"$ref":"#/components/schemas/PageInfo"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","page","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/orders/{id}":{"get":{"operationId":"E-068","tags":["Player account"],"summary":"One of my orders","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-068","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/OrderDetail"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"ORDER_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/orders/{id}/cancellation":{"post":{"operationId":"E-114","tags":["Player account"],"summary":"Cancel entries of a paid order","description":"Only when the tenant uses the cancel-until-close approach.\n\nRequires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-114","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"lineIds":{"maxItems":100,"type":"array","items":{"$ref":"#/components/schemas/__schema11"}}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"refundId":{"type":"string"}},"required":["refundId"],"additionalProperties":false},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"ORDER_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ORDER_NOT_CANCELLABLE, CANCELLATION_WINDOW_CLOSED, REFUND_NOT_ALLOWED, TICKET_HAS_PRIZE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/wallet":{"get":{"operationId":"E-069","tags":["Player account"],"summary":"Wallet balances","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-069","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/WalletBalances"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/wallet/transactions":{"get":{"operationId":"E-070","tags":["Player account"],"summary":"Wallet transactions","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-070","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema13"},"description":"Page size, 1 to 100 (default 20)."},{"in":"query","name":"cursor","schema":{"$ref":"#/components/schemas/__schema15"},"description":"Opaque cursor from the previous page's `page.nextCursor`."},{"in":"query","name":"accountType","schema":{"type":"string","enum":["CASH","CREDIT"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/LedgerLine"}},"page":{"$ref":"#/components/schemas/PageInfo"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","page","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/wallet/withdrawals":{"get":{"operationId":"E-111","tags":["Player account"],"summary":"My withdrawals","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-111","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema13"},"description":"Page size, 1 to 100 (default 20)."},{"in":"query","name":"cursor","schema":{"$ref":"#/components/schemas/__schema15"},"description":"Opaque cursor from the previous page's `page.nextCursor`."},{"in":"query","name":"status","schema":{"type":"string","maxLength":40}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Withdrawal"}},"page":{"$ref":"#/components/schemas/PageInfo"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","page","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"E-112","tags":["Player account"],"summary":"Request a withdrawal","description":"A new payee needs the password in the request or an emailed confirmation; the first withdrawal to a new payee is held.\n\nRequires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-112","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amountPence":{"$ref":"#/components/schemas/__schema24"},"bank":{"type":"object","properties":{"accountName":{"type":"string","minLength":1,"maxLength":100},"sortCode":{"type":"string","minLength":1,"maxLength":12},"accountNumber":{"type":"string","minLength":1,"maxLength":12}},"required":["accountName","sortCode","accountNumber"],"additionalProperties":false},"password":{"type":"string","maxLength":200}},"required":["amountPence","bank"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Withdrawal"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"AGE_VERIFICATION_REQUIRED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"WALLET_INSUFFICIENT, WALLET_LOCKED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"WITHDRAWAL_MIN, BANK_DETAILS_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/wallet/withdrawals/{id}/cancel":{"post":{"operationId":"E-113","tags":["Player account"],"summary":"Cancel a withdrawal","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-113","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"responses":{"204":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"WITHDRAWAL_NOT_CANCELLABLE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/wallet/withdrawals/confirm-payee":{"post":{"operationId":"E-133","tags":["Player account"],"summary":"Confirm a new payee","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-133","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/__schema8"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Withdrawal"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/withdrawals/cancel":{"post":{"operationId":"E-134","tags":["Player account"],"summary":"Cancel a held withdrawal from the emailed link","description":"The token alone identifies the withdrawal, so a player whose account was taken over can stop the payout without signing in.\n\nRequires a secret or publishable key with scope PLAYERS.","x-endpoint":"E-134","x-scopes":["PLAYERS"],"security":[{"ApiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/__schema8"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Withdrawal"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"WITHDRAWAL_NOT_CANCELLABLE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/wins":{"get":{"operationId":"E-071","tags":["Player account"],"summary":"My wins","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-071","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema13"},"description":"Page size, 1 to 100 (default 20)."},{"in":"query","name":"cursor","schema":{"$ref":"#/components/schemas/__schema15"},"description":"Opaque cursor from the previous page's `page.nextCursor`."},{"in":"query","name":"status","schema":{"type":"string","maxLength":40}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Win"}},"page":{"$ref":"#/components/schemas/PageInfo"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","page","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/wins/{id}":{"get":{"operationId":"E-072","tags":["Player account"],"summary":"One of my wins","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-072","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Win"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"WIN_NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/wins/{id}/claim":{"post":{"operationId":"E-073","tags":["Player account"],"summary":"Submit a prize claim","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-073","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"choice":{"type":"string","enum":["PRIZE","CASH_ALTERNATIVE"]},"deliveryAddressId":{"$ref":"#/components/schemas/__schema11"},"publicity":{"type":"object","properties":{"allowName":{"type":"boolean"},"allowMedia":{"type":"boolean"}},"required":["allowName","allowMedia"],"additionalProperties":false},"acceptPrizeTerms":{"type":"boolean","const":true}},"required":["choice","publicity","acceptPrizeTerms"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Win"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"WIN_NOT_FOUND, NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"CLAIM_NOT_OPEN, CLAIM_DEADLINE_PASSED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"CASH_ALTERNATIVE_NOT_OFFERED, ACKNOWLEDGEMENT_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/verification":{"get":{"operationId":"E-074","tags":["Player account"],"summary":"Age verification status","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-074","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AgeStatus"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"E-074S","tags":["Player account"],"summary":"Start an age verification","description":"Document checks: images are then sent one per request to POST /uploads/verifications/{verificationId}/documents (multipart, field `kind`). A tenant that uses OneID answers `kind: REDIRECT`: send the player's browser to `url` (do not store or log it). After the journey the provider returns the browser to `returnUrl` (optional; a verified domain or allowed origin of the tenant, https, no query or fragment; a hosted-site tenant's own return page is the default) with `?reference=…&status=…`; the status in that query is only a hint: call `POST /me/verification/refresh` with the reference to read the real result.\n\nRequires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-074S","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"purpose":{"type":"string","enum":["FIRST_PAID_ENTRY","PRIZE_RELEASE","REGISTRATION"]},"returnUrl":{"type":"string","maxLength":2048}},"required":["purpose"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AgeCheckStart"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"UNDERAGE, ORIGIN_NOT_ALLOWED, SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"DOB_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"SERVICE_UNAVAILABLE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/verification/refresh":{"post":{"operationId":"E-074R","tags":["Player account"],"summary":"Read the result of a provider age check","description":"Call it when the player's browser returns from the provider's journey. The provider's own answer decides: the `status` in the return query is never trusted. A finished check is not applied again. `reference` must belong to the signed-in player, otherwise NOT_FOUND. `PENDING` means the journey is not finished yet.\n\nRequires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-074R","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer.","$ref":"#/components/schemas/__schema45"},"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reference":{"$ref":"#/components/schemas/__schema11"}},"required":["reference"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AgeRefresh"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"SERVICE_UNAVAILABLE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/responsible-play":{"get":{"operationId":"E-075","tags":["Player account"],"summary":"Responsible play status","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-075","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RpStatus"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/responsible-play/limits":{"put":{"operationId":"E-076","tags":["Player account"],"summary":"Set spend limits","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-076","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"dailyPence":{"anyOf":[{"$ref":"#/components/schemas/__schema24"},{"type":"null"}]},"weeklyPence":{"anyOf":[{"$ref":"#/components/schemas/__schema24"},{"type":"null"}]},"monthlyPence":{"$ref":"#/components/schemas/__schema24"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RpStatus"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/responsible-play/limits/confirm":{"post":{"operationId":"E-109","tags":["Player account"],"summary":"Confirm a limit increase","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-109","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"period":{"type":"string","enum":["DAY","WEEK","MONTH"]}},"required":["period"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RpStatus"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/responsible-play/break":{"post":{"operationId":"E-077","tags":["Player account"],"summary":"Take a break","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-077","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"duration":{"type":"string","enum":["24h","72h","7d","30d","6w"]}},"required":["duration"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"until":{"type":"string"}},"required":["until"],"additionalProperties":false},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/responsible-play/self-exclusion":{"post":{"operationId":"E-078","tags":["Player account"],"summary":"Self-exclude","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-078","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"period":{"type":"string","enum":["6m","1y","2y","5y"]},"password":{"type":"string","minLength":1,"maxLength":200}},"required":["period","password"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"until":{"type":"string"}},"required":["until"],"additionalProperties":false},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/responsible-play/reactivate":{"post":{"operationId":"E-110","tags":["Player account"],"summary":"Confirm reactivation","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-110","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"responses":{"204":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/preferences":{"get":{"operationId":"E-079","tags":["Player account"],"summary":"Preferences","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-079","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Preferences"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"E-080","tags":["Player account"],"summary":"Update preferences","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-080","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"marketing":{"type":"object","properties":{"email":{"type":"boolean"},"sms":{"type":"boolean"},"push":{"type":"boolean"}},"additionalProperties":false},"publicDisplay":{"$ref":"#/components/schemas/__schema39"},"showInActivityFeed":{"type":"boolean"},"consentWordingVersions":{"$ref":"#/components/schemas/__schema4"}},"required":["consentWordingVersions"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Preferences"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"WORDING_VERSION_OUTDATED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/reminders":{"get":{"operationId":"E-081","tags":["Player account"],"summary":"My live draw reminders","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-081","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MyReminder"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/close":{"post":{"operationId":"E-082","tags":["Player account"],"summary":"Close the account","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-082","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":"string","minLength":1,"maxLength":200},"reason":{"type":"string","minLength":1,"maxLength":1000},"responsiblePlay":{"type":"boolean"}},"required":["password","reason","responsiblePlay"],"additionalProperties":false}}}},"responses":{"204":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_CREDENTIALS, INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/data-export":{"post":{"operationId":"E-083","tags":["Player account"],"summary":"Request a data export","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-083","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/__schema505"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/data-requests":{"post":{"operationId":"E-103","tags":["Player account"],"summary":"Make a data request","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-103","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["ERASURE","RECTIFICATION","RESTRICTION","OBJECTION"]},"details":{"type":"string","maxLength":5000}},"required":["type"],"additionalProperties":false}}}},"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/__schema505"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"get":{"operationId":"E-128","tags":["Player account"],"summary":"My data requests","description":"Requires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-128","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema13"},"description":"Page size, 1 to 100 (default 20)."},{"in":"query","name":"cursor","schema":{"$ref":"#/components/schemas/__schema15"},"description":"Opaque cursor from the previous page's `page.nextCursor`."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DataRequest"}},"page":{"$ref":"#/components/schemas/PageInfo"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","page","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me/data-exports/{id}":{"get":{"operationId":"E-129","tags":["Player account"],"summary":"Download my data export","description":"`{id}` is the data request id. Needs the player token and the emailed link token in X-Export-Token (never in the URL).\n\nRequires a secret or publishable key with scope PLAYERS and a player access token (Bearer).","x-endpoint":"E-129","x-scopes":["PLAYERS"],"security":[{"ApiKey":[],"PlayerToken":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"X-Export-Token","schema":{"type":"string","description":"The one-time link token from the export-ready email."},"required":true,"description":"The one-time link token from the export-ready email."}],"responses":{"200":{"description":"The export file."},"400":{"description":"TOKEN_INVALID, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/ticket":{"post":{"operationId":"E-126","tags":["Realtime"],"summary":"Get a one-time ticket for the event stream","description":"Returns an opaque ticket valid for 60 seconds and one use. Open `GET /events?ticket=…` with it. `me` needs a player token.\n\nRequires a secret or publishable key with scope READ and optionally a player access token.","x-endpoint":"E-126","x-scopes":["READ"],"security":[{"ApiKey":[]},{"ApiKey":[],"PlayerToken":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channels":{"minItems":1,"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/__schema46"},"description":"activity, live-draws, competition:{uuid}, instant-wins:{uuid} or me."}},"required":["channels"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"ticket":{"type":"string"},"expiresAt":{"type":"string"}},"required":["ticket","expiresAt"],"additionalProperties":false},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/imports":{"post":{"operationId":"E-100","tags":["Imports"],"summary":"Create an import job","description":"Requires a secret key with scope IMPORT.","x-endpoint":"E-100","x-scopes":["IMPORT"],"security":[{"ApiKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sourceSystem":{"type":"string","minLength":1,"maxLength":100},"profile":{"type":"string","enum":["CANONICAL","WORDPRESS_WOOCOMMERCE","RAFFLEX","GENERIC_CSV"]},"mode":{"type":"string","enum":["UPSERT","SNAPSHOT"]},"options":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"manifest":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["sourceSystem","profile","mode","options"],"additionalProperties":false}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ImportJob"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"get":{"operationId":"E-131","tags":["Imports"],"summary":"List import jobs","description":"Requires a secret key with scope IMPORT.","x-endpoint":"E-131","x-scopes":["IMPORT"],"security":[{"ApiKey":[]}],"parameters":[{"in":"query","name":"limit","schema":{"$ref":"#/components/schemas/__schema13"},"description":"Page size, 1 to 100 (default 20)."},{"in":"query","name":"cursor","schema":{"$ref":"#/components/schemas/__schema15"},"description":"Opaque cursor from the previous page's `page.nextCursor`."},{"in":"query","name":"status","schema":{"type":"string","enum":["DRAFT","UPLOADED","VALIDATING","VALIDATED","NEEDS_FIX","IMPORTING","PAUSED","VERIFYING","COMPLETED","FAILED","FAILED_VERIFICATION","CANCELLED","ROLLING_BACK","ROLLED_BACK"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ImportJobRow"}},"page":{"$ref":"#/components/schemas/PageInfo"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","page","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/imports/{id}":{"get":{"operationId":"E-101","tags":["Imports"],"summary":"An import job","description":"Requires a secret key with scope IMPORT.","x-endpoint":"E-101","x-scopes":["IMPORT"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ImportJob"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"E-132","tags":["Imports"],"summary":"Update an import job","description":"DRAFT and NEEDS_FIX only. `version` comes from E-101; a stale one answers 409 STALE_WRITE.\n\nRequires a secret key with scope IMPORT.","x-endpoint":"E-132","x-scopes":["IMPORT"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"sourceSystem":{"type":"string","minLength":1,"maxLength":100},"options":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"manifest":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["version"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ImportJob"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"IMPORT_INVALID_STATE, STALE_WRITE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/imports/{id}/records/{entity}":{"post":{"operationId":"E-119","tags":["Imports"],"summary":"Push NDJSON records","description":"Up to 10,000 records and 2 MB per request, as `application/x-ndjson`. Larger loads use the file upload (E-118).\n\nRequires a secret key with scope IMPORT.","x-endpoint":"E-119","x-scopes":["IMPORT"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"path","name":"entity","schema":{"type":"string","minLength":1,"maxLength":40},"required":true},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"requestBody":{"required":true,"content":{"application/x-ndjson":{"schema":{"type":"object","properties":{"records":{"$ref":"#/components/schemas/__schema47"}},"required":["records"],"additionalProperties":false,"description":"NDJSON: one JSON record per line."}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"accepted":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["accepted"],"additionalProperties":false},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"IMPORT_INVALID_STATE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"PAYLOAD_TOO_LARGE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/imports/{id}/validate":{"post":{"operationId":"E-120","tags":["Imports"],"summary":"Start the dry run","description":"Requires a secret key with scope IMPORT.","x-endpoint":"E-120","x-scopes":["IMPORT"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"responses":{"202":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"IMPORT_INVALID_STATE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/imports/{id}/report":{"get":{"operationId":"E-121","tags":["Imports"],"summary":"Validation report","description":"Requires a secret key with scope IMPORT.","x-endpoint":"E-121","x-scopes":["IMPORT"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ImportReport"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"additionalProperties":false}}}},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/imports/{id}/report/errors.csv":{"get":{"operationId":"E-121C","tags":["Imports"],"summary":"Validation errors as CSV","description":"Cells are formula-neutralised.\n\nRequires a secret key with scope IMPORT.","x-endpoint":"E-121C","x-scopes":["IMPORT"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."}],"responses":{"200":{"description":"text/csv"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/imports/{id}/commit":{"post":{"operationId":"E-122","tags":["Imports"],"summary":"Commit an approved import","description":"409 IMPORT_NOT_APPROVED until a tenant owner has approved the import in the back office.\n\nRequires a secret key with scope IMPORT.","x-endpoint":"E-122","x-scopes":["IMPORT"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"responses":{"202":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"IMPORT_NOT_APPROVED, IMPORT_INVALID_STATE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"IMPORT_CHECKSUM_MISMATCH","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/imports/{id}/cancel":{"post":{"operationId":"E-123","tags":["Imports"],"summary":"Cancel an import","description":"Requires a secret key with scope IMPORT.","x-endpoint":"E-123","x-scopes":["IMPORT"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"responses":{"204":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"IMPORT_INVALID_STATE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/imports/{id}/rollback":{"post":{"operationId":"E-124","tags":["Imports"],"summary":"Roll an import back","description":"409 IMPORT_NOT_APPROVED until the rollback is approved in the back office; refused after go-live.\n\nRequires a secret key with scope IMPORT.","x-endpoint":"E-124","x-scopes":["IMPORT"],"security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","schema":{"$ref":"#/components/schemas/__schema11"},"required":true,"description":"A UUID."},{"in":"header","name":"Idempotency-Key","schema":{"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)$","description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."},"required":true,"description":"A UUID (v4 or v7). Required for every mutation; a retry with the same key and body replays the first answer."}],"responses":{"202":{"description":"Success"},"400":{"description":"VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED, IDEMPOTENCY_KEY_INVALID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"INVALID_API_KEY, API_KEY_EXPIRED, AUTH_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"SCOPE_REQUIRED, SECRET_KEY_IN_BROWSER, ORIGIN_NOT_ALLOWED, API_ACCESS_DISABLED, TENANT_SUSPENDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NOT_FOUND","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"IMPORT_NOT_APPROVED, IMPORT_ROLLBACK_AFTER_GO_LIVE, IMPORT_INVALID_STATE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"RATE_LIMITED (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"INTERNAL_ERROR (quote the requestId)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events":{"get":{"operationId":"E-090","x-endpoint":"E-090","tags":["Realtime"],"summary":"Server-sent event stream","description":"Open with the single-use ticket from `POST /events/ticket` (valid 60 seconds). A heartbeat comment every 25 seconds; the server closes after 10 minutes, then fetch a new ticket and reconnect with `Last-Event-ID`. The ticket is the only credential allowed in a query string.","security":[],"parameters":[{"in":"query","name":"ticket","schema":{"type":"string"},"required":true},{"in":"query","name":"lastEventId","schema":{"type":"string"}}],"responses":{"200":{"description":"text/event-stream. Each event: `id`, and `data` = {channel, data}."},"400":{"description":"TOKEN_INVALID, VALIDATION_FAILED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/openapi.json":{"get":{"operationId":"E-125","x-endpoint":"E-125","tags":["Configuration and content"],"summary":"This OpenAPI document","description":"No key needed.","responses":{"200":{"description":"OpenAPI 3.1 JSON."}}}},"/imports/{id}/files/{entity}":{"put":{"operationId":"E-118","x-endpoint":"E-118","tags":["Imports"],"summary":"Upload an import file in resumable chunks","description":"Streaming route: `Content-Range`, up to 8 MB per request, up to 2 GB per file. Requires a secret key with scope IMPORT.","security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","schema":{"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":true},{"in":"path","name":"entity","schema":{"type":"string"},"required":true},{"in":"query","name":"format","schema":{"type":"string","enum":["CSV","JSONL","JSON"]},"required":true},{"in":"header","name":"Content-Range","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"The file is complete."},"202":{"description":"Chunk received."},"409":{"description":"IMPORT_INVALID_STATE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"PAYLOAD_TOO_LARGE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"IMPORT_CHECKSUM_MISMATCH","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/uploads/verifications/{id}/documents":{"post":{"operationId":"E-074U","x-endpoint":"E-074U","tags":["Player account"],"summary":"Upload an ID image for an age check","description":"Streaming multipart route (field `file`; one image per request; JPEG, PNG or WebP up to 10 MB; PDFs are refused). Pass the document type as the `kind` query parameter. Requires a player token.","security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","schema":{"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":true},{"in":"query","name":"kind","schema":{"type":"string","enum":["ID_FRONT","ID_BACK","SELFIE"]},"required":true}],"responses":{"201":{"description":"Accepted; the check is now pending review."},"413":{"description":"PAYLOAD_TOO_LARGE, STORAGE_QUOTA_EXCEEDED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"AddressInput":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/__schema25"},"isDefault":{"$ref":"#/components/schemas/__schema26"},"firstName":{"$ref":"#/components/schemas/__schema27"},"lastName":{"$ref":"#/components/schemas/__schema28"},"company":{"$ref":"#/components/schemas/__schema29"},"line1":{"$ref":"#/components/schemas/__schema30"},"line2":{"$ref":"#/components/schemas/__schema31"},"town":{"$ref":"#/components/schemas/__schema32"},"county":{"$ref":"#/components/schemas/__schema33"},"postcode":{"$ref":"#/components/schemas/__schema34"},"countryCode":{"$ref":"#/components/schemas/__schema35"},"phone":{"$ref":"#/components/schemas/__schema36"}},"required":["type","line1","town","postcode","countryCode"],"additionalProperties":false},"ErrorCode":{"type":"string","enum":["VALIDATION_FAILED","IDEMPOTENCY_KEY_REQUIRED","IDEMPOTENCY_KEY_INVALID","IDEMPOTENCY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","ID_NOT_ALLOWED","NOT_FOUND","STALE_WRITE","RATE_LIMITED","PAYLOAD_TOO_LARGE","INTERNAL_ERROR","NOT_IMPLEMENTED","SERVICE_UNAVAILABLE","AUTH_BUSY","INVALID_API_KEY","API_KEY_EXPIRED","SCOPE_REQUIRED","SECRET_KEY_IN_BROWSER","ORIGIN_NOT_ALLOWED","API_ACCESS_DISABLED","TENANT_SUSPENDED","TENANT_NOT_LIVE","SALES_PAUSED","AUTH_REQUIRED","INVALID_CREDENTIALS","TOO_MANY_ATTEMPTS","CHALLENGE_REQUIRED","TOKEN_ROTATED","TOKEN_INVALID","LINK_TEMPLATE_INVALID","PASSWORD_POLICY","FORBIDDEN","MFA_REQUIRED","STEP_UP_REQUIRED","PLATFORM_ACCESS_REQUIRES_GRANT","SUPPORT_GRANT_EXPIRED","TENANT_SCOPE_VIOLATION","TENANT_MODEL_NOT_ALLOWED","TENANT_CONTEXT_FORGED","TENANT_DB_METHOD_FORBIDDEN","ACCOUNT_BLOCKED","ACCOUNT_CLOSED","PLAYER_SELF_EXCLUDED","PLAYER_ON_BREAK","PLAYER_RESTRICTED","REACTIVATION_REQUIRED","EMAIL_NOT_VERIFIED","DOB_REQUIRED","DOB_ALREADY_SET","UNDERAGE","AGE_VERIFICATION_REQUIRED","REGION_NOT_ELIGIBLE","TERMS_ACCEPTANCE_REQUIRED","ACKNOWLEDGEMENT_REQUIRED","COMPETITION_NOT_FOUND","COMPETITION_NOT_LIVE","COMPETITION_CLOSED","COMPETITION_SOLD_OUT","INSUFFICIENT_TICKETS","NUMBERS_UNAVAILABLE","NUMBER_PICKING_DISABLED","LOGIN_REQUIRED_FOR_PICKS","MAX_PER_PERSON_EXCEEDED","MAX_PER_ORDER_EXCEEDED","MIN_PER_ORDER","SKILL_ANSWER_REQUIRED","SKILL_ANSWER_INCORRECT","SKILL_ATTEMPTS_EXHAUSTED","BASKET_NOT_FOUND","BASKET_EXPIRED","BASKET_LIMIT","HOLD_EXPIRED","PRICE_CHANGED","COUPON_INVALID","WALLET_INSUFFICIENT","WALLET_LOCKED","SPEND_LIMIT_EXCEEDED","PAYMENTS_UNAVAILABLE","PAYMENT_FAILED","PAYMENT_PENDING","ORDER_NOT_FOUND","ORDER_NOT_PAYABLE","ORDER_NOT_CANCELLABLE","PAYMENT_ATTEMPTS_EXHAUSTED","CANCELLATION_WINDOW_CLOSED","REFUND_EXCEEDS_REFUNDABLE","REFUND_NOT_ALLOWED","TICKET_HAS_PRIZE","ALLOCATION_INVARIANT","WIN_NOT_FOUND","CLAIM_NOT_OPEN","CLAIM_DEADLINE_PASSED","CASH_ALTERNATIVE_NOT_OFFERED","WITHDRAWAL_MIN","WITHDRAWAL_NOT_CANCELLABLE","WITHDRAWAL_ON_HOLD","MAKER_CHECKER_REQUIRED","INVITATION_INVALID","PASSWORD_CHANGE_REQUIRED","PLATFORM_JOB_NOT_ALLOWED","INSTANT_PRIZE_NOT_FORFEITED","LEGAL_HOLD_ACTIVE","USAGE_MONTH_CLOSED","TENANT_STATUS_INVALID","WORDING_VERSION_OUTDATED","SUPPORT_GRANT_NOT_PENDING","BANK_DETAILS_INVALID","PUBLISH_VALIDATION_FAILED","COMPETITION_LOCKED","INSTANT_WIN_MAJORITY","DRAW_NOT_READY","DRAW_ALREADY_RUN","REDRAW_NOT_ALLOWED","POSTAL_REJECTED","SETTING_GUARDRAIL","SETTING_INVALID","STORAGE_QUOTA_EXCEEDED","IMPORT_INVALID_STATE","IMPORT_NOT_APPROVED","IMPORT_CHECKSUM_MISMATCH","IMPORT_ROLLBACK_AFTER_GO_LIVE","WEBHOOK_URL_NOT_ALLOWED","WEBHOOK_ENDPOINT_LIMIT"]},"__schema0":{"type":"integer","minimum":1,"maximum":100},"__schema1":{"type":"string","enum":["0","1","true","false"]},"__schema2":{"type":"string"},"__schema3":{"type":"string","maxLength":254,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"__schema4":{"type":"object","properties":{"email":{"$ref":"#/components/schemas/__schema5"},"sms":{"$ref":"#/components/schemas/__schema6"},"push":{"$ref":"#/components/schemas/__schema7"}},"additionalProperties":false,"description":"The wording version shown for each ticked channel (from GET /config consent.wording)."},"__schema5":{"type":"string","maxLength":64},"__schema6":{"type":"string","maxLength":64},"__schema7":{"type":"string","maxLength":64},"__schema8":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/__schema9"}},"required":["token"],"additionalProperties":false},"__schema9":{"type":"string","minLength":1,"maxLength":2048},"__schema10":{"type":"string"},"__schema11":{"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)$","description":"A UUID."},"__schema12":{"type":"string","minLength":1,"maxLength":64},"__schema13":{"description":"Page size, 1 to 100 (default 20).","$ref":"#/components/schemas/__schema14"},"__schema14":{"type":"integer","minimum":1,"maximum":100},"__schema15":{"description":"Opaque cursor from the previous page's `page.nextCursor`.","$ref":"#/components/schemas/__schema16"},"__schema16":{"type":"string","minLength":1,"maxLength":600},"__schema17":{"type":"string"},"__schema18":{"type":"string"},"__schema19":{"type":"string","minLength":1,"maxLength":64,"description":"A ticket number as displayed (a string, never a number)."},"__schema20":{"type":"string"},"__schema21":{"type":"string"},"__schema22":{"type":"string"},"__schema23":{"type":"string"},"__schema24":{"type":"integer","minimum":0,"maximum":100000000},"__schema25":{"type":"string","enum":["BILLING","SHIPPING","OTHER"]},"__schema26":{"type":"boolean"},"__schema27":{"type":"string","maxLength":100},"__schema28":{"type":"string","maxLength":100},"__schema29":{"type":"string","maxLength":150},"__schema30":{"type":"string","minLength":1,"maxLength":200},"__schema31":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"__schema32":{"type":"string","minLength":1,"maxLength":100},"__schema33":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"__schema34":{"type":"string","minLength":1,"maxLength":12},"__schema35":{"type":"string","enum":["GB","JE","GG","IM"]},"__schema36":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]},"__schema37":{"type":"string"},"__schema38":{"type":"string","format":"date","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])))$"},"__schema39":{"type":"string","enum":["STANDARD","INITIALS_ONLY","ANONYMOUS"]},"__schema40":{"type":"string"},"__schema41":{"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)$"},"__schema42":{"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)$"},"__schema43":{"type":"string"},"__schema44":{"type":"string"},"__schema45":{"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)$"},"__schema46":{"type":"string","maxLength":100},"__schema47":{"maxItems":10000,"type":"array","items":{"$ref":"#/components/schemas/__schema48"}},"__schema48":{},"__schema49":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"requestId":{"type":"string"}},"required":["code","message","requestId"]},"__schema50":{"type":"string","description":"ISO-8601 UTC with milliseconds; countdowns depend on it."},"__schema51":{"type":"string"},"__schema52":{"type":["string","null"]},"__schema53":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"TenantConfig":{"type":"object","properties":{"tenant":{"$ref":"#/components/schemas/__schema54"},"postalEntry":{"$ref":"#/components/schemas/__schema61"},"branding":{"$ref":"#/components/schemas/__schema62"},"site":{"$ref":"#/components/schemas/__schema63"},"seo":{"$ref":"#/components/schemas/__schema64"},"support":{"$ref":"#/components/schemas/__schema65"},"socials":{"$ref":"#/components/schemas/__schema66"},"features":{"$ref":"#/components/schemas/__schema67"},"maintenance":{"$ref":"#/components/schemas/__schema68"},"competitions":{"$ref":"#/components/schemas/__schema69"},"consent":{"$ref":"#/components/schemas/__schema70"},"checkout":{"$ref":"#/components/schemas/__schema71"},"payments":{"$ref":"#/components/schemas/__schema72"},"cookies":{"$ref":"#/components/schemas/__schema73"},"auth":{"$ref":"#/components/schemas/__schema74"},"age":{"$ref":"#/components/schemas/__schema75"},"limits":{"$ref":"#/components/schemas/__schema76"},"freeEntry":{"$ref":"#/components/schemas/__schema77"},"wallet":{"$ref":"#/components/schemas/__schema78"},"prizes":{"$ref":"#/components/schemas/__schema79"},"complaints":{"$ref":"#/components/schemas/__schema80"},"winners":{"$ref":"#/components/schemas/__schema81"},"activity":{"$ref":"#/components/schemas/__schema82"},"responsiblePlay":{"$ref":"#/components/schemas/__schema83"},"compliance":{"$ref":"#/components/schemas/__schema84"},"locale":{"$ref":"#/components/schemas/__schema85"},"currency":{"$ref":"#/components/schemas/__schema86"},"timeZone":{"$ref":"#/components/schemas/__schema87"}},"required":["tenant","postalEntry","branding","site","seo","support","socials","features","maintenance","competitions","consent","checkout","payments","cookies","auth","age","limits","freeEntry","wallet","prizes","complaints","winners","activity","responsiblePlay","compliance","locale","currency","timeZone"],"additionalProperties":false,"description":"Public tenant configuration: everything a client needs to build valid calls."},"Address":{"type":"object","properties":{"line1":{"$ref":"#/components/schemas/__schema55"},"line2":{"$ref":"#/components/schemas/__schema56"},"town":{"$ref":"#/components/schemas/__schema57"},"county":{"$ref":"#/components/schemas/__schema58"},"postcode":{"$ref":"#/components/schemas/__schema59"},"countryCode":{"$ref":"#/components/schemas/__schema60"}},"required":["line1","line2","town","county","postcode","countryCode"],"additionalProperties":false,"description":"A postal address."},"Menu":{"type":"object","properties":{"items":{"$ref":"#/components/schemas/__schema91"}},"required":["items"],"additionalProperties":false,"description":"A navigation menu (visible items only)."},"MenuItem":{"type":"object","properties":{"label":{"$ref":"#/components/schemas/__schema92"},"href":{"$ref":"#/components/schemas/__schema93"},"visible":{"$ref":"#/components/schemas/__schema94"},"children":{"$ref":"#/components/schemas/__schema95"}},"required":["label","href"],"additionalProperties":false,"description":"A navigation menu item."},"Home":{"type":"object","properties":{"heroSlides":{"$ref":"#/components/schemas/__schema96"},"stats":{"$ref":"#/components/schemas/__schema141"},"sections":{"$ref":"#/components/schemas/__schema149"},"featuredInstantWin":{"$ref":"#/components/schemas/__schema150"},"howItWorks":{"$ref":"#/components/schemas/__schema151"},"trustBullets":{"$ref":"#/components/schemas/__schema152"},"nextLiveDraw":{"$ref":"#/components/schemas/__schema153"},"schedule":{"$ref":"#/components/schemas/__schema171"}},"required":["heroSlides","stats","sections","featuredInstantWin","howItWorks","trustBullets","nextLiveDraw","schedule"],"additionalProperties":false,"description":"Home-page aggregate."},"HeroSlide":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema97"},"competition":{"$ref":"#/components/schemas/__schema98"},"linkUrl":{"$ref":"#/components/schemas/__schema135"},"line1":{"$ref":"#/components/schemas/__schema136"},"line2":{"$ref":"#/components/schemas/__schema137"},"kicker":{"$ref":"#/components/schemas/__schema138"},"image":{"$ref":"#/components/schemas/__schema139"},"order":{"$ref":"#/components/schemas/__schema140"}},"required":["id","competition","linkUrl","line1","line2","kicker","image","order"],"additionalProperties":false,"description":"A home-page hero slide."},"CompetitionCard":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema99"},"slug":{"$ref":"#/components/schemas/__schema100"},"title":{"$ref":"#/components/schemas/__schema101"},"shortTitle":{"$ref":"#/components/schemas/__schema102"},"category":{"$ref":"#/components/schemas/__schema103"},"media":{"$ref":"#/components/schemas/Media"},"ticketPrice":{"$ref":"#/components/schemas/Money"},"maxPerPerson":{"$ref":"#/components/schemas/__schema115"},"cashAlternative":{"$ref":"#/components/schemas/__schema116"},"totalTickets":{"$ref":"#/components/schemas/__schema117"},"soldTickets":{"$ref":"#/components/schemas/__schema118"},"reservedTickets":{"$ref":"#/components/schemas/__schema119"},"remainingTickets":{"$ref":"#/components/schemas/__schema120"},"percentSold":{"$ref":"#/components/schemas/__schema121"},"opensAt":{"$ref":"#/components/schemas/__schema122"},"closesAt":{"$ref":"#/components/schemas/__schema123"},"drawAt":{"$ref":"#/components/schemas/__schema124"},"drawMode":{"$ref":"#/components/schemas/__schema125"},"status":{"$ref":"#/components/schemas/__schema126"},"priority":{"$ref":"#/components/schemas/__schema127"},"pinned":{"$ref":"#/components/schemas/__schema128"},"showProgress":{"$ref":"#/components/schemas/__schema129"},"salesPaused":{"$ref":"#/components/schemas/__schema130"},"badges":{"$ref":"#/components/schemas/__schema131"},"instantWins":{"$ref":"#/components/schemas/__schema132"},"charity":{"$ref":"#/components/schemas/__schema133"}},"required":["id","slug","title","shortTitle","category","media","ticketPrice","maxPerPerson","cashAlternative","totalTickets","soldTickets","reservedTickets","remainingTickets","percentSold","opensAt","closesAt","drawAt","drawMode","status","priority","pinned","showProgress","salesPaused","badges","instantWins","charity"],"additionalProperties":false,"description":"Competition summary shown in lists and cards."},"Media":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/__schema104"},"url":{"$ref":"#/components/schemas/__schema105"},"alt":{"$ref":"#/components/schemas/__schema106"},"focalX":{"$ref":"#/components/schemas/__schema107"},"focalY":{"$ref":"#/components/schemas/__schema108"},"srcset":{"$ref":"#/components/schemas/__schema109"},"cashArt":{"$ref":"#/components/schemas/__schema110"},"renderedUrl":{"$ref":"#/components/schemas/__schema111"}},"required":["type","url","alt","focalX","focalY","srcset","cashArt","renderedUrl"],"additionalProperties":false,"description":"An image or cash-art media item."},"Money":{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/__schema113"},"currency":{"$ref":"#/components/schemas/__schema114"}},"required":["amount","currency"],"additionalProperties":false,"description":"An amount of money in integer pence."},"Stat":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/__schema142"},"label":{"$ref":"#/components/schemas/__schema143"},"value":{"$ref":"#/components/schemas/__schema144"},"display":{"$ref":"#/components/schemas/__schema145"},"prefix":{"$ref":"#/components/schemas/__schema146"},"suffix":{"$ref":"#/components/schemas/__schema147"},"decimals":{"$ref":"#/components/schemas/__schema148"}},"required":["key","label","value","display","prefix","suffix","decimals"],"additionalProperties":false,"description":"A stats-band item."},"LiveDraw":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema154"},"title":{"$ref":"#/components/schemas/__schema155"},"subtitle":{"$ref":"#/components/schemas/__schema156"},"scheduledAt":{"$ref":"#/components/schemas/__schema157"},"status":{"$ref":"#/components/schemas/__schema158"},"stream":{"$ref":"#/components/schemas/__schema159"},"replayUrl":{"$ref":"#/components/schemas/__schema160"},"posterUrl":{"$ref":"#/components/schemas/__schema161"},"competitions":{"$ref":"#/components/schemas/__schema162"},"remindersCount":{"$ref":"#/components/schemas/__schema164"},"viewerCount":{"$ref":"#/components/schemas/__schema165"},"watermarkText":{"$ref":"#/components/schemas/__schema166"},"me":{"$ref":"#/components/schemas/__schema167"}},"required":["id","title","subtitle","scheduledAt","status","stream","replayUrl","posterUrl","competitions","remindersCount","viewerCount","watermarkText","me"],"additionalProperties":false,"description":"A live-draw session."},"Reminder":{"type":"object","properties":{"active":{"$ref":"#/components/schemas/__schema169"},"sendAt":{"$ref":"#/components/schemas/__schema170"}},"required":["active","sendAt"],"additionalProperties":false,"description":"The player's reminder state for a live-draw session."},"ActivityItem":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema172"},"type":{"$ref":"#/components/schemas/__schema173"},"firstName":{"$ref":"#/components/schemas/__schema174"},"location":{"$ref":"#/components/schemas/__schema175"},"quantity":{"$ref":"#/components/schemas/__schema176"},"competition":{"$ref":"#/components/schemas/__schema177"},"prizeLabel":{"$ref":"#/components/schemas/__schema178"},"occurredAt":{"$ref":"#/components/schemas/__schema179"}},"required":["id","type","firstName","location","quantity","competition","prizeLabel","occurredAt"],"additionalProperties":false,"description":"A real activity-ticker event."},"CmsPage":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/__schema180"},"slug":{"$ref":"#/components/schemas/__schema181"},"title":{"$ref":"#/components/schemas/__schema182"},"body":{"$ref":"#/components/schemas/__schema183"},"version":{"$ref":"#/components/schemas/__schema184"},"effectiveFrom":{"$ref":"#/components/schemas/__schema185"},"updatedAt":{"$ref":"#/components/schemas/__schema186"},"seo":{"$ref":"#/components/schemas/__schema187"}},"required":["type","slug","title","body","version","effectiveFrom","updatedAt","seo"],"additionalProperties":false,"description":"A CMS page or the current version of a legal document."},"PageIndex":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/__schema188"},"legalType":{"$ref":"#/components/schemas/__schema189"},"slug":{"$ref":"#/components/schemas/__schema190"},"title":{"$ref":"#/components/schemas/__schema191"},"updatedAt":{"$ref":"#/components/schemas/__schema192"},"showInSitemap":{"$ref":"#/components/schemas/__schema193"}},"required":["type","legalType","slug","title","updatedAt","showInSitemap"],"additionalProperties":false,"description":"A page index entry."},"Faq":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema194"},"question":{"$ref":"#/components/schemas/__schema195"},"answerHtml":{"$ref":"#/components/schemas/__schema196"},"category":{"$ref":"#/components/schemas/__schema197"},"order":{"$ref":"#/components/schemas/__schema198"}},"required":["id","question","answerHtml","category","order"],"additionalProperties":false,"description":"A frequently asked question."},"LegalDocument":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/__schema199"},"slug":{"$ref":"#/components/schemas/__schema200"},"title":{"$ref":"#/components/schemas/__schema201"},"version":{"$ref":"#/components/schemas/__schema202"},"contentHash":{"$ref":"#/components/schemas/__schema203"},"effectiveFrom":{"$ref":"#/components/schemas/__schema204"},"html":{"$ref":"#/components/schemas/__schema205"}},"required":["type","slug","title","version","contentHash","effectiveFrom","html"],"additionalProperties":false,"description":"A published legal document version."},"Redirect":{"type":"object","properties":{"to":{"$ref":"#/components/schemas/__schema206"},"statusCode":{"$ref":"#/components/schemas/__schema207"}},"required":["to","statusCode"],"additionalProperties":false,"description":"A resolved redirect."},"Categories":{"type":"object","properties":{"categories":{"$ref":"#/components/schemas/__schema208"},"derived":{"$ref":"#/components/schemas/__schema217"}},"required":["categories","derived"],"additionalProperties":false,"description":"Visible categories plus derived pseudo-categories."},"Category":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema209"},"slug":{"$ref":"#/components/schemas/__schema210"},"name":{"$ref":"#/components/schemas/__schema211"},"description":{"$ref":"#/components/schemas/__schema212"},"icon":{"$ref":"#/components/schemas/__schema213"},"order":{"$ref":"#/components/schemas/__schema214"},"visible":{"$ref":"#/components/schemas/__schema215"},"liveCount":{"$ref":"#/components/schemas/__schema216"}},"required":["id","slug","name","description","icon","order","visible"],"additionalProperties":false,"description":"A competition category."},"CompetitionDetail":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema99"},"slug":{"$ref":"#/components/schemas/__schema100"},"title":{"$ref":"#/components/schemas/__schema101"},"shortTitle":{"$ref":"#/components/schemas/__schema102"},"category":{"$ref":"#/components/schemas/__schema103"},"media":{"$ref":"#/components/schemas/Media"},"ticketPrice":{"$ref":"#/components/schemas/Money"},"maxPerPerson":{"$ref":"#/components/schemas/__schema115"},"cashAlternative":{"$ref":"#/components/schemas/__schema116"},"totalTickets":{"$ref":"#/components/schemas/__schema117"},"soldTickets":{"$ref":"#/components/schemas/__schema118"},"reservedTickets":{"$ref":"#/components/schemas/__schema119"},"remainingTickets":{"$ref":"#/components/schemas/__schema120"},"percentSold":{"$ref":"#/components/schemas/__schema121"},"opensAt":{"$ref":"#/components/schemas/__schema122"},"closesAt":{"$ref":"#/components/schemas/__schema123"},"drawAt":{"$ref":"#/components/schemas/__schema124"},"drawMode":{"$ref":"#/components/schemas/__schema125"},"status":{"$ref":"#/components/schemas/__schema126"},"priority":{"$ref":"#/components/schemas/__schema127"},"pinned":{"$ref":"#/components/schemas/__schema128"},"showProgress":{"$ref":"#/components/schemas/__schema129"},"salesPaused":{"$ref":"#/components/schemas/__schema130"},"badges":{"$ref":"#/components/schemas/__schema131"},"instantWins":{"$ref":"#/components/schemas/__schema132"},"charity":{"$ref":"#/components/schemas/__schema220"},"summary":{"$ref":"#/components/schemas/__schema221"},"descriptionHtml":{"$ref":"#/components/schemas/__schema222"},"specs":{"$ref":"#/components/schemas/__schema223"},"deliveryNotes":{"$ref":"#/components/schemas/__schema224"},"gallery":{"$ref":"#/components/schemas/__schema225"},"prizes":{"$ref":"#/components/schemas/__schema226"},"odds":{"$ref":"#/components/schemas/__schema227"},"howItWorks":{"$ref":"#/components/schemas/__schema228"},"terms":{"$ref":"#/components/schemas/__schema229"},"skillQuestion":{"$ref":"#/components/schemas/__schema230"},"entry":{"$ref":"#/components/schemas/__schema232"},"draw":{"$ref":"#/components/schemas/__schema233"},"instantWinDetail":{"$ref":"#/components/schemas/__schema234"},"freeEntry":{"$ref":"#/components/schemas/__schema246"},"eligibility":{"$ref":"#/components/schemas/__schema247"},"promoter":{"$ref":"#/components/schemas/__schema248"},"trustBullets":{"$ref":"#/components/schemas/__schema249"},"seo":{"$ref":"#/components/schemas/__schema250"},"me":{"$ref":"#/components/schemas/__schema251"}},"required":["id","slug","title","shortTitle","category","media","ticketPrice","maxPerPerson","cashAlternative","totalTickets","soldTickets","reservedTickets","remainingTickets","percentSold","opensAt","closesAt","drawAt","drawMode","status","priority","pinned","showProgress","salesPaused","badges","instantWins","charity","summary","descriptionHtml","specs","deliveryNotes","gallery","prizes","odds","howItWorks","terms","skillQuestion","entry","draw","instantWinDetail","freeEntry","eligibility","promoter","trustBullets","seo","me"],"additionalProperties":false,"description":"Full competition detail."},"InstantWinTier":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema235"},"key":{"$ref":"#/components/schemas/__schema236"},"name":{"$ref":"#/components/schemas/__schema237"},"prizeType":{"$ref":"#/components/schemas/__schema238"},"value":{"$ref":"#/components/schemas/Money"},"cashAlternative":{"$ref":"#/components/schemas/__schema239"},"quantity":{"$ref":"#/components/schemas/__schema240"},"won":{"$ref":"#/components/schemas/__schema241"},"remaining":{"$ref":"#/components/schemas/__schema242"},"icon":{"$ref":"#/components/schemas/__schema243"},"imageUrl":{"$ref":"#/components/schemas/__schema244"},"variant":{"$ref":"#/components/schemas/__schema245"}},"required":["id","key","name","prizeType","value","cashAlternative","quantity","won","remaining","icon","imageUrl","variant"],"additionalProperties":false,"description":"An instant-win prize tier."},"Availability":{"type":"object","properties":{"from":{"$ref":"#/components/schemas/__schema253"},"to":{"$ref":"#/components/schemas/__schema254"},"digits":{"$ref":"#/components/schemas/__schema255"},"status":{"$ref":"#/components/schemas/__schema256"},"remaining":{"$ref":"#/components/schemas/__schema257"},"randomFree":{"$ref":"#/components/schemas/__schema258"}},"required":["from","to","digits","status","remaining"],"additionalProperties":false,"description":"Ticket-number availability for a range."},"InstantWins":{"type":"object","properties":{"competitionId":{"$ref":"#/components/schemas/__schema259"},"total":{"$ref":"#/components/schemas/__schema260"},"won":{"$ref":"#/components/schemas/__schema261"},"remaining":{"$ref":"#/components/schemas/__schema262"},"tiers":{"$ref":"#/components/schemas/__schema263"},"wins":{"$ref":"#/components/schemas/__schema264"},"commitment":{"$ref":"#/components/schemas/__schema268"},"madeAtMigration":{"$ref":"#/components/schemas/__schema269"},"revealedAt":{"$ref":"#/components/schemas/__schema270"},"revealedDocument":{"$ref":"#/components/schemas/__schema271"},"numbers":{"$ref":"#/components/schemas/__schema273"}},"required":["competitionId","total","won","remaining","tiers","wins","commitment","madeAtMigration","revealedAt","revealedDocument","numbers"],"additionalProperties":false,"description":"Instant wins of one competition."},"EntryList":{"type":"object","properties":{"competitionId":{"$ref":"#/components/schemas/__schema275"},"publishedAt":{"$ref":"#/components/schemas/__schema276"},"entries":{"$ref":"#/components/schemas/__schema277"},"nextCursor":{"$ref":"#/components/schemas/__schema280"},"downloadUrl":{"$ref":"#/components/schemas/__schema281"},"snapshotUrl":{"$ref":"#/components/schemas/__schema282"}},"required":["competitionId","publishedAt","entries","nextCursor","downloadUrl","snapshotUrl"],"additionalProperties":false,"description":"A page of the published entry list."},"Result":{"type":"object","properties":{"competition":{"$ref":"#/components/schemas/CompetitionCard"},"drawId":{"$ref":"#/components/schemas/__schema283"},"drawnAt":{"$ref":"#/components/schemas/__schema284"},"drawnAtEstimated":{"$ref":"#/components/schemas/__schema285"},"mode":{"$ref":"#/components/schemas/__schema286"},"method":{"$ref":"#/components/schemas/__schema287"},"proof":{"$ref":"#/components/schemas/__schema288"},"videoUrl":{"$ref":"#/components/schemas/__schema289"},"winners":{"$ref":"#/components/schemas/__schema290"},"entryListUrl":{"$ref":"#/components/schemas/__schema293"},"snapshotUrl":{"$ref":"#/components/schemas/__schema294"}},"required":["competition","drawId","drawnAt","drawnAtEstimated","mode","method","proof","videoUrl","winners","entryListUrl","snapshotUrl"],"additionalProperties":false,"description":"The result of one draw."},"DrawCertificate":{"type":"object","properties":{"competition":{"$ref":"#/components/schemas/__schema295"},"promoter":{"$ref":"#/components/schemas/__schema296"},"drawId":{"$ref":"#/components/schemas/__schema297"},"mode":{"$ref":"#/components/schemas/__schema298"},"method":{"$ref":"#/components/schemas/__schema299"},"algorithm":{"$ref":"#/components/schemas/__schema300"},"seedCommitment":{"$ref":"#/components/schemas/__schema301"},"seedCommittedAt":{"$ref":"#/components/schemas/__schema302"},"seedRevealed":{"$ref":"#/components/schemas/__schema303"},"trustModel":{"$ref":"#/components/schemas/__schema304"},"completedAt":{"$ref":"#/components/schemas/__schema305"},"snapshot":{"$ref":"#/components/schemas/__schema306"},"selections":{"$ref":"#/components/schemas/__schema308"},"unawarded":{"$ref":"#/components/schemas/__schema310"},"operatorRole":{"$ref":"#/components/schemas/__schema311"},"independentPerson":{"$ref":"#/components/schemas/__schema312"},"deviceDescription":{"$ref":"#/components/schemas/__schema313"},"proofUrl":{"$ref":"#/components/schemas/__schema314"},"videoUrl":{"$ref":"#/components/schemas/__schema315"},"instantWins":{"$ref":"#/components/schemas/__schema316"},"entryListUrl":{"$ref":"#/components/schemas/__schema317"},"snapshotUrl":{"$ref":"#/components/schemas/__schema318"},"verification":{"$ref":"#/components/schemas/__schema319"},"legacyProof":{"$ref":"#/components/schemas/__schema320"}},"required":["competition","promoter","drawId","mode","method","algorithm","seedCommitment","seedCommittedAt","seedRevealed","trustModel","completedAt","snapshot","selections","unawarded","operatorRole","independentPerson","deviceDescription","proofUrl","videoUrl","instantWins","entryListUrl","snapshotUrl","verification","legacyProof"],"additionalProperties":false,"description":"Public draw certificate: everything needed to recompute the draw."},"RecentInstantWin":{"type":"object","properties":{"competition":{"$ref":"#/components/schemas/__schema321"},"ticketNumber":{"$ref":"#/components/schemas/__schema322"},"tierId":{"$ref":"#/components/schemas/__schema323"},"prizeName":{"$ref":"#/components/schemas/__schema324"},"prizeType":{"$ref":"#/components/schemas/__schema325"},"value":{"$ref":"#/components/schemas/Money"},"winner":{"$ref":"#/components/schemas/__schema326"},"wonAt":{"$ref":"#/components/schemas/__schema329"}},"required":["competition","ticketNumber","tierId","prizeName","prizeType","value","winner","wonAt"],"additionalProperties":false,"description":"A recent instant win across competitions."},"WinnerCard":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema330"},"kind":{"$ref":"#/components/schemas/__schema331"},"name":{"$ref":"#/components/schemas/__schema332"},"prizeTitle":{"$ref":"#/components/schemas/__schema334"},"imageUrl":{"$ref":"#/components/schemas/__schema335"},"ticketNumber":{"$ref":"#/components/schemas/__schema336"},"drawnAt":{"$ref":"#/components/schemas/__schema337"},"verified":{"$ref":"#/components/schemas/__schema338"},"featured":{"$ref":"#/components/schemas/__schema339"},"competition":{"$ref":"#/components/schemas/__schema340"},"testimonial":{"$ref":"#/components/schemas/__schema341"},"videoUrl":{"$ref":"#/components/schemas/__schema342"}},"required":["id","kind","name","prizeTitle","imageUrl","ticketNumber","drawnAt","verified","featured","competition","testimonial","videoUrl"],"additionalProperties":false,"description":"A published winner."},"BasketCreated":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema343"},"token":{"$ref":"#/components/schemas/__schema344"},"expiresAt":{"$ref":"#/components/schemas/__schema345"}},"required":["id","token","expiresAt"],"additionalProperties":false,"description":"A newly created basket and its token."},"Basket":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema346"},"lines":{"$ref":"#/components/schemas/__schema347"},"coupon":{"$ref":"#/components/schemas/__schema359"},"subtotal":{"$ref":"#/components/schemas/Money"},"discount":{"$ref":"#/components/schemas/Money"},"total":{"$ref":"#/components/schemas/Money"},"vatIncluded":{"$ref":"#/components/schemas/Money"},"bundleDiscount":{"$ref":"#/components/schemas/__schema360"},"wallet":{"$ref":"#/components/schemas/__schema361"},"lineCount":{"$ref":"#/components/schemas/__schema363"},"ticketCount":{"$ref":"#/components/schemas/__schema364"},"expiresAt":{"$ref":"#/components/schemas/__schema365"},"freeEntryUrl":{"$ref":"#/components/schemas/__schema366"}},"required":["id","lines","coupon","subtotal","discount","total","vatIncluded","wallet","lineCount","ticketCount","expiresAt","freeEntryUrl"],"additionalProperties":false,"description":"A basket with priced lines."},"BasketLine":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema348"},"competition":{"$ref":"#/components/schemas/CompetitionCard"},"luckyDipQuantity":{"$ref":"#/components/schemas/__schema349"},"pickedNumbers":{"$ref":"#/components/schemas/__schema350"},"quantity":{"$ref":"#/components/schemas/__schema351"},"unitPrice":{"$ref":"#/components/schemas/Money"},"lineTotal":{"$ref":"#/components/schemas/Money"},"holdExpiresAt":{"$ref":"#/components/schemas/__schema352"},"skillAnswer":{"$ref":"#/components/schemas/__schema353"},"maxLuckyDip":{"$ref":"#/components/schemas/__schema355"},"problems":{"$ref":"#/components/schemas/__schema356"},"bundle":{"$ref":"#/components/schemas/__schema357"}},"required":["id","competition","luckyDipQuantity","pickedNumbers","quantity","unitPrice","lineTotal","holdExpiresAt","skillAnswer","maxLuckyDip","problems"],"additionalProperties":false,"description":"A line of a basket."},"CheckoutResult":{"type":"object","properties":{"orderId":{"$ref":"#/components/schemas/__schema367"},"orderNumber":{"$ref":"#/components/schemas/__schema368"},"status":{"$ref":"#/components/schemas/__schema369"},"payment":{"$ref":"#/components/schemas/__schema370"},"holdsExpireAt":{"$ref":"#/components/schemas/__schema377"}},"required":["orderId","orderNumber","status","payment","holdsExpireAt"],"additionalProperties":false,"description":"Result of placing an order."},"PaymentSession":{"type":"object","properties":{"provider":{"$ref":"#/components/schemas/__schema371"},"mode":{"$ref":"#/components/schemas/__schema372"},"redirectUrl":{"$ref":"#/components/schemas/__schema373"},"expiresAt":{"$ref":"#/components/schemas/__schema374"},"creditCardsAccepted":{"$ref":"#/components/schemas/__schema375"},"methods":{"$ref":"#/components/schemas/__schema376"}},"required":["provider","mode","redirectUrl","expiresAt","creditCardsAccepted","methods"],"additionalProperties":false,"description":"A hosted payment session the client redirects to."},"OrderStatus":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/__schema378"},"failureReason":{"$ref":"#/components/schemas/__schema379"},"attempt":{"$ref":"#/components/schemas/__schema380"},"holdsExpireAt":{"$ref":"#/components/schemas/__schema381"}},"required":["status","failureReason","attempt","holdsExpireAt"],"additionalProperties":false,"description":"Polling status of an order."},"AuthSession":{"type":"object","properties":{"accessToken":{"$ref":"#/components/schemas/__schema383"},"refreshToken":{"$ref":"#/components/schemas/__schema384"},"expiresIn":{"$ref":"#/components/schemas/__schema385"},"tokenType":{"$ref":"#/components/schemas/__schema386"},"player":{"$ref":"#/components/schemas/Me"}},"required":["accessToken","refreshToken","expiresIn","tokenType","player"],"additionalProperties":false,"description":"A signed-in session: tokens and the player."},"Me":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema387"},"email":{"$ref":"#/components/schemas/__schema388"},"emailVerified":{"$ref":"#/components/schemas/__schema389"},"firstName":{"$ref":"#/components/schemas/__schema390"},"lastName":{"$ref":"#/components/schemas/__schema391"},"displayName":{"$ref":"#/components/schemas/__schema392"},"dateOfBirth":{"$ref":"#/components/schemas/__schema393"},"dateOfBirthRequired":{"$ref":"#/components/schemas/__schema395"},"phone":{"$ref":"#/components/schemas/__schema396"},"status":{"$ref":"#/components/schemas/__schema397"},"ageVerification":{"$ref":"#/components/schemas/__schema398"},"wallet":{"$ref":"#/components/schemas/WalletBalances"},"restriction":{"$ref":"#/components/schemas/__schema401"},"spendRemaining":{"$ref":"#/components/schemas/__schema403"},"marketing":{"$ref":"#/components/schemas/__schema405"},"publicDisplay":{"$ref":"#/components/schemas/__schema406"},"showInActivityFeed":{"$ref":"#/components/schemas/__schema407"},"termsReacceptance":{"$ref":"#/components/schemas/__schema408"},"counts":{"$ref":"#/components/schemas/__schema409"}},"required":["id","email","emailVerified","firstName","lastName","displayName","dateOfBirth","dateOfBirthRequired","phone","status","ageVerification","wallet","restriction","spendRemaining","marketing","publicDisplay","showInActivityFeed","termsReacceptance","counts"],"additionalProperties":false,"description":"The authenticated player."},"WalletBalances":{"type":"object","properties":{"cash":{"$ref":"#/components/schemas/__schema399"},"credit":{"$ref":"#/components/schemas/__schema400"}},"required":["cash","credit"],"additionalProperties":false,"description":"Wallet balances, always split into cash and credit. available = balance - reserved - frozen."},"Tokens":{"type":"object","properties":{"accessToken":{"$ref":"#/components/schemas/__schema410"},"refreshToken":{"$ref":"#/components/schemas/__schema411"},"expiresIn":{"$ref":"#/components/schemas/__schema412"},"tokenType":{"$ref":"#/components/schemas/__schema413"}},"required":["accessToken","refreshToken","expiresIn","tokenType"],"additionalProperties":false,"description":"A bearer token pair."},"AddressBookEntry":{"type":"object","properties":{"line1":{"$ref":"#/components/schemas/__schema55"},"line2":{"$ref":"#/components/schemas/__schema56"},"town":{"$ref":"#/components/schemas/__schema57"},"county":{"$ref":"#/components/schemas/__schema58"},"postcode":{"$ref":"#/components/schemas/__schema59"},"countryCode":{"$ref":"#/components/schemas/__schema60"},"id":{"$ref":"#/components/schemas/__schema414"},"type":{"$ref":"#/components/schemas/__schema415"},"isDefault":{"$ref":"#/components/schemas/__schema416"}},"required":["line1","line2","town","county","postcode","countryCode","id","type","isDefault"],"additionalProperties":false,"description":"A saved address."},"MyCompetitionTickets":{"type":"object","properties":{"competition":{"$ref":"#/components/schemas/CompetitionCard"},"ticketCount":{"$ref":"#/components/schemas/__schema417"},"postalCount":{"$ref":"#/components/schemas/__schema418"},"numbersPreview":{"$ref":"#/components/schemas/__schema419"},"instantWins":{"$ref":"#/components/schemas/__schema421"},"drawAt":{"$ref":"#/components/schemas/__schema422"},"result":{"$ref":"#/components/schemas/__schema423"}},"required":["competition","ticketCount","postalCount","numbersPreview","instantWins","drawAt","result"],"additionalProperties":false,"description":"The player's tickets in one competition."},"MyTicket":{"type":"object","properties":{"number":{"$ref":"#/components/schemas/__schema424"},"source":{"$ref":"#/components/schemas/__schema425"},"orderId":{"$ref":"#/components/schemas/__schema426"},"createdAt":{"$ref":"#/components/schemas/__schema427"},"eligible":{"$ref":"#/components/schemas/__schema428"},"instantWin":{"$ref":"#/components/schemas/__schema429"}},"required":["number","source","orderId","createdAt","eligible","instantWin"],"additionalProperties":false,"description":"One of the player's tickets."},"OrderSummary":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema430"},"number":{"$ref":"#/components/schemas/__schema431"},"placedAt":{"$ref":"#/components/schemas/__schema432"},"total":{"$ref":"#/components/schemas/Money"},"status":{"$ref":"#/components/schemas/__schema433"}},"required":["id","number","placedAt","total","status"],"additionalProperties":false,"description":"An order in a list."},"OrderDetail":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema430"},"number":{"$ref":"#/components/schemas/__schema431"},"placedAt":{"$ref":"#/components/schemas/__schema432"},"total":{"$ref":"#/components/schemas/Money"},"status":{"$ref":"#/components/schemas/__schema433"},"lines":{"$ref":"#/components/schemas/__schema434"},"subtotal":{"$ref":"#/components/schemas/Money"},"discount":{"$ref":"#/components/schemas/Money"},"vat":{"$ref":"#/components/schemas/Money"},"net":{"$ref":"#/components/schemas/Money"},"tenders":{"$ref":"#/components/schemas/__schema436"},"card":{"$ref":"#/components/schemas/__schema437"},"refunds":{"$ref":"#/components/schemas/__schema438"},"paymentReturns":{"$ref":"#/components/schemas/__schema439"},"instantWins":{"$ref":"#/components/schemas/__schema441"},"failureReason":{"$ref":"#/components/schemas/__schema442"},"termsVersion":{"$ref":"#/components/schemas/__schema443"}},"required":["id","number","placedAt","total","status","lines","subtotal","discount","vat","net","tenders","card","refunds","paymentReturns","instantWins","failureReason","termsVersion"],"additionalProperties":false,"description":"Full order detail."},"LedgerLine":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema444"},"accountType":{"$ref":"#/components/schemas/__schema445"},"type":{"$ref":"#/components/schemas/__schema446"},"amountPence":{"$ref":"#/components/schemas/__schema447"},"amount":{"$ref":"#/components/schemas/__schema448"},"balanceAfter":{"$ref":"#/components/schemas/Money"},"description":{"$ref":"#/components/schemas/__schema449"},"reference":{"$ref":"#/components/schemas/__schema450"},"effectiveAt":{"$ref":"#/components/schemas/__schema451"},"createdAt":{"$ref":"#/components/schemas/__schema452"}},"required":["id","accountType","type","amountPence","amount","balanceAfter","description","reference","effectiveAt","createdAt"],"additionalProperties":false,"description":"A wallet ledger line."},"Withdrawal":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema453"},"reference":{"$ref":"#/components/schemas/__schema454"},"amount":{"$ref":"#/components/schemas/Money"},"status":{"$ref":"#/components/schemas/__schema455"},"bankAccountHint":{"$ref":"#/components/schemas/__schema456"},"requestedAt":{"$ref":"#/components/schemas/__schema457"},"confirmation":{"$ref":"#/components/schemas/__schema458"},"holdUntil":{"$ref":"#/components/schemas/__schema459"},"approvedAt":{"$ref":"#/components/schemas/__schema460"},"paidAt":{"$ref":"#/components/schemas/__schema461"},"rejectedReason":{"$ref":"#/components/schemas/__schema462"},"cancelledAt":{"$ref":"#/components/schemas/__schema463"},"cancellable":{"$ref":"#/components/schemas/__schema464"}},"required":["id","reference","amount","status","bankAccountHint","requestedAt","confirmation","holdUntil","approvedAt","paidAt","rejectedReason","cancelledAt","cancellable"],"additionalProperties":false,"description":"A wallet withdrawal request."},"Win":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema465"},"kind":{"$ref":"#/components/schemas/__schema466"},"competition":{"$ref":"#/components/schemas/CompetitionCard"},"ticketNumber":{"$ref":"#/components/schemas/__schema467"},"prize":{"$ref":"#/components/schemas/__schema469"},"wonAt":{"$ref":"#/components/schemas/__schema470"},"status":{"$ref":"#/components/schemas/__schema471"},"claim":{"$ref":"#/components/schemas/__schema472"},"fulfilment":{"$ref":"#/components/schemas/__schema473"}},"required":["id","kind","competition","ticketNumber","prize","wonAt","status","claim","fulfilment"],"additionalProperties":false,"description":"A prize win of the player."},"AgeStatus":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/__schema474"},"verificationId":{"$ref":"#/components/schemas/__schema475"},"pending":{"$ref":"#/components/schemas/__schema476"},"method":{"$ref":"#/components/schemas/__schema477"},"documentsSubmitted":{"$ref":"#/components/schemas/__schema478"},"externalPending":{"$ref":"#/components/schemas/__schema480"}},"required":["status","verificationId","pending","method"],"additionalProperties":false,"description":"Age verification status."},"AgeCheckStart":{"oneOf":[{"$ref":"#/components/schemas/__schema482"},{"$ref":"#/components/schemas/__schema483"},{"$ref":"#/components/schemas/__schema484"}],"description":"The provider's next step for an age check.","type":"object","discriminator":{"propertyName":"kind","mapping":{"UPLOAD_REQUIRED":"#/components/schemas/__schema482","REDIRECT":"#/components/schemas/__schema483","COMPLETED":"#/components/schemas/__schema484"}}},"AgeRefresh":{"type":"object","properties":{"verificationId":{"$ref":"#/components/schemas/__schema485"},"status":{"$ref":"#/components/schemas/__schema486"}},"required":["verificationId","status"],"additionalProperties":false,"description":"The state of a provider age check after reading the provider's result."},"RpStatus":{"type":"object","properties":{"mode":{"$ref":"#/components/schemas/__schema487"},"limits":{"$ref":"#/components/schemas/__schema488"},"coolOffHours":{"$ref":"#/components/schemas/__schema489"},"restriction":{"$ref":"#/components/schemas/__schema490"},"pauseOptions":{"$ref":"#/components/schemas/__schema492"},"suspensionOptions":{"$ref":"#/components/schemas/__schema493"},"supportLinks":{"$ref":"#/components/schemas/__schema494"}},"required":["mode","limits","coolOffHours","restriction","pauseOptions","suspensionOptions","supportLinks"],"additionalProperties":false,"description":"Responsible-play limits and restriction status."},"Preferences":{"type":"object","properties":{"marketing":{"$ref":"#/components/schemas/__schema495"},"wording":{"$ref":"#/components/schemas/__schema496"},"publicDisplay":{"$ref":"#/components/schemas/__schema497"},"showInActivityFeed":{"$ref":"#/components/schemas/__schema498"},"reminderChannel":{"$ref":"#/components/schemas/__schema499"},"consentHistory":{"$ref":"#/components/schemas/__schema500"}},"required":["marketing","wording","publicDisplay","showInActivityFeed","reminderChannel","consentHistory"],"additionalProperties":false,"description":"Marketing and display preferences."},"MyReminder":{"type":"object","properties":{"sessionId":{"$ref":"#/components/schemas/__schema502"},"scheduledAt":{"$ref":"#/components/schemas/__schema503"},"channel":{"$ref":"#/components/schemas/__schema504"}},"required":["sessionId","scheduledAt","channel"],"additionalProperties":false,"description":"One of the player's live-draw reminders."},"DataRequest":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema506"},"reference":{"$ref":"#/components/schemas/__schema507"},"type":{"$ref":"#/components/schemas/__schema508"},"status":{"$ref":"#/components/schemas/__schema509"},"createdAt":{"$ref":"#/components/schemas/__schema510"},"dueAt":{"$ref":"#/components/schemas/__schema511"},"completedAt":{"$ref":"#/components/schemas/__schema512"},"export":{"$ref":"#/components/schemas/__schema513"}},"required":["id","reference","type","status","createdAt","dueAt","completedAt","export"],"additionalProperties":false,"description":"A data-rights request of the player."},"ImportJob":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema514"},"sourceSystem":{"$ref":"#/components/schemas/__schema515"},"profile":{"$ref":"#/components/schemas/__schema516"},"mode":{"$ref":"#/components/schemas/__schema517"},"status":{"$ref":"#/components/schemas/__schema518"},"createdVia":{"$ref":"#/components/schemas/__schema519"},"createdAt":{"$ref":"#/components/schemas/__schema520"},"createdBy":{"$ref":"#/components/schemas/__schema521"},"runSeq":{"$ref":"#/components/schemas/__schema522"},"options":{"$ref":"#/components/schemas/__schema523"},"manifest":{"$ref":"#/components/schemas/__schema536"},"mappingSaved":{"$ref":"#/components/schemas/__schema538"},"version":{"$ref":"#/components/schemas/__schema539"},"files":{"$ref":"#/components/schemas/__schema540"},"counts":{"$ref":"#/components/schemas/__schema541"},"progress":{"$ref":"#/components/schemas/__schema542"},"report":{"$ref":"#/components/schemas/__schema543"},"approval":{"$ref":"#/components/schemas/__schema544"},"rollback":{"$ref":"#/components/schemas/__schema545"},"migrationGoLiveAt":{"$ref":"#/components/schemas/__schema546"},"startedAt":{"$ref":"#/components/schemas/__schema547"},"completedAt":{"$ref":"#/components/schemas/__schema548"},"failedReason":{"$ref":"#/components/schemas/__schema549"}},"required":["id","sourceSystem","profile","mode","status","createdVia","createdAt","createdBy","runSeq","options","manifest","mappingSaved","version","files","counts","progress","report","approval","rollback","migrationGoLiveAt","startedAt","completedAt","failedReason"],"additionalProperties":false,"description":"An import job."},"ImportJobRow":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/__schema550"},"sourceSystem":{"$ref":"#/components/schemas/__schema551"},"profile":{"$ref":"#/components/schemas/__schema552"},"mode":{"$ref":"#/components/schemas/__schema553"},"status":{"$ref":"#/components/schemas/__schema554"},"createdVia":{"$ref":"#/components/schemas/__schema555"},"createdAt":{"$ref":"#/components/schemas/__schema556"},"createdBy":{"$ref":"#/components/schemas/__schema557"},"runSeq":{"$ref":"#/components/schemas/__schema558"},"entities":{"$ref":"#/components/schemas/__schema559"},"counts":{"$ref":"#/components/schemas/__schema561"},"progress":{"$ref":"#/components/schemas/__schema562"},"approvedAt":{"$ref":"#/components/schemas/__schema563"},"startedAt":{"$ref":"#/components/schemas/__schema564"},"completedAt":{"$ref":"#/components/schemas/__schema565"},"failedReason":{"$ref":"#/components/schemas/__schema566"},"version":{"$ref":"#/components/schemas/__schema567"}},"required":["id","sourceSystem","profile","mode","status","createdVia","createdAt","createdBy","runSeq","entities","counts","progress","approvedAt","startedAt","completedAt","failedReason","version"],"additionalProperties":false,"description":"An import job in a list."},"ImportReport":{"type":"object","propertyNames":{"$ref":"#/components/schemas/__schema568"},"additionalProperties":{"$ref":"#/components/schemas/__schema569"},"description":"The import report JSON (validation or conversion report)."},"__schema54":{"type":"object","properties":{"name":{"type":"string"},"tradingName":{"type":"string"},"legalName":{"type":"string"},"companyNumber":{"type":"string"},"partOfUk":{"type":"string"},"registeredOffice":{"$ref":"#/components/schemas/Address"},"geographicAddress":{"$ref":"#/components/schemas/Address"},"vatRegistered":{"type":"boolean"},"vatNumber":{"type":["string","null"]},"contactEmail":{"type":"string"},"phone":{"type":["string","null"]},"icoRegistrationNumber":{"type":["string","null"]},"privacyContactEmail":{"type":"string"},"complaintsContactEmail":{"type":"string"}},"required":["name","tradingName","legalName","companyNumber","partOfUk","registeredOffice","geographicAddress","vatRegistered","vatNumber","contactEmail","phone","icoRegistrationNumber","privacyContactEmail","complaintsContactEmail"],"additionalProperties":false},"__schema55":{"type":"string"},"__schema56":{"type":["string","null"]},"__schema57":{"type":"string"},"__schema58":{"type":["string","null"]},"__schema59":{"type":"string"},"__schema60":{"type":"string"},"__schema61":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/Address"},"pageSlug":{"type":"string"}},"required":["address","pageSlug"],"additionalProperties":false},"__schema62":{"type":"object","properties":{"logos":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","null"]}},"colors":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"themeColor":{"type":"string"},"watermarkText":{"type":"string"},"tagline":{"type":"string"},"copyrightStrapline":{"type":"string"}},"required":["logos","colors","themeColor","watermarkText","tagline","copyrightStrapline"],"additionalProperties":false},"__schema63":{"type":"object","properties":{"template":{"type":"string"},"copy":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["template","copy"],"additionalProperties":false},"__schema64":{"type":"object","properties":{"titleTemplate":{"type":"string"},"defaultTitle":{"type":"string"},"defaultDescription":{"type":"string"},"defaultOgImageUrl":{"type":["string","null"]}},"required":["titleTemplate","defaultTitle","defaultDescription","defaultOgImageUrl"],"additionalProperties":false},"__schema65":{"type":"object","properties":{"hoursText":{"type":"string"},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"whatsapp":{"type":["string","null"]},"chat":{"anyOf":[{"type":"object","properties":{"provider":{"type":"string"},"widgetId":{"type":"string"}},"required":["provider","widgetId"],"additionalProperties":false},{"type":"null"}]},"primaryChannel":{"type":"string"}},"required":["hoursText","email","phone","whatsapp","chat","primaryChannel"],"additionalProperties":false},"__schema66":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","null"]}},"__schema67":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"boolean"}},"__schema68":{"type":"object","properties":{"enabled":{"type":"boolean"},"message":{"type":["string","null"]}},"required":["enabled","message"],"additionalProperties":false},"__schema69":{"type":"object","properties":{"endingSoonHours":{"type":"number"},"lowOddsMaxTickets":{"type":"number"},"urgencyThresholdHours":{"type":"number"},"unwonInstantPrizes":{"type":"string","enum":["DRAW_AT_CLOSE","NOT_AWARDED_DISCLOSED"]},"wrongAnswerBehaviour":{"type":"string","enum":["ACCEPT_INELIGIBLE","BLOCK_CHECKOUT"]},"eligibleRegionDefault":{"type":"string","enum":["UK","GB_ONLY","UK_EXCL_NI"]},"allowCrownDependencies":{"type":"boolean"},"holdTtlSeconds":{"type":"number"},"checkoutHoldTtlSeconds":{"type":"number"},"reminderLeadMinutes":{"type":"number"},"rngAuditCertificateUrl":{"type":["string","null"]}},"required":["endingSoonHours","lowOddsMaxTickets","urgencyThresholdHours","unwonInstantPrizes","wrongAnswerBehaviour","eligibleRegionDefault","allowCrownDependencies","holdTtlSeconds","checkoutHoldTtlSeconds","reminderLeadMinutes","rngAuditCertificateUrl"],"additionalProperties":false},"__schema70":{"type":"object","properties":{"wording":{"type":"object","properties":{"email":{"type":"object","properties":{"version":{"type":"string"},"text":{"type":"string"}},"required":["version","text"],"additionalProperties":false},"sms":{"type":"object","properties":{"version":{"type":"string"},"text":{"type":"string"}},"required":["version","text"],"additionalProperties":false},"push":{"type":"object","properties":{"version":{"type":"string"},"text":{"type":"string"}},"required":["version","text"],"additionalProperties":false}},"required":["email","sms","push"],"additionalProperties":false},"channels":{"type":"object","properties":{"email":{"type":"boolean"},"sms":{"type":"boolean"},"push":{"type":"boolean"}},"required":["email","sms","push"],"additionalProperties":false},"newsletterDoubleOptIn":{"type":"boolean"}},"required":["wording","channels","newsletterDoubleOptIn"],"additionalProperties":false},"__schema71":{"type":"object","properties":{"cancellationApproach":{"type":"string","enum":["IMMEDIATE_PERFORMANCE_ACK","CANCEL_UNTIL_CLOSE"]},"cancellationWording":{"type":"object","properties":{"version":{"type":"string"},"text":{"type":"string"}},"required":["version","text"],"additionalProperties":false},"orderButtonLabel":{"type":"string","enum":["PAY_TOTAL_NOW","BUY_NOW_AND_PAY"]},"requireEmailVerified":{"type":"boolean"},"requirePhone":{"type":"boolean"},"anonymousBaskets":{"type":"boolean"},"couponsEnabled":{"type":"boolean"}},"required":["cancellationApproach","cancellationWording","orderButtonLabel","requireEmailVerified","requirePhone","anonymousBaskets","couponsEnabled"],"additionalProperties":false},"__schema72":{"type":"object","properties":{"methods":{"type":"array","items":{"type":"string","enum":["CARD","APPLE_PAY","GOOGLE_PAY"]}},"creditCardPolicyText":{"type":"string"},"creditCards":{"type":"object","properties":{"blockAll":{"type":"boolean"},"monthlyCapPence":{"type":"number"},"blockForInstantWin":{"type":"boolean"}},"required":["blockAll","monthlyCapPence","blockForInstantWin"],"additionalProperties":false}},"required":["methods","creditCardPolicyText","creditCards"],"additionalProperties":false},"__schema73":{"type":"object","properties":{"bannerVersion":{"type":"string"},"analyticsMode":{"type":"string","enum":["CONSENT","STATISTICAL_EXCEPTION"]}},"required":["bannerVersion","analyticsMode"],"additionalProperties":false},"__schema74":{"type":"object","properties":{"passwordMinLength":{"type":"number"}},"required":["passwordMinLength"],"additionalProperties":false},"__schema75":{"type":"object","properties":{"minimumAge":{"type":"number"},"verificationPoint":{"type":"string","enum":["BEFORE_FIRST_PAID_ENTRY","AT_REGISTRATION"]},"provider":{"type":"string"},"manualReviewTargetHours":{"type":"number"}},"required":["minimumAge","verificationPoint","provider","manualReviewTargetHours"],"additionalProperties":false},"__schema76":{"type":"object","properties":{"mode":{"type":"string","enum":["OPERATOR_MAX_AND_PLAYER","OPERATOR_MAX","PLAYER_SET"]},"period":{"type":"string","enum":["ROLLING_30_DAYS","CALENDAR_MONTH"]},"operatorMonthlyMaxPence":{"type":"number"},"increaseCoolOffHours":{"type":"number"},"increaseRequiresConfirmation":{"type":"boolean"},"countSiteCredit":{"type":"boolean"},"askAtRegistration":{"type":"boolean"}},"required":["mode","period","operatorMonthlyMaxPence","increaseCoolOffHours","increaseRequiresConfirmation","countSiteCredit","askAtRegistration"],"additionalProperties":false},"__schema77":{"type":"object","properties":{"enabled":{"type":"boolean"},"instructionsHtml":{"type":"string"},"requiredFields":{"type":"array","items":{"type":"string"}},"maxPerEnvelope":{"type":"number"},"onlineRouteEnabled":{"type":"boolean"}},"required":["enabled","instructionsHtml","requiredFields","maxPerEnvelope","onlineRouteEnabled"],"additionalProperties":false},"__schema78":{"type":"object","properties":{"enabled":{"type":"boolean"},"withdrawalFeePence":{"type":"number","const":0},"minWithdrawalPence":{"type":"number"},"withdrawalTargetWorkingDays":{"type":"number"},"siteCreditExpiryDays":{"type":["number","null"]}},"required":["enabled","withdrawalFeePence","minWithdrawalPence","withdrawalTargetWorkingDays","siteCreditExpiryDays"],"additionalProperties":false},"__schema79":{"type":"object","properties":{"fulfilmentTargetDays":{"type":"number"},"cashAlternativeChoiceDays":{"type":"number"}},"required":["fulfilmentTargetDays","cashAlternativeChoiceDays"],"additionalProperties":false},"__schema80":{"type":"object","properties":{"ackTargetWorkingDays":{"type":"number"},"finalResponseTargetDays":{"type":"number"},"disputeResolution":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"details":{"type":"string"}},"required":["name","url","details"],"additionalProperties":false},{"type":"null"}]}},"required":["ackTargetWorkingDays","finalResponseTargetDays","disputeResolution"],"additionalProperties":false},"__schema81":{"type":"object","properties":{"displayFormat":{"type":"string"},"allowObjection":{"type":"boolean"},"mediaConsentRequired":{"type":"boolean"},"publishInstantWinsInFeed":{"type":"boolean"}},"required":["displayFormat","allowObjection","mediaConsentRequired","publishInstantWinsInFeed"],"additionalProperties":false},"__schema82":{"type":"object","properties":{"enabled":{"type":"boolean"},"eventTypes":{"type":"array","items":{"type":"string","enum":["ENTRY","INSTANT_WIN"]}}},"required":["enabled","eventTypes"],"additionalProperties":false},"__schema83":{"type":"object","properties":{"supportLinks":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}},"required":["name","url"],"additionalProperties":false}},"pauseOptions":{"type":"array","items":{"type":"string"}},"suspensionOptions":{"type":"array","items":{"type":"string"}},"closureEnabled":{"type":"boolean"},"autoReactivate":{"type":"boolean"},"onSuspendOpenEntries":{"type":"string","enum":["OFFER_REFUND","KEEP"]}},"required":["supportLinks","pauseOptions","suspensionOptions","closureEnabled","autoReactivate","onSuspendOpenEntries"],"additionalProperties":false},"__schema84":{"type":"object","properties":{"signatoryBadge":{"type":"boolean"},"adherencePageSlug":{"type":"string"},"profile":{"type":"string","enum":["DCMS_CODE","CUSTOM","IE_RULES","US_SWEEPSTAKES"]},"draftProfile":{"type":"boolean"},"noPurchaseNotice":{"type":["string","null"]},"officialRulesSlug":{"type":["string","null"]}},"required":["signatoryBadge","adherencePageSlug","profile","draftProfile","noPurchaseNotice","officialRulesSlug"],"additionalProperties":false},"__schema85":{"type":"string","enum":["en-GB","en-IE","en-US"]},"__schema86":{"type":"string","enum":["GBP","EUR","USD"]},"__schema87":{"type":"string","const":"Europe/London"},"__schema88":{"type":"string","description":"ISO-8601 UTC with milliseconds; countdowns depend on it."},"__schema89":{"type":"string"},"__schema90":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"type":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"requestId":{"type":"string"}},"required":["code","message","requestId"],"additionalProperties":false},"__schema91":{"type":"array","items":{"$ref":"#/components/schemas/MenuItem"}},"__schema92":{"type":"string"},"__schema93":{"type":"string","description":"Site-relative path or absolute https URL."},"__schema94":{"type":"boolean"},"__schema95":{"type":"array","items":{"$ref":"#/components/schemas/MenuItem"}},"__schema96":{"type":"array","items":{"$ref":"#/components/schemas/HeroSlide"}},"__schema97":{"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)$"},"__schema98":{"anyOf":[{"$ref":"#/components/schemas/CompetitionCard"},{"type":"null"}],"description":"Null for a custom-link slide."},"__schema99":{"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)$"},"__schema100":{"type":"string"},"__schema101":{"type":"string"},"__schema102":{"type":"string"},"__schema103":{"anyOf":[{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"}},"required":["slug","name"],"additionalProperties":false},{"type":"null"}]},"__schema104":{"type":"string","enum":["image","cash_art"]},"__schema105":{"type":["string","null"]},"__schema106":{"type":"string"},"__schema107":{"type":"number"},"__schema108":{"type":"number"},"__schema109":{"type":"array","items":{"type":"object","properties":{"width":{"type":"number"},"url":{"type":"string"}},"required":["width","url"],"additionalProperties":false}},"__schema110":{"anyOf":[{"type":"object","properties":{"amountLabel":{"type":"string"},"caption":{"type":"string"},"variant":{"type":"string","enum":["GREEN","ORANGE"]}},"required":["amountLabel","caption","variant"],"additionalProperties":false},{"type":"null"}]},"__schema111":{"anyOf":[{"$ref":"#/components/schemas/__schema112"},{"type":"null"}],"description":"Server-rendered PNG for cash art."},"__schema112":{"type":"string"},"__schema113":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Integer pence."},"__schema114":{"type":"string","enum":["GBP","EUR","USD"]},"__schema115":{"type":"number"},"__schema116":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"__schema117":{"type":"number"},"__schema118":{"type":"number"},"__schema119":{"type":"number"},"__schema120":{"type":"number"},"__schema121":{"type":"number"},"__schema122":{"type":"string","format":"date-time"},"__schema123":{"type":"string","format":"date-time"},"__schema124":{"type":"string","format":"date-time"},"__schema125":{"type":"string","enum":["AUTO","LIVE","MANUAL"]},"__schema126":{"type":"string","enum":["upcoming","live","sold_out","closed","drawing","drawn","completed","cancelled"]},"__schema127":{"type":"number"},"__schema128":{"type":"boolean"},"__schema129":{"type":"boolean"},"__schema130":{"type":"boolean","description":"Competition or tenant kill switch."},"__schema131":{"type":"object","properties":{"instantWins":{"anyOf":[{"type":"object","properties":{"count":{"type":"number"}},"required":["count"],"additionalProperties":false},{"type":"null"}]},"endingSoon":{"type":"boolean"},"autoDraw":{"type":"boolean"},"lowOdds":{"type":"boolean"}},"required":["instantWins","endingSoon","autoDraw","lowOdds"],"additionalProperties":false},"__schema132":{"anyOf":[{"type":"object","properties":{"total":{"type":"number"},"remaining":{"type":"number"}},"required":["total","remaining"],"additionalProperties":false},{"type":"null"}]},"__schema133":{"anyOf":[{"$ref":"#/components/schemas/__schema134"},{"type":"null"}],"description":"The charity a charity draw supports and the amount raised so far."},"__schema134":{"type":"object","properties":{"beneficiary":{"type":"string"},"raisedSoFar":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]}},"required":["beneficiary","raisedSoFar"],"additionalProperties":false},"__schema135":{"type":["string","null"]},"__schema136":{"type":"string"},"__schema137":{"type":["string","null"]},"__schema138":{"anyOf":[{"type":"object","properties":{"text":{"type":"string"},"style":{"type":"string","enum":["STANDARD","HOT"]}},"required":["text","style"],"additionalProperties":false},{"type":"null"}]},"__schema139":{"anyOf":[{"type":"object","properties":{"url":{"type":"string"},"alt":{"type":"string"},"focalX":{"type":"number"},"focalY":{"type":"number"}},"required":["url","alt","focalX","focalY"],"additionalProperties":false},{"type":"null"}]},"__schema140":{"type":"number"},"__schema141":{"type":"array","items":{"$ref":"#/components/schemas/Stat"}},"__schema142":{"type":"string"},"__schema143":{"type":"string"},"__schema144":{"type":"number"},"__schema145":{"type":"string"},"__schema146":{"type":["string","null"]},"__schema147":{"type":["string","null"]},"__schema148":{"type":"number"},"__schema149":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"eyebrow":{"type":["string","null"]},"title":{"type":"string"},"lead":{"type":["string","null"]}},"required":["eyebrow","title","lead"],"additionalProperties":false}},"__schema150":{"anyOf":[{"type":"object","properties":{"competition":{"$ref":"#/components/schemas/CompetitionCard"},"won":{"type":"number"},"percentWon":{"type":"number"}},"required":["competition","won","percentWon"],"additionalProperties":false},{"type":"null"}]},"__schema151":{"type":"object","properties":{"eyebrow":{"type":["string","null"]},"title":{"type":"string"},"steps":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"text":{"type":"string"},"icon":{"type":["string","null"]}},"required":["title","text","icon"],"additionalProperties":false}},"cta":{"anyOf":[{"type":"object","properties":{"label":{"type":"string"},"href":{"type":"string"}},"required":["label","href"],"additionalProperties":false},{"type":"null"}]}},"required":["eyebrow","title","steps","cta"],"additionalProperties":false},"__schema152":{"type":"array","items":{"type":"string"}},"__schema153":{"anyOf":[{"$ref":"#/components/schemas/LiveDraw"},{"type":"null"}]},"__schema154":{"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)$"},"__schema155":{"type":"string"},"__schema156":{"type":["string","null"]},"__schema157":{"type":"string","format":"date-time"},"__schema158":{"type":"string","enum":["scheduled","live","ended","replay_available","cancelled"]},"__schema159":{"type":"object","properties":{"provider":{"anyOf":[{"type":"string","enum":["YOUTUBE","FACEBOOK","TIKTOK","VIMEO","HLS","OTHER"]},{"type":"null"}]},"embedUrl":{"type":["string","null"]}},"required":["provider","embedUrl"],"additionalProperties":false},"__schema160":{"type":["string","null"]},"__schema161":{"type":["string","null"]},"__schema162":{"type":"array","items":{"$ref":"#/components/schemas/__schema163"},"description":"In draw order."},"__schema163":{"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)$"},"slug":{"type":"string"},"title":{"type":"string"},"shortTitle":{"type":"string"},"winnersCount":{"type":"number"}},"required":["id","slug","title","shortTitle","winnersCount"],"additionalProperties":false},"__schema164":{"type":["number","null"]},"__schema165":{"type":["number","null"]},"__schema166":{"type":"string"},"__schema167":{"anyOf":[{"$ref":"#/components/schemas/__schema168"},{"type":"null"}],"description":"Player-specific; null when anonymous."},"__schema168":{"type":"object","properties":{"reminder":{"$ref":"#/components/schemas/Reminder"}},"required":["reminder"],"additionalProperties":false},"__schema169":{"type":"boolean"},"__schema170":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema171":{"type":"array","items":{"$ref":"#/components/schemas/LiveDraw"}},"__schema172":{"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)$"},"__schema173":{"type":"string","enum":["entry","instant_win"]},"__schema174":{"type":"string"},"__schema175":{"type":["string","null"]},"__schema176":{"type":["number","null"]},"__schema177":{"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)$"},"slug":{"type":"string"},"shortTitle":{"type":"string"}},"required":["id","slug","shortTitle"],"additionalProperties":false},"__schema178":{"type":["string","null"]},"__schema179":{"type":"string","format":"date-time"},"__schema180":{"type":"string","enum":["info","legal"]},"__schema181":{"type":"string"},"__schema182":{"type":"string"},"__schema183":{"type":"string","description":"Sanitised HTML."},"__schema184":{"type":["string","null"]},"__schema185":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema186":{"type":"string","format":"date-time"},"__schema187":{"type":"object","properties":{"title":{"type":["string","null"]},"description":{"type":["string","null"]},"ogImage":{"type":["string","null"]}},"required":["title","description","ogImage"],"additionalProperties":false},"__schema188":{"type":"string","enum":["info","legal"]},"__schema189":{"anyOf":[{"type":"string","enum":["TERMS","PRIVACY","COOKIES","RESPONSIBLE_PLAY","COMPLAINTS","ACCEPTABLE_USE","FREE_ENTRY","WINNER_PUBLICITY","HOW_DRAWS_WORK","ACCESSIBILITY","COMPETITION_RULES_TEMPLATE"]},{"type":"null"}]},"__schema190":{"type":"string"},"__schema191":{"type":"string"},"__schema192":{"type":"string","format":"date-time"},"__schema193":{"type":"boolean"},"__schema194":{"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)$"},"__schema195":{"type":"string"},"__schema196":{"type":"string","description":"Sanitised HTML."},"__schema197":{"type":["string","null"]},"__schema198":{"type":"number"},"__schema199":{"type":"string","enum":["TERMS","PRIVACY","COOKIES","RESPONSIBLE_PLAY","COMPLAINTS","ACCEPTABLE_USE","FREE_ENTRY","WINNER_PUBLICITY","HOW_DRAWS_WORK","ACCESSIBILITY","COMPETITION_RULES_TEMPLATE"]},"__schema200":{"type":"string"},"__schema201":{"type":"string"},"__schema202":{"type":"string"},"__schema203":{"type":"string","description":"SHA-256 hex of the body."},"__schema204":{"type":"string","format":"date-time"},"__schema205":{"type":"string","description":"Sanitised HTML."},"__schema206":{"type":"string"},"__schema207":{"anyOf":[{"type":"number","const":301},{"type":"number","const":302}]},"__schema208":{"type":"array","items":{"$ref":"#/components/schemas/Category"}},"__schema209":{"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)$"},"__schema210":{"type":"string"},"__schema211":{"type":"string"},"__schema212":{"type":["string","null"]},"__schema213":{"type":["string","null"]},"__schema214":{"type":"number"},"__schema215":{"type":"boolean"},"__schema216":{"type":"number"},"__schema217":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","const":"instant"},"label":{"type":"string"},"count":{"type":"number"}},"required":["key","label","count"],"additionalProperties":false}},"__schema218":{"type":["string","null"]},"__schema219":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"__schema220":{"anyOf":[{"type":"object","properties":{"beneficiary":{"type":"string"},"registeredNumber":{"type":["string","null"]},"basisText":{"type":"string"},"raisedSoFar":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]}},"required":["beneficiary","registeredNumber","basisText","raisedSoFar"],"additionalProperties":false},{"type":"null"}]},"__schema221":{"type":["string","null"]},"__schema222":{"type":["string","null"]},"__schema223":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false}},"__schema224":{"type":["string","null"]},"__schema225":{"type":"array","items":{"$ref":"#/components/schemas/Media"}},"__schema226":{"type":"array","items":{"type":"object","properties":{"position":{"type":"number"},"title":{"type":"string"},"description":{"type":["string","null"]},"prizeType":{"type":"string","enum":["CASH","SITE_CREDIT","PHYSICAL"]},"value":{"$ref":"#/components/schemas/Money"},"cashAlternative":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"cashAlternativeText":{"type":["string","null"]}},"required":["position","title","description","prizeType","value","cashAlternative","cashAlternativeText"],"additionalProperties":false}},"__schema227":{"type":"object","properties":{"totalTickets":{"type":"number"},"statement":{"type":"string"}},"required":["totalTickets","statement"],"additionalProperties":false},"__schema228":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false}},"lawsOfChance":{"type":"string"}},"required":["items","lawsOfChance"],"additionalProperties":false},"__schema229":{"type":"object","properties":{"termsVersion":{"type":["string","null"]},"termsUrl":{"type":"string"},"rulesHtml":{"type":["string","null"]},"rulesHash":{"type":["string","null"]}},"required":["termsVersion","termsUrl","rulesHtml","rulesHash"],"additionalProperties":false},"__schema230":{"anyOf":[{"$ref":"#/components/schemas/__schema231"},{"type":"null"}],"description":"Never includes the correct answer."},"__schema231":{"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)$"},"text":{"type":"string"},"options":{"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)$"},"label":{"type":"string"}},"required":["id","label"],"additionalProperties":false}},"wrongAnswerBehaviour":{"type":"string","enum":["ACCEPT_INELIGIBLE","BLOCK_CHECKOUT"]},"consequenceText":{"type":"string"}},"required":["id","text","options","wrongAnswerBehaviour","consequenceText"],"additionalProperties":false},"__schema232":{"type":"object","properties":{"numberPicking":{"type":"boolean"},"pageSize":{"type":"number"},"digits":{"type":"number"},"numberStyle":{"type":"string","enum":["INTEGER","PADDED","ALPHA_BLOCKS"]},"pad":{"type":["number","null"]},"block":{"type":["number","null"]},"quickPicks":{"type":"array","items":{"type":"number"}},"defaultQuantity":{"type":"number"},"minPerOrder":{"type":"number"},"maxPerOrder":{"type":"number"},"anonymousBaskets":{"type":"boolean"}},"required":["numberPicking","pageSize","digits","numberStyle","pad","block","quickPicks","defaultQuantity","minPerOrder","maxPerOrder","anonymousBaskets"],"additionalProperties":false},"__schema233":{"type":"object","properties":{"mode":{"type":"string","enum":["AUTO","LIVE","MANUAL"]},"method":{"type":"string","enum":["PLATFORM_RNG","LIVE_INDEPENDENT","CERTIFIED_DEVICE"]},"scheduledAt":{"type":"string","format":"date-time"},"liveDrawId":{"anyOf":[{"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)$"},{"type":"null"}]},"seedCommitment":{"type":["string","null"]},"seedCommittedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"earlyDrawOnSellOut":{"type":"boolean"},"certificateUrl":{"type":["string","null"]}},"required":["mode","method","scheduledAt","liveDrawId","seedCommitment","seedCommittedAt","earlyDrawOnSellOut","certificateUrl"],"additionalProperties":false},"__schema234":{"anyOf":[{"type":"object","properties":{"unwonPolicy":{"type":"string","enum":["DRAW_AT_CLOSE","NOT_AWARDED_DISCLOSED"]},"unwonPolicyText":{"type":"string"},"commitment":{"anyOf":[{"type":"object","properties":{"algorithm":{"type":"string"},"hash":{"type":"string"},"committedAt":{"type":"string","format":"date-time"},"numberCount":{"type":"number"}},"required":["algorithm","hash","committedAt","numberCount"],"additionalProperties":false},{"type":"null"}]},"revealedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"tiers":{"type":"array","items":{"$ref":"#/components/schemas/InstantWinTier"}}},"required":["unwonPolicy","unwonPolicyText","commitment","revealedAt","tiers"],"additionalProperties":false},{"type":"null"}]},"__schema235":{"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)$"},"__schema236":{"type":"string"},"__schema237":{"type":"string"},"__schema238":{"type":"string","enum":["CASH","SITE_CREDIT","PHYSICAL"]},"__schema239":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"__schema240":{"type":"number"},"__schema241":{"type":"number"},"__schema242":{"type":"number"},"__schema243":{"type":["string","null"]},"__schema244":{"type":["string","null"]},"__schema245":{"type":"string"},"__schema246":{"type":"object","properties":{"available":{"type":"boolean"},"postalAddress":{"$ref":"#/components/schemas/Address"},"instructionsHtml":{"type":"string"},"requiredFields":{"type":"array","items":{"type":"string"}},"maxPerEnvelope":{"type":"number"},"notes":{"type":["string","null"]},"receivedBy":{"type":"string","format":"date-time"},"pageUrl":{"type":"string"}},"required":["available","postalAddress","instructionsHtml","requiredFields","maxPerEnvelope","notes","receivedBy","pageUrl"],"additionalProperties":false},"__schema247":{"type":"object","properties":{"minAge":{"type":"number"},"region":{"type":"string","enum":["UK","GB_ONLY","UK_EXCL_NI"]},"crownDependencies":{"type":"boolean"}},"required":["minAge","region","crownDependencies"],"additionalProperties":false},"__schema248":{"type":"object","properties":{"legalName":{"type":"string"},"companyNumber":{"type":"string"},"address":{"$ref":"#/components/schemas/Address"}},"required":["legalName","companyNumber","address"],"additionalProperties":false},"__schema249":{"type":"array","items":{"type":"string"}},"__schema250":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"ogImageUrl":{"type":["string","null"]},"canonicalPath":{"type":"string"}},"required":["title","description","ogImageUrl","canonicalPath"],"additionalProperties":false},"__schema251":{"anyOf":[{"$ref":"#/components/schemas/__schema252"},{"type":"null"}],"description":"Player-specific; null when anonymous."},"__schema252":{"type":"object","properties":{"owned":{"type":"number"},"held":{"type":"number"},"remainingAllowance":{"type":"number"},"notifyMe":{"type":"boolean"}},"required":["owned","held","remainingAllowance","notifyMe"],"additionalProperties":false},"__schema253":{"type":"number"},"__schema254":{"type":"number"},"__schema255":{"type":"number"},"__schema256":{"type":"string","description":"One character per number: \"F\" free, \"T\" taken, \"M\" mine."},"__schema257":{"type":"number"},"__schema258":{"type":["number","null"]},"__schema259":{"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)$"},"__schema260":{"type":"number"},"__schema261":{"type":"number"},"__schema262":{"type":"number"},"__schema263":{"type":"array","items":{"$ref":"#/components/schemas/InstantWinTier"}},"__schema264":{"type":"object","properties":{"items":{"$ref":"#/components/schemas/__schema265"},"nextCursor":{"$ref":"#/components/schemas/__schema267"}},"required":["items","nextCursor"],"additionalProperties":false,"description":"Won numbers, newest first. winner is null when the name is withheld."},"__schema265":{"type":"array","items":{"type":"object","properties":{"ticketNumber":{"type":"string","description":"Display string in the competition's number style; never a number."},"tierId":{"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)$"},"prizeName":{"type":"string"},"winner":{"anyOf":[{"type":"object","properties":{"displayName":{"type":"string"},"initials":{"anyOf":[{"$ref":"#/components/schemas/__schema266"},{"type":"null"}],"description":"Null for ANONYMOUS."},"location":{"type":["string","null"]}},"required":["displayName","initials","location"],"additionalProperties":false},{"type":"null"}]},"wonAt":{"type":"string","format":"date-time"}},"required":["ticketNumber","tierId","prizeName","winner","wonAt"],"additionalProperties":false}},"__schema266":{"type":"string"},"__schema267":{"type":["string","null"]},"__schema268":{"anyOf":[{"type":"object","properties":{"algorithm":{"type":"string"},"hash":{"type":"string"},"committedAt":{"type":"string","format":"date-time"},"numberCount":{"type":"number"}},"required":["algorithm","hash","committedAt","numberCount"],"additionalProperties":false},{"type":"null"}]},"__schema269":{"type":"boolean"},"__schema270":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema271":{"anyOf":[{"$ref":"#/components/schemas/__schema272"},{"type":"null"}],"description":"The exact canonical JSON whose SHA-256 is commitment.hash; null before the reveal."},"__schema272":{"type":"string"},"__schema273":{"anyOf":[{"$ref":"#/components/schemas/__schema274"},{"type":"null"}],"description":"Every prize position; only after the reveal."},"__schema274":{"type":"array","items":{"type":"object","properties":{"ticketNumber":{"type":"string","description":"Display string in the competition's number style; never a number."},"tierId":{"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)$"},"status":{"type":"string","enum":["available","won","forfeited_ineligible","drawn_at_close","unawarded","void"]}},"required":["ticketNumber","tierId","status"],"additionalProperties":false}},"__schema275":{"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)$"},"__schema276":{"type":"string","format":"date-time"},"__schema277":{"type":"array","items":{"$ref":"#/components/schemas/__schema278"},"description":"winnerName only on winning tickets."},"__schema278":{"type":"object","properties":{"ticketNumber":{"type":"string","description":"Display string in the competition's number style; never a number."},"source":{"type":"string","enum":["paid","postal","other"]},"winnerName":{"anyOf":[{"type":"object","properties":{"displayName":{"type":"string"},"initials":{"anyOf":[{"$ref":"#/components/schemas/__schema279"},{"type":"null"}],"description":"Null for ANONYMOUS."},"location":{"type":["string","null"]}},"required":["displayName","initials","location"],"additionalProperties":false},{"type":"null"}]}},"required":["ticketNumber","source","winnerName"],"additionalProperties":false},"__schema279":{"type":"string"},"__schema280":{"type":["string","null"]},"__schema281":{"type":"string"},"__schema282":{"type":["string","null"]},"__schema283":{"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)$"},"__schema284":{"type":"string","format":"date-time"},"__schema285":{"type":"boolean"},"__schema286":{"type":"string","enum":["AUTO","LIVE","MANUAL"]},"__schema287":{"type":"string","enum":["PLATFORM_RNG","LIVE_INDEPENDENT","CERTIFIED_DEVICE"]},"__schema288":{"type":"object","properties":{"algorithm":{"type":"string"},"seedCommitment":{"type":["string","null"]},"seedRevealed":{"type":["string","null"]},"snapshotHash":{"type":["string","null"]},"independentPerson":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"role":{"type":"string"}},"required":["name","role"],"additionalProperties":false},{"type":"null"}]},"deviceDescription":{"type":["string","null"]},"proofUrl":{"type":["string","null"]},"certificateUrl":{"type":["string","null"]},"legacyProof":{"type":["string","null"]}},"required":["algorithm","seedCommitment","seedRevealed","snapshotHash","independentPerson","deviceDescription","proofUrl","certificateUrl","legacyProof"],"additionalProperties":false},"__schema289":{"type":["string","null"]},"__schema290":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["MAIN","INSTANT_LEFTOVER"]},"position":{"type":"number"},"roundNumber":{"type":"number"},"ticketNumber":{"anyOf":[{"type":"string","description":"Display string in the competition's number style; never a number."},{"type":"null"}]},"name":{"anyOf":[{"$ref":"#/components/schemas/__schema291"},{"type":"null"}],"description":"Null when the win is withheld."},"prizeTitle":{"type":"string"}},"required":["kind","position","roundNumber","ticketNumber","name","prizeTitle"],"additionalProperties":false}},"__schema291":{"type":"object","properties":{"displayName":{"type":"string"},"initials":{"anyOf":[{"$ref":"#/components/schemas/__schema292"},{"type":"null"}],"description":"Null for ANONYMOUS."},"location":{"type":["string","null"]}},"required":["displayName","initials","location"],"additionalProperties":false},"__schema292":{"type":"string"},"__schema293":{"type":["string","null"]},"__schema294":{"type":["string","null"]},"__schema295":{"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)$"},"slug":{"type":"string"},"title":{"type":"string"},"closesAt":{"type":"string","format":"date-time"}},"required":["id","slug","title","closesAt"],"additionalProperties":false},"__schema296":{"type":"object","properties":{"legalName":{"type":"string"}},"required":["legalName"],"additionalProperties":false},"__schema297":{"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)$"},"__schema298":{"type":"string","enum":["AUTO","LIVE","MANUAL"]},"__schema299":{"type":"string","enum":["PLATFORM_RNG","LIVE_INDEPENDENT","CERTIFIED_DEVICE"]},"__schema300":{"type":"string"},"__schema301":{"type":["string","null"]},"__schema302":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema303":{"type":["string","null"]},"__schema304":{"type":"string"},"__schema305":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema306":{"anyOf":[{"$ref":"#/components/schemas/__schema307"},{"type":"null"}],"description":"Null for imported history."},"__schema307":{"type":"object","properties":{"hash":{"type":"string"},"canonicalVersion":{"type":"string"},"frozenAt":{"type":"string","format":"date-time"},"entryCount":{"type":"number"},"paidCount":{"type":"number"},"postalCount":{"type":"number"},"otherCount":{"type":"number"},"excluded":{"type":"array","items":{"type":"object","properties":{"reason":{"type":"string"},"count":{"type":"number"}},"required":["reason","count"],"additionalProperties":false}},"voidedAfterClose":{"type":"number"}},"required":["hash","canonicalVersion","frozenAt","entryCount","paidCount","postalCount","otherCount","excluded","voidedAfterClose"],"additionalProperties":false},"__schema308":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["MAIN","INSTANT_LEFTOVER"]},"position":{"type":"number"},"roundNumber":{"type":"number"},"prizeTitle":{"type":"string"},"ticketNumber":{"anyOf":[{"type":"string","description":"Display string in the competition's number style; never a number."},{"type":"null"}]},"name":{"anyOf":[{"type":"object","properties":{"displayName":{"type":"string"},"initials":{"anyOf":[{"$ref":"#/components/schemas/__schema309"},{"type":"null"}],"description":"Null for ANONYMOUS."},"location":{"type":["string","null"]}},"required":["displayName","initials","location"],"additionalProperties":false},{"type":"null"}]},"rngCounter":{"type":["number","null"]},"snapshotOffset":{"type":["number","null"]},"redrawSeq":{"type":"number"},"status":{"type":"string","enum":["SELECTED","CONFIRMED","DISQUALIFIED"]},"disqualifiedReason":{"type":["string","null"]},"ruleReference":{"type":["string","null"]}},"required":["kind","position","roundNumber","prizeTitle","ticketNumber","name","rngCounter","snapshotOffset","redrawSeq","status","disqualifiedReason","ruleReference"],"additionalProperties":false}},"__schema309":{"type":"string"},"__schema310":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["MAIN","INSTANT_LEFTOVER"]},"position":{"type":"number"},"prizeTitle":{"type":"string"},"reason":{"type":"string"}},"required":["kind","position","prizeTitle","reason"],"additionalProperties":false}},"__schema311":{"type":["string","null"]},"__schema312":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"role":{"type":"string"}},"required":["name","role"],"additionalProperties":false},{"type":"null"}]},"__schema313":{"type":["string","null"]},"__schema314":{"type":["string","null"]},"__schema315":{"type":["string","null"]},"__schema316":{"anyOf":[{"type":"object","properties":{"algorithm":{"type":"string"},"commitmentHash":{"type":"string"},"committedAt":{"type":"string","format":"date-time"},"revealedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"madeAtMigration":{"type":"boolean"},"revealUrl":{"type":["string","null"]}},"required":["algorithm","commitmentHash","committedAt","revealedAt","madeAtMigration","revealUrl"],"additionalProperties":false},{"type":"null"}]},"__schema317":{"type":["string","null"]},"__schema318":{"type":["string","null"]},"__schema319":{"type":"object","properties":{"algorithmDescriptionUrl":{"type":"string"},"testVectorsUrl":{"type":["string","null"]},"auditCertificateUrl":{"type":["string","null"]}},"required":["algorithmDescriptionUrl","testVectorsUrl","auditCertificateUrl"],"additionalProperties":false},"__schema320":{"type":["string","null"]},"__schema321":{"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)$"},"slug":{"type":"string"},"title":{"type":"string"},"shortTitle":{"type":"string"}},"required":["id","slug","title","shortTitle"],"additionalProperties":false},"__schema322":{"type":"string","description":"Display string in the competition's number style; never a number."},"__schema323":{"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)$"},"__schema324":{"type":"string"},"__schema325":{"type":"string","enum":["CASH","SITE_CREDIT","PHYSICAL"]},"__schema326":{"anyOf":[{"$ref":"#/components/schemas/__schema327"},{"type":"null"}],"description":"Null when the name is withheld."},"__schema327":{"type":"object","properties":{"displayName":{"type":"string"},"initials":{"anyOf":[{"$ref":"#/components/schemas/__schema328"},{"type":"null"}],"description":"Null for ANONYMOUS."},"location":{"type":["string","null"]}},"required":["displayName","initials","location"],"additionalProperties":false},"__schema328":{"type":"string"},"__schema329":{"type":"string","format":"date-time"},"__schema330":{"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)$","description":"Win id."},"__schema331":{"type":"string","enum":["INSTANT","MAIN","INSTANT_LEFTOVER"]},"__schema332":{"type":"object","properties":{"displayName":{"type":"string"},"initials":{"anyOf":[{"$ref":"#/components/schemas/__schema333"},{"type":"null"}],"description":"Null for ANONYMOUS."},"location":{"type":["string","null"]}},"required":["displayName","initials","location"],"additionalProperties":false},"__schema333":{"type":"string"},"__schema334":{"type":"string"},"__schema335":{"type":["string","null"]},"__schema336":{"anyOf":[{"type":"string","description":"Display string in the competition's number style; never a number."},{"type":"null"}]},"__schema337":{"type":"string","format":"date-time"},"__schema338":{"type":"boolean"},"__schema339":{"type":"boolean"},"__schema340":{"type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"shortTitle":{"type":"string"}},"required":["slug","title","shortTitle"],"additionalProperties":false},"__schema341":{"type":["string","null"]},"__schema342":{"type":["string","null"]},"__schema343":{"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)$"},"__schema344":{"type":"string","description":"Anonymous basket token; shown once."},"__schema345":{"type":"string","format":"date-time"},"__schema346":{"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)$"},"__schema347":{"type":"array","items":{"$ref":"#/components/schemas/BasketLine"}},"__schema348":{"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)$"},"__schema349":{"type":"number"},"__schema350":{"type":"array","items":{"type":"string","description":"Display string in the competition's number style; never a number."}},"__schema351":{"type":"number"},"__schema352":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema353":{"anyOf":[{"$ref":"#/components/schemas/__schema354"},{"type":"null"}],"description":"The option chosen; never its correctness."},"__schema354":{"type":"object","properties":{"optionId":{"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)$"},"label":{"type":"string"}},"required":["optionId","label"],"additionalProperties":false},"__schema355":{"type":"number"},"__schema356":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_FAILED","IDEMPOTENCY_KEY_REQUIRED","IDEMPOTENCY_KEY_INVALID","IDEMPOTENCY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","ID_NOT_ALLOWED","NOT_FOUND","STALE_WRITE","RATE_LIMITED","PAYLOAD_TOO_LARGE","INTERNAL_ERROR","NOT_IMPLEMENTED","SERVICE_UNAVAILABLE","AUTH_BUSY","INVALID_API_KEY","API_KEY_EXPIRED","SCOPE_REQUIRED","SECRET_KEY_IN_BROWSER","ORIGIN_NOT_ALLOWED","API_ACCESS_DISABLED","TENANT_SUSPENDED","TENANT_NOT_LIVE","SALES_PAUSED","AUTH_REQUIRED","INVALID_CREDENTIALS","TOO_MANY_ATTEMPTS","CHALLENGE_REQUIRED","TOKEN_ROTATED","TOKEN_INVALID","LINK_TEMPLATE_INVALID","PASSWORD_POLICY","FORBIDDEN","MFA_REQUIRED","STEP_UP_REQUIRED","PLATFORM_ACCESS_REQUIRES_GRANT","SUPPORT_GRANT_EXPIRED","TENANT_SCOPE_VIOLATION","TENANT_MODEL_NOT_ALLOWED","TENANT_CONTEXT_FORGED","TENANT_DB_METHOD_FORBIDDEN","ACCOUNT_BLOCKED","ACCOUNT_CLOSED","PLAYER_SELF_EXCLUDED","PLAYER_ON_BREAK","PLAYER_RESTRICTED","REACTIVATION_REQUIRED","EMAIL_NOT_VERIFIED","DOB_REQUIRED","DOB_ALREADY_SET","UNDERAGE","AGE_VERIFICATION_REQUIRED","REGION_NOT_ELIGIBLE","TERMS_ACCEPTANCE_REQUIRED","ACKNOWLEDGEMENT_REQUIRED","COMPETITION_NOT_FOUND","COMPETITION_NOT_LIVE","COMPETITION_CLOSED","COMPETITION_SOLD_OUT","INSUFFICIENT_TICKETS","NUMBERS_UNAVAILABLE","NUMBER_PICKING_DISABLED","LOGIN_REQUIRED_FOR_PICKS","MAX_PER_PERSON_EXCEEDED","MAX_PER_ORDER_EXCEEDED","MIN_PER_ORDER","SKILL_ANSWER_REQUIRED","SKILL_ANSWER_INCORRECT","SKILL_ATTEMPTS_EXHAUSTED","BASKET_NOT_FOUND","BASKET_EXPIRED","BASKET_LIMIT","HOLD_EXPIRED","PRICE_CHANGED","COUPON_INVALID","WALLET_INSUFFICIENT","WALLET_LOCKED","SPEND_LIMIT_EXCEEDED","PAYMENTS_UNAVAILABLE","PAYMENT_FAILED","PAYMENT_PENDING","ORDER_NOT_FOUND","ORDER_NOT_PAYABLE","ORDER_NOT_CANCELLABLE","PAYMENT_ATTEMPTS_EXHAUSTED","CANCELLATION_WINDOW_CLOSED","REFUND_EXCEEDS_REFUNDABLE","REFUND_NOT_ALLOWED","TICKET_HAS_PRIZE","ALLOCATION_INVARIANT","WIN_NOT_FOUND","CLAIM_NOT_OPEN","CLAIM_DEADLINE_PASSED","CASH_ALTERNATIVE_NOT_OFFERED","WITHDRAWAL_MIN","WITHDRAWAL_NOT_CANCELLABLE","WITHDRAWAL_ON_HOLD","MAKER_CHECKER_REQUIRED","INVITATION_INVALID","PASSWORD_CHANGE_REQUIRED","PLATFORM_JOB_NOT_ALLOWED","INSTANT_PRIZE_NOT_FORFEITED","LEGAL_HOLD_ACTIVE","USAGE_MONTH_CLOSED","TENANT_STATUS_INVALID","WORDING_VERSION_OUTDATED","SUPPORT_GRANT_NOT_PENDING","BANK_DETAILS_INVALID","PUBLISH_VALIDATION_FAILED","COMPETITION_LOCKED","INSTANT_WIN_MAJORITY","DRAW_NOT_READY","DRAW_ALREADY_RUN","REDRAW_NOT_ALLOWED","POSTAL_REJECTED","SETTING_GUARDRAIL","SETTING_INVALID","STORAGE_QUOTA_EXCEEDED","IMPORT_INVALID_STATE","IMPORT_NOT_APPROVED","IMPORT_CHECKSUM_MISMATCH","IMPORT_ROLLBACK_AFTER_GO_LIVE","WEBHOOK_URL_NOT_ALLOWED","WEBHOOK_ENDPOINT_LIMIT"]},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["code"],"additionalProperties":false}},"__schema357":{"description":"Present only when pack prices are on and a pack saves on this line; the saving is already inside lineTotal.","$ref":"#/components/schemas/__schema358"},"__schema358":{"type":"object","properties":{"discount":{"$ref":"#/components/schemas/Money"},"composition":{"type":"object","properties":{"packs":{"type":"array","items":{"type":"object","properties":{"size":{"type":"number"},"count":{"type":"number"},"totalPence":{"type":"number"}},"required":["size","count","totalPence"],"additionalProperties":false}},"singles":{"type":"number"}},"required":["packs","singles"],"additionalProperties":false},"label":{"type":"string"}},"required":["discount","composition","label"],"additionalProperties":false},"__schema359":{"anyOf":[{"type":"object","properties":{"code":{"type":"string"},"discount":{"$ref":"#/components/schemas/Money"}},"required":["code","discount"],"additionalProperties":false},{"type":"null"}]},"__schema360":{"description":"Present only when a pack saving applies: the part of discount that comes from pack prices.","$ref":"#/components/schemas/Money"},"__schema361":{"anyOf":[{"$ref":"#/components/schemas/__schema362"},{"type":"null"}],"description":"Null when anonymous."},"__schema362":{"type":"object","properties":{"cashAvailable":{"$ref":"#/components/schemas/Money"},"creditAvailable":{"$ref":"#/components/schemas/Money"}},"required":["cashAvailable","creditAvailable"],"additionalProperties":false},"__schema363":{"type":"number"},"__schema364":{"type":"number"},"__schema365":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema366":{"type":"string"},"__schema367":{"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)$"},"__schema368":{"type":"number"},"__schema369":{"type":"string","enum":["awaiting_payment","processing"]},"__schema370":{"anyOf":[{"$ref":"#/components/schemas/PaymentSession"},{"type":"null"}],"description":"Null when no card payment is due (wallet-only or zero-value orders)."},"__schema371":{"type":"string","enum":["DNA","MOCK"]},"__schema372":{"type":"string","const":"redirect"},"__schema373":{"type":"string"},"__schema374":{"type":"string","format":"date-time"},"__schema375":{"type":"boolean"},"__schema376":{"type":"array","items":{"type":"string","enum":["CARD","APPLE_PAY","GOOGLE_PAY"]}},"__schema377":{"type":"string","format":"date-time"},"__schema378":{"type":"string","enum":["awaiting_payment","processing","paid","failed","expired","cancelled","partially_refunded","refunded"]},"__schema379":{"type":["string","null"]},"__schema380":{"anyOf":[{"type":"object","properties":{"status":{"type":"string","enum":["CREATED","REDIRECTED","SUPERSEDED","FAILED","AUTHORISED","SUCCEEDED","PARTIALLY_REFUNDED","REFUNDED","CANCELLED","REVERSED","ABANDONED","NEEDS_REVIEW"]},"canRetry":{"type":"boolean"}},"required":["status","canRetry"],"additionalProperties":false},{"type":"null"}]},"__schema381":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema382":{"type":"object","properties":{"status":{"type":"string"}},"required":["status"],"additionalProperties":false},"__schema383":{"type":"string"},"__schema384":{"type":"string"},"__schema385":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Access-token lifetime in seconds."},"__schema386":{"type":"string","const":"Bearer"},"__schema387":{"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)$"},"__schema388":{"type":"string"},"__schema389":{"type":"boolean"},"__schema390":{"type":["string","null"]},"__schema391":{"type":["string","null"]},"__schema392":{"type":"string"},"__schema393":{"anyOf":[{"$ref":"#/components/schemas/__schema394"},{"type":"null"}],"description":"YYYY-MM-DD."},"__schema394":{"type":"string"},"__schema395":{"type":"boolean"},"__schema396":{"type":["string","null"]},"__schema397":{"type":"string","enum":["ACTIVE","BLOCKED"]},"__schema398":{"type":"object","properties":{"status":{"type":"string","enum":["UNVERIFIED","PENDING","VERIFIED","FAILED","REFERRED"]},"verifiedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":["status","verifiedAt"],"additionalProperties":false},"__schema399":{"type":"object","properties":{"balance":{"$ref":"#/components/schemas/Money"},"available":{"$ref":"#/components/schemas/Money"}},"required":["balance","available"],"additionalProperties":false},"__schema400":{"type":"object","properties":{"balance":{"$ref":"#/components/schemas/Money"},"available":{"$ref":"#/components/schemas/Money"}},"required":["balance","available"],"additionalProperties":false},"__schema401":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["TAKE_A_BREAK","SELF_EXCLUSION","OPERATOR_COOL_OFF","OPERATOR_PARTICIPATION_BLOCK"]},"until":{"anyOf":[{"$ref":"#/components/schemas/__schema402"},{"type":"null"}],"description":"Null means indefinite."},"reactivationRequired":{"type":"boolean"}},"required":["kind","until","reactivationRequired"],"additionalProperties":false},{"type":"null"}]},"__schema402":{"type":"string","format":"date-time"},"__schema403":{"type":"array","items":{"$ref":"#/components/schemas/__schema404"},"description":"Tightest first."},"__schema404":{"type":"object","properties":{"period":{"type":"string","enum":["DAY","WEEK","MONTH"]},"remaining":{"$ref":"#/components/schemas/Money"}},"required":["period","remaining"],"additionalProperties":false},"__schema405":{"type":"object","properties":{"email":{"type":"boolean"},"sms":{"type":"boolean"},"push":{"type":"boolean"}},"required":["email","sms","push"],"additionalProperties":false},"__schema406":{"type":"string","enum":["STANDARD","INITIALS_ONLY","ANONYMOUS"]},"__schema407":{"type":"boolean"},"__schema408":{"anyOf":[{"type":"object","properties":{"version":{"type":"string"},"url":{"type":"string"}},"required":["version","url"],"additionalProperties":false},{"type":"null"}]},"__schema409":{"type":"object","properties":{"activeTickets":{"type":"number"},"unclaimedWins":{"type":"number"},"basketLines":{"type":"number"}},"required":["activeTickets","unclaimedWins","basketLines"],"additionalProperties":false},"__schema410":{"type":"string"},"__schema411":{"type":"string"},"__schema412":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Access-token lifetime in seconds."},"__schema413":{"type":"string","const":"Bearer"},"__schema414":{"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)$"},"__schema415":{"type":"string","enum":["BILLING","SHIPPING","OTHER"]},"__schema416":{"type":"boolean"},"__schema417":{"type":"number"},"__schema418":{"type":"number"},"__schema419":{"type":"array","items":{"$ref":"#/components/schemas/__schema420"},"description":"First 20 by index."},"__schema420":{"type":"string","description":"Display string in the competition's number style; never a number."},"__schema421":{"type":"array","items":{"type":"object","properties":{"winId":{"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)$"},"ticketNumber":{"type":"string","description":"Display string in the competition's number style; never a number."},"tierName":{"type":"string"},"value":{"$ref":"#/components/schemas/Money"}},"required":["winId","ticketNumber","tierName","value"],"additionalProperties":false}},"__schema422":{"type":"string","format":"date-time"},"__schema423":{"anyOf":[{"type":"object","properties":{"drawnAt":{"type":"string","format":"date-time"},"won":{"type":"boolean"},"certificateUrl":{"type":["string","null"]},"entryListUrl":{"type":["string","null"]},"replayUrl":{"type":["string","null"]}},"required":["drawnAt","won","certificateUrl","entryListUrl","replayUrl"],"additionalProperties":false},{"type":"null"}]},"__schema424":{"type":"string","description":"Display string in the competition's number style; never a number."},"__schema425":{"type":"string","enum":["paid","postal","free"]},"__schema426":{"anyOf":[{"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)$"},{"type":"null"}]},"__schema427":{"type":"string","format":"date-time"},"__schema428":{"type":"boolean"},"__schema429":{"anyOf":[{"type":"object","properties":{"tierName":{"type":"string"},"value":{"$ref":"#/components/schemas/Money"}},"required":["tierName","value"],"additionalProperties":false},{"type":"null"}]},"__schema430":{"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)$"},"__schema431":{"type":"number"},"__schema432":{"type":"string","format":"date-time"},"__schema433":{"type":"string","enum":["awaiting_payment","processing","paid","failed","expired","cancelled","partially_refunded","refunded"]},"__schema434":{"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)$"},"competition":{"$ref":"#/components/schemas/CompetitionCard"},"quantity":{"type":"number"},"unitPrice":{"$ref":"#/components/schemas/Money"},"total":{"$ref":"#/components/schemas/Money"},"vat":{"$ref":"#/components/schemas/Money"},"tickets":{"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)$"},"number":{"type":"string","description":"Display string in the competition's number style; never a number."},"eligible":{"type":"boolean"},"ineligibleReason":{"type":["string","null"]},"status":{"type":"string","enum":["VALID","VOID"]}},"required":["id","number","eligible","ineligibleReason","status"],"additionalProperties":false}},"skillAnswerCorrect":{"anyOf":[{"$ref":"#/components/schemas/__schema435"},{"type":"null"}],"description":"Revealed only after payment."}},"required":["id","competition","quantity","unitPrice","total","vat","tickets","skillAnswerCorrect"],"additionalProperties":false}},"__schema435":{"type":"boolean"},"__schema436":{"type":"object","properties":{"card":{"$ref":"#/components/schemas/Money"},"walletCash":{"$ref":"#/components/schemas/Money"},"walletCredit":{"$ref":"#/components/schemas/Money"}},"required":["card","walletCash","walletCredit"],"additionalProperties":false},"__schema437":{"anyOf":[{"type":"object","properties":{"scheme":{"type":["string","null"]},"last4":{"type":["string","null"]}},"required":["scheme","last4"],"additionalProperties":false},{"type":"null"}]},"__schema438":{"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)$"},"total":{"$ref":"#/components/schemas/Money"},"createdAt":{"type":"string","format":"date-time"},"status":{"type":"string","enum":["PENDING","PROCESSING","SUCCEEDED","PARTIALLY_FAILED","FAILED"]}},"required":["id","total","createdAt","status"],"additionalProperties":false}},"__schema439":{"type":"array","items":{"$ref":"#/components/schemas/__schema440"},"description":"Money returned for a payment that never became a sale; not a refund."},"__schema440":{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/Money"},"reason":{"type":"string","enum":["DUPLICATE_PAYMENT","LATE_PAYMENT","POST_PAYMENT_CHECK_FAILED","CREDIT_CARD_POLICY","METHOD_NOT_ALLOWED","COMPETITION_CLOSED","PLAYER_RESTRICTED","ORDER_CANCELLED","CAPTURE_FAILED","AMOUNT_MISMATCH","OTHER"]},"status":{"type":"string","enum":["PENDING","SUCCEEDED","FAILED"]},"at":{"type":"string","format":"date-time"}},"required":["amount","reason","status","at"],"additionalProperties":false},"__schema441":{"type":"array","items":{"type":"object","properties":{"winId":{"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)$"},"ticketNumber":{"type":"string","description":"Display string in the competition's number style; never a number."},"tierName":{"type":"string"},"prizeType":{"type":"string","enum":["CASH","SITE_CREDIT","PHYSICAL"]},"value":{"$ref":"#/components/schemas/Money"},"credited":{"type":"boolean"}},"required":["winId","ticketNumber","tierName","prizeType","value","credited"],"additionalProperties":false}},"__schema442":{"type":["string","null"]},"__schema443":{"type":["string","null"]},"__schema444":{"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)$"},"__schema445":{"type":"string","enum":["CASH","CREDIT"]},"__schema446":{"type":"string","enum":["OPENING_BALANCE","OPENING_BALANCE_ADJUSTMENT","PRIZE_CASH","PRIZE_CREDIT","CASH_ALTERNATIVE","ORDER_PAYMENT","REFUND_TO_WALLET","PROMOTION","ADJUSTMENT","WITHDRAWAL","WITHDRAWAL_REVERSAL","PRIZE_REVERSAL","EXPIRY"]},"__schema447":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Signed integer pence: positive credit, negative debit."},"__schema448":{"description":"Absolute value, for display.","$ref":"#/components/schemas/Money"},"__schema449":{"type":"string"},"__schema450":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["ORDER","WIN","REFUND","WITHDRAWAL","ADJUSTMENT","DISPUTE","IMPORT"]},"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)$"},"label":{"type":"string"}},"required":["kind","id","label"],"additionalProperties":false},{"type":"null"}]},"__schema451":{"type":"string","format":"date-time"},"__schema452":{"type":"string","format":"date-time"},"__schema453":{"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)$"},"__schema454":{"type":"string"},"__schema455":{"type":"string","enum":["REQUESTED","APPROVED","PAID","REJECTED","CANCELLED"]},"__schema456":{"type":"string","description":"Masked; bank details are never returned."},"__schema457":{"type":"string","format":"date-time"},"__schema458":{"type":"object","properties":{"required":{"type":"boolean"},"confirmedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":["required","confirmedAt","expiresAt"],"additionalProperties":false},"__schema459":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema460":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema461":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema462":{"type":["string","null"]},"__schema463":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema464":{"type":"boolean"},"__schema465":{"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)$"},"__schema466":{"type":"string","enum":["INSTANT","MAIN","INSTANT_LEFTOVER"]},"__schema467":{"anyOf":[{"$ref":"#/components/schemas/__schema468"},{"type":"null"}],"description":"Null for imported ticketless history."},"__schema468":{"type":"string","description":"Display string in the competition's number style; never a number."},"__schema469":{"type":"object","properties":{"title":{"type":"string"},"prizeType":{"type":"string","enum":["CASH","SITE_CREDIT","PHYSICAL"]},"value":{"$ref":"#/components/schemas/Money"},"cashAlternative":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]}},"required":["title","prizeType","value","cashAlternative"],"additionalProperties":false},"__schema470":{"type":"string","format":"date-time"},"__schema471":{"type":"string","enum":["AWARDED_CREDITED","PENDING_CLAIM","CLAIMED","VERIFYING","APPROVED","FULFILLING","FULFILLED","FORFEITED","WITHHELD","VOID"]},"__schema472":{"anyOf":[{"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)$"},"status":{"type":"string","enum":["OPEN","SUBMITTED","VERIFYING","APPROVED","REJECTED","FULFILLED","FORFEITED"]},"choice":{"anyOf":[{"type":"string","enum":["PRIZE","CASH_ALTERNATIVE"]},{"type":"null"}]},"choiceDeadlineAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"deliveryAddress":{"anyOf":[{"$ref":"#/components/schemas/Address"},{"type":"null"}]},"publicity":{"anyOf":[{"type":"object","properties":{"allowName":{"type":"boolean"},"allowMedia":{"type":"boolean"}},"required":["allowName","allowMedia"],"additionalProperties":false},{"type":"null"}]},"actionsRequired":{"type":"array","items":{"type":"string","enum":["CHOOSE","ADDRESS","PRIZE_TERMS","AGE_CHECK"]}},"timeline":{"type":"array","items":{"type":"object","properties":{"step":{"type":"string","enum":["OPEN","SUBMITTED","VERIFYING","APPROVED","REJECTED","FULFILLED","FORFEITED","DISPATCHED","DELIVERED","PAID"]},"at":{"type":"string","format":"date-time"},"note":{"type":["string","null"]}},"required":["step","at","note"],"additionalProperties":false}}},"required":["id","status","choice","choiceDeadlineAt","deliveryAddress","publicity","actionsRequired","timeline"],"additionalProperties":false},{"type":"null"}]},"__schema473":{"anyOf":[{"type":"object","properties":{"method":{"type":"string","enum":["WALLET_CASH","WALLET_CREDIT","BANK_TRANSFER","COURIER","HAND_DELIVERY","COLLECTION"]},"courier":{"type":["string","null"]},"trackingNumber":{"type":["string","null"]},"dispatchedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"deliveredAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"amount":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"paidAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":["method","courier","trackingNumber","dispatchedAt","deliveredAt","amount","paidAt"],"additionalProperties":false},{"type":"null"}]},"__schema474":{"type":"string","enum":["UNVERIFIED","PENDING","VERIFIED","FAILED","REFERRED"]},"__schema475":{"anyOf":[{"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)$"},{"type":"null"}]},"__schema476":{"type":"boolean"},"__schema477":{"type":["string","null"]},"__schema478":{"description":"ID images already sent for the pending check.","$ref":"#/components/schemas/__schema479"},"__schema479":{"type":"boolean"},"__schema480":{"description":"The pending check is a provider journey (OneID), not a document check.","$ref":"#/components/schemas/__schema481"},"__schema481":{"type":"boolean"},"__schema482":{"type":"object","properties":{"kind":{"type":"string","const":"UPLOAD_REQUIRED"},"verificationId":{"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)$"},"accepted":{"type":"array","items":{"type":"string","enum":["PASSPORT","DRIVING_LICENCE","NATIONAL_ID"]}},"needsSelfie":{"type":"boolean"},"files":{"type":"object","properties":{"maxBytes":{"type":"number"},"contentTypes":{"type":"array","items":{"type":"string","enum":["image/jpeg","image/png","image/webp"]}}},"required":["maxBytes","contentTypes"],"additionalProperties":false}},"required":["kind","verificationId","accepted","needsSelfie","files"],"additionalProperties":false},"__schema483":{"type":"object","properties":{"kind":{"type":"string","const":"REDIRECT"},"verificationId":{"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)$"},"url":{"type":"string"}},"required":["kind","verificationId","url"],"additionalProperties":false},"__schema484":{"type":"object","properties":{"kind":{"type":"string","const":"COMPLETED"},"verificationId":{"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)$"},"status":{"type":"string","enum":["PASSED","FAILED","REFER"]}},"required":["kind","verificationId","status"],"additionalProperties":false},"__schema485":{"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)$"},"__schema486":{"type":"string","enum":["PENDING","PASSED","FAILED","REFER","CANCELLED","EXPIRED"]},"__schema487":{"type":"string","enum":["OPERATOR_MAX_AND_PLAYER","OPERATOR_MAX","PLAYER_SET"]},"__schema488":{"type":"array","items":{"type":"object","properties":{"period":{"type":"string","enum":["DAY","WEEK","MONTH"]},"amount":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}],"description":"Effective limit."},"setBy":{"anyOf":[{"type":"string","enum":["PLAYER","OPERATOR","TENANT_MAX"]},{"type":"null"}]},"spent":{"$ref":"#/components/schemas/Money"},"remaining":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}]},"pending":{"anyOf":[{"type":"object","properties":{"amount":{"anyOf":[{"$ref":"#/components/schemas/Money"},{"type":"null"}],"description":"Null means removal."},"effectiveFrom":{"type":"string","format":"date-time"},"confirmable":{"type":"boolean"},"lapsesAt":{"type":"string","format":"date-time"}},"required":["amount","effectiveFrom","confirmable","lapsesAt"],"additionalProperties":false},{"type":"null"}]}},"required":["period","amount","setBy","spent","remaining","pending"],"additionalProperties":false}},"__schema489":{"type":"number"},"__schema490":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["TAKE_A_BREAK","SELF_EXCLUSION","OPERATOR_COOL_OFF","OPERATOR_PARTICIPATION_BLOCK"]},"until":{"anyOf":[{"$ref":"#/components/schemas/__schema491"},{"type":"null"}],"description":"Null means indefinite."},"reactivationRequired":{"type":"boolean"}},"required":["kind","until","reactivationRequired"],"additionalProperties":false},{"type":"null"}]},"__schema491":{"type":"string","format":"date-time"},"__schema492":{"type":"array","items":{"type":"string"}},"__schema493":{"type":"array","items":{"type":"string"}},"__schema494":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}},"required":["name","url"],"additionalProperties":false}},"__schema495":{"type":"object","properties":{"email":{"type":"boolean"},"sms":{"type":"boolean"},"push":{"type":"boolean"}},"required":["email","sms","push"],"additionalProperties":false},"__schema496":{"type":"object","properties":{"email":{"type":"object","properties":{"version":{"type":"string"},"text":{"type":"string"}},"required":["version","text"],"additionalProperties":false},"sms":{"type":"object","properties":{"version":{"type":"string"},"text":{"type":"string"}},"required":["version","text"],"additionalProperties":false},"push":{"type":"object","properties":{"version":{"type":"string"},"text":{"type":"string"}},"required":["version","text"],"additionalProperties":false}},"required":["email","sms","push"],"additionalProperties":false},"__schema497":{"type":"string","enum":["STANDARD","INITIALS_ONLY","ANONYMOUS"]},"__schema498":{"type":"boolean"},"__schema499":{"type":"string","const":"EMAIL"},"__schema500":{"type":"array","items":{"$ref":"#/components/schemas/__schema501"},"description":"Newest first, at most 50."},"__schema501":{"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)$"},"channel":{"type":"string","enum":["EMAIL","SMS","PUSH","POST","PHONE"]},"purpose":{"type":"string","enum":["MARKETING","THIRD_PARTY_MARKETING","WINNER_PUBLICITY","WINNER_MEDIA","ACTIVITY_FEED"]},"status":{"type":"string","enum":["OPTED_IN","OPTED_OUT"]},"wordingVersion":{"type":["string","null"]},"source":{"type":"string"},"capturedAt":{"type":"string","format":"date-time"}},"required":["id","channel","purpose","status","wordingVersion","source","capturedAt"],"additionalProperties":false},"__schema502":{"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)$"},"__schema503":{"type":"string","format":"date-time"},"__schema504":{"type":"string","const":"EMAIL"},"__schema505":{"type":"object","properties":{"reference":{"type":"string"}},"required":["reference"],"additionalProperties":false},"__schema506":{"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)$"},"__schema507":{"type":"string"},"__schema508":{"type":"string"},"__schema509":{"type":"string"},"__schema510":{"type":"string","format":"date-time"},"__schema511":{"type":"string","format":"date-time"},"__schema512":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema513":{"anyOf":[{"type":"object","properties":{"available":{"type":"boolean"},"expiresAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":["available","expiresAt"],"additionalProperties":false},{"type":"null"}]},"__schema514":{"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)$"},"__schema515":{"type":"string"},"__schema516":{"type":"string","enum":["CANONICAL","WORDPRESS_WOOCOMMERCE","RAFFLEX","GENERIC_CSV"]},"__schema517":{"type":"string","enum":["UPSERT","SNAPSHOT"]},"__schema518":{"type":"string","enum":["DRAFT","UPLOADED","VALIDATING","VALIDATED","NEEDS_FIX","IMPORTING","PAUSED","VERIFYING","COMPLETED","FAILED","FAILED_VERIFICATION","CANCELLED","ROLLING_BACK","ROLLED_BACK"]},"__schema519":{"type":"string","enum":["ADMIN","API"]},"__schema520":{"type":"string","format":"date-time"},"__schema521":{"type":"string"},"__schema522":{"type":"number"},"__schema523":{"type":"object","properties":{"on_duplicate_email":{"$ref":"#/components/schemas/__schema524"},"guest_orders":{"$ref":"#/components/schemas/__schema525"},"unpaid_orders":{"$ref":"#/components/schemas/__schema526"},"order_history_from":{"$ref":"#/components/schemas/__schema527"},"dormant_players":{"$ref":"#/components/schemas/__schema528"},"consent_wording":{"$ref":"#/components/schemas/__schema529"},"underage":{"$ref":"#/components/schemas/__schema530"},"naive_timezone":{"$ref":"#/components/schemas/__schema531"},"password_input_transform":{"$ref":"#/components/schemas/__schema532"},"wrap_weak_hashes":{"$ref":"#/components/schemas/__schema533"},"set_password_emails":{"$ref":"#/components/schemas/__schema534"},"status_map":{"$ref":"#/components/schemas/__schema535"}},"additionalProperties":false,"description":"Import options as submitted."},"__schema524":{"type":"string","enum":["reject","keep_most_recent","merge"]},"__schema525":{"type":"string","enum":["link_or_create_unclaimed","link_or_anonymous"]},"__schema526":{"type":"string","enum":["skip","import"]},"__schema527":{"type":["string","null"]},"__schema528":{"anyOf":[{},{"type":"string","const":"import"}]},"__schema529":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"wording":{"type":"string"},"version":{"type":"string"}},"required":["wording","version"],"additionalProperties":false}},"__schema530":{"type":"string","enum":["reject","import_suspended"]},"__schema531":{"type":["string","null"]},"__schema532":{"type":"string","enum":["none","php_trim"]},"__schema533":{"type":"boolean"},"__schema534":{"type":"string","enum":["on_login_attempt","campaign_at_go_live","none"]},"__schema535":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"__schema536":{"anyOf":[{"$ref":"#/components/schemas/__schema537"},{"type":"null"}],"description":"Import manifest, when supplied."},"__schema537":{"type":"object","properties":{"spec_version":{"type":"string","const":"1.0"},"source_system":{"type":"string"},"profile":{"type":"string","enum":["canonical","wordpress_woocommerce","rafflex","generic_csv"]},"exported_at":{"type":"string"},"naive_timezone":{"type":["string","null"]},"files":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"string","enum":["players","responsible_play","addresses","consents","wallet_balances","competitions","orders","order_lines","refunds","tickets","instant_win_prizes","draws","winners","redirects"]},"path":{"type":"string","minLength":1},"rows":{"type":"integer","minimum":0,"maximum":9007199254740991},"sha256":{"type":"string"}},"required":["entity","path","rows","sha256"],"additionalProperties":false}},"control_totals":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}}},"required":["spec_version","source_system","profile","exported_at","naive_timezone","files","control_totals"],"additionalProperties":false},"__schema538":{"type":"boolean"},"__schema539":{"type":"number"},"__schema540":{"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)$"},"slotLabel":{"type":["string","null"]},"entity":{"anyOf":[{"type":"string","enum":["PLAYERS","RESPONSIBLE_PLAY","ADDRESSES","CONSENTS","WALLET_BALANCES","COMPETITIONS","ORDERS","ORDER_LINES","REFUNDS","TICKETS","INSTANT_WIN_PRIZES","DRAWS","WINNERS","REDIRECTS"]},{"type":"null"}]},"kind":{"type":"string","enum":["CANONICAL","RAW"]},"status":{"type":"string","enum":["UPLOADING","UPLOADED","CONVERTED","CHECKSUM_MISMATCH"]},"bytes":{"type":"number"},"receivedBytes":{"type":"number"},"rows":{"type":["number","null"]},"sha256":{"type":["string","null"]}},"required":["id","slotLabel","entity","kind","status","bytes","receivedBytes","rows","sha256"],"additionalProperties":false}},"__schema541":{"type":"object","properties":{"rows":{"type":"number"},"create":{"type":"number"},"update":{"type":"number"},"unchanged":{"type":"number"},"skip":{"type":"number"},"conflict":{"type":"number"},"errors":{"type":"number"}},"required":["rows","create","update","unchanged","skip","conflict","errors"],"additionalProperties":false},"__schema542":{"anyOf":[{"type":"object","properties":{"phase":{"anyOf":[{"type":"string","enum":["PLAYERS","RESPONSIBLE_PLAY","ADDRESSES","CONSENTS","WALLET_BALANCES","COMPETITIONS","ORDERS","ORDER_LINES","REFUNDS","TICKETS","INSTANT_WIN_PRIZES","DRAWS","WINNERS","REDIRECTS"]},{"type":"null"}]},"rowsDone":{"type":"number"},"rowsTotal":{"type":"number"}},"required":["phase","rowsDone","rowsTotal"],"additionalProperties":false},{"type":"null"}]},"__schema543":{"anyOf":[{"type":"object","properties":{"validatedAt":{"type":"string","format":"date-time"},"controlTotalsMatched":{"type":"boolean"},"errorsCsvFileId":{"anyOf":[{"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)$"},{"type":"null"}]},"conversionReportFileId":{"anyOf":[{"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)$"},{"type":"null"}]}},"required":["validatedAt","controlTotalsMatched","errorsCsvFileId","conversionReportFileId"],"additionalProperties":false},{"type":"null"}]},"__schema544":{"anyOf":[{"type":"object","properties":{"approvedAt":{"type":"string","format":"date-time"},"approvedBy":{"type":"string"},"approvedChecksums":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"skipRejectedRows":{"type":"boolean"},"reconciliationSignoff":{"type":"object","properties":{"by":{"type":"string"},"at":{"type":"string","format":"date-time"},"note":{"type":["string","null"]}},"required":["by","at","note"],"additionalProperties":false},"continuations":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["LIVE_COMPETITION","LIVE_INSTANT_WIN_COMMITMENT"]},"externalId":{"type":"string"},"decision":{"type":"string","enum":["CONTINUE","HISTORY_ONLY"]},"reason":{"type":"string"}},"required":["kind","externalId","decision","reason"],"additionalProperties":false}}},"required":["approvedAt","approvedBy","approvedChecksums","skipRejectedRows","reconciliationSignoff","continuations"],"additionalProperties":false},{"type":"null"}]},"__schema545":{"anyOf":[{"type":"object","properties":{"approvedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"approvedBy":{"type":["string","null"]},"startedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"completedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]}},"required":["approvedAt","approvedBy","startedAt","completedAt"],"additionalProperties":false},{"type":"null"}]},"__schema546":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema547":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema548":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema549":{"type":["string","null"]},"__schema550":{"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)$"},"__schema551":{"type":"string"},"__schema552":{"type":"string","enum":["CANONICAL","WORDPRESS_WOOCOMMERCE","RAFFLEX","GENERIC_CSV"]},"__schema553":{"type":"string","enum":["UPSERT","SNAPSHOT"]},"__schema554":{"type":"string","enum":["DRAFT","UPLOADED","VALIDATING","VALIDATED","NEEDS_FIX","IMPORTING","PAUSED","VERIFYING","COMPLETED","FAILED","FAILED_VERIFICATION","CANCELLED","ROLLING_BACK","ROLLED_BACK"]},"__schema555":{"type":"string","enum":["ADMIN","API"]},"__schema556":{"type":"string","format":"date-time"},"__schema557":{"type":"string"},"__schema558":{"type":"number"},"__schema559":{"type":"array","items":{"$ref":"#/components/schemas/__schema560"},"description":"Entities with a canonical file in the job."},"__schema560":{"type":"string","enum":["PLAYERS","RESPONSIBLE_PLAY","ADDRESSES","CONSENTS","WALLET_BALANCES","COMPETITIONS","ORDERS","ORDER_LINES","REFUNDS","TICKETS","INSTANT_WIN_PRIZES","DRAWS","WINNERS","REDIRECTS"]},"__schema561":{"type":"object","properties":{"rows":{"type":"number"},"errors":{"type":"number"},"conflict":{"type":"number"}},"required":["rows","errors","conflict"],"additionalProperties":false},"__schema562":{"anyOf":[{"type":"object","properties":{"phase":{"anyOf":[{"type":"string","enum":["PLAYERS","RESPONSIBLE_PLAY","ADDRESSES","CONSENTS","WALLET_BALANCES","COMPETITIONS","ORDERS","ORDER_LINES","REFUNDS","TICKETS","INSTANT_WIN_PRIZES","DRAWS","WINNERS","REDIRECTS"]},{"type":"null"}]},"rowsDone":{"type":"number"},"rowsTotal":{"type":"number"}},"required":["phase","rowsDone","rowsTotal"],"additionalProperties":false},{"type":"null"}]},"__schema563":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema564":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema565":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"__schema566":{"type":["string","null"]},"__schema567":{"type":"number"},"__schema568":{"type":"string"},"__schema569":{},"Error":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/__schema90"}},"required":["error"],"additionalProperties":false,"description":"Every non-2xx answer. Codes are stable; messages are safe English."},"Meta":{"type":"object","properties":{"serverTime":{"$ref":"#/components/schemas/__schema88"},"requestId":{"$ref":"#/components/schemas/__schema89"}},"required":["serverTime","requestId"],"additionalProperties":false},"PageInfo":{"type":"object","properties":{"nextCursor":{"$ref":"#/components/schemas/__schema218"},"limit":{"$ref":"#/components/schemas/__schema219"}},"required":["nextCursor","limit"],"additionalProperties":false}},"securitySchemes":{"ApiKey":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"`sk_…` (servers only) or `pk_…` (browsers and apps; the Origin must be allowed). Never in a query string."},"PlayerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"The player access token from POST /auth/login."}}}}