{"openapi":"3.1.0","info":{"title":"store-platform API","version":"0.1.0"},"paths":{"/health":{"get":{"tags":["health"],"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthCheck"}}}}}}},"/ready":{"get":{"tags":["health"],"summary":"Readiness","operationId":"readiness_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthCheck"}}}}}}},"/v1/system/status":{"get":{"tags":["system"],"summary":"Get System Status","operationId":"get_system_status_v1_system_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicSystemStatusResponse"}}}}}}},"/v1/admin/system/maintenance":{"get":{"tags":["admin-system"],"summary":"Get Maintenance Settings","operationId":"get_maintenance_settings_v1_admin_system_maintenance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceSettingsResponse"}}}}},"security":[{"HTTPBearer":[]}]},"put":{"tags":["admin-system"],"summary":"Put Maintenance Settings","operationId":"put_maintenance_settings_v1_admin_system_maintenance_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/address/postal-code/{postal_code}":{"get":{"tags":["address"],"summary":"Get Postal Code Candidates","operationId":"get_postal_code_candidates_api_v1_address_postal_code__postal_code__get","parameters":[{"name":"postal_code","in":"path","required":true,"schema":{"type":"string","title":"Postal Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostalCodeLookupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/address/prefectures":{"get":{"tags":["address"],"summary":"Get Prefectures","operationId":"get_prefectures_api_v1_address_prefectures_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrefecturesResponse"}}}}}}},"/api/v1/address/municipalities":{"get":{"tags":["address"],"summary":"Get Municipalities","operationId":"get_municipalities_api_v1_address_municipalities_get","parameters":[{"name":"prefecture_code","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":2,"title":"Prefecture Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MunicipalitiesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/address/areas":{"get":{"tags":["address"],"summary":"Get Areas","operationId":"get_areas_api_v1_address_areas_get","parameters":[{"name":"prefecture_code","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":2,"title":"Prefecture Code"}},{"name":"city_code","in":"query","required":true,"schema":{"type":"string","minLength":5,"maxLength":5,"title":"City Code"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":30,"minimum":1,"default":30,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AreasResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/address/reference-point":{"get":{"tags":["address"],"summary":"Get Reference Point","operationId":"get_reference_point_api_v1_address_reference_point_get","parameters":[{"name":"city_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":5,"maxLength":5},{"type":"null"}],"title":"City Code"}},{"name":"area_label","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Label"}},{"name":"prefecture_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":2},{"type":"null"}],"title":"Prefecture Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressReferencePointResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/legal/documents":{"get":{"tags":["legal"],"summary":"List Legal Documents","operationId":"list_legal_documents_v1_legal_documents_get","parameters":[{"name":"audience","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(customer|store)$"},{"type":"null"}],"title":"Audience"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalDocumentListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/legal/consent":{"get":{"tags":["legal-customer"],"summary":"Get Customer Legal Consent","operationId":"get_customer_legal_consent_v1_customer_legal_consent_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalConsentStateResponse"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["legal-customer"],"summary":"Create Customer Legal Consent","operationId":"create_customer_legal_consent_v1_customer_legal_consent_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalConsentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalConsentStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/legal/consent":{"get":{"tags":["legal-store"],"summary":"Get Store Legal Consent","operationId":"get_store_legal_consent_v1_store_admin_legal_consent_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalConsentStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["legal-store"],"summary":"Create Store Legal Consent","operationId":"create_store_legal_consent_v1_store_admin_legal_consent_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalConsentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalConsentStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/admin/google-login":{"post":{"tags":["auth"],"summary":"Login Admin With Google","operationId":"login_admin_with_google_v1_auth_admin_google_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminGoogleLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/admin/login":{"post":{"tags":["auth"],"summary":"Login Admin","operationId":"login_admin_v1_auth_admin_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/staff/oauth/providers":{"get":{"tags":["auth"],"summary":"Get Staff Oauth Providers","operationId":"get_staff_oauth_providers_v1_auth_staff_oauth_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffOAuthProvidersResponse"}}}}}}},"/v1/auth/staff/oauth/{provider}/verify-email":{"post":{"tags":["auth"],"summary":"Verify Staff Oauth Email","operationId":"verify_staff_oauth_email_v1_auth_staff_oauth__provider__verify_email_post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffOAuthIdTokenLoginRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffOAuthVerifiedEmailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/staff/oauth/{provider}/login":{"post":{"tags":["auth"],"summary":"Login Staff With Oauth","operationId":"login_staff_with_oauth_v1_auth_staff_oauth__provider__login_post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffOAuthIdTokenLoginRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/staff/firebase/login":{"post":{"tags":["auth"],"summary":"Login Staff With Firebase","description":"Exchange a Firebase Google/Apple login for one existing store-member session.","operationId":"login_staff_with_firebase_v1_auth_staff_firebase_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffFirebaseIdTokenLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/staff/firebase/session":{"post":{"tags":["auth"],"summary":"Reconnect Current Staff Firebase Session","description":"Reconnect the signed-in staff browser to the exact linked Firebase UID.\n\nThis bridge exists because the SOUKAI staff session and Firebase browser\npersistence are separate credentials.  It never looks up an account by email\nor phone and never creates a Customer or SoukaiUser.","operationId":"reconnect_current_staff_firebase_session_v1_auth_staff_firebase_session_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffFirebaseSessionResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/auth/staff/verified-phone/sync":{"post":{"tags":["auth"],"summary":"Sync Current Staff Verified Phone","description":"Synchronize the current actor's verified phone without creating Customer.\n\nThe Store session authorizes the actor; the fresh Firebase token proves the\nsame UID still has a verified phone. No frontend boolean, email, phone input,\nor another responsible person's token can satisfy this gate.","operationId":"sync_current_staff_verified_phone_v1_auth_staff_verified_phone_sync_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffVerifiedPhoneSyncRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffVerifiedPhoneSyncResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/auth/staff/invitations/{token}/accept-firebase":{"post":{"tags":["auth"],"summary":"Accept Staff Invite With Firebase","description":"Bind a verified Firebase Google/Apple identity exactly once while accepting an invite.","operationId":"accept_staff_invite_with_firebase_v1_auth_staff_invitations__token__accept_firebase_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffAcceptInviteFirebaseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/staff/invitations/{token}/accept-google":{"post":{"tags":["auth"],"summary":"Accept Staff Invite With Google","operationId":"accept_staff_invite_with_google_v1_auth_staff_invitations__token__accept_google_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffAcceptInviteGoogleRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/staff/password-reset/request":{"post":{"tags":["auth"],"summary":"Request Staff Password Reset","operationId":"request_staff_password_reset_v1_auth_staff_password_reset_request_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffPasswordResetRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffPasswordResetRequestResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/staff/password-reset/confirm":{"post":{"tags":["auth"],"summary":"Confirm Staff Password Reset","operationId":"confirm_staff_password_reset_v1_auth_staff_password_reset_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffPasswordResetConfirmRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/staff/join-request":{"post":{"tags":["auth"],"summary":"Request Staff Join","operationId":"request_staff_join_v1_auth_staff_join_request_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffJoinRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffJoinRequestResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/staff/invite":{"get":{"tags":["auth"],"summary":"Get Staff Invite","operationId":"get_staff_invite_v1_auth_staff_invite_get","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffInviteInfoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/staff/accept-invite":{"post":{"tags":["auth"],"summary":"Accept Staff Invite","operationId":"accept_staff_invite_v1_auth_staff_accept_invite_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffAcceptInviteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/staff/login":{"post":{"tags":["auth"],"summary":"Login Staff","operationId":"login_staff_v1_auth_staff_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/staff/login/start":{"post":{"tags":["auth"],"summary":"Start Staff Login","operationId":"start_staff_login_v1_auth_staff_login_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffLoginStartRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/me":{"get":{"tags":["auth"],"summary":"Get Me","description":"Return legacy Admin state or P0 SOUKAI identity state by verified token type.\n\nThe legacy Admin response stays byte-for-byte compatible for existing clients;\nRS256 SOUKAI session tokens return the new identity projection instead.","operationId":"get_me_v1_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminMeResponse"},{"$ref":"#/components/schemas/SoukaiAuthMeResponse"}],"title":"Response Get Me V1 Auth Me Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/auth/staff/me":{"get":{"tags":["auth"],"summary":"Get Staff Me","operationId":"get_staff_me_v1_auth_staff_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffMeResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/auth/staff/me/stores":{"get":{"tags":["auth"],"summary":"List Staff Manageable Stores","operationId":"list_staff_manageable_stores_v1_auth_staff_me_stores_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffManageableStoresResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/auth/staff/switch-store":{"post":{"tags":["auth"],"summary":"Switch Staff Store","operationId":"switch_staff_store_v1_auth_staff_switch_store_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffStoreSwitchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/auth/admin/delegation-code":{"post":{"tags":["auth"],"summary":"Generate Delegation Code","operationId":"generate_delegation_code_v1_auth_admin_delegation_code_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDelegationCodeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDelegationCodeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/auth/delegation/exchange":{"post":{"tags":["auth"],"summary":"Exchange Delegation Code","operationId":"exchange_delegation_code_v1_auth_delegation_exchange_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaffDelegationExchangeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/exchange":{"post":{"tags":["identity"],"summary":"Exchange Firebase Id Token","operationId":"exchange_firebase_id_token_v1_auth_exchange_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoukaiAuthExchangeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoukaiAuthExchangeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/logout":{"post":{"tags":["identity"],"summary":"Logout Soukai Session","operationId":"logout_soukai_session_v1_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoukaiAuthLogoutResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/customer/auth/providers":{"get":{"tags":["customer"],"summary":"Get Customer Auth Providers","operationId":"get_customer_auth_providers_v1_customer_auth_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAuthProvidersResponse"}}}}}}},"/v1/customer/auth/login/start":{"post":{"tags":["customer"],"summary":"Start Customer Auth Login","operationId":"start_customer_auth_login_v1_customer_auth_login_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerLoginStartRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerLoginStartResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/auth/google/id-token":{"post":{"tags":["customer"],"summary":"Login Customer With Google","operationId":"login_customer_with_google_v1_customer_auth_google_id_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerGoogleIdTokenLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerLoginResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/auth/firebase/id-token":{"post":{"tags":["customer"],"summary":"Login Customer With Firebase","operationId":"login_customer_with_firebase_v1_customer_auth_firebase_id_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerFirebaseIdTokenLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerLoginResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/auth/firebase/identities/link":{"post":{"tags":["customer"],"summary":"Link Customer Firebase Identity Endpoint","description":"Record an already linked Firebase provider for the authenticated Customer.\n\nThe client must first call Firebase's credential-link API.  This endpoint is\nintentionally not a login path and rejects any UID that differs from the\nCustomer's existing SOUKAI identity.","operationId":"link_customer_firebase_identity_endpoint_v1_customer_auth_firebase_identities_link_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerFirebaseIdentityLinkRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerMeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/customer/auth/firebase/phone/sync":{"post":{"tags":["customer"],"summary":"Sync Customer Firebase Phone","description":"Project a verified Firebase phone change or removal for the current Customer.","operationId":"sync_customer_firebase_phone_v1_customer_auth_firebase_phone_sync_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerFirebaseIdTokenLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerFirebasePhoneSyncResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/customer/auth/apple/id-token":{"post":{"tags":["customer"],"summary":"Login Customer With Apple","operationId":"login_customer_with_apple_v1_customer_auth_apple_id_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAppleIdTokenLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerLoginResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/auth/apple/challenge":{"post":{"tags":["customer"],"summary":"Create Customer Apple Login Challenge","operationId":"create_customer_apple_login_challenge_v1_customer_auth_apple_challenge_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAppleLoginChallengeResponse"}}}}}}},"/v1/customer/auth/soukai/id-token":{"post":{"tags":["customer"],"summary":"Login Customer With Soukai","operationId":"login_customer_with_soukai_v1_customer_auth_soukai_id_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerSoukaiIdTokenLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerLoginResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/auth/logout":{"post":{"tags":["customer"],"summary":"Logout Customer Session","operationId":"logout_customer_session_v1_customer_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerLogoutResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/customer/me/delete":{"post":{"tags":["customer"],"summary":"Delete Customer Account","operationId":"delete_customer_account_v1_customer_me_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAccountDeletionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAccountDeletionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/customer/me":{"get":{"tags":["customer"],"summary":"Get Customer Me","operationId":"get_customer_me_v1_customer_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerMeResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/customer/push-device-tokens":{"post":{"tags":["customer"],"summary":"Register Customer Push Device Token","operationId":"register_customer_push_device_token_v1_customer_push_device_tokens_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushDeviceTokenRegisterRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushDeviceTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/customer/push-device-tokens/disable":{"post":{"tags":["customer"],"summary":"Disable Customer Push Device Token","operationId":"disable_customer_push_device_token_v1_customer_push_device_tokens_disable_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushDeviceTokenDisableRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushDeviceTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/customer/orders/{order_id}/claim":{"post":{"tags":["customer"],"summary":"Claim Customer Order","operationId":"claim_customer_order_v1_customer_orders__order_id__claim_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerOrderClaimRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerOrderClaimResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/orders/claim-handoff":{"post":{"tags":["customer"],"summary":"Consume Customer Order Claim Handoff Route","operationId":"consume_customer_order_claim_handoff_route_v1_customer_orders_claim_handoff_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerOrderClaimHandoffConsumeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerOrderClaimResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/customer/orders":{"get":{"tags":["customer"],"summary":"List Customer Order History","operationId":"list_customer_order_history_v1_customer_orders_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerOrderListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/orders/{order_id}":{"get":{"tags":["customer"],"summary":"Get Customer Order","operationId":"get_customer_order_v1_customer_orders__order_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerOrderDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/orders/{order_id}/payment-status":{"get":{"tags":["customer"],"summary":"Get Customer Order Payment Status","operationId":"get_customer_order_payment_status_v1_customer_orders__order_id__payment_status_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/orders/{order_id}/receipt":{"get":{"tags":["customer"],"summary":"Get Customer Order Receipt","operationId":"get_customer_order_receipt_v1_customer_orders__order_id__receipt_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerReceiptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/orders/{order_id}/receipt.pdf":{"get":{"tags":["customer"],"summary":"Get Customer Order Receipt Pdf","operationId":"get_customer_order_receipt_pdf_v1_customer_orders__order_id__receipt_pdf_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/auth/common-id/start":{"post":{"tags":["customer"],"summary":"Start","operationId":"start_v1_customer_auth_common_id_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkStart"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/customer/auth/common-id/finish":{"post":{"tags":["customer"],"summary":"Finish","operationId":"finish_v1_customer_auth_common_id_finish_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkFinish"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/customer/auth/common-id/login":{"get":{"tags":["customer"],"summary":"Login Available","operationId":"login_available_v1_customer_auth_common_id_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/customer/auth/common-id/login/start":{"post":{"tags":["customer"],"summary":"Login Start","operationId":"login_start_v1_customer_auth_common_id_login_start_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/customer/auth/common-id/login/finish":{"post":{"tags":["customer"],"summary":"Login Finish","operationId":"login_finish_v1_customer_auth_common_id_login_finish_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginFinish"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/auth/common-id/status":{"get":{"tags":["customer"],"summary":"Status","operationId":"status_v1_customer_auth_common_id_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/public/orders/{order_id}/claim-handoff":{"post":{"tags":["public-customer-orders"],"summary":"Issue Customer Order Claim Handoff Route","operationId":"issue_customer_order_claim_handoff_route_v1_public_orders__order_id__claim_handoff_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerOrderClaimRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerOrderClaimHandoffResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/customers":{"get":{"tags":["admin-customers"],"summary":"Get Admin Customers","operationId":"get_admin_customers_v1_admin_customers_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Q"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["active","restricted","suspended","banned","deleted","disabled"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCustomerListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/customers/{customer_id}":{"get":{"tags":["admin-customers"],"summary":"Get Admin Customer","operationId":"get_admin_customer_v1_admin_customers__customer_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCustomerDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/customers/{customer_id}/account-state":{"patch":{"tags":["admin-customers"],"summary":"Patch Admin Customer Account State","operationId":"patch_admin_customer_account_state_v1_admin_customers__customer_id__account_state_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Customer Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCustomerAccountStateUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCustomerAccountStateUpdateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/customers/{customer_id}/test-access":{"post":{"tags":["admin-customers"],"summary":"Post Admin Customer Test Access Grant","description":"テスト公開店舗 (``visibility_scope='test'``) の閲覧権限を付与する。","operationId":"post_admin_customer_test_access_grant_v1_admin_customers__customer_id__test_access_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Customer Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCustomerTestAccessGrantRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCustomerTestAccessUpdateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-customers"],"summary":"Delete Admin Customer Test Access Grant","description":"権限を解除する。解除後は次のリクエストからテスト公開店舗が見えなくなる。","operationId":"delete_admin_customer_test_access_grant_v1_admin_customers__customer_id__test_access_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Customer Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AdminCustomerTestAccessRevokeRequest"},{"type":"null"}],"title":"Request"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCustomerTestAccessUpdateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/customers/{customer_id}/sessions/revoke-all":{"post":{"tags":["admin-customers"],"summary":"Post Admin Customer Sessions Revoke All","operationId":"post_admin_customer_sessions_revoke_all_v1_admin_customers__customer_id__sessions_revoke_all_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCustomerSessionsRevokeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/customers/{customer_id}/firebase/reconcile":{"post":{"tags":["admin-customers"],"summary":"Post Admin Customer Firebase Reconcile","operationId":"post_admin_customer_firebase_reconcile_v1_admin_customers__customer_id__firebase_reconcile_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCustomerFirebaseReconcileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ec/applications":{"post":{"tags":["ec-public"],"summary":"Create Public Application","operationId":"create_public_application_v1_ec_applications_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcApplicationCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcApplicationCreatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ec/marketplace/products":{"get":{"tags":["ec-public"],"summary":"Get Public Marketplace Products","operationId":"get_public_marketplace_products_v1_ec_marketplace_products_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Q"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":60,"minimum":1,"default":24,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicMarketplaceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ec/shops/{slug}":{"get":{"tags":["ec-public"],"summary":"Get Public Shop","operationId":"get_public_shop_v1_ec_shops__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Q"}},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":24},{"type":"null"}],"title":"Tag"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":60,"minimum":1,"default":24,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Public Shop V1 Ec Shops  Slug  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ec/shops/{slug}/products/{product_slug}":{"get":{"tags":["ec-public"],"summary":"Get Public Product","operationId":"get_public_product_v1_ec_shops__slug__products__product_slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"product_slug","in":"path","required":true,"schema":{"type":"string","title":"Product Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Public Product V1 Ec Shops  Slug  Products  Product Slug  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ec/shops/{slug}/carts":{"post":{"tags":["ec-public"],"summary":"Create Cart","operationId":"create_cart_v1_ec_shops__slug__carts_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CartCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CartResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ec/shops/{slug}/checkout":{"post":{"tags":["ec-public"],"summary":"Checkout","operationId":"checkout_v1_ec_shops__slug__checkout_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__modules__ec__schemas__CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ec/orders/{order_id}":{"get":{"tags":["ec-public"],"summary":"Get Public Order","operationId":"get_public_order_v1_ec_orders__order_id__get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"X-EC-Order-Token","in":"header","required":true,"schema":{"type":"string","title":"X-Ec-Order-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Public Order V1 Ec Orders  Order Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ec/stripe/webhook":{"post":{"tags":["ec-public"],"summary":"Stripe Webhook","operationId":"stripe_webhook_v1_ec_stripe_webhook_post","parameters":[{"name":"Stripe-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Stripe Webhook V1 Ec Stripe Webhook Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ec/me/applications/{application_id}/claim":{"post":{"tags":["ec-customer"],"summary":"Claim Public Application","description":"Bind a public pre-login application to the authenticated SOUKAI ID once.","operationId":"claim_public_application_v1_ec_me_applications__application_id__claim_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcApplicationClaimRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ec/me/addresses":{"get":{"tags":["ec-customer"],"summary":"List Addresses","operationId":"list_addresses_v1_ec_me_addresses_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/UserAddressResponse"},"type":"array","title":"Response List Addresses V1 Ec Me Addresses Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["ec-customer"],"summary":"Create Address","operationId":"create_address_v1_ec_me_addresses_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserAddressCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserAddressResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/ec/me/addresses/import-legacy":{"post":{"tags":["ec-customer"],"summary":"Import Legacy Customer Address","description":"Explicitly copy a complete legacy Customer address; never infer/backfill it.","operationId":"import_legacy_customer_address_v1_ec_me_addresses_import_legacy_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyCustomerAddressImportRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserAddressResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/ec/me/addresses/{address_id}":{"put":{"tags":["ec-customer"],"summary":"Update Address","operationId":"update_address_v1_ec_me_addresses__address_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Address Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserAddressUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserAddressResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["ec-customer"],"summary":"Delete Address","operationId":"delete_address_v1_ec_me_addresses__address_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Address Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ec/me/addresses/{address_id}/set-primary":{"post":{"tags":["ec-customer"],"summary":"Set Primary Address","operationId":"set_primary_address_v1_ec_me_addresses__address_id__set_primary_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"address_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Address Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressVersionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserAddressResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/application-readiness":{"get":{"tags":["ec-store-admin"],"summary":"Get Store Application Readiness","operationId":"get_store_application_readiness_v1_store_admin_ec_application_readiness_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcApplicationReadinessResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/ec/applications":{"get":{"tags":["ec-store-admin"],"summary":"List Store Applications","operationId":"list_store_applications_v1_store_admin_ec_applications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/EcApplicationResponse"},"type":"array","title":"Response List Store Applications V1 Store Admin Ec Applications Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["ec-store-admin"],"summary":"Create Store Application","operationId":"create_store_application_v1_store_admin_ec_applications_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcApplicationCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/ec/business-verification":{"get":{"tags":["ec-store-admin"],"summary":"Business Verification Readiness","operationId":"business_verification_readiness_v1_store_admin_ec_business_verification_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Business Verification Readiness V1 Store Admin Ec Business Verification Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["ec-store-admin"],"summary":"Start Business Verification","operationId":"start_business_verification_v1_store_admin_ec_business_verification_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/BusinessVerificationSubmitRequest"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationCaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/ec/applications/{application_id}/verification":{"get":{"tags":["ec-store-admin"],"summary":"Get Store Business Verification","operationId":"get_store_business_verification_v1_store_admin_ec_applications__application_id__verification_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationCaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["ec-store-admin"],"summary":"Submit Store Business Verification","operationId":"submit_store_business_verification_v1_store_admin_ec_applications__application_id__verification_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationSubmitRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationCaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/business-verifications/{application_id}":{"get":{"tags":["ec-store-admin"],"summary":"Get Store Business Verification","operationId":"get_store_business_verification_v1_store_admin_ec_business_verifications__application_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationCaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["ec-store-admin"],"summary":"Submit Store Business Verification","operationId":"submit_store_business_verification_v1_store_admin_ec_business_verifications__application_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationSubmitRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationCaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/applications/{application_id}/verification/documents":{"post":{"tags":["ec-store-admin"],"summary":"Retired Business Document Upload","operationId":"retired_business_document_upload_v1_store_admin_ec_applications__application_id__verification_documents_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"410":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/business-verifications/{application_id}/documents":{"post":{"tags":["ec-store-admin"],"summary":"Retired Business Document Upload","operationId":"retired_business_document_upload_v1_store_admin_ec_business_verifications__application_id__documents_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"410":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops":{"get":{"tags":["ec-store-admin"],"summary":"List Store Shops","operationId":"list_store_shops_v1_store_admin_ec_shops_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/EcShopResponse"},"type":"array","title":"Response List Store Shops V1 Store Admin Ec Shops Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["ec-store-admin"],"summary":"Create Shop","operationId":"create_shop_v1_store_admin_ec_shops_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcShopCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcShopResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/ec/shops/{shop_id}":{"patch":{"tags":["ec-store-admin"],"summary":"Update Shop","operationId":"update_shop_v1_store_admin_ec_shops__shop_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcShopUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcShopResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/readiness":{"get":{"tags":["ec-store-admin"],"summary":"Get Shop Readiness","operationId":"get_shop_readiness_v1_store_admin_ec_shops__shop_id__readiness_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Shop Readiness V1 Store Admin Ec Shops  Shop Id  Readiness Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/publish":{"post":{"tags":["ec-store-admin"],"summary":"Publish Shop","operationId":"publish_shop_v1_store_admin_ec_shops__shop_id__publish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcShopPublishRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcShopResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/unpublish":{"post":{"tags":["ec-store-admin"],"summary":"Unpublish Shop","operationId":"unpublish_shop_v1_store_admin_ec_shops__shop_id__unpublish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcShopResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/categories":{"get":{"tags":["ec-store-admin"],"summary":"List Categories","operationId":"list_categories_v1_store_admin_ec_shops__shop_id__categories_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Categories V1 Store Admin Ec Shops  Shop Id  Categories Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["ec-store-admin"],"summary":"Create Category","operationId":"create_category_v1_store_admin_ec_shops__shop_id__categories_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Category V1 Store Admin Ec Shops  Shop Id  Categories Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/memberships":{"get":{"tags":["ec-store-admin"],"summary":"List Shop Memberships","operationId":"list_shop_memberships_v1_store_admin_ec_shops__shop_id__memberships_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Shop Memberships V1 Store Admin Ec Shops  Shop Id  Memberships Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["ec-store-admin"],"summary":"Put Shop Membership","operationId":"put_shop_membership_v1_store_admin_ec_shops__shop_id__memberships_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcShopMembershipRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Put Shop Membership V1 Store Admin Ec Shops  Shop Id  Memberships Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/products":{"post":{"tags":["ec-store-admin"],"summary":"Create Product","operationId":"create_product_v1_store_admin_ec_shops__shop_id__products_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Product V1 Store Admin Ec Shops  Shop Id  Products Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/products/{product_id}":{"patch":{"tags":["ec-store-admin"],"summary":"Update Product","operationId":"update_product_v1_store_admin_ec_shops__shop_id__products__product_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}},{"name":"product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Product Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Product V1 Store Admin Ec Shops  Shop Id  Products  Product Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/media":{"post":{"tags":["ec-store-admin"],"summary":"Upload Shop Media","operationId":"upload_shop_media_v1_store_admin_ec_shops__shop_id__media_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_shop_media_v1_store_admin_ec_shops__shop_id__media_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Upload Shop Media V1 Store Admin Ec Shops  Shop Id  Media Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/product-images/crop":{"post":{"tags":["ec-store-admin"],"summary":"Crop Product Image","operationId":"crop_product_image_v1_store_admin_ec_shops__shop_id__product_images_crop_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductImageCropRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Crop Product Image V1 Store Admin Ec Shops  Shop Id  Product Images Crop Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/variants/{variant_id}":{"patch":{"tags":["ec-store-admin"],"summary":"Update Variant","operationId":"update_variant_v1_store_admin_ec_shops__shop_id__variants__variant_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}},{"name":"variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariantUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Variant V1 Store Admin Ec Shops  Shop Id  Variants  Variant Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/workspace":{"get":{"tags":["ec-store-admin"],"summary":"Get Shop Workspace","operationId":"get_shop_workspace_v1_store_admin_ec_shops__shop_id__workspace_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Shop Workspace V1 Store Admin Ec Shops  Shop Id  Workspace Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/products/{product_id}/status":{"post":{"tags":["ec-store-admin"],"summary":"Set Product Status","operationId":"set_product_status_v1_store_admin_ec_shops__shop_id__products__product_id__status_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}},{"name":"product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Product Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductStatusRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Set Product Status V1 Store Admin Ec Shops  Shop Id  Products  Product Id  Status Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/variants/{variant_id}/inventory":{"post":{"tags":["ec-store-admin"],"summary":"Adjust Inventory","operationId":"adjust_inventory_v1_store_admin_ec_shops__shop_id__variants__variant_id__inventory_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}},{"name":"variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InventoryAdjustRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Adjust Inventory V1 Store Admin Ec Shops  Shop Id  Variants  Variant Id  Inventory Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/shipping":{"put":{"tags":["ec-store-admin"],"summary":"Put Shipping","operationId":"put_shipping_v1_store_admin_ec_shops__shop_id__shipping_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShippingProfileRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Put Shipping V1 Store Admin Ec Shops  Shop Id  Shipping Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/theme":{"put":{"tags":["ec-store-admin"],"summary":"Put Theme","operationId":"put_theme_v1_store_admin_ec_shops__shop_id__theme_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}},{"name":"publish","in":"query","required":true,"schema":{"type":"boolean","title":"Publish"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Put Theme V1 Store Admin Ec Shops  Shop Id  Theme Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/orders":{"get":{"tags":["ec-store-admin"],"summary":"List Shop Orders","operationId":"list_shop_orders_v1_store_admin_ec_shops__shop_id__orders_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Shop Orders V1 Store Admin Ec Shops  Shop Id  Orders Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/orders/{order_id}/shipment":{"post":{"tags":["ec-store-admin"],"summary":"Update Shipment","operationId":"update_shipment_v1_store_admin_ec_shops__shop_id__orders__order_id__shipment_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}},{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipmentUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Update Shipment V1 Store Admin Ec Shops  Shop Id  Orders  Order Id  Shipment Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/shops/{shop_id}/orders/{order_id}/refunds":{"post":{"tags":["ec-store-admin"],"summary":"Create Refund","operationId":"create_refund_v1_store_admin_ec_shops__shop_id__orders__order_id__refunds_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}},{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Refund V1 Store Admin Ec Shops  Shop Id  Orders  Order Id  Refunds Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/integrations":{"get":{"tags":["ec-store-admin"],"summary":"List Integrations","operationId":"list_integrations_v1_store_admin_ec_integrations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response List Integrations V1 Store Admin Ec Integrations Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["ec-store-admin"],"summary":"Create Integration","operationId":"create_integration_v1_store_admin_ec_integrations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Integration V1 Store Admin Ec Integrations Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/ec/integrations/{integration_id}/credentials":{"post":{"tags":["ec-store-admin"],"summary":"Issue Credential","operationId":"issue_credential_v1_store_admin_ec_integrations__integration_id__credentials_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Integration Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialIssueRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialCreatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["ec-store-admin"],"summary":"List Credentials","operationId":"list_credentials_v1_store_admin_ec_integrations__integration_id__credentials_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Integration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Credentials V1 Store Admin Ec Integrations  Integration Id  Credentials Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/integrations/{integration_id}/credentials/{credential_id}/revoke":{"post":{"tags":["ec-store-admin"],"summary":"Revoke Credential","operationId":"revoke_credential_v1_store_admin_ec_integrations__integration_id__credentials__credential_id__revoke_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Integration Id"}},{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Credential Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcFreshIdentityRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Revoke Credential V1 Store Admin Ec Integrations  Integration Id  Credentials  Credential Id  Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/integrations/{integration_id}/webhooks":{"post":{"tags":["ec-store-admin"],"summary":"Register Webhook","operationId":"register_webhook_v1_store_admin_ec_integrations__integration_id__webhooks_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Integration Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointCreatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["ec-store-admin"],"summary":"List Webhook Endpoints","operationId":"list_webhook_endpoints_v1_store_admin_ec_integrations__integration_id__webhooks_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Integration Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Webhook Endpoints V1 Store Admin Ec Integrations  Integration Id  Webhooks Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/integrations/{integration_id}/webhooks/{endpoint_id}/verify":{"post":{"tags":["ec-store-admin"],"summary":"Verify Webhook Endpoint","operationId":"verify_webhook_endpoint_v1_store_admin_ec_integrations__integration_id__webhooks__endpoint_id__verify_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Integration Id"}},{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Endpoint Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookVerifyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Verify Webhook Endpoint V1 Store Admin Ec Integrations  Integration Id  Webhooks  Endpoint Id  Verify Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec/stripe":{"get":{"tags":["ec-store-admin"],"summary":"Stripe Status","operationId":"stripe_status_v1_store_admin_ec_stripe_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Stripe Status V1 Store Admin Ec Stripe Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/ec/stripe/onboarding":{"post":{"tags":["ec-store-admin"],"summary":"Start Stripe Onboarding","operationId":"start_stripe_onboarding_v1_store_admin_ec_stripe_onboarding_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcFreshIdentityRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Start Stripe Onboarding V1 Store Admin Ec Stripe Onboarding Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/ec/stripe/refresh":{"post":{"tags":["ec-store-admin"],"summary":"Refresh Stripe Status","operationId":"refresh_stripe_status_v1_store_admin_ec_stripe_refresh_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Refresh Stripe Status V1 Store Admin Ec Stripe Refresh Post"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/ec/business-verifications":{"get":{"tags":["ec-admin"],"summary":"List Standalone Business Verifications","operationId":"list_standalone_business_verifications_v1_admin_ec_business_verifications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BusinessVerificationCaseResponse"},"type":"array","title":"Response List Standalone Business Verifications V1 Admin Ec Business Verifications Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/ec/applications/{application_id}/verification":{"get":{"tags":["ec-admin"],"summary":"Get Admin Business Verification","operationId":"get_admin_business_verification_v1_admin_ec_applications__application_id__verification_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationCaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/ec/business-verifications/{application_id}":{"get":{"tags":["ec-admin"],"summary":"Get Admin Business Verification","operationId":"get_admin_business_verification_v1_admin_ec_business_verifications__application_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationCaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/ec/verification/documents/{document_id}/scan":{"post":{"tags":["ec-admin"],"summary":"Scan Admin Business Verification Document","operationId":"scan_admin_business_verification_document_v1_admin_ec_verification_documents__document_id__scan_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationDocumentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/ec/verification/documents/{document_id}/delete":{"post":{"tags":["ec-admin"],"summary":"Delete Admin Business Verification Document","description":"Immediately remove a prohibited, mistaken, or no-longer-needed original.","operationId":"delete_admin_business_verification_document_v1_admin_ec_verification_documents__document_id__delete_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationDocumentDeleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationDocumentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/ec/verification/documents/{document_id}/access":{"post":{"tags":["ec-admin"],"summary":"Issue Business Verification Document Access","operationId":"issue_business_verification_document_access_v1_admin_ec_verification_documents__document_id__access_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationDocumentAccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/ec/verification/documents/{document_id}/content":{"get":{"tags":["ec-admin"],"summary":"Download Business Verification Document","operationId":"download_business_verification_document_v1_admin_ec_verification_documents__document_id__content_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"x-document-access-token","in":"header","required":true,"schema":{"type":"string","minLength":32,"maxLength":200,"title":"X-Document-Access-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/ec/applications/{application_id}/verification/review":{"post":{"tags":["ec-admin"],"summary":"Review Business Verification","operationId":"review_business_verification_v1_admin_ec_applications__application_id__verification_review_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationReviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationCaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/ec/business-verifications/{application_id}/review":{"post":{"tags":["ec-admin"],"summary":"Review Business Verification","operationId":"review_business_verification_v1_admin_ec_business_verifications__application_id__review_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationReviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessVerificationCaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/ec/applications":{"get":{"tags":["ec-admin"],"summary":"List Applications","operationId":"list_applications_v1_admin_ec_applications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/EcApplicationResponse"},"type":"array","title":"Response List Applications V1 Admin Ec Applications Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/ec/overview":{"get":{"tags":["ec-admin"],"summary":"Ec Admin Overview","operationId":"ec_admin_overview_v1_admin_ec_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Ec Admin Overview V1 Admin Ec Overview Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/ec/pricing":{"get":{"tags":["ec-admin"],"summary":"List Fee Schedules","operationId":"list_fee_schedules_v1_admin_ec_pricing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response List Fee Schedules V1 Admin Ec Pricing Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["ec-admin"],"summary":"Create Fee Schedule","operationId":"create_fee_schedule_v1_admin_ec_pricing_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeScheduleCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Fee Schedule V1 Admin Ec Pricing Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/ec/shops/{shop_id}/status":{"post":{"tags":["ec-admin"],"summary":"Set Shop Admin Status","operationId":"set_shop_admin_status_v1_admin_ec_shops__shop_id__status_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Shop Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcShopAdminStatusRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Set Shop Admin Status V1 Admin Ec Shops  Shop Id  Status Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/ec/applications/{application_id}/review":{"post":{"tags":["ec-admin"],"summary":"Review Application","operationId":"review_application_v1_admin_ec_applications__application_id__review_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcApplicationReviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/ec/integrations/{integration_id}/review":{"post":{"tags":["ec-admin"],"summary":"Review Integration","operationId":"review_integration_v1_admin_ec_integrations__integration_id__review_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"integration_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Integration Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationReviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Review Integration V1 Admin Ec Integrations  Integration Id  Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ec/orders/{order_id}/received":{"post":{"tags":["ec-credit-public"],"summary":"Customer Confirm Receipt","operationId":"customer_confirm_receipt_v1_ec_orders__order_id__received_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"X-EC-Order-Token","in":"header","required":true,"schema":{"type":"string","title":"X-Ec-Order-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptConfirmationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Customer Confirm Receipt V1 Ec Orders  Order Id  Received Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/ec-credit-limits/profile":{"get":{"tags":["ec-credit-store"],"summary":"Get Store Profile","operationId":"get_store_profile_v1_store_admin_ec_credit_limits_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditProfileResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/ec-credit-limits/collateral/reserve":{"post":{"tags":["ec-credit-store"],"summary":"Reserve Collateral","operationId":"reserve_collateral_v1_store_admin_ec_credit_limits_collateral_reserve_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollateralChangeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/ec-credit-limits/collateral/release":{"post":{"tags":["ec-credit-store"],"summary":"Release Collateral","operationId":"release_collateral_v1_store_admin_ec_credit_limits_collateral_release_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollateralChangeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/ec-credit-limits/applications":{"get":{"tags":["ec-credit-store"],"summary":"List Store Applications","operationId":"list_store_applications_v1_store_admin_ec_credit_limits_applications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CreditLimitApplicationResponse"},"type":"array","title":"Response List Store Applications V1 Store Admin Ec Credit Limits Applications Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["ec-credit-store"],"summary":"Submit Application","operationId":"submit_application_v1_store_admin_ec_credit_limits_applications_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditLimitApplicationCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditLimitApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/ec-credit-limits/applications/{application_id}/cancel":{"post":{"tags":["ec-credit-store"],"summary":"Cancel Application","operationId":"cancel_application_v1_store_admin_ec_credit_limits_applications__application_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditLimitApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/ec-credit-limits/profiles":{"get":{"tags":["ec-credit-admin"],"summary":"List Profiles","operationId":"list_profiles_v1_admin_ec_credit_limits_profiles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CreditProfileResponse"},"type":"array","title":"Response List Profiles V1 Admin Ec Credit Limits Profiles Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/ec-credit-limits/profiles/{store_id}":{"patch":{"tags":["ec-credit-admin"],"summary":"Update Profile","operationId":"update_profile_v1_admin_ec_credit_limits_profiles__store_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminProfileUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/ec-credit-limits/applications":{"get":{"tags":["ec-credit-admin"],"summary":"List Applications","operationId":"list_applications_v1_admin_ec_credit_limits_applications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CreditLimitApplicationResponse"},"type":"array","title":"Response List Applications V1 Admin Ec Credit Limits Applications Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/ec-credit-limits/applications/{application_id}/decision":{"post":{"tags":["ec-credit-admin"],"summary":"Decide Application","operationId":"decide_application_v1_admin_ec_credit_limits_applications__application_id__decision_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationDecisionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/ec-credit-limits/exposures/{exposure_id}/complete":{"post":{"tags":["ec-credit-admin"],"summary":"Admin Complete Exposure","operationId":"admin_complete_exposure_v1_admin_ec_credit_limits_exposures__exposure_id__complete_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"exposure_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Exposure Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCompletionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/customer-chats":{"get":{"tags":["admin-customer-chats"],"summary":"List Store Customer Chats","operationId":"list_store_customer_chats_v1_admin_stores__store_id__customer_chats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreChatThreadResponse"},"title":"Response List Store Customer Chats V1 Admin Stores  Store Id  Customer Chats Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/customer-chats/{thread_id}":{"get":{"tags":["admin-customer-chats"],"summary":"Get Store Customer Chat","operationId":"get_store_customer_chat_v1_admin_stores__store_id__customer_chats__thread_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreChatThreadDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/customer-chats/{thread_id}/messages":{"post":{"tags":["admin-customer-chats"],"summary":"Send Store Customer Chat Message","operationId":"send_store_customer_chat_message_v1_admin_stores__store_id__customer_chats__thread_id__messages_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreChatMessageCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreChatThreadDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/customer-chats/{thread_id}/status":{"patch":{"tags":["admin-customer-chats"],"summary":"Update Store Customer Chat Status","operationId":"update_store_customer_chat_status_v1_admin_stores__store_id__customer_chats__thread_id__status_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreChatStatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreChatThreadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/support/customer-chats/{thread_id}/access":{"post":{"tags":["admin-support-customer-chats"],"summary":"Access Customer Chat For Support","operationId":"access_customer_chat_for_support_v1_admin_support_customer_chats__thread_id__access_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreChatSupportAccessRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreChatThreadDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/customer-support/inquiries":{"get":{"tags":["admin-customer-support"],"summary":"List Customer Support Inquiries","operationId":"list_customer_support_inquiries_v1_admin_customer_support_inquiries_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerSupportInquiryListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/customer-support/inquiries/{inquiry_id}":{"get":{"tags":["admin-customer-support"],"summary":"Get Customer Support Inquiry","operationId":"get_customer_support_inquiry_v1_admin_customer_support_inquiries__inquiry_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"inquiry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Inquiry Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerSupportInquiryDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/customer-support/inquiries/{inquiry_id}/messages":{"post":{"tags":["admin-customer-support"],"summary":"Reply Customer Support Inquiry","operationId":"reply_customer_support_inquiry_v1_admin_customer_support_inquiries__inquiry_id__messages_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"inquiry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Inquiry Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerSupportMessageCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerSupportMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/customer-support/inquiries/{inquiry_id}/status":{"patch":{"tags":["admin-customer-support"],"summary":"Update Customer Support Inquiry Status","operationId":"update_customer_support_inquiry_status_v1_admin_customer_support_inquiries__inquiry_id__status_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"inquiry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Inquiry Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerSupportStatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerSupportInquiryDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/customer-support/inquiries/{inquiry_id}/reopen":{"post":{"tags":["admin-customer-support"],"summary":"Reopen Customer Support Inquiry","operationId":"reopen_customer_support_inquiry_v1_admin_customer_support_inquiries__inquiry_id__reopen_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"inquiry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Inquiry Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerSupportInquiryDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/customer-support/inquiries/{inquiry_id}/attachments/{attachment_id}/scan":{"post":{"tags":["admin-customer-support"],"summary":"Scan Customer Support Attachment","operationId":"scan_customer_support_attachment_v1_admin_customer_support_inquiries__inquiry_id__attachments__attachment_id__scan_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"inquiry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Inquiry Id"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Attachment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerSupportInquiryDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/customer-support/inquiries/{inquiry_id}/attachments/{attachment_id}/download":{"get":{"tags":["admin-customer-support"],"summary":"Download Customer Support Attachment","operationId":"download_customer_support_attachment_v1_admin_customer_support_inquiries__inquiry_id__attachments__attachment_id__download_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"inquiry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Inquiry Id"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Attachment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/credits/summary":{"get":{"tags":["admin-credits"],"summary":"Get Credit Summary","operationId":"get_credit_summary_v1_admin_credits_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"as_of_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"As Of Date"}},{"name":"basis","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"1 Credit = 1 JPY equivalent","title":"Basis"}},{"name":"include_pending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Pending"}},{"name":"include_approved_not_consumed","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Approved Not Consumed"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditSummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/credits/stores":{"get":{"tags":["admin-credits"],"summary":"List Credit Stores","operationId":"list_credit_stores_v1_admin_credits_stores_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"as_of_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"As Of Date"}},{"name":"basis","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"1 Credit = 1 JPY equivalent","title":"Basis"}},{"name":"include_pending","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Pending"}},{"name":"include_approved_not_consumed","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Approved Not Consumed"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Search"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditStoreListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/credits/events":{"get":{"tags":["admin-credits"],"summary":"List Credit Events","operationId":"list_credit_events_v1_admin_credits_events_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"source_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Source Type"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditLedgerEventListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/credits/adjustments":{"post":{"tags":["admin-credits"],"summary":"Create Credit Adjustment","operationId":"create_credit_adjustment_v1_admin_credits_adjustments_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditAdjustmentCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditSummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/credits/snapshots":{"get":{"tags":["admin-credits"],"summary":"List Credit Snapshots","operationId":"list_credit_snapshots_v1_admin_credits_snapshots_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"include_rows","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Rows"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditSnapshotListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-credits"],"summary":"Create Credit Snapshot","operationId":"create_credit_snapshot_v1_admin_credits_snapshots_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditSnapshotCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditSnapshotResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/credits/export.csv":{"get":{"tags":["admin-credits"],"summary":"Export Credit Csv","operationId":"export_credit_csv_v1_admin_credits_export_csv_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"query","required":false,"schema":{"type":"string","pattern":"^(stores|events|snapshots)$","default":"stores","title":"Kind"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/billing/stores/{store_id}/profile":{"get":{"tags":["admin-billing"],"summary":"Get Store Billing Profile","operationId":"get_store_billing_profile_v1_admin_billing_stores__store_id__profile_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin-billing"],"summary":"Update Store Billing Profile","operationId":"update_store_billing_profile_v1_admin_billing_stores__store_id__profile_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingProfileUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/billing/fee-schedules":{"get":{"tags":["admin-billing"],"summary":"List Fee Schedules","operationId":"list_fee_schedules_v1_admin_billing_fee_schedules_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"include_inactive","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Inactive"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeScheduleListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-billing"],"summary":"Create Fee Schedule","operationId":"create_fee_schedule_v1_admin_billing_fee_schedules_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeScheduleCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeScheduleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/billing/fee-schedules/{schedule_id}":{"get":{"tags":["admin-billing"],"summary":"Get Fee Schedule","operationId":"get_fee_schedule_v1_admin_billing_fee_schedules__schedule_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Schedule Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeScheduleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin-billing"],"summary":"Update Fee Schedule","operationId":"update_fee_schedule_v1_admin_billing_fee_schedules__schedule_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"schedule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Schedule Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeScheduleUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeScheduleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/billing/fee-schedules/preview":{"post":{"tags":["admin-billing"],"summary":"Preview Fee Schedule","description":"フラット率で、サンプル決済額ごとに消費される Credits を試算する(保存しない)。","operationId":"preview_fee_schedule_v1_admin_billing_fee_schedules_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeSchedulePreviewRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeSchedulePreviewResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/billing/standard-rate":{"get":{"tags":["admin-billing"],"summary":"Get Standard Rate","description":"全 standard 店舗が参照するグローバル標準料率を取得する。","operationId":"get_standard_rate_v1_admin_billing_standard_rate_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardRateResponse"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"tags":["admin-billing"],"summary":"Update Standard Rate","description":"グローバル標準料率を更新する。Enterprise 以外の全店舗に即時反映される。","operationId":"update_standard_rate_v1_admin_billing_standard_rate_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardRateUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StandardRateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/billing/refund-rate":{"get":{"tags":["admin-billing"],"summary":"Get Refund Credit Rate","description":"返金機能の利用料として消費する Credits の料率を取得する(既定 0%)。\n\n``/standard-rate``(通常決済)とは別の設定で、互いに影響しない。","operationId":"get_refund_credit_rate_v1_admin_billing_refund_rate_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundCreditRateResponse"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"tags":["admin-billing"],"summary":"Update Refund Credit Rate","description":"返金 Credits 料率を更新する。**変更後に開始した返金からのみ適用**される。\n\n過去の返金記録・Credits 台帳は書き換えない(返金 intent が開始時の率を snapshot する)。\n通常決済の Credits 料率(``/standard-rate``)には影響しない。","operationId":"update_refund_credit_rate_v1_admin_billing_refund_rate_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundCreditRateUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundCreditRateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/billing/enterprise-contracts":{"get":{"tags":["admin-billing"],"summary":"Enterprise Contracts Dashboard","description":"運営の Enterprise Contracts 一覧(店舗横断)。\n\n自動停止はしない。``expiry`` は期限切れ/30日以内/60日以内を **確認** するためのフィルタ。","operationId":"enterprise_contracts_dashboard_v1_admin_billing_enterprise_contracts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"contract_status","in":"query","required":false,"schema":{"anyOf":[{"enum":["draft","active","expired","suspended","cancelled"],"type":"string"},{"type":"null"}],"title":"Contract Status"}},{"name":"expiry","in":"query","required":false,"schema":{"anyOf":[{"enum":["expired","within_30","within_60"],"type":"string"},{"type":"null"}],"title":"Expiry"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseContractDashboardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/billing/stores/{store_id}/enterprise-contracts":{"get":{"tags":["admin-billing"],"summary":"List Store Enterprise Contracts","operationId":"list_store_enterprise_contracts_v1_admin_billing_stores__store_id__enterprise_contracts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseContractListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-billing"],"summary":"Create Store Enterprise Contract","operationId":"create_store_enterprise_contract_v1_admin_billing_stores__store_id__enterprise_contracts_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseContractCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseContractResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/billing/enterprise-contracts/{contract_id}":{"patch":{"tags":["admin-billing"],"summary":"Update Enterprise Contract","operationId":"update_enterprise_contract_v1_admin_billing_enterprise_contracts__contract_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contract Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseContractUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseContractResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/billing/mode":{"get":{"tags":["pos-billing"],"summary":"Get Billing Mode","operationId":"get_billing_mode_v1_pos_billing_mode_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingModePublicResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/billing/service-invoice":{"get":{"tags":["pos-billing"],"summary":"Get Service Invoice","operationId":"get_service_invoice_v1_pos_billing_service_invoice_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"period_start","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Period Start"}},{"name":"period_end","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Period End"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceInvoiceStatementResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/cryptopay/config-status":{"get":{"tags":["pos-cryptopay"],"summary":"Get Config Status","description":"CryptoPay の設定充足状況(owner/manager のみ)。秘密値・RPC URLは返さない。","operationId":"get_config_status_v1_pos_cryptopay_config_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayConfigStatusResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/cryptopay/balance":{"get":{"tags":["pos-cryptopay"],"summary":"Get Balance","operationId":"get_balance_v1_pos_cryptopay_balance_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"recent_limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":0,"default":10,"title":"Recent Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayBalanceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/cryptopay/purchase-intents":{"post":{"tags":["pos-cryptopay"],"summary":"Create Purchase Intent","operationId":"create_purchase_intent_v1_pos_cryptopay_purchase_intents_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayPurchaseIntentCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayPurchaseIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/cryptopay/purchase-intents/active":{"get":{"tags":["pos-cryptopay"],"summary":"Get Active Purchase Intent","description":"Restore the store's current payable/confirming Spay purchase.","operationId":"get_active_purchase_intent_v1_pos_cryptopay_purchase_intents_active_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayPurchaseIntentResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/cryptopay/purchase-intents/{intent_id}":{"get":{"tags":["pos-cryptopay"],"summary":"Get Purchase Intent","operationId":"get_purchase_intent_v1_pos_cryptopay_purchase_intents__intent_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayPurchaseIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/cryptopay/purchase-intents/{intent_id}/cancel":{"post":{"tags":["pos-cryptopay"],"summary":"Cancel Purchase Intent","description":"未署名・未送信の Spay 購入 QR だけを無効化する。","operationId":"cancel_purchase_intent_v1_pos_cryptopay_purchase_intents__intent_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayPurchaseIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/cryptopay/purchase-intents/{intent_id}/debug":{"get":{"tags":["pos-cryptopay"],"summary":"Get Purchase Intent Debug","description":"購入 intent の検証状態を詳しく確認する診断 API(owner/manager のみ)。\n\ndev 環境 or CRYPTOPAY_DEBUG_API_ENABLED=true の時だけ開放。RPC URL・secret・\nアドレス完全値は返さない(本番では失敗理由原文も伏せ、整形表示のみ)。","operationId":"get_purchase_intent_debug_v1_pos_cryptopay_purchase_intents__intent_id__debug_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayDebugResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/cryptopay/purchase-intents/{intent_id}/submit-tx":{"post":{"tags":["pos-cryptopay"],"summary":"Submit Tx","operationId":"submit_tx_v1_pos_cryptopay_purchase_intents__intent_id__submit_tx_post","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPaySubmitTxRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayPurchaseIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/cryptopay/purchase-intents/{intent_id}/eip3009-relay":{"post":{"tags":["pos-cryptopay"],"summary":"Relay Eip3009","operationId":"relay_eip3009_v1_pos_cryptopay_purchase_intents__intent_id__eip3009_relay_post","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayEip3009RelayRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayPurchaseIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/cryptopay/purchase-intents/{intent_id}":{"get":{"tags":["public-cryptopay"],"summary":"Get Public Purchase Intent","operationId":"get_public_purchase_intent_v1_public_cryptopay_purchase_intents__intent_id__get","parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}},{"name":"token","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayPublicIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/cryptopay/purchase-intents/{intent_id}/submit-tx":{"post":{"tags":["public-cryptopay"],"summary":"Submit Public Tx","operationId":"submit_public_tx_v1_public_cryptopay_purchase_intents__intent_id__submit_tx_post","deprecated":true,"parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}},{"name":"token","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPaySubmitTxRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayPublicIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/cryptopay/purchase-intents/{intent_id}/eip3009-relay":{"post":{"tags":["public-cryptopay"],"summary":"Relay Public Eip3009","operationId":"relay_public_eip3009_v1_public_cryptopay_purchase_intents__intent_id__eip3009_relay_post","deprecated":true,"parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}},{"name":"token","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayEip3009RelayRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayPublicIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/cryptopay/purchase-intents/{intent_id}/walletconnect-eip3009-attempts":{"post":{"tags":["public-cryptopay"],"summary":"Create Walletconnect Eip3009 Attempt","operationId":"create_walletconnect_eip3009_attempt_v1_public_cryptopay_purchase_intents__intent_id__walletconnect_eip3009_attempts_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayWalletConnectAttemptCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayWalletConnectAttemptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/cryptopay/purchase-intents/{intent_id}/walletconnect-eip3009-attempts/{attempt_id}":{"get":{"tags":["public-cryptopay"],"summary":"Get Walletconnect Eip3009 Attempt","operationId":"get_walletconnect_eip3009_attempt_v1_public_cryptopay_purchase_intents__intent_id__walletconnect_eip3009_attempts__attempt_id__get","parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}},{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Attempt Id"}},{"name":"X-Payment-Attempt-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Payment-Attempt-Secret"}},{"name":"X-Payment-Attempt-Client-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Payment-Attempt-Client-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayWalletConnectAttemptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/cryptopay/purchase-intents/{intent_id}/injected-eip3009-attempts":{"post":{"tags":["public-cryptopay"],"summary":"Create Injected Eip3009 Attempt","operationId":"create_injected_eip3009_attempt_v1_public_cryptopay_purchase_intents__intent_id__injected_eip3009_attempts_post","parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayInjectedAttemptCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayInjectedAttemptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/cryptopay/purchase-intents/{intent_id}/injected-eip3009-attempts/{attempt_id}/signature":{"post":{"tags":["public-cryptopay"],"summary":"Submit Injected Eip3009 Signature","operationId":"submit_injected_eip3009_signature_v1_public_cryptopay_purchase_intents__intent_id__injected_eip3009_attempts__attempt_id__signature_post","parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}},{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Attempt Id"}},{"name":"X-Payment-Attempt-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Payment-Attempt-Secret"}},{"name":"X-Payment-Attempt-Client-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Payment-Attempt-Client-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayInjectedSignatureSubmit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CryptoPayWalletConnectAttemptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cryptopay/embed/me":{"get":{"tags":["spay-embed"],"summary":"Embed Me","description":"API Key の疎通確認。認証済み key の store_id / api_key_id / livemode を返す。","operationId":"embed_me_api_v1_cryptopay_embed_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmbedMeResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/cryptopay/embed/checkouts":{"post":{"tags":["spay-embed"],"summary":"Create Checkout","description":"外部EC 向け checkout を作成し、``checkout_url``(/p 決済ページ)を返す。\n\nlive mode で決済が成功すると、既存の PaymentIntent 成功処理に乗って店舗の Credits を\n消費する(通常の店舗決済と同じ)。test mode は sandbox で、完了は simulate のみ。","operationId":"create_checkout_api_v1_cryptopay_embed_checkouts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__modules__cryptopay_checkout__schemas__CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/cryptopay/embed/checkouts/{checkout_id}":{"get":{"tags":["spay-embed"],"summary":"Get Checkout","description":"checkout を取得する。API Key の store_id / livemode が一致するものだけ返す(不一致は 404)。","operationId":"get_checkout_api_v1_cryptopay_embed_checkouts__checkout_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"checkout_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Checkout Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__modules__cryptopay_checkout__schemas__CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cryptopay/embed/checkouts/{checkout_id}/simulate":{"post":{"tags":["spay-embed"],"summary":"Simulate Checkout","description":"sandbox(test mode)専用の疑似結果反映。live mode は 403。\n\n実送金・売上計上・Credits 消費・usage 発生は一切行わない(状態フラグのみ進める)。","operationId":"simulate_checkout_api_v1_cryptopay_embed_checkouts__checkout_id__simulate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"checkout_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Checkout Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSimulateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__modules__cryptopay_checkout__schemas__CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cryptopay/sandbox/checkouts/{checkout_id}/simulate":{"post":{"tags":["spay-embed"],"summary":"Simulate Browser Checkout","description":"Only the holder of a test checkout URL can select its simulated result.","operationId":"simulate_browser_checkout_api_v1_cryptopay_sandbox_checkouts__checkout_id__simulate_post","parameters":[{"name":"checkout_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Checkout Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SandboxSimulateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SandboxSimulateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cryptopay/embed/checkouts/{checkout_id}/cancel":{"post":{"tags":["spay-embed"],"summary":"Cancel Checkout","description":"未署名・未送信のCheckoutだけを取消する。署名/relay後は409で確認継続。","operationId":"cancel_checkout_api_v1_cryptopay_embed_checkouts__checkout_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"checkout_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Checkout Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__modules__cryptopay_checkout__schemas__CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/cryptopay/api-keys":{"post":{"tags":["spay-embed-admin"],"summary":"Create Api Key","operationId":"create_api_key_v1_admin_stores__store_id__cryptopay_api_keys_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["spay-embed-admin"],"summary":"List Api Keys","operationId":"list_api_keys_v1_admin_stores__store_id__cryptopay_api_keys_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"livemode","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Livemode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/cryptopay/environment":{"get":{"tags":["spay-embed-admin"],"summary":"Get Spay Environment","description":"管理画面が表示すべきbackend権威のtest/live環境。","operationId":"get_spay_environment_v1_admin_stores__store_id__cryptopay_environment_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpayEnvironmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/cryptopay/api-keys/{key_id}/webhook":{"patch":{"tags":["spay-embed-admin"],"summary":"Update Api Key Webhook","description":"API Key単位の標準Webhook URLを登録・更新する。署名secretは変更しない。","operationId":"update_api_key_webhook_v1_admin_stores__store_id__cryptopay_api_keys__key_id__webhook_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"key_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Key Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyWebhookConfigRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/cryptopay/api-keys/{key_id}":{"delete":{"tags":["spay-embed-admin"],"summary":"Revoke Api Key","operationId":"revoke_api_key_v1_admin_stores__store_id__cryptopay_api_keys__key_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"key_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/cryptopay/webhook-deliveries":{"get":{"tags":["spay-embed-admin"],"summary":"List Webhook Deliveries","description":"店舗の webhook 配信ログを新しい順に返す(owner/manager のみ)。\n\n``store_id`` は必ず配信行の ``store_id`` 列で絞るため、他店舗の配信は取得できない。\nlivemode / status / event_type / checkout_id で追加フィルタ可能。外部EC が「webhook が\n来ない / 署名検証に失敗する」等を調査するための読み取り専用ビュー(再送はしない)。","operationId":"list_webhook_deliveries_v1_admin_stores__store_id__cryptopay_webhook_deliveries_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"livemode","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Livemode"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"}},{"name":"checkout_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Checkout Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/cryptopay/request-logs":{"get":{"tags":["spay-embed-admin"],"summary":"List Api Request Logs","description":"APIキー/secret/raw bodyを含まないSpay API調査ログ。","operationId":"list_api_request_logs_v1_admin_stores__store_id__cryptopay_request_logs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"http_status","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Http Status"}},{"name":"error_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"}},{"name":"checkout_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Checkout Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiRequestLogListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/cryptopay/webhook-deliveries/{delivery_id}/retry":{"post":{"tags":["spay-embed-admin"],"summary":"Retry Webhook Delivery","description":"失敗/送信待ちの配信を今すぐ再送できる状態に戻す(HTTP はここでは投げない)。\n\n``delivered`` 済みは対象外(409)。他店舗の配信は 404(``ensure_actor_can_access_store``\nと同じ扱い)。","operationId":"retry_webhook_delivery_v1_admin_stores__store_id__cryptopay_webhook_deliveries__delivery_id__retry_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Delivery Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/stripe-credits/availability":{"get":{"tags":["pos-stripe-credits"],"summary":"Get Availability","description":"Stripe 導線を出すかどうかの backend 権威判定。\n\n未設定・初回済みでも 4xx にせず ``eligible=false`` + 理由を返す\n(画面を壊さずに「未設定」表示へ落とすため)。","operationId":"get_availability_v1_pos_stripe_credits_availability_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeCreditsAvailabilityResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/stripe-credits/checkout-sessions":{"post":{"tags":["pos-stripe-credits"],"summary":"Create Checkout Session","operationId":"create_checkout_session_v1_pos_stripe_credits_checkout_sessions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeCheckoutSessionCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeCreditPurchaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/stripe-credits/purchases/{purchase_id}":{"get":{"tags":["pos-stripe-credits"],"summary":"Get Purchase","description":"purchase の状態を返す(POS はこれを polling して成功を確認する)。\n\nredirect の成功画面ではなくこの status(= webhook 由来)が正。","operationId":"get_purchase_v1_pos_stripe_credits_purchases__purchase_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"purchase_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Purchase Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeCreditPurchaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/stripe-credits/purchases/{purchase_id}/cancel":{"post":{"tags":["pos-stripe-credits"],"summary":"Cancel Purchase","description":"支払い待ちの Checkout を取り消す(Spay へ切り替えるための出口)。\n\n有効な Checkout がある間は Spay 購入を開始できないので、待たずに切り替える\n手段が必要になる。取消は Stripe 側の Session を expire してから行うため、\n取消後にその URL で支払われることはない。","operationId":"cancel_purchase_v1_pos_stripe_credits_purchases__purchase_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"purchase_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Purchase Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeCreditPurchaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/stripe/webhooks/credits":{"post":{"tags":["stripe-webhooks"],"summary":"Stripe Credits Webhook","description":"Single raw-body receiver with explicit Credits/Connect signature routing.","operationId":"stripe_credits_webhook_v1_stripe_webhooks_credits_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Stripe Credits Webhook V1 Stripe Webhooks Credits Post"}}}}}}},"/v1/pos/devices/pairing-codes":{"post":{"tags":["pos-devices"],"summary":"Create Pairing Code","operationId":"create_pairing_code_v1_pos_devices_pairing_codes_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PairingCodeCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PairingCodeCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pos-devices"],"summary":"List Pairing Codes","operationId":"list_pairing_codes_v1_pos_devices_pairing_codes_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PairingCodeListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/devices/pairing-codes/{code_id}/revoke":{"post":{"tags":["pos-devices"],"summary":"Revoke Pairing Code","operationId":"revoke_pairing_code_v1_pos_devices_pairing_codes__code_id__revoke_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"code_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Code Id"}},{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PairingCodeListItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/devices":{"get":{"tags":["pos-devices"],"summary":"List Devices","operationId":"list_devices_v1_pos_devices_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisteredDeviceListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/devices/me":{"get":{"tags":["pos-devices"],"summary":"Get Device Me","description":"POS アプリ起動時の端末有効性確認。device token で認可し、最終接続時刻を更新する。\n\nrevoked / 未登録 / typ違い / 期限切れ token は ``get_current_pos_device`` が 401/403 を返す。","operationId":"get_device_me_v1_pos_devices_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceMeResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/devices/me/menu":{"get":{"tags":["pos-devices"],"summary":"Get Device Menu","description":"POS Mobile が起動後に表示する「許可されたメニュー」を返す(device token 認可)。\n\nbackend を真実の源にし、(店舗で有効なプラグイン) ∧ (Mobile対応) ∧ (端末roleで許可)\n∧ (Web POS 端末管理で OFF にされていない) を解決して返す。\n店舗設定/ウォレット/税率/プラグイン管理/端末管理は返さない。","operationId":"get_device_menu_v1_pos_devices_me_menu_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosMobileMenuResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/devices/mobile-role-grants":{"get":{"tags":["pos-devices"],"summary":"Get Mobile Role Grants","description":"端末管理の「POS Mobile 機能割当」設定を取得(owner/manager または platform admin)。","operationId":"get_mobile_role_grants_v1_pos_devices_mobile_role_grants_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileRoleGrantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["pos-devices"],"summary":"Update Mobile Role Grants","description":"role 別の機能割当を保存(owner/manager または platform admin)。\n\n不正/危険な feature_key・role は ``grants.validate_grant_entry`` が 400 で弾く。","operationId":"update_mobile_role_grants_v1_pos_devices_mobile_role_grants_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileRoleGrantsUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileRoleGrantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/devices/{device_id}/mobile-feature-grants":{"put":{"tags":["pos-devices"],"summary":"Update Mobile Device Grants","description":"端末ごとの POS Mobile 表示許可を保存する。\n\nrole 権限を広げるものではなく、roleで許可済みの機能を端末単位でさらに絞るための設定。","operationId":"update_mobile_device_grants_v1_pos_devices__device_id__mobile_feature_grants_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Device Id"}},{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileDeviceGrantsUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisteredDeviceItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/devices/{device_id}/revoke":{"post":{"tags":["pos-devices"],"summary":"Revoke Device","operationId":"revoke_device_v1_pos_devices__device_id__revoke_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"device_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Device Id"}},{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisteredDeviceItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/devices/pair":{"post":{"tags":["pos-devices"],"summary":"Pair Device","description":"React Native POS アプリの端末登録(将来用の土台)。\n\n無認証だがコード自体が単回・短命の秘密。検証成功時に端末を作成し device token を返す。\ndevice token は現時点では保護APIの認可に未接続(アプリ本体実装時に配線)。","operationId":"pair_device_v1_pos_devices_pair_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DevicePairRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DevicePairResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/ec-orders/summary":{"get":{"tags":["pos-app-ec-orders"],"summary":"Ec Order Summary","operationId":"ec_order_summary_v1_pos_app_ec_orders_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcPosOrderSummary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/ec-orders":{"get":{"tags":["pos-app-ec-orders"],"summary":"List Ec Orders","operationId":"list_ec_orders_v1_pos_app_ec_orders_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"view","in":"query","required":false,"schema":{"enum":["new","preparing","shipped","all"],"type":"string","default":"new","title":"View"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EcPosOrderCard"},"title":"Response List Ec Orders V1 Pos App Ec Orders Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/ec-orders/{order_id}":{"get":{"tags":["pos-app-ec-orders"],"summary":"Get Ec Order","operationId":"get_ec_order_v1_pos_app_ec_orders__order_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcPosOrderDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/ec-orders/{order_id}/fulfillment":{"patch":{"tags":["pos-app-ec-orders"],"summary":"Update Ec Fulfillment","operationId":"update_ec_fulfillment_v1_pos_app_ec_orders__order_id__fulfillment_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcPosFulfillmentUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EcPosOrderCard"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/orders":{"get":{"tags":["pos-app"],"summary":"List Orders","description":"端末の店舗の注文一覧。``scope`` で open(対応中)/ today(当日)/ all を切替。\n\n``view`` は現場モード向けのサーバー側フィルタ:\n- kitchen … 提供前(受け渡し済みを除く)の対応中注文だけ(厨房モード)。\n- ready  … 調理完了(ready)で渡せる注文だけ(受け渡しモード)。\nview を指定した場合は status の絞り込みは view 側が決める(scope の時間窓のみ尊重)。\nモバイルオーダー / テイクアウト / POS をまとめて返し、``order_type`` でも絞れる。","operationId":"list_orders_v1_pos_app_orders_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"scope","in":"query","required":false,"schema":{"type":"string","pattern":"^(open|today|yesterday|7d|all)$","default":"open","title":"Scope"}},{"name":"view","in":"query","required":false,"schema":{"type":"string","pattern":"^(all|kitchen|ready)$","default":"all","title":"View"}},{"name":"order_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(mobile_order|takeout|pos)$"},{"type":"null"}],"title":"Order Type"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date"}},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"From"}},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppOrderListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/orders/{order_id}":{"get":{"tags":["pos-app"],"summary":"Get Order","operationId":"get_order_v1_pos_app_orders__order_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppOrderDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/orders/{order_id}/acknowledge":{"post":{"tags":["pos-app"],"summary":"Acknowledge Order","description":"注文を店舗共有で確認済みにする。最初の確認actorを保持する冪等操作。","operationId":"acknowledge_order_v1_pos_app_orders__order_id__acknowledge_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppOrderDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/orders/{order_id}/status":{"patch":{"tags":["pos-app"],"summary":"Update Order Status","description":"注文ステータスを更新する。\n\n既存の status 名・遷移をそのまま使い、role による操作可否と遷移可否を検証。\n成功時は ``OrderStatusEvent``(actor_type=pos_device)と ``audit_logs`` に記録する。","operationId":"update_order_status_v1_pos_app_orders__order_id__status_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppOrderStatusUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppOrderDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/orders/{order_id}/items/{item_id}/kitchen-status":{"patch":{"tags":["pos-app"],"summary":"Update Order Item Kitchen Status","description":"商品単位の調理進捗(preparing/ready/served)を更新する。\n\n進捗管理専用で、金額・税・売上・返金・レシートには一切影響しない。商品取消(void)とは\n別物で、ここでは ``kitchen_status`` に canceled を作らず、取消は既存の void/refund に任せる。\n更新後は商品単位の進捗から Order 全体の ``kitchen_status`` を安全にロールアップし、\n``served`` 到達時の ``completed`` 自動遷移・``ready_at`` は既存\n``apply_kitchen_status_side_effects`` を再利用する(二重実装しない)。","operationId":"update_order_item_kitchen_status_v1_pos_app_orders__order_id__items__item_id__kitchen_status_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppItemKitchenStatusUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppOrderDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/orders/{order_id}/checkout-quote":{"post":{"tags":["pos-app"],"summary":"Quote Takeout Order Checkout","description":"商品行選択の表示用見積。確定時にも同じ対象をロックして再計算する。","operationId":"quote_takeout_order_checkout_v1_pos_app_orders__order_id__checkout_quote_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTakeoutCheckoutQuoteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTakeoutCheckoutQuoteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/orders/{order_id}/qr-payment":{"post":{"tags":["pos-app"],"summary":"Pay Takeout Order Qr","description":"既存テイクアウト注文を、既存の直接注文QR会計へ接続する。","operationId":"pay_takeout_order_qr_v1_pos_app_orders__order_id__qr_payment_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRegisterQrCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppQrCheckoutIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/orders/{order_id}/cash-payment":{"post":{"tags":["pos-app"],"summary":"Pay Takeout Order Cash","description":"既存テイクアウト注文を、既存の注文現金会計へ接続する。","operationId":"pay_takeout_order_cash_v1_pos_app_orders__order_id__cash_payment_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRegisterCashPayment"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppOrderCashResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/qr-checkout/config":{"get":{"tags":["pos-app"],"summary":"Get Qr Checkout Config","description":"QR会計フォームの初期値を Web POS と同じ店舗設定から返す。\n\n税率候補は店舗の QR会計設定(``store_accounting_settings.qr_checkout_tax_rates``)\nが正。未設定の店舗は従来と同じ 8% / 10%(既定10%)になる。","operationId":"get_qr_checkout_config_v1_pos_app_qr_checkout_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppQrCheckoutConfigResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/qr-checkout/intents":{"post":{"tags":["pos-app"],"summary":"Create Qr Checkout Intent","description":"QR会計(税込入力→税逆算)を発行する。\n\nstore_id は端末由来。発行ロジックは Web POS と共通の\n``issue_quick_qr_payment_intent`` を再利用(決済ロジックを複製しない)。\n顧客ウォレットは発行時点で未知なので ``expected_from_address`` は渡さない。","operationId":"create_qr_checkout_intent_v1_pos_app_qr_checkout_intents_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppQrCheckoutCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppQrCheckoutIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/qr-checkout/intents/{intent_id}":{"get":{"tags":["pos-app"],"summary":"Get Qr Checkout Intent","description":"QR会計の支払い状況を取得する(ポーリング/再読み込み用)。\n\n他店舗 / 不在の intent は 404。期限切れは取得時に ``expired`` へ確定する。","operationId":"get_qr_checkout_intent_v1_pos_app_qr_checkout_intents__intent_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppQrCheckoutIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/qr-checkout/intents/{intent_id}/cancel":{"post":{"tags":["pos-app"],"summary":"Cancel Qr Checkout Intent","description":"表示中の未完了QRだけを取り消す(席会計 / 通常QR会計の復旧用)。\n\n「既存QRを取り消して発行し直す」導線の取消側。対象注文の ``payment_status`` は変更せず、\n席会計セッションに紐づく場合も他の intent は取り消さない。QRを画面から閉じる操作では、\nこのAPIの成功後にのみ画面を閉じる。\n\n安全策:\n- 取り消せるのは未送信(requires_token_selection / requires_payment)の intent のみ。\n  署名受領・relay投入・pending_confirmation / manual_review は確認結果を待つ。\n- 支払い済み(succeeded 等)の対象 intent は取り消さず 409。\n- 作成と同じ role 制限(viewer は実行不可)。他店舗 / 不在は 404。","operationId":"cancel_qr_checkout_intent_v1_pos_app_qr_checkout_intents__intent_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppQrCheckoutIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/mobile-order/menu-items":{"get":{"tags":["pos-app"],"summary":"List Mobile Order Menu","description":"席への追加注文で選ぶ商品一覧(カテゴリ別)。商品マスタ編集・税率設定は出さない。\n商品レジ(product-register)とは排他のプラグインなので、ここは mobile-order ゲートで\n同じ ``build_register_menu`` 投影を再利用する。","operationId":"list_mobile_order_menu_v1_pos_app_mobile_order_menu_items_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRegisterMenuResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/mobile-order/tables":{"get":{"tags":["pos-app"],"summary":"List Mobile Order Tables","description":"席/テーブル一覧。席レイアウト(store_seats, 閲覧専用)に当日のアクティブ席セッションを\n重ねて、空席/利用中・注文数・残額・調理状態・会計状態を返す。席の作成/編集/QR印刷は出さない。","operationId":"list_mobile_order_tables_v1_pos_app_mobile_order_tables_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableListResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/mobile-order/tables/{table_key}":{"get":{"tags":["pos-app"],"summary":"Get Mobile Order Table","description":"席詳細(現在の注文一覧 + 商品行 + 取消可否 + 残額 + 会計状態)。空席でも追加注文の起点に\nなるので 404 にせず、空の詳細(idle)を返す。","operationId":"get_mobile_order_table_v1_pos_app_mobile_order_tables__table_key__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"table_key","in":"path","required":true,"schema":{"type":"string","title":"Table Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/mobile-order/tables/{table_key}/participation/start":{"post":{"tags":["pos-app"],"summary":"Pos Start Table Participation","operationId":"pos_start_table_participation_v1_pos_app_mobile_order_tables__table_key__participation_start_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"table_key","in":"path","required":true,"schema":{"type":"string","title":"Table Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableParticipationStartResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/mobile-order/tables/{table_key}/participation/status":{"get":{"tags":["pos-app"],"summary":"Pos Get Table Participation Status","description":"Return non-secret reception, QR, and safe-end state for one seat.","operationId":"pos_get_table_participation_status_v1_pos_app_mobile_order_tables__table_key__participation_status_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"table_key","in":"path","required":true,"schema":{"type":"string","title":"Table Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableParticipationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/mobile-order/tables/{table_key}/participation/end":{"post":{"tags":["pos-app"],"summary":"Pos End Table Participation","description":"Safely close one table use without rotating its long-lived seat QR.","operationId":"pos_end_table_participation_v1_pos_app_mobile_order_tables__table_key__participation_end_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"table_key","in":"path","required":true,"schema":{"type":"string","title":"Table Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableParticipationEndResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/mobile-order/tables/{table_key}/participation/passcode":{"get":{"tags":["pos-app"],"summary":"Pos Show Table Participation Passcode","operationId":"pos_show_table_participation_passcode_v1_pos_app_mobile_order_tables__table_key__participation_passcode_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"table_key","in":"path","required":true,"schema":{"type":"string","title":"Table Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableParticipationPasscodeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/mobile-order/tables/{table_key}/participation/passcode/reissue":{"post":{"tags":["pos-app"],"summary":"Pos Reissue Table Participation Passcode","operationId":"pos_reissue_table_participation_passcode_v1_pos_app_mobile_order_tables__table_key__participation_passcode_reissue_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"table_key","in":"path","required":true,"schema":{"type":"string","title":"Table Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableParticipationPasscodeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/mobile-order/tables/{table_key}/participation/qr":{"get":{"tags":["pos-app"],"summary":"Pos Show Table Participation Qr","description":"Return the current encrypted QR projection without rotating it.","operationId":"pos_show_table_participation_qr_v1_pos_app_mobile_order_tables__table_key__participation_qr_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"table_key","in":"path","required":true,"schema":{"type":"string","title":"Table Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableParticipationQrResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/mobile-order/tables/{table_key}/participation/qr/reissue":{"post":{"tags":["pos-app"],"summary":"Pos Reissue Table Participation Qr","operationId":"pos_reissue_table_participation_qr_v1_pos_app_mobile_order_tables__table_key__participation_qr_reissue_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"table_key","in":"path","required":true,"schema":{"type":"string","title":"Table Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableParticipationQrResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/mobile-order/tables/{table_key}/participation/emergency-reset":{"post":{"tags":["pos-app"],"summary":"Pos Emergency Reset Table Participation","operationId":"pos_emergency_reset_table_participation_v1_pos_app_mobile_order_tables__table_key__participation_emergency_reset_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"table_key","in":"path","required":true,"schema":{"type":"string","title":"Table Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableParticipationEmergencyResetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/all-you-can-eat/plans":{"get":{"tags":["pos-app"],"summary":"Pos List Active All You Can Eat Plans","operationId":"pos_list_active_all_you_can_eat_plans_v1_pos_app_all_you_can_eat_plans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Pos List Active All You Can Eat Plans V1 Pos App All You Can Eat Plans Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/all-you-can-eat/sessions":{"post":{"tags":["pos-app"],"summary":"Pos Start All You Can Eat Session","operationId":"pos_start_all_you_can_eat_session_v1_pos_app_all_you_can_eat_sessions_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartSessionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/all-you-can-eat/sessions/{table_session_id}":{"get":{"tags":["pos-app"],"summary":"Pos Get All You Can Eat Session","operationId":"pos_get_all_you_can_eat_session_v1_pos_app_all_you_can_eat_sessions__table_session_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"table_session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Table Session Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SessionResponse"},{"type":"null"}],"title":"Response Pos Get All You Can Eat Session V1 Pos App All You Can Eat Sessions  Table Session Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/all-you-can-eat/sessions/{session_id}/extend":{"post":{"tags":["pos-app"],"summary":"Pos Extend All You Can Eat Session","operationId":"pos_extend_all_you_can_eat_session_v1_pos_app_all_you_can_eat_sessions__session_id__extend_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendSessionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/all-you-can-eat/sessions/{session_id}/adjust":{"post":{"tags":["pos-app"],"summary":"Pos Adjust All You Can Eat Session","operationId":"pos_adjust_all_you_can_eat_session_v1_pos_app_all_you_can_eat_sessions__session_id__adjust_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdjustSessionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/all-you-can-eat/sessions/{session_id}/end":{"post":{"tags":["pos-app"],"summary":"Pos End All You Can Eat Session","operationId":"pos_end_all_you_can_eat_session_v1_pos_app_all_you_can_eat_sessions__session_id__end_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/all-you-can-eat/sessions/{session_id}/history":{"get":{"tags":["pos-app"],"summary":"Pos Get All You Can Eat History","operationId":"pos_get_all_you_can_eat_history_v1_pos_app_all_you_can_eat_sessions__session_id__history_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllYouCanEatHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/all-you-can-eat/sessions/{session_id}/regrant":{"post":{"tags":["pos-app"],"summary":"Pos Regrant All You Can Eat Session","operationId":"pos_regrant_all_you_can_eat_session_v1_pos_app_all_you_can_eat_sessions__session_id__regrant_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegrantSessionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegrantSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/mobile-order/tables/{table_key}/orders":{"post":{"tags":["pos-app"],"summary":"Add Mobile Order Table Order","description":"席へ口頭注文を追加する。金額・税はサーバー権威(商品マスタから再計算)。注文作成は Web POS と\n共通の ``create_order``(table_number 付き dine_in)を再利用し、受付待ち(placed)へ進めて厨房/\n注文一覧に出す。確定前のカートは端末側に保持し、ここに来た時点で初めて backend に送る。","operationId":"add_mobile_order_table_order_v1_pos_app_mobile_order_tables__table_key__orders_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"table_key","in":"path","required":true,"schema":{"type":"string","title":"Table Key"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableOrderCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/mobile-order/orders/{order_id}/items/{item_id}/void":{"post":{"tags":["pos-app"],"summary":"Void Mobile Order Item","description":"未会計の席注文の商品行を取消す(理由必須・部分数量)。返金/値引き/無料化とは別物で、\nオンチェーン送金は行わない。取消の実体は Web POS と共通の ``void_order_item`` を再利用する\n(支払済み/ready/served や会計処理中は backend が弾く)。","operationId":"void_mobile_order_item_v1_pos_app_mobile_order_orders__order_id__items__item_id__void_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableVoidRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/mobile-order/tables/{table_key}/checkout":{"post":{"tags":["pos-app"],"summary":"Checkout Mobile Order Table","description":"席の残額分のQR会計を1本発行する。金額はサーバーが残額を再計算して使う(クライアント金額は\n信用しない)。発行は Web POS と共通の ``issue_partial_table_checkout_intent`` を再利用し、累積会計\nセッションに紐づける。送金確認中の重複は同一 idempotency_key で二重発行しない。","operationId":"checkout_mobile_order_table_v1_pos_app_mobile_order_tables__table_key__checkout_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"table_key","in":"path","required":true,"schema":{"type":"string","title":"Table Key"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableCheckoutCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppQrCheckoutIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/mobile-order/tables/{table_key}/payment-plan":{"get":{"tags":["pos-app"],"summary":"Get Mobile Order Table Payment Plan","description":"席会計の現在の支払いプラン(方式・世代・有効な支払いカード)を返す。\n\nUI は「現在のプランだけ」を表示する。処理中の支払いがあるときは ``can_change=false`` と\n``blocked_message`` を返し、切替ボタンを無効化させる。読み取り専用で状態は変えない。","operationId":"get_mobile_order_table_payment_plan_v1_pos_app_mobile_order_tables__table_key__payment_plan_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"table_key","in":"path","required":true,"schema":{"type":"string","title":"Table Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTablePaymentPlanResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["pos-app"],"summary":"Set Mobile Order Table Payment Plan","description":"席会計の支払い方式を切り替える(残額一括 / 均等割り勘 / 金額指定の分割)。\n\n未使用(未送信)の古い支払いカードだけを終端化して、選ばれた方式の支払いカードを\n新しい世代として発行する。署名済み・送信済み・確認中がある場合は構造化された 409\n(``payment_plan_change_blocked``)で拒否し、支払い済みカードは決して取り消さない。\n同じ操作の再送では重複発行せず、既存の有効プランをそのまま返す。","operationId":"set_mobile_order_table_payment_plan_v1_pos_app_mobile_order_tables__table_key__payment_plan_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"table_key","in":"path","required":true,"schema":{"type":"string","title":"Table Key"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTablePaymentPlanCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTablePaymentPlanResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/mobile-order/tables/{table_key}/cash-settle":{"post":{"tags":["pos-app"],"summary":"Cash Settle Mobile Order Table","description":"席の現金会計。QR会計(checkout)と対になる現金導線。金額はサーバー権威(残額・対象注文の\n合計を再計算する。クライアント金額は信用しない)。\n\n- ``order_ids`` 指定: 「選んで会計(現金)」。指定注文を現金 paid にする。一部金額決済が進行中の\n  席では二重計上を避けるため拒否(409)。Web POS と共通の ``orders.mark_cash_paid`` を再利用。\n- ``order_ids`` 省略: 席の残額すべてを現金で確定する。ウォレット部分決済が入っていれば残額のみ\n  現金記帳する(Web POS と共通の ``settle_table_remaining_as_cash``)。送金確認中は 409。","operationId":"cash_settle_mobile_order_table_v1_pos_app_mobile_order_tables__table_key__cash_settle_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"table_key","in":"path","required":true,"schema":{"type":"string","title":"Table Key"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableCashSettleRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTableCashSettleResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/refunds/config":{"get":{"tags":["pos-app"],"summary":"Get Refund Config","description":"返金フォームの初期値(定型理由など)。理由は自由入力で必須。","operationId":"get_refund_config_v1_pos_app_refunds_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRefundConfigResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/refunds/eligible-payments":{"get":{"tags":["pos-app"],"summary":"List Eligible Payments","description":"返金対象に選べる支払い済みの会計一覧(残返金可能額 > 0 のもの)。\n\n返金は支払い直後に行うことが多いため、支払い完了時刻(``paid_at``)が新しい順に\n並べる(注文作成時刻ではない)。``paid_at`` が無い古いデータは注文作成時刻を\n第2ソート条件にして安定させる。並び順は SQL 側で確定させ、その後の\nlookback/limit で新しい支払いが漏れないようにする。","operationId":"list_eligible_payments_v1_pos_app_refunds_eligible_payments_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppEligiblePaymentsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/refunds":{"post":{"tags":["pos-app"],"summary":"Create Refund","description":"返金を1件登録して即確定する(承認フロー無し)。\n\n元会計あり(order / qr_checkout)は既存返金サービスで残返金可能額まで検証し、\nその場で返金済みに確定 + 売上へマイナス反映。manual は元会計に紐づかない現金返金。\nstore_id は端末由来。オンチェーン返金送金はしない。","operationId":"create_refund_v1_pos_app_refunds_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRefundCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRefundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pos-app"],"summary":"List Refunds","description":"店舗の返金履歴(POS Mobile・Web POS 双方から作成された全件を時系列で表示)。\n\n端末/Web の作成元を問わず同一店舗の ``refund_records`` を見せ、Web POS と相互可視にする。","operationId":"list_refunds_v1_pos_app_refunds_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRefundListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/refunds/{refund_id}":{"get":{"tags":["pos-app"],"summary":"Get Refund","description":"返金1件の詳細。他店舗 / 不在は 404。","operationId":"get_refund_v1_pos_app_refunds__refund_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"refund_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Refund Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRefundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/wallet-refunds/scan":{"post":{"tags":["pos-app"],"summary":"Scan Wallet Refund Qr","description":"返金QRを読み取り、元決済・返金可能残額・必要Credits を返す(claim は消費しない)。","operationId":"scan_wallet_refund_qr_v1_pos_app_wallet_refunds_scan_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppWalletRefundScanRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppWalletRefundSource"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/wallet-refunds":{"post":{"tags":["pos-app"],"summary":"Create Wallet Refund","description":"返金を開始する(claim を消費し、Credits を確保し、署名待ちにする)。\n\n金額は「元決済の商品から選ぶ」「金額を直接入力する」のどちらでもよいが、\nどちらの場合も backend が元決済の返金可能残額で再検証する。","operationId":"create_wallet_refund_v1_pos_app_wallet_refunds_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppWalletRefundCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppWalletRefundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pos-app"],"summary":"List Wallet Refunds","description":"端末再起動後もbackendから復元できる、直近のオンチェーン返金一覧。","operationId":"list_wallet_refunds_v1_pos_app_wallet_refunds_get","security":[{"HTTPBearer":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppWalletRefundListResponse"}}}}}}},"/v1/pos/app/wallet-refunds/wallet-connection":{"get":{"tags":["pos-app"],"summary":"Get Wallet Refund Connection Status","description":"返金QRを読む前に、店舗ウォレットの接続ヒントだけを表示する。\n\n表示専用(接続を保証しない)。実際の接続アドレス照合は attempt 実行時に毎回行う。\n``{refund_intent_id}`` を使う後続の GET/POST より前に登録し、ルーティングの\n衝突(``wallet-connection`` が UUID として誤って解釈されること)を避ける。","operationId":"get_wallet_refund_connection_status_v1_pos_app_wallet_refunds_wallet_connection_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppWalletRefundConnectionStatus"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/wallet-refunds/wallet-connection/disconnect":{"post":{"tags":["pos-app"],"summary":"Disconnect Wallet Refund Connection","description":"店舗ウォレットの WalletConnect 接続を解除する(次回は必ず新規ペアリング)。\n\n旧登録ウォレットに紐づく署名前attemptだけを取り消す。返金 intent と予約\nCredits は再接続用に維持し、relay 済み・送金確認中は触らない。","operationId":"disconnect_wallet_refund_connection_v1_pos_app_wallet_refunds_wallet_connection_disconnect_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppWalletRefundDisconnectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/wallet-refunds/{refund_intent_id}":{"get":{"tags":["pos-app"],"summary":"Get Wallet Refund","description":"返金1件の状態(署名待ち / 送金確認中 / 返金済み など)。","operationId":"get_wallet_refund_v1_pos_app_wallet_refunds__refund_intent_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"refund_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Refund Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppWalletRefundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/wallet-refunds/{refund_intent_id}/attempts":{"post":{"tags":["pos-app"],"summary":"Create Wallet Refund Attempt","description":"店舗ウォレットの署名セッションを開始し、WalletConnect URI を返す。\n\n署名は店舗のウォレットアプリ内で行われ、SOUKAI は秘密鍵を受け取らない。","operationId":"create_wallet_refund_attempt_v1_pos_app_wallet_refunds__refund_intent_id__attempts_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"refund_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Refund Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppWalletRefundAttemptCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppWalletRefundAttemptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/wallet-refunds/{refund_intent_id}/attempts/{attempt_id}":{"get":{"tags":["pos-app"],"summary":"Get Wallet Refund Attempt","description":"署名セッションの状態を polling する。","operationId":"get_wallet_refund_attempt_v1_pos_app_wallet_refunds__refund_intent_id__attempts__attempt_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"refund_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Refund Intent Id"}},{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Attempt Id"}},{"name":"X-Refund-Attempt-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Refund-Attempt-Secret"}},{"name":"X-Refund-Attempt-Client-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Refund-Attempt-Client-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppWalletRefundAttemptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/wallet-refunds/{refund_intent_id}/cancel":{"post":{"tags":["pos-app"],"summary":"Cancel Wallet Refund","description":"署名前の返金を取り消し、予約 Credits を解放する。\n\n署名受領後(relay 以降)は不可逆証跡があるので取り消さない。","operationId":"cancel_wallet_refund_v1_pos_app_wallet_refunds__refund_intent_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"refund_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Refund Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppWalletRefundCancelRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppWalletRefundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/register/menu-items":{"get":{"tags":["pos-app"],"summary":"List Register Menu","description":"商品レジの商品一覧(カテゴリ別)。商品マスタ編集は出さない。","operationId":"list_register_menu_v1_pos_app_register_menu_items_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRegisterMenuResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/orders/quote":{"post":{"tags":["pos-app"],"summary":"Quote Pos Mobile Order","description":"POS Mobile のカートを Web POS と同じ注文計算で再計算する。\n\n店舗IDと金額はクライアントから受け取らない。店内/テイクアウトの設定（税率、価格方式、\n専用価格）は ``build_order_quote_calculation`` が店舗設定から解決する。","operationId":"quote_pos_mobile_order_v1_pos_app_orders_quote_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppOrderQuoteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderQuoteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/menu-items/inventory":{"get":{"tags":["pos-app"],"summary":"List Inventory Menu Items","description":"POS Mobile 商品管理の商品一覧。商品追加・詳細編集は扱わない。","operationId":"list_inventory_menu_items_v1_pos_app_menu_items_inventory_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppInventoryListResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/menu-items/{menu_item_id}/inventory":{"patch":{"tags":["pos-app"],"summary":"Update Inventory Menu Item","description":"POS Mobile 商品管理の状態切替(在庫無制限/在庫管理ON+残数/売り切れ)と在庫補充。","operationId":"update_inventory_menu_item_v1_pos_app_menu_items__menu_item_id__inventory_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"menu_item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Menu Item Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppInventoryUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppInventoryMenuItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/takeout/menu-items":{"get":{"tags":["pos-app"],"summary":"List Takeout Menu","description":"POS Mobile のテイクアウト作成で使う商品一覧。","operationId":"list_takeout_menu_v1_pos_app_takeout_menu_items_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRegisterMenuResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/takeout/orders":{"post":{"tags":["pos-app"],"summary":"Create Takeout Order","description":"電話注文をテイクアウトとして作成し、既存の注文 Inbox に流す。","operationId":"create_takeout_order_v1_pos_app_takeout_orders_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppTakeoutOrderCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppOrderDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/register/orders":{"post":{"tags":["pos-app"],"summary":"Create Register Order","description":"商品レジの注文を作成する。\n\n金額・税計算はサーバー権威(商品マスタから再計算)。注文作成・税計算は Web POS と共通の\n``orders.router.create_order`` を再利用する(決済ロジックを複製しない)。作成後すぐ会計\nできるよう ``placed``(受付待ち)へ進める。viewer / 厨房 / 受け渡しは作成不可。","operationId":"create_register_order_v1_pos_app_register_orders_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRegisterOrderCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRegisterOrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/register/orders/{order_id}":{"get":{"tags":["pos-app"],"summary":"Get Register Order","operationId":"get_register_order_v1_pos_app_register_orders__order_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRegisterOrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/register/orders/{order_id}/cash-payment":{"post":{"tags":["pos-app"],"summary":"Pay Register Order Cash","description":"商品レジ注文を現金会計する。\n\n合計はサーバー権威(``order.total_jpy``)。``received_jpy`` が合計未満なら 400。\n現金売上の会計反映は Web POS と共通の ``orders.router.mark_cash_paid`` を再利用する。","operationId":"pay_register_order_cash_v1_pos_app_register_orders__order_id__cash_payment_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRegisterCashPayment"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRegisterCashResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/register/orders/{order_id}/qr-payment":{"post":{"tags":["pos-app"],"summary":"Pay Register Order Qr","description":"商品レジ注文の QR/ウォレット会計 intent を発行する。\n\n既存注文への決済発行は Web POS と共通の ``payments.router.issue_order_payment_intent``\nを再利用(顧客ウォレットは未知なので ``expected_from_address=None``)。支払い状況の\nポーリングは Phase 2 の ``GET /qr-checkout/intents/{id}`` をそのまま使う。","operationId":"pay_register_order_qr_v1_pos_app_register_orders__order_id__qr_payment_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRegisterQrCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppQrCheckoutIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/register/orders/{order_id}/qr-payment/reissue":{"post":{"tags":["pos-app"],"summary":"Reissue Register Order Qr","description":"Safely terminate an unsent product-register QR and issue its successor.","operationId":"reissue_register_order_qr_v1_pos_app_register_orders__order_id__qr_payment_reissue_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppRegisterQrCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppQrCheckoutIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/sales/summary":{"get":{"tags":["pos-app"],"summary":"Get Sales Summary","description":"売上機能割当済み端末向けの期間概要。返金は必ずマイナス反映する。\n\nowner/manager は店舗全体・現在端末・同一Storeの任意端末を選べる。その他roleは\nquery指定に関係なく現在端末へ固定し、店舗全体を取得できない。","operationId":"get_sales_summary_v1_pos_app_sales_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppSalesSummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/reservations/create-config":{"get":{"tags":["pos-app"],"summary":"Get Reservation Create Config","operationId":"get_reservation_create_config_v1_pos_app_reservations_create_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppReservationCreateConfig"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/reservations":{"post":{"tags":["pos-app"],"summary":"Create Pos Reservation","description":"電話受付を既存の店舗予約作成ロジックへ接続する。","operationId":"create_pos_reservation_v1_pos_app_reservations_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppReservationCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppReservationDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pos-app"],"summary":"List Reservations","description":"端末の店舗の予約一覧(既定は店舗ローカル当日)。日付/範囲と ``status``、\n``type`` で種別(美容室のみ等)を絞り込む。\n\n予約の空き枠・整合性ロジックは ``reservations`` モジュールが所有。ここは表示だけ。","operationId":"list_reservations_v1_pos_app_reservations_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string","pattern":"^(today|upcoming)$","default":"today","title":"Scope"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(pending|confirmed|cancelled|completed|no_show)$"},{"type":"null"}],"title":"Status"}},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(general|salon|hotel)$"},{"type":"null"}],"title":"Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppReservationListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/reservations/{reservation_id}":{"get":{"tags":["pos-app"],"summary":"Get Reservation","operationId":"get_reservation_v1_pos_app_reservations__reservation_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppReservationDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/reservations/{reservation_id}/status":{"post":{"tags":["pos-app"],"summary":"Update Reservation Status","description":"予約のステータスを変更する(確定 / 来店済み / キャンセル / 未来店)。\n\n状態タイムスタンプは Web POS と共通の ``apply_status_timestamps`` を再利用する。\n終端状態(キャンセル/完了/未来店)からの再変更は 409 にする。store_id は端末由来。","operationId":"update_reservation_status_v1_pos_app_reservations__reservation_id__status_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppReservationStatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppReservationDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/customer-chats":{"get":{"tags":["pos-app"],"summary":"List Customer Chats","description":"端末の店舗のお客様チャット一覧(最新メッセージ順・未読バッジ付き)。","operationId":"list_customer_chats_v1_pos_app_customer_chats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppChatThreadListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/customer-chats/{thread_id}":{"get":{"tags":["pos-app"],"summary":"Get Customer Chat","description":"スレッド詳細(メッセージ一覧)。開いた時点で店舗側を既読化する。","operationId":"get_customer_chat_v1_pos_app_customer_chats__thread_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppChatThreadDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/customer-chats/{thread_id}/messages":{"post":{"tags":["pos-app"],"summary":"Send Customer Chat Message","description":"店舗からお客様へ返信する。送信は Web POS と共通の ``create_chat_message`` を再利用。\n\nPIN ログイン済みなら操作者の ``staff_member_id`` を残す(誰が返信したかの記録)。未ログイン\n時は端末 actor のみ(``staff_member_id=None``)。送信時に店舗側は既読扱い(未読 0)にする。","operationId":"send_customer_chat_message_v1_pos_app_customer_chats__thread_id__messages_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppChatMessageCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppChatThreadDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/operator-chat":{"get":{"tags":["pos-app"],"summary":"Get Operator Chat","description":"POS Mobile から SOUKAI 運営への問い合わせスレッドを取得する。\n\n店舗IDは端末レコード由来のみ。取得時に店舗側未読を既読化する。","operationId":"get_operator_chat_v1_pos_app_operator_chat_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorThreadDetailResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/operator-chat/messages":{"post":{"tags":["pos-app"],"summary":"Send Operator Chat Message","description":"POS Mobile から SOUKAI 運営へテキストメッセージを送る。","operationId":"send_operator_chat_message_v1_pos_app_operator_chat_messages_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppChatMessageCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorThreadDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/dashboard":{"get":{"tags":["pos-app"],"summary":"Get Dashboard","description":"ホームの「今日の状況」。割当済み機能のカードと当日件数を返す。\n\n集計・カードの出し分けは backend が真実の源。カードの遷移先は端末メニューに\n表示される機能のみ。売上も割当がある時だけ集計する。\n全 role が叩けるシステム機能(プラグイン非依存)。PII は含めない。","operationId":"get_dashboard_v1_pos_app_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppDashboardResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/notifications/summary":{"get":{"tags":["pos-app"],"summary":"Get Notification Summary","description":"メニューの件数バッジ + アプリ内通知件数(90秒ポーリング用の軽量サマリ)。","operationId":"get_notification_summary_v1_pos_app_notifications_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppNotificationSummaryResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/notifications":{"get":{"tags":["pos-app"],"summary":"List Notifications","description":"通知センターの一覧。現在状態から軽量生成する(DB永続化はしない)。","operationId":"list_notifications_v1_pos_app_notifications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppNotificationListResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/staff":{"get":{"tags":["pos-app"],"summary":"List Pos Staff","description":"この端末の店舗で PIN ログインできるスタッフ一覧(PIN 設定済み + active)。\n\n端末起動後の操作者選択に使う。氏名と role のみで email など PII は返さない。\n全 role の端末が叩けるシステム機能(操作者選択は権限に依らない)。","operationId":"list_pos_staff_v1_pos_app_staff_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppStaffListResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/staff/login":{"post":{"tags":["pos-app"],"summary":"Login Pos Staff","description":"スタッフを PIN 選択/切替する。成功時に操作者セッショントークンを返す。\n\n認可の主体は引き続き device token。これは「誰が操作したか」を記録するための補助\nクレデンシャルで、誤PINは端末単位でレート制限する。","operationId":"login_pos_staff_v1_pos_app_staff_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppStaffLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppStaffLoginResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/appearances":{"get":{"tags":["pos-app"],"summary":"List Appearances","description":"StoreBusinessHourException を正とする営業場所一覧。","operationId":"list_appearances_v1_pos_app_appearances_get","security":[{"HTTPBearer":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppAppearanceListResponse"}}}}}},"post":{"tags":["pos-app"],"summary":"Create Today Appearance","description":"登録済み地点を選び、営業日例外へ snapshot して予定を作成する。","operationId":"create_today_appearance_v1_pos_app_appearances_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppAppearanceScheduleCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppAppearance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/appearances/location-presets":{"get":{"tags":["pos-app"],"summary":"List Appearance Location Presets","operationId":"list_appearance_location_presets_v1_pos_app_appearances_location_presets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppLocationPresetListResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/appearances/today":{"post":{"tags":["pos-app"],"summary":"Create Today Appearance","description":"登録済み地点を選び、営業日例外へ snapshot して予定を作成する。","operationId":"create_today_appearance_v1_pos_app_appearances_today_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppAppearanceScheduleCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppAppearance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/appearances/bulk":{"post":{"tags":["pos-app"],"summary":"Create Appearances Bulk","description":"最大60営業日を同一transactionで作成し、同日既存行はskipできる。","operationId":"create_appearances_bulk_v1_pos_app_appearances_bulk_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppAppearanceBulkCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppAppearanceBulkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/appearances/{appearance_id}/live-location":{"patch":{"tags":["pos-app"],"summary":"Update Appearance Live Location","operationId":"update_appearance_live_location_v1_pos_app_appearances__appearance_id__live_location_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"appearance_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Appearance Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppAppearance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/appearances/{appearance_id}":{"patch":{"tags":["pos-app"],"summary":"Update Appearance","operationId":"update_appearance_v1_pos_app_appearances__appearance_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"appearance_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Appearance Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppAppearanceScheduleUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppAppearance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["pos-app"],"summary":"Cancel Upcoming Appearance","description":"営業開始前の予定だけを取消する。activeは/end、endedは履歴保持。","operationId":"cancel_upcoming_appearance_v1_pos_app_appearances__appearance_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"appearance_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Appearance Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/appearances/{appearance_id}/publish":{"post":{"tags":["pos-app"],"summary":"Publish Appearance","description":"非公開予定を地図・店舗LPの両方へ公開する。","operationId":"publish_appearance_v1_pos_app_appearances__appearance_id__publish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"appearance_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Appearance Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppAppearance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/appearances/{appearance_id}/unpublish":{"post":{"tags":["pos-app"],"summary":"Unpublish Appearance","description":"地図・店舗LPの両方から予定を非公開にする。","operationId":"unpublish_appearance_v1_pos_app_appearances__appearance_id__unpublish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"appearance_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Appearance Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppAppearance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/appearances/{appearance_id}/end":{"post":{"tags":["pos-app"],"summary":"End Appearance","description":"営業中の例外レンジを現在の分で終了する。","operationId":"end_appearance_v1_pos_app_appearances__appearance_id__end_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"appearance_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Appearance Id"}},{"name":"x-pos-staff-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Pos-Staff-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosAppAppearance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/takeout/settings":{"get":{"tags":["pos-app-takeout"],"summary":"Get Pos Takeout Settings","operationId":"get_pos_takeout_settings_v1_pos_app_takeout_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutSettingsResponse"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"tags":["pos-app-takeout"],"summary":"Patch Pos Takeout Settings","operationId":"patch_pos_takeout_settings_v1_pos_app_takeout_settings_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutSettingsUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/pos/app/takeout/orders/{order_id}/cancel-paid":{"post":{"tags":["pos-app-takeout"],"summary":"Cancel Paid Takeout Order","operationId":"cancel_paid_takeout_order_v1_pos_app_takeout_orders__order_id__cancel_paid_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutPaidCancellationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutPaidCancellationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/app/takeout/orders/{order_id}/refunds/{refund_id}/complete":{"post":{"tags":["pos-app-takeout"],"summary":"Complete Takeout Refund","operationId":"complete_takeout_refund_v1_pos_app_takeout_orders__order_id__refunds__refund_id__complete_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"refund_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Refund Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutRefundCompleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutRefundCompleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/stores/{store_id}/takeout/settings":{"get":{"tags":["store-takeout-settings"],"summary":"Get Store Takeout Settings","operationId":"get_store_takeout_settings_v1_stores__store_id__takeout_settings_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["store-takeout-settings"],"summary":"Patch Store Takeout Settings","operationId":"patch_store_takeout_settings_v1_stores__store_id__takeout_settings_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutSettingsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/takeout/availability":{"get":{"tags":["public-takeout"],"summary":"Get Public Takeout Availability","operationId":"get_public_takeout_availability_v1_public_stores__slug__takeout_availability_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutAvailabilityResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/commercial-transaction-disclosure":{"get":{"tags":["public-takeout"],"summary":"Get Public Store Commercial Transaction Disclosure","operationId":"get_public_store_commercial_transaction_disclosure_v1_public_stores__slug__commercial_transaction_disclosure_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"access","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":64,"maxLength":64},{"type":"null"}],"title":"Access"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCommercialTransactionDisclosureResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/takeout/pickup-options":{"get":{"tags":["public-takeout"],"summary":"Get Public Takeout Pickup Options","operationId":"get_public_takeout_pickup_options_v1_public_stores__slug__takeout_pickup_options_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PickupOptionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/takeout/menu":{"get":{"tags":["public-takeout"],"summary":"Get Public Takeout Menu","operationId":"get_public_takeout_menu_v1_public_stores__slug__takeout_menu_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"pickup_at","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"Pickup At"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TakeoutMenuItemResponse"},"title":"Response Get Public Takeout Menu V1 Public Stores  Slug  Takeout Menu Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/takeout/quote":{"post":{"tags":["public-takeout"],"summary":"Quote Public Takeout","operationId":"quote_public_takeout_v1_public_stores__slug__takeout_quote_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTakeoutQuoteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTakeoutQuoteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/takeout/checkout":{"post":{"tags":["public-takeout"],"summary":"Checkout Public Takeout","operationId":"checkout_public_takeout_v1_public_stores__slug__takeout_checkout_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTakeoutCheckoutRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutCheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/operator-chat":{"get":{"tags":["admin-operator-chat"],"summary":"Get Store Operator Chat Thread","operationId":"get_store_operator_chat_thread_v1_admin_stores__store_id__operator_chat_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorThreadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/operator-chat/detail":{"get":{"tags":["admin-operator-chat"],"summary":"Get Store Operator Chat Detail","operationId":"get_store_operator_chat_detail_v1_admin_stores__store_id__operator_chat_detail_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorThreadDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/operator-chat/messages":{"post":{"tags":["admin-operator-chat"],"summary":"Send Store Operator Chat Message","operationId":"send_store_operator_chat_message_v1_admin_stores__store_id__operator_chat_messages_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorMessageCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorThreadDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/operator-chat/attachments":{"post":{"tags":["admin-operator-chat"],"summary":"Upload Store Operator Attachment","operationId":"upload_store_operator_attachment_v1_admin_stores__store_id__operator_chat_attachments_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_store_operator_attachment_v1_admin_stores__store_id__operator_chat_attachments_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorAttachmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/operator-chat/attachments/{attachment_id}/download":{"get":{"tags":["admin-operator-chat"],"summary":"Download Store Operator Attachment","operationId":"download_store_operator_attachment_v1_admin_stores__store_id__operator_chat_attachments__attachment_id__download_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Attachment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/operator-chat/attachments/{attachment_id}/scan":{"post":{"tags":["admin-operator-chat"],"summary":"Scan Store Operator Attachment","operationId":"scan_store_operator_attachment_v1_admin_stores__store_id__operator_chat_attachments__attachment_id__scan_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Attachment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorAttachmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/operator-chat/status":{"patch":{"tags":["admin-operator-chat"],"summary":"Update Store Operator Chat Status","operationId":"update_store_operator_chat_status_v1_admin_stores__store_id__operator_chat_status_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorStatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorThreadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/operator-chat/inbox":{"get":{"tags":["admin-operator-chat-inbox"],"summary":"List Operator Chat Inbox","operationId":"list_operator_chat_inbox_v1_admin_operator_chat_inbox_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"unread","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Unread"}},{"name":"has_attachments","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Has Attachments"}},{"name":"needs_review","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Needs Review"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorInboxResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/operator-chat/notifications":{"get":{"tags":["admin-operator-chat-inbox"],"summary":"List Admin Operator Notifications","operationId":"list_admin_operator_notifications_v1_admin_operator_chat_notifications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationListResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/operator-chat/notifications/{notification_id}/read":{"patch":{"tags":["admin-operator-chat-inbox"],"summary":"Mark Admin Operator Notification Read","operationId":"mark_admin_operator_notification_read_v1_admin_operator_chat_notifications__notification_id__read_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"notification_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Notification Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/operator-tickets/notifications":{"get":{"tags":["admin-operator-tickets"],"summary":"List Store Operator Notifications","operationId":"list_store_operator_notifications_v1_admin_stores__store_id__operator_tickets_notifications_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/operator-tickets/notifications/{notification_id}/read":{"patch":{"tags":["admin-operator-tickets"],"summary":"Mark Store Operator Notification Read","operationId":"mark_store_operator_notification_read_v1_admin_stores__store_id__operator_tickets_notifications__notification_id__read_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"notification_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Notification Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/operator-tickets":{"get":{"tags":["admin-operator-tickets"],"summary":"List Store Operator Tickets","operationId":"list_store_operator_tickets_v1_admin_stores__store_id__operator_tickets_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-operator-tickets"],"summary":"Create Store Operator Ticket","operationId":"create_store_operator_ticket_v1_admin_stores__store_id__operator_tickets_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/operator-tickets/{ticket_id}":{"get":{"tags":["admin-operator-tickets"],"summary":"Get Store Operator Ticket","operationId":"get_store_operator_ticket_v1_admin_stores__store_id__operator_tickets__ticket_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin-operator-tickets"],"summary":"Update Store Operator Ticket","operationId":"update_store_operator_ticket_v1_admin_stores__store_id__operator_tickets__ticket_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/operator-tickets/{ticket_id}/credit-estimates/{estimate_id}/approve":{"post":{"tags":["admin-operator-tickets"],"summary":"Approve Store Operator Ticket Credit Estimate","operationId":"approve_store_operator_ticket_credit_estimate_v1_admin_stores__store_id__operator_tickets__ticket_id__credit_estimates__estimate_id__approve_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}},{"name":"estimate_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Estimate Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketCreditEstimateApprove"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketCreditEstimateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/operator-tickets/{ticket_id}/review":{"post":{"tags":["admin-operator-tickets"],"summary":"Review Store Operator Ticket Delivery","operationId":"review_store_operator_ticket_delivery_v1_admin_stores__store_id__operator_tickets__ticket_id__review_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketDeliveryReview"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/operator-tickets":{"get":{"tags":["admin-operator-tickets"],"summary":"List Admin Operator Tickets","operationId":"list_admin_operator_tickets_v1_admin_operator_tickets_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"priority","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Priority"}},{"name":"assigned_admin_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned Admin Id"}},{"name":"needs_review","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Needs Review"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/operator-tickets/{ticket_id}":{"get":{"tags":["admin-operator-tickets"],"summary":"Get Admin Operator Ticket","operationId":"get_admin_operator_ticket_v1_admin_operator_tickets__ticket_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin-operator-tickets"],"summary":"Update Admin Operator Ticket","operationId":"update_admin_operator_ticket_v1_admin_operator_tickets__ticket_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/operator-tickets/{ticket_id}/credit-estimates":{"post":{"tags":["admin-operator-tickets"],"summary":"Create Admin Operator Ticket Credit Estimate","operationId":"create_admin_operator_ticket_credit_estimate_v1_admin_operator_tickets__ticket_id__credit_estimates_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketCreditEstimateCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketCreditEstimateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/operator-tickets/credit-estimates/{estimate_id}":{"patch":{"tags":["admin-operator-tickets"],"summary":"Update Admin Operator Ticket Credit Estimate","operationId":"update_admin_operator_ticket_credit_estimate_v1_admin_operator_tickets_credit_estimates__estimate_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"estimate_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Estimate Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketCreditEstimateUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketCreditEstimateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/operator-tickets/{ticket_id}/delivery-attachments":{"post":{"tags":["admin-operator-tickets"],"summary":"Upload Admin Operator Ticket Delivery Attachment","operationId":"upload_admin_operator_ticket_delivery_attachment_v1_admin_operator_tickets__ticket_id__delivery_attachments_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_admin_operator_ticket_delivery_attachment_v1_admin_operator_tickets__ticket_id__delivery_attachments_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreOperatorTicketResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/platform-plugins":{"get":{"tags":["admin-platform-plugins"],"summary":"List Platform Plugins","operationId":"list_platform_plugins_v1_admin_platform_plugins_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformPluginListResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/platform-plugins/usage-summary":{"get":{"tags":["admin-platform-plugins"],"summary":"Get Platform Plugin Usage Summary","operationId":"get_platform_plugin_usage_summary_v1_admin_platform_plugins_usage_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformPluginUsageSummaryResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/platform-plugins/{plugin_key}/stores":{"get":{"tags":["admin-platform-plugins"],"summary":"List Platform Plugin Stores","operationId":"list_platform_plugin_stores_v1_admin_platform_plugins__plugin_key__stores_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"plugin_key","in":"path","required":true,"schema":{"type":"string","title":"Plugin Key"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Status"}},{"name":"industry","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Industry"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformPluginStoreUsageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/platform-plugins/{plugin_key}":{"get":{"tags":["admin-platform-plugins"],"summary":"Get Platform Plugin","operationId":"get_platform_plugin_v1_admin_platform_plugins__plugin_key__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"plugin_key","in":"path","required":true,"schema":{"type":"string","title":"Plugin Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformPluginResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin-platform-plugins"],"summary":"Update Platform Plugin","operationId":"update_platform_plugin_v1_admin_platform_plugins__plugin_key__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"plugin_key","in":"path","required":true,"schema":{"type":"string","title":"Plugin Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformPluginUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformPluginResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/store-categories":{"get":{"tags":["admin-store-categories"],"summary":"List Store Categories","operationId":"list_store_categories_v1_admin_store_categories_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"include_inactive","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Inactive"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreCategoryResponse"},"title":"Response List Store Categories V1 Admin Store Categories Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-store-categories"],"summary":"Create Store Category","operationId":"create_store_category_v1_admin_store_categories_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCategoryCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/store-categories/{category_id}":{"patch":{"tags":["admin-store-categories"],"summary":"Update Store Category","operationId":"update_store_category_v1_admin_store_categories__category_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"category_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Category Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCategoryUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/store-resources":{"get":{"tags":["admin-store-resources"],"summary":"List Admin Store Resources","operationId":"list_admin_store_resources_v1_admin_store_resources_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/StoreResourceResponse"},"type":"array","title":"Response List Admin Store Resources V1 Admin Store Resources Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["admin-store-resources"],"summary":"Create Store Resource","operationId":"create_store_resource_v1_admin_store_resources_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResourceCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResourceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/store-resources/{material_id}":{"patch":{"tags":["admin-store-resources"],"summary":"Update Store Resource","operationId":"update_store_resource_v1_admin_store_resources__material_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"material_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Material Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResourceUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResourceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-store-resources"],"summary":"Delete Store Resource","operationId":"delete_store_resource_v1_admin_store_resources__material_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"material_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Material Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/store-resources/{material_id}/preview":{"post":{"tags":["admin-store-resources"],"summary":"Upload Store Resource Preview","operationId":"upload_store_resource_preview_v1_admin_store_resources__material_id__preview_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"material_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Material Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_store_resource_preview_v1_admin_store_resources__material_id__preview_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResourceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-store-resources"],"summary":"Delete Store Resource Preview","operationId":"delete_store_resource_preview_v1_admin_store_resources__material_id__preview_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"material_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Material Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResourceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/store-resources/{material_id}/variants":{"post":{"tags":["admin-store-resources"],"summary":"Create Store Resource Variant","operationId":"create_store_resource_variant_v1_admin_store_resources__material_id__variants_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"material_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Material Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResourceVariantCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResourceVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/store-resources/{material_id}/variants/{variant_id}":{"patch":{"tags":["admin-store-resources"],"summary":"Update Store Resource Variant","operationId":"update_store_resource_variant_v1_admin_store_resources__material_id__variants__variant_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"material_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Material Id"}},{"name":"variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Variant Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResourceVariantUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResourceVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-store-resources"],"summary":"Delete Store Resource Variant","operationId":"delete_store_resource_variant_v1_admin_store_resources__material_id__variants__variant_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"material_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Material Id"}},{"name":"variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Variant Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/store-resources/{material_id}/variants/{variant_id}/files/{file_format}":{"post":{"tags":["admin-store-resources"],"summary":"Upload Store Resource Variant File","operationId":"upload_store_resource_variant_file_v1_admin_store_resources__material_id__variants__variant_id__files__file_format__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"material_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Material Id"}},{"name":"variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Variant Id"}},{"name":"file_format","in":"path","required":true,"schema":{"enum":["pdf","png"],"type":"string","title":"File Format"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_store_resource_variant_file_v1_admin_store_resources__material_id__variants__variant_id__files__file_format__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResourceVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-store-resources"],"summary":"Delete Store Resource Variant File","operationId":"delete_store_resource_variant_file_v1_admin_store_resources__material_id__variants__variant_id__files__file_format__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"material_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Material Id"}},{"name":"variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Variant Id"}},{"name":"file_format","in":"path","required":true,"schema":{"enum":["pdf","png"],"type":"string","title":"File Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResourceVariantResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/store-resources":{"get":{"tags":["store-resources"],"summary":"List Store Resources","operationId":"list_store_resources_v1_store_admin_store_resources_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/StoreResourceResponse"},"type":"array","title":"Response List Store Resources V1 Store Admin Store Resources Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/store-resources/variants/{variant_id}/download/{file_format}":{"get":{"tags":["store-resources"],"summary":"Download Store Resource","operationId":"download_store_resource_v1_store_admin_store_resources_variants__variant_id__download__file_format__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"variant_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Variant Id"}},{"name":"file_format","in":"path","required":true,"schema":{"enum":["pdf","png"],"type":"string","title":"File Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/classification":{"get":{"tags":["admin-store-policies"],"summary":"Get Store Classification","operationId":"get_store_classification_v1_admin_stores__store_id__classification_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreCategoryAssignmentResponse"},"title":"Response Get Store Classification V1 Admin Stores  Store Id  Classification Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["admin-store-policies"],"summary":"Update Store Classification","operationId":"update_store_classification_v1_admin_stores__store_id__classification_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreClassificationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreCategoryAssignmentResponse"},"title":"Response Update Store Classification V1 Admin Stores  Store Id  Classification Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/visibility-policy":{"get":{"tags":["admin-store-policies"],"summary":"Get Store Visibility Policy","operationId":"get_store_visibility_policy_v1_admin_stores__store_id__visibility_policy_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EffectiveStorePolicyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin-store-policies"],"summary":"Update Store Visibility Policy","operationId":"update_store_visibility_policy_v1_admin_stores__store_id__visibility_policy_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVisibilityPolicyUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVisibilityPolicyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/visibility-scope":{"patch":{"tags":["admin-store-policies"],"summary":"Update Store Visibility Scope","description":"公開範囲 (非公開 / テスト公開 / 一般公開) を切り替える。\n\n店舗側からは変更できない super-admin 専用操作。既存の公開条件\n(Store/LP published, category policy, plugin guard, payment_only) は\nバイパスせず、条件を満たした店舗を誰に見せるかだけを絞る。","operationId":"update_store_visibility_scope_v1_admin_stores__store_id__visibility_scope_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVisibilityScopeUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVisibilityScopeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/store-categories":{"get":{"tags":["public-store-categories"],"summary":"List Public Store Categories","operationId":"list_public_store_categories_v1_public_store_categories_get","parameters":[{"name":"parent_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PublicStoreCategoryResponse"},"title":"Response List Public Store Categories V1 Public Store Categories Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/location-presets":{"get":{"tags":["admin-stores"],"summary":"List Store Location Presets","operationId":"list_store_location_presets_v1_admin_stores__store_id__location_presets_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreLocationPresetResponse"},"title":"Response List Store Location Presets V1 Admin Stores  Store Id  Location Presets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-stores"],"summary":"Create Store Location Preset","operationId":"create_store_location_preset_v1_admin_stores__store_id__location_presets_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreLocationPresetCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreLocationPresetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/location-presets/{preset_id}":{"patch":{"tags":["admin-stores"],"summary":"Update Store Location Preset","operationId":"update_store_location_preset_v1_admin_stores__store_id__location_presets__preset_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"preset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Preset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreLocationPresetUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreLocationPresetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-stores"],"summary":"Delete Store Location Preset","operationId":"delete_store_location_preset_v1_admin_stores__store_id__location_presets__preset_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"preset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Preset Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores":{"get":{"tags":["admin-stores"],"summary":"List Stores","operationId":"list_stores_v1_admin_stores_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Status"}},{"name":"industry","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Industry"}},{"name":"paged","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Paged"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/StoreResponse"}},{"$ref":"#/components/schemas/StoreListResponse"}],"title":"Response List Stores V1 Admin Stores Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-stores"],"summary":"Create Store","operationId":"create_store_v1_admin_stores_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/mobile-stores":{"post":{"tags":["admin-stores"],"summary":"Create Mobile Store From Store","operationId":"create_mobile_store_from_store_v1_admin_stores__store_id__mobile_stores_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileStoreCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["admin-stores"],"summary":"List Related Mobile Stores","operationId":"list_related_mobile_stores_v1_admin_stores__store_id__mobile_stores_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelatedMobileStoresResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/suspend":{"post":{"tags":["admin-stores"],"summary":"Suspend Mobile Store","operationId":"suspend_mobile_store_v1_admin_stores__store_id__suspend_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/restore":{"post":{"tags":["admin-stores"],"summary":"Restore Mobile Store","operationId":"restore_mobile_store_v1_admin_stores__store_id__restore_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/mobile-store":{"delete":{"tags":["admin-stores"],"summary":"Delete Mobile Store","description":"Archive a stopped event Store without deleting financial history.\n\nThe parent row is locked using the same serialization boundary as event\nStore creation.  This makes delete -> zero children -> create deterministic\neven when the requests overlap.  Store-owned access credentials are revoked,\nwhile products, schedules, transactions, accounting, receipts, refunds,\nCredits, plugin configuration, and audit evidence remain referentially intact.","operationId":"delete_mobile_store_v1_admin_stores__store_id__mobile_store_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/join-code":{"get":{"tags":["admin-stores"],"summary":"Get Store Join Code","operationId":"get_store_join_code_v1_admin_stores__store_id__join_code_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreJoinCodeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/join-code/rotate":{"post":{"tags":["admin-stores"],"summary":"Rotate Store Join Code","operationId":"rotate_store_join_code_v1_admin_stores__store_id__join_code_rotate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreJoinCodeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}":{"get":{"tags":["admin-stores"],"summary":"Get Store","operationId":"get_store_v1_admin_stores__store_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin-stores"],"summary":"Update Store","operationId":"update_store_v1_admin_stores__store_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/commercial-transaction-disclosure":{"get":{"tags":["admin-stores"],"summary":"Get Store Commercial Transaction Disclosure","operationId":"get_store_commercial_transaction_disclosure_v1_admin_stores__store_id__commercial_transaction_disclosure_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCommercialTransactionDisclosureResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["admin-stores"],"summary":"Put Store Commercial Transaction Disclosure","operationId":"put_store_commercial_transaction_disclosure_v1_admin_stores__store_id__commercial_transaction_disclosure_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCommercialTransactionDisclosureUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCommercialTransactionDisclosureResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/publication-readiness":{"get":{"tags":["admin-stores"],"summary":"Get Store Publication Readiness","operationId":"get_store_publication_readiness_v1_admin_stores__store_id__publication_readiness_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePublicationReadinessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/appearances":{"get":{"tags":["admin-stores"],"summary":"List Store Appearances","operationId":"list_store_appearances_v1_admin_stores__store_id__appearances_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreAppearancesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-stores"],"summary":"Create Store Appearance","operationId":"create_store_appearance_v1_admin_stores__store_id__appearances_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreAppearanceCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreAppearanceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/appearances/{appearance_id}":{"patch":{"tags":["admin-stores"],"summary":"Update Store Appearance","operationId":"update_store_appearance_v1_admin_stores__store_id__appearances__appearance_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"appearance_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Appearance Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreAppearanceUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreAppearanceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-stores"],"summary":"Delete Store Appearance","operationId":"delete_store_appearance_v1_admin_stores__store_id__appearances__appearance_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"appearance_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Appearance Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/appearances/{appearance_id}/image":{"post":{"tags":["admin-stores"],"summary":"Upload Store Appearance Image","operationId":"upload_store_appearance_image_v1_admin_stores__store_id__appearances__appearance_id__image_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"appearance_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Appearance Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_store_appearance_image_v1_admin_stores__store_id__appearances__appearance_id__image_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreAppearanceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-stores"],"summary":"Delete Store Appearance Image","operationId":"delete_store_appearance_image_v1_admin_stores__store_id__appearances__appearance_id__image_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"appearance_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Appearance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreAppearanceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/appearances/{appearance_id}/live-location":{"patch":{"tags":["admin-stores"],"summary":"Update Store Appearance Live Location","operationId":"update_store_appearance_live_location_v1_admin_stores__store_id__appearances__appearance_id__live_location_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"appearance_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Appearance Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreAppearanceLiveLocationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreAppearanceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/appearances/analysis":{"get":{"tags":["admin-stores"],"summary":"List Store Appearance Analysis","operationId":"list_store_appearance_analysis_v1_admin_stores__store_id__appearances_analysis_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreAppearanceAnalysisResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/appearances/notifications/pending":{"get":{"tags":["admin-stores"],"summary":"List Store Appearance Notification Candidates","operationId":"list_store_appearance_notification_candidates_v1_admin_stores__store_id__appearances_notifications_pending_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreAppearanceNotificationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/appearances/notifications/process":{"post":{"tags":["admin-stores"],"summary":"Process Store Appearance Notifications","operationId":"process_store_appearance_notifications_v1_admin_stores__store_id__appearances_notifications_process_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreAppearanceNotificationSendResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/appearances/notifications/history":{"get":{"tags":["admin-stores"],"summary":"List Store Appearance Notification History","operationId":"list_store_appearance_notification_history_v1_admin_stores__store_id__appearances_notifications_history_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"appearance_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Appearance Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreAppearanceNotificationSendResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/event-maps":{"get":{"tags":["admin-stores"],"summary":"List Store Event Maps","operationId":"list_store_event_maps_v1_admin_stores__store_id__event_maps_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-stores"],"summary":"Create Store Event Map","operationId":"create_store_event_map_v1_admin_stores__store_id__event_maps_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/event-maps/{event_map_record_id}":{"patch":{"tags":["admin-stores"],"summary":"Update Store Event Map","operationId":"update_store_event_map_v1_admin_stores__store_id__event_maps__event_map_record_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"event_map_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Map Record Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/event-maps/{event_map_record_id}/image":{"post":{"tags":["admin-stores"],"summary":"Upload Store Event Map Image","operationId":"upload_store_event_map_image_v1_admin_stores__store_id__event_maps__event_map_record_id__image_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"event_map_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Map Record Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_store_event_map_image_v1_admin_stores__store_id__event_maps__event_map_record_id__image_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-stores"],"summary":"Delete Store Event Map Image","operationId":"delete_store_event_map_image_v1_admin_stores__store_id__event_maps__event_map_record_id__image_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"event_map_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Map Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/event-maps/{event_map_record_id}/flatten":{"post":{"tags":["admin-stores"],"summary":"Flatten Store Event Map","operationId":"flatten_store_event_map_v1_admin_stores__store_id__event_maps__event_map_record_id__flatten_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"event_map_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Map Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapFlattenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/event-maps/flatten/process":{"post":{"tags":["admin-stores"],"summary":"Process Pending Store Event Map Flatten Jobs","operationId":"process_pending_store_event_map_flatten_jobs_v1_admin_stores__store_id__event_maps_flatten_process_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":5,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapFlattenProcessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/event-maps/{event_map_record_id}/layers":{"get":{"tags":["admin-stores"],"summary":"List Store Event Map Layers","operationId":"list_store_event_map_layers_v1_admin_stores__store_id__event_maps__event_map_record_id__layers_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"event_map_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Map Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapLayersResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-stores"],"summary":"Create Store Event Map Layer","operationId":"create_store_event_map_layer_v1_admin_stores__store_id__event_maps__event_map_record_id__layers_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"event_map_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Map Record Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapLayerCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapLayerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/event-maps/{event_map_record_id}/layers/{layer_id}":{"patch":{"tags":["admin-stores"],"summary":"Update Store Event Map Layer","operationId":"update_store_event_map_layer_v1_admin_stores__store_id__event_maps__event_map_record_id__layers__layer_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"event_map_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Map Record Id"}},{"name":"layer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Layer Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapLayerUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapLayerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-stores"],"summary":"Delete Store Event Map Layer","operationId":"delete_store_event_map_layer_v1_admin_stores__store_id__event_maps__event_map_record_id__layers__layer_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"event_map_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Map Record Id"}},{"name":"layer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Layer Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/event-maps/{event_map_record_id}/layers/{layer_id}/image":{"post":{"tags":["admin-stores"],"summary":"Upload Store Event Map Layer Image","operationId":"upload_store_event_map_layer_image_v1_admin_stores__store_id__event_maps__event_map_record_id__layers__layer_id__image_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"event_map_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Map Record Id"}},{"name":"layer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Layer Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_store_event_map_layer_image_v1_admin_stores__store_id__event_maps__event_map_record_id__layers__layer_id__image_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapLayerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-stores"],"summary":"Delete Store Event Map Layer Image","operationId":"delete_store_event_map_layer_image_v1_admin_stores__store_id__event_maps__event_map_record_id__layers__layer_id__image_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"event_map_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Map Record Id"}},{"name":"layer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Layer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapLayerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/event-maps/{event_map_record_id}/pins":{"get":{"tags":["admin-stores"],"summary":"List Store Event Map Pins","operationId":"list_store_event_map_pins_v1_admin_stores__store_id__event_maps__event_map_record_id__pins_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"event_map_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Map Record Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapPinsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-stores"],"summary":"Create Store Event Map Pin","operationId":"create_store_event_map_pin_v1_admin_stores__store_id__event_maps__event_map_record_id__pins_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"event_map_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Map Record Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapPinCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapPinResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/event-maps/{event_map_record_id}/pins/{pin_id}":{"patch":{"tags":["admin-stores"],"summary":"Update Store Event Map Pin","operationId":"update_store_event_map_pin_v1_admin_stores__store_id__event_maps__event_map_record_id__pins__pin_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"event_map_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Map Record Id"}},{"name":"pin_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pin Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapPinUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEventMapPinResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-stores"],"summary":"Delete Store Event Map Pin","operationId":"delete_store_event_map_pin_v1_admin_stores__store_id__event_maps__event_map_record_id__pins__pin_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"event_map_record_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Map Record Id"}},{"name":"pin_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pin Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/plugins":{"get":{"tags":["admin-stores"],"summary":"Get Store Plugins","operationId":"get_store_plugins_v1_admin_stores__store_id__plugins_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePluginSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin-stores"],"summary":"Update Store Plugins","operationId":"update_store_plugins_v1_admin_stores__store_id__plugins_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePluginSettingsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePluginSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/plugin-grants":{"get":{"tags":["admin-stores"],"summary":"Get Store Plugin Grants","operationId":"get_store_plugin_grants_v1_admin_stores__store_id__plugin_grants_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePluginGrantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin-stores"],"summary":"Update Store Plugin Grants","operationId":"update_store_plugin_grants_v1_admin_stores__store_id__plugin_grants_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePluginGrantsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePluginGrantsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/waiting":{"get":{"tags":["admin-stores"],"summary":"Get Store Waiting","operationId":"get_store_waiting_v1_admin_stores__store_id__waiting_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreWaitingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/waiting/settings":{"patch":{"tags":["admin-stores"],"summary":"Update Store Waiting Settings","operationId":"update_store_waiting_settings_v1_admin_stores__store_id__waiting_settings_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreWaitingSettingsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreWaitingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/waiting/status":{"patch":{"tags":["admin-stores"],"summary":"Update Store Waiting Status","operationId":"update_store_waiting_status_v1_admin_stores__store_id__waiting_status_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreWaitingStatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreWaitingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/members":{"get":{"tags":["admin-stores"],"summary":"List Store Members","operationId":"list_store_members_v1_admin_stores__store_id__members_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreMemberResponse"},"title":"Response List Store Members V1 Admin Stores  Store Id  Members Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-stores"],"summary":"Create Store Member","operationId":"create_store_member_v1_admin_stores__store_id__members_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/members/{membership_id}":{"patch":{"tags":["admin-stores"],"summary":"Update Store Member","operationId":"update_store_member_v1_admin_stores__store_id__members__membership_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Membership Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/staff":{"get":{"tags":["admin-stores"],"summary":"List Store Staff","operationId":"list_store_staff_v1_admin_stores__store_id__staff_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreMemberResponse"},"title":"Response List Store Staff V1 Admin Stores  Store Id  Staff Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/staff/audit-logs":{"get":{"tags":["admin-stores"],"summary":"List Store Staff Audit Logs","operationId":"list_store_staff_audit_logs_v1_admin_stores__store_id__staff_audit_logs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"target_membership_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Target Membership Id"}},{"name":"action","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreStaffAuditLogListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/staff/audit-logs.csv":{"get":{"tags":["admin-stores"],"summary":"Export Store Staff Audit Logs Csv","operationId":"export_store_staff_audit_logs_csv_v1_admin_stores__store_id__staff_audit_logs_csv_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"minimum":1,"default":1000,"title":"Limit"}},{"name":"target_membership_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Target Membership Id"}},{"name":"action","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date To"}},{"name":"encoding","in":"query","required":false,"schema":{"type":"string","default":"utf8","title":"Encoding"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/staff/invites":{"post":{"tags":["admin-stores"],"summary":"Invite Store Staff","operationId":"invite_store_staff_v1_admin_stores__store_id__staff_invites_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/staff/invites/resend":{"post":{"tags":["admin-stores"],"summary":"Resend Store Staff Invite By Email","operationId":"resend_store_staff_invite_by_email_v1_admin_stores__store_id__staff_invites_resend_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreStaffInviteResendRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/staff/{membership_id}":{"patch":{"tags":["admin-stores"],"summary":"Update Store Staff","operationId":"update_store_staff_v1_admin_stores__store_id__staff__membership_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Membership Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/staff/{membership_id}/pos-pin":{"put":{"tags":["admin-stores"],"summary":"Set Store Staff Pos Pin","description":"POS Mobile スタッフ PIN を設定/再設定する(owner/manager のみ)。\n\nPIN 平文は保存せず argon2 ハッシュのみ。監査ログには PIN を一切残さず「設定済み」\nの事実(set/updated)のみ記録する。端末上ではこのメンバーを PIN で選んで操作者にできる。","operationId":"set_store_staff_pos_pin_v1_admin_stores__store_id__staff__membership_id__pos_pin_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Membership Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreStaffPinSetRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-stores"],"summary":"Clear Store Staff Pos Pin","description":"POS Mobile スタッフ PIN を解除する(owner/manager のみ)。以後そのメンバーは PIN ログイン不可。","operationId":"clear_store_staff_pos_pin_v1_admin_stores__store_id__staff__membership_id__pos_pin_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/staff/{membership_id}/resend-invite":{"post":{"tags":["admin-stores"],"summary":"Resend Store Staff Invite","operationId":"resend_store_staff_invite_v1_admin_stores__store_id__staff__membership_id__resend_invite_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/staff/{membership_id}/cancel-invite":{"post":{"tags":["admin-stores"],"summary":"Cancel Store Staff Invite","operationId":"cancel_store_staff_invite_v1_admin_stores__store_id__staff__membership_id__cancel_invite_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/staff/{membership_id}/approve-join":{"post":{"tags":["admin-stores"],"summary":"Approve Store Staff Join","operationId":"approve_store_staff_join_v1_admin_stores__store_id__staff__membership_id__approve_join_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Membership Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreJoinApproval"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/staff/{membership_id}/reject-join":{"post":{"tags":["admin-stores"],"summary":"Reject Store Staff Join","operationId":"reject_store_staff_join_v1_admin_stores__store_id__staff__membership_id__reject_join_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/staff/{membership_id}/suspend":{"post":{"tags":["admin-stores"],"summary":"Suspend Store Staff","operationId":"suspend_store_staff_v1_admin_stores__store_id__staff__membership_id__suspend_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMemberResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/business-hours":{"get":{"tags":["admin-stores"],"summary":"Get Store Business Hours","operationId":"get_store_business_hours_v1_admin_stores__store_id__business_hours_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreBusinessHoursResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["admin-stores"],"summary":"Put Store Business Hours","operationId":"put_store_business_hours_v1_admin_stores__store_id__business_hours_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreBusinessHoursUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreBusinessHoursResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/business-hours/exceptions/{exception_date}":{"delete":{"tags":["admin-stores"],"summary":"Delete Store Business Hour Exception","description":"明示操作で1営業日例外を削除する。preset snapshot付き行も対象。","operationId":"delete_store_business_hour_exception_v1_admin_stores__store_id__business_hours_exceptions__exception_date__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"exception_date","in":"path","required":true,"schema":{"type":"string","format":"date","title":"Exception Date"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/business-hours/exception-image":{"post":{"tags":["admin-stores"],"summary":"Upload Store Business Hour Exception Image","operationId":"upload_store_business_hour_exception_image_v1_admin_stores__store_id__business_hours_exception_image_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"date","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Date"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_store_business_hour_exception_image_v1_admin_stores__store_id__business_hours_exception_image_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreBusinessHourExceptionImageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/public-profile":{"get":{"tags":["admin-stores"],"summary":"Get Store Public Profile","operationId":"get_store_public_profile_v1_admin_stores__store_id__public_profile_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePublicProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin-stores"],"summary":"Update Store Public Profile","operationId":"update_store_public_profile_v1_admin_stores__store_id__public_profile_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePublicProfileUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePublicProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/public-profile/simple-menu/images":{"post":{"tags":["admin-stores"],"summary":"Upload Store Public Profile Simple Menu Image","operationId":"upload_store_public_profile_simple_menu_image_v1_admin_stores__store_id__public_profile_simple_menu_images_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_store_public_profile_simple_menu_image_v1_admin_stores__store_id__public_profile_simple_menu_images_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePublicProfileImage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/public-profile/images":{"post":{"tags":["admin-stores"],"summary":"Upload Store Public Profile Image","operationId":"upload_store_public_profile_image_v1_admin_stores__store_id__public_profile_images_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_store_public_profile_image_v1_admin_stores__store_id__public_profile_images_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePublicProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/public-profile/images/{image_id}":{"delete":{"tags":["admin-stores"],"summary":"Delete Store Public Profile Image","operationId":"delete_store_public_profile_image_v1_admin_stores__store_id__public_profile_images__image_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"image_id","in":"path","required":true,"schema":{"type":"string","title":"Image Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePublicProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/public-profile/videos":{"post":{"tags":["admin-stores"],"summary":"Upload Store Public Profile Video","operationId":"upload_store_public_profile_video_v1_admin_stores__store_id__public_profile_videos_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_store_public_profile_video_v1_admin_stores__store_id__public_profile_videos_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePublicProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/mobile-order-settings":{"get":{"tags":["admin-stores"],"summary":"Get Store Mobile Order Settings","operationId":"get_store_mobile_order_settings_v1_admin_stores__store_id__mobile_order_settings_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMobileOrderSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin-stores"],"summary":"Update Store Mobile Order Settings","operationId":"update_store_mobile_order_settings_v1_admin_stores__store_id__mobile_order_settings_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMobileOrderSettingsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreMobileOrderSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/tax-settings":{"get":{"tags":["admin-stores"],"summary":"Get Store Tax Settings Endpoint","operationId":"get_store_tax_settings_endpoint_v1_admin_stores__store_id__tax_settings_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreTaxSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin-stores"],"summary":"Update Store Tax Settings Endpoint","operationId":"update_store_tax_settings_endpoint_v1_admin_stores__store_id__tax_settings_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreTaxSettingsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreTaxSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/mobile-order/publication":{"get":{"tags":["admin-stores"],"summary":"Get Mobile Order Publication","operationId":"get_mobile_order_publication_v1_admin_stores__store_id__mobile_order_publication_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileOrderPublicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin-stores"],"summary":"Update Mobile Order Publication","description":"店舗向けの「1ボタン公開/停止」。\n\n内部の enabled / customer_visible / StoreLpPage / is_public をまとめて整え、\nお客様の /m/store/{slug} と /menu が見える状態に同期する。条件不足のときは\n半公開にせず blockers を返す。停止しても商品・席・LP データは消さない。","operationId":"update_mobile_order_publication_v1_admin_stores__store_id__mobile_order_publication_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileOrderPublicationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileOrderPublicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/seats":{"get":{"tags":["admin-store-seats"],"summary":"List Store Seats","operationId":"list_store_seats_v1_admin_stores__store_id__seats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"include_inactive","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Inactive"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":200,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreSeatResponse"},"title":"Response List Store Seats V1 Admin Stores  Store Id  Seats Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-store-seats"],"summary":"Create Store Seat","operationId":"create_store_seat_v1_admin_stores__store_id__seats_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreSeatCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreSeatResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/seats/{seat_id}":{"patch":{"tags":["admin-store-seats"],"summary":"Update Store Seat","operationId":"update_store_seat_v1_admin_stores__store_id__seats__seat_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Seat Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreSeatUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreSeatResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-store-seats"],"summary":"Deactivate Store Seat","operationId":"deactivate_store_seat_v1_admin_stores__store_id__seats__seat_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Seat Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreSeatResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/menu/copy-to/{target_store_id}":{"post":{"tags":["admin-menu"],"summary":"Copy Menu To Store","operationId":"copy_menu_to_store_v1_admin_stores__store_id__menu_copy_to__target_store_id__post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"target_store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Target Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuCopyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/menu/categories":{"get":{"tags":["admin-menu"],"summary":"List Menu Categories","operationId":"list_menu_categories_v1_admin_stores__store_id__menu_categories_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MenuCategoryResponse"},"title":"Response List Menu Categories V1 Admin Stores  Store Id  Menu Categories Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-menu"],"summary":"Create Menu Category","operationId":"create_menu_category_v1_admin_stores__store_id__menu_categories_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuCategoryCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuCategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/menu/categories/{category_id}":{"patch":{"tags":["admin-menu"],"summary":"Update Menu Category","operationId":"update_menu_category_v1_admin_stores__store_id__menu_categories__category_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"category_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Category Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuCategoryUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuCategoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-menu"],"summary":"Delete Menu Category","operationId":"delete_menu_category_v1_admin_stores__store_id__menu_categories__category_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"category_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Category Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/menu/items":{"get":{"tags":["admin-menu"],"summary":"List Menu Items","operationId":"list_menu_items_v1_admin_stores__store_id__menu_items_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MenuItemResponse"},"title":"Response List Menu Items V1 Admin Stores  Store Id  Menu Items Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-menu"],"summary":"Create Menu Item","operationId":"create_menu_item_v1_admin_stores__store_id__menu_items_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuItemCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuItemResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/menu/items/images":{"post":{"tags":["admin-menu"],"summary":"Upload Menu Item Image","operationId":"upload_menu_item_image_v1_admin_stores__store_id__menu_items_images_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"item_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Item Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_menu_item_image_v1_admin_stores__store_id__menu_items_images_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuItemImageUploadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/menu/items/{item_id}":{"patch":{"tags":["admin-menu"],"summary":"Update Menu Item","operationId":"update_menu_item_v1_admin_stores__store_id__menu_items__item_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuItemUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuItemResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-menu"],"summary":"Delete Menu Item","operationId":"delete_menu_item_v1_admin_stores__store_id__menu_items__item_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/menu/takeout-settings":{"get":{"tags":["admin-menu"],"summary":"List Menu Item Takeout Settings","description":"Return the persisted takeout overlay rows for the store.\n\nItems without a row simply have no takeout settings yet; the client treats\na missing row as the default (takeout disabled). The shared\n``MenuItemResponse`` is intentionally NOT extended, so all other clients\n(POS register, mobile, store-lp) are unaffected.","operationId":"list_menu_item_takeout_settings_v1_admin_stores__store_id__menu_takeout_settings_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MenuItemTakeoutSettingsResponse"},"title":"Response List Menu Item Takeout Settings V1 Admin Stores  Store Id  Menu Takeout Settings Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/menu/items/{item_id}/takeout-settings":{"put":{"tags":["admin-menu"],"summary":"Upsert Menu Item Takeout Settings","description":"Create or update the takeout overlay for a single menu item.\n\nOnly the separate ``menu_item_takeout_settings`` row is written; the product\nmaster is never touched here. ``takeout_tax_rate`` is stored for structure\nonly and is not applied to charged amounts in this phase.","operationId":"upsert_menu_item_takeout_settings_v1_admin_stores__store_id__menu_items__item_id__takeout_settings_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuItemTakeoutSettingsUpsert"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MenuItemTakeoutSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/business-applications":{"get":{"tags":["admin-business-applications"],"summary":"List Business Applications","operationId":"list_business_applications_v1_admin_business_applications_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"industry","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Industry"}},{"name":"paged","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Paged"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessApplicationListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/business-applications/{application_id}":{"get":{"tags":["admin-business-applications"],"summary":"Get Business Application","operationId":"get_business_application_v1_admin_business_applications__application_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/business-applications/{application_id}/status":{"patch":{"tags":["admin-business-applications"],"summary":"Update Business Application Status","operationId":"update_business_application_status_v1_admin_business_applications__application_id__status_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessApplicationStatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/business-applications/{application_id}/category":{"patch":{"tags":["admin-business-applications"],"summary":"Update Business Application Category","operationId":"update_business_application_category_v1_admin_business_applications__application_id__category_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessApplicationCategoryUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/business-applications/{application_id}/onboarding":{"patch":{"tags":["admin-business-applications"],"summary":"Update Business Application Onboarding","operationId":"update_business_application_onboarding_v1_admin_business_applications__application_id__onboarding_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessApplicationOnboardingUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/business-applications/{application_id}/create-store":{"post":{"tags":["admin-business-applications"],"summary":"Create Store From Business Application","operationId":"create_store_from_business_application_v1_admin_business_applications__application_id__create_store_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessApplicationCreateStoreRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/business-applications":{"post":{"tags":["public-business-applications"],"summary":"Create Public Business Application","operationId":"create_public_business_application_v1_public_business_applications_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicBusinessApplicationCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicBusinessApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/business-applications/contact":{"post":{"tags":["public-business-applications"],"summary":"Create Public Product Inquiry","description":"Store a pre-introduction inquiry in the existing operator application inbox.\n\nCustomer support requires an authenticated customer and is therefore not a\nsafe fit for this public form. Keeping these records in BusinessApplication\nlets the existing admin review surface receive them without a second inbox\nor a schema migration, while ``source=lp_contact`` keeps them distinct from\nan actual application.","operationId":"create_public_product_inquiry_v1_public_business_applications_contact_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicProductInquiryCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicProductInquiryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/business-applications/oauth/verify-email":{"post":{"tags":["public-business-applications"],"summary":"Verify Public Business Application Oauth Email","operationId":"verify_public_business_application_oauth_email_v1_public_business_applications_oauth_verify_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicBusinessApplicationOAuthVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicBusinessApplicationOAuthVerifyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/event-maps":{"get":{"tags":["public-event-maps"],"summary":"List Public Event Maps","operationId":"list_public_event_maps_v1_public_event_maps_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicEventMapListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/event-maps/{public_slug}":{"get":{"tags":["public-event-maps"],"summary":"Get Public Event Map","operationId":"get_public_event_map_v1_public_event_maps__public_slug__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"public_slug","in":"path","required":true,"schema":{"type":"string","title":"Public Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicEventMapDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/lp":{"get":{"tags":["admin-store-lp"],"summary":"Get Store Lp Page","operationId":"get_store_lp_page_v1_admin_stores__store_id__lp_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreLpPageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["admin-store-lp"],"summary":"Upsert Store Lp Page","operationId":"upsert_store_lp_page_v1_admin_stores__store_id__lp_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreLpPageUpsert"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreLpPageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/lp/publish":{"post":{"tags":["admin-store-lp"],"summary":"Publish Store Lp Page","operationId":"publish_store_lp_page_v1_admin_stores__store_id__lp_publish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreLpPageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/lp/unpublish":{"post":{"tags":["admin-store-lp"],"summary":"Unpublish Store Lp Page","operationId":"unpublish_store_lp_page_v1_admin_stores__store_id__lp_unpublish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreLpPageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}":{"get":{"tags":["public-stores"],"summary":"Get Public Store","operationId":"get_public_store_v1_public_stores__slug__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"x-table-participant-access","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Table-Participant-Access"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicStoreResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/reviews":{"get":{"tags":["public-stores"],"summary":"List Public Store Reviews","operationId":"list_public_store_reviews_v1_public_stores__slug__reviews_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicStoreReviewListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/waiting":{"get":{"tags":["public-stores"],"summary":"Get Public Store Waiting","operationId":"get_public_store_waiting_v1_public_stores__slug__waiting_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Public Store Waiting V1 Public Stores  Slug  Waiting Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/menu":{"get":{"tags":["public-stores"],"summary":"Get Public Store Menu","operationId":"get_public_store_menu_v1_public_stores__slug__menu_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"x-table-participant-access","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Table-Participant-Access"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicStoreMenuResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/order-quotes":{"post":{"tags":["public-stores"],"summary":"Create Public Order Quote","operationId":"create_public_order_quote_v1_public_stores__slug__order_quotes_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicOrderQuoteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicOrderQuoteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/tables/{table_number}/session":{"post":{"tags":["public-stores"],"summary":"Start Public Table Session","operationId":"start_public_table_session_v1_public_stores__slug__tables__table_number__session_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"table_number","in":"path","required":true,"schema":{"type":"string","title":"Table Number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTableSessionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTableSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/tables/{table_number}/join":{"post":{"tags":["public-stores"],"summary":"Join Public Table","description":"Legacy fixed QR endpoint: disabled to remove predictable URL admission.","operationId":"join_public_table_v1_public_stores__slug__tables__table_number__join_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"table_number","in":"path","required":true,"schema":{"type":"string","title":"Table Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTableJoinResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/table-entries/{entry_code}":{"get":{"tags":["public-stores"],"summary":"Resolve Public Table Entry","description":"Legacy entry-code resolver; disabled in favour of QR credentials.","operationId":"resolve_public_table_entry_v1_public_stores_table_entries__entry_code__get","parameters":[{"name":"entry_code","in":"path","required":true,"schema":{"type":"string","title":"Entry Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTableEntryResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/table-participation/entries/{qr_credential}":{"get":{"tags":["public-stores"],"summary":"Resolve Table Participation Entry","description":"Exchange a long-lived physical-seat QR for the current visit entry.","operationId":"resolve_table_participation_entry_v1_public_stores_table_participation_entries__qr_credential__get","parameters":[{"name":"qr_credential","in":"path","required":true,"schema":{"type":"string","title":"Qr Credential"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTableParticipationResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/table-participation/sessions/{session_entry_code}":{"get":{"tags":["public-stores"],"summary":"Resolve Table Participation Session","description":"Resolve exactly one visit; never fall through to the seat's next visit.","operationId":"resolve_table_participation_session_v1_public_stores_table_participation_sessions__session_entry_code__get","parameters":[{"name":"session_entry_code","in":"path","required":true,"schema":{"type":"string","title":"Session Entry Code"}},{"name":"x-table-participant-access","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Table-Participant-Access"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTableParticipationResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/table-participation/participants":{"post":{"tags":["public-stores"],"summary":"Create Table Participant Access","description":"Verify an exact visit entry/passcode, then issue device-scoped access.","operationId":"create_table_participant_access_v1_public_stores_table_participation_participants_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTableParticipationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTableParticipantAccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/table-participation/legacy-exchange":{"post":{"tags":["public-stores"],"summary":"Exchange Legacy Table Session Token","description":"One-way migration for a token previously held by the old Store LP.","operationId":"exchange_legacy_table_session_token_v1_public_stores_table_participation_legacy_exchange_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicLegacyTableTokenExchangeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTableParticipantAccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/table-participation/orders":{"get":{"tags":["public-stores"],"summary":"List Table Participation Orders","description":"P0 safe table-order projection for the participant-access contract.","operationId":"list_table_participation_orders_v1_public_stores_table_participation_orders_get","parameters":[{"name":"x-table-participant-access","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Table-Participant-Access"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTableOrdersSafeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/table-participation/order-quote":{"post":{"tags":["public-stores"],"summary":"Quote Table Participation Order","operationId":"quote_table_participation_order_v1_public_stores_table_participation_order_quote_post","parameters":[{"name":"x-table-participant-access","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Table-Participant-Access"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicOrderQuoteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicOrderQuoteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/table-participation/all-you-can-eat-context":{"get":{"tags":["public-stores"],"summary":"Table Participation All You Can Eat Context","operationId":"table_participation_all_you_can_eat_context_v1_public_stores_table_participation_all_you_can_eat_context_get","parameters":[{"name":"x-table-participant-access","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Table-Participant-Access"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTableAllYouCanEatContext"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/orders":{"post":{"tags":["public-stores"],"summary":"Submit Public Order","operationId":"submit_public_order_v1_public_stores__slug__orders_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"x-table-participant-access","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Table-Participant-Access"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicOrderSubmitRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicOrderSubmitResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/tables/{table_number}/orders":{"get":{"tags":["public-stores"],"summary":"List Public Table Orders","operationId":"list_public_table_orders_v1_public_stores__slug__tables__table_number__orders_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"table_number","in":"path","required":true,"schema":{"type":"string","title":"Table Number"}},{"name":"table_session_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Table Session Token"}},{"name":"x-table-participant-access","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Table-Participant-Access"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTableOrderListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/tables/{table_number}/split-quote":{"get":{"tags":["public-stores"],"summary":"Public Table Split Quote","description":"割り勘候補(サーバー計算)を返す。\n\n残額(=未払い合計 − 支払い済み)を人数(2〜6)で等分し、1円未満の余りは先頭カードへ配分する。\nクライアントは金額計算をしない。各 share をそのまま Phase 2 の部分支払い(amount_jpy)に渡す。\n支払いで残額が変われば再取得して割り勘候補も更新する。\n\n認証は席一覧 / 席会計と同じ2系統: 参加者 cookie(``x-table-participant-access``)がある場合は\nそれを正とし、無い場合だけ席QRの ``table_session_token`` を使う。参加者モードのクライアントは\n公開トークンを持たないため、トークン必須にすると割り勘だけが 400 になる。","operationId":"public_table_split_quote_v1_public_stores__slug__tables__table_number__split_quote_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"table_number","in":"path","required":true,"schema":{"type":"string","title":"Table Number"}},{"name":"people","in":"query","required":true,"schema":{"type":"integer","maximum":6,"minimum":2,"title":"People"}},{"name":"table_session_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Table Session Token"}},{"name":"x-table-participant-access","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Table-Participant-Access"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTableSplitQuoteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{slug}/tables/{table_number}/checkout":{"post":{"tags":["public-stores"],"summary":"Create Public Table Checkout","description":"顧客のスマホから席のお会計を CryptoPay で支払う(全額 / 任意金額 / 商品選択)。\n\n席QRの ``table_session_token`` で認証する。``order_items`` / ``order_item_ids`` 指定で選択した\n商品のみ(Phase 4)、``amount_jpy`` 省略で残額全部、指定で任意金額(1円以上・残額以下)を支払う。\n金額・合計はサーバー側で再計算する(クライアント金額は信用しない)。発行した intent の\n``/p/{id}`` に遷移して支払う。\n\n商品選択は ``order_items`` で「行 × 今回支払う数量」を渡せる(``¥550 × 3`` の 1 個だけを会計\nできる)。``order_item_ids`` は「その行の残数量すべて」を意味する後方互換の書き方。どちらも\n選択分を覆う会計セッションを1本発行し、成功時に確保した数量だけを確定する(数量単位の会計\nエントリを生成)。注文の全数量が paid になればその注文が paid になり、席の全注文が paid に\nなったときだけ席をクローズする(既存の OrderItemPaymentAllocation settle 経路を再利用)。\n任意金額では同じ席の複数回支払いを1本の累積会計セッションにまとめ、残額が0になった最後の\n支払いが成功したときだけ全注文を確定する。Credits は支払い成功1件ごとに既存フローで消費する。","operationId":"create_public_table_checkout_v1_public_stores__slug__tables__table_number__checkout_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"table_number","in":"path","required":true,"schema":{"type":"string","title":"Table Number"}},{"name":"x-table-participant-access","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Table-Participant-Access"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicTableCheckoutCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders":{"get":{"tags":["store-admin-orders"],"summary":"List Orders","operationId":"list_orders_v1_store_admin_orders_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string","pattern":"^(open|today|yesterday|7d|all)$","default":"all","title":"Scope"}},{"name":"status_view","in":"query","required":false,"schema":{"type":"string","pattern":"^(incomplete|completed|all)$","default":"incomplete","title":"Status View"}},{"name":"source","in":"query","required":false,"schema":{"type":"string","pattern":"^(mobile_order|takeout|pos|all)$","default":"all","title":"Source"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date"}},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"From"}},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderListResponse"},"title":"Response List Orders V1 Store Admin Orders Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["store-admin-orders"],"summary":"Create Order","operationId":"create_order_v1_store_admin_orders_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/summary":{"get":{"tags":["store-admin-orders"],"summary":"Summarize Orders","operationId":"summarize_orders_v1_store_admin_orders_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string","pattern":"^(open|today|yesterday|7d|all)$","default":"all","title":"Scope"}},{"name":"source","in":"query","required":false,"schema":{"type":"string","pattern":"^(mobile_order|takeout|pos|all)$","default":"all","title":"Source"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date"}},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"From"}},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"anyOf":[{"type":"integer"},{"type":"string"}]},"title":"Response Summarize Orders V1 Store Admin Orders Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/quote":{"post":{"tags":["store-admin-orders"],"summary":"Quote Order","operationId":"quote_order_v1_store_admin_orders_quote_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderQuoteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/orders/{order_id}/items/{item_id}/void":{"post":{"tags":["store-admin-orders"],"summary":"Void Order Item","description":"Cancel all or part of an unpaid table-order line without deleting history.","operationId":"void_order_item_v1_store_admin_orders__order_id__items__item_id__void_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderItemVoidRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/{order_id}":{"get":{"tags":["store-admin-orders"],"summary":"Get Order","operationId":"get_order_v1_store_admin_orders__order_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/{order_id}/order-status":{"patch":{"tags":["store-admin-orders"],"summary":"Update Order Status","operationId":"update_order_status_v1_store_admin_orders__order_id__order_status_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderStatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/{order_id}/mark-cash-paid":{"post":{"tags":["store-admin-orders"],"summary":"Mark Cash Paid","operationId":"mark_cash_paid_v1_store_admin_orders__order_id__mark_cash_paid_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashPaidRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/quick-cash":{"post":{"tags":["store-admin-orders"],"summary":"Create Quick Cash Order","description":"簡易QR会計の現金確定。既存の cash accounting 成功処理を再利用する。","operationId":"create_quick_cash_order_v1_store_admin_orders_quick_cash_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickCashCheckoutRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/orders/line-items/cash-paid":{"post":{"tags":["store-admin-orders"],"summary":"Mark Items Cash Paid","operationId":"mark_items_cash_paid_v1_store_admin_orders_line_items_cash_paid_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashPaidItemsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OrderResponse"},"type":"array","title":"Response Mark Items Cash Paid V1 Store Admin Orders Line Items Cash Paid Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/orders/{order_id}/kitchen-status":{"patch":{"tags":["store-admin-orders"],"summary":"Update Kitchen Status","operationId":"update_kitchen_status_v1_store_admin_orders__order_id__kitchen_status_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KitchenStatusUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/{order_id}/cancel":{"post":{"tags":["store-admin-orders"],"summary":"Cancel Order","operationId":"cancel_order_v1_store_admin_orders__order_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/{order_id}/events":{"get":{"tags":["store-admin-orders"],"summary":"List Order Events","operationId":"list_order_events_v1_store_admin_orders__order_id__events_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderStatusEventResponse"},"title":"Response List Order Events V1 Store Admin Orders  Order Id  Events Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/table-sessions/participation/start":{"post":{"tags":["store-admin-orders"],"summary":"Start Table Participation Session","operationId":"start_table_participation_session_v1_store_admin_orders_table_sessions_participation_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableParticipationSessionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableParticipationStartResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/orders/table-sessions/participation/qr":{"get":{"tags":["store-admin-orders"],"summary":"Show Table Participation Qr","description":"Return the current QR without rotating its credential.","operationId":"show_table_participation_qr_v1_store_admin_orders_table_sessions_participation_qr_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"table_number","in":"query","required":true,"schema":{"type":"string","title":"Table Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableParticipationQrReissueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/table-sessions/participation/status":{"get":{"tags":["store-admin-orders"],"summary":"Get Table Participation Status","description":"Return non-secret QR/session state for one seat card.","operationId":"get_table_participation_status_v1_store_admin_orders_table_sessions_participation_status_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"table_number","in":"query","required":true,"schema":{"type":"string","title":"Table Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableParticipationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/table-sessions/participation/qr/reissue":{"post":{"tags":["store-admin-orders"],"summary":"Reissue Table Participation Qr","operationId":"reissue_table_participation_qr_v1_store_admin_orders_table_sessions_participation_qr_reissue_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableParticipationSessionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableParticipationQrReissueResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/orders/table-sessions/participation/passcode":{"get":{"tags":["store-admin-orders"],"summary":"Show Table Participation Passcode","operationId":"show_table_participation_passcode_v1_store_admin_orders_table_sessions_participation_passcode_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"table_number","in":"query","required":true,"schema":{"type":"string","title":"Table Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableParticipationPasscodeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/table-sessions/participation/passcode/reissue":{"post":{"tags":["store-admin-orders"],"summary":"Reissue Table Participation Passcode","operationId":"reissue_table_participation_passcode_v1_store_admin_orders_table_sessions_participation_passcode_reissue_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableParticipationSessionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableParticipationPasscodeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/orders/table-sessions/participation/emergency-reset":{"post":{"tags":["store-admin-orders"],"summary":"Emergency Reset Table Participation","operationId":"emergency_reset_table_participation_v1_store_admin_orders_table_sessions_participation_emergency_reset_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableParticipationSessionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableParticipationEmergencyResetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/orders/table-sessions/reset":{"post":{"tags":["store-admin-orders"],"summary":"Reset Table Session","operationId":"reset_table_session_v1_store_admin_orders_table_sessions_reset_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableSessionResetRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableSessionResetResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/all-you-can-eat/{store_id}/plans":{"get":{"tags":["all-you-can-eat"],"summary":"List Plans","operationId":"list_plans_v1_store_admin_all_you_can_eat__store_id__plans_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PlanResponse"},"title":"Response List Plans V1 Store Admin All You Can Eat  Store Id  Plans Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["all-you-can-eat"],"summary":"Create Plan","operationId":"create_plan_v1_store_admin_all_you_can_eat__store_id__plans_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/all-you-can-eat/{store_id}/plans/{plan_id}":{"patch":{"tags":["all-you-can-eat"],"summary":"Update Plan","operationId":"update_plan_v1_store_admin_all_you_can_eat__store_id__plans__plan_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/all-you-can-eat/{store_id}/plans/{plan_id}/deactivate":{"post":{"tags":["all-you-can-eat"],"summary":"Deactivate Plan","operationId":"deactivate_plan_v1_store_admin_all_you_can_eat__store_id__plans__plan_id__deactivate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/all-you-can-eat/{store_id}/sessions":{"post":{"tags":["all-you-can-eat"],"summary":"Start Session","operationId":"start_session_v1_store_admin_all_you_can_eat__store_id__sessions_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartSessionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/all-you-can-eat/{store_id}/sessions/{table_session_id}":{"get":{"tags":["all-you-can-eat"],"summary":"Get Latest Session","operationId":"get_latest_session_v1_store_admin_all_you_can_eat__store_id__sessions__table_session_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"table_session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Table Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SessionResponse"},{"type":"null"}],"title":"Response Get Latest Session V1 Store Admin All You Can Eat  Store Id  Sessions  Table Session Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/all-you-can-eat/{store_id}/sessions/{session_id}/extend":{"post":{"tags":["all-you-can-eat"],"summary":"Extend Session","operationId":"extend_session_v1_store_admin_all_you_can_eat__store_id__sessions__session_id__extend_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendSessionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/all-you-can-eat/{store_id}/sessions/{session_id}/adjust":{"post":{"tags":["all-you-can-eat"],"summary":"Adjust Session","description":"Audited early people-count adjustment; the original start fee remains immutable.","operationId":"adjust_session_v1_store_admin_all_you_can_eat__store_id__sessions__session_id__adjust_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdjustSessionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/all-you-can-eat/{store_id}/sessions/{session_id}/end":{"post":{"tags":["all-you-can-eat"],"summary":"End Session","operationId":"end_session_v1_store_admin_all_you_can_eat__store_id__sessions__session_id__end_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/all-you-can-eat/{store_id}/sessions/{session_id}/history":{"get":{"tags":["all-you-can-eat"],"summary":"Get Session History","description":"会計後の終了履歴(店舗スタッフ向け)。再付与モーダルの表示元。","operationId":"get_session_history_v1_store_admin_all_you_can_eat__store_id__sessions__session_id__history_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllYouCanEatHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/all-you-can-eat/{store_id}/sessions/{session_id}/regrant":{"post":{"tags":["all-you-can-eat"],"summary":"Regrant Session","description":"会計時に残っていた時間を、新しい席の会計単位へ継続セッションとして付与し直す。\n\n元セッション・元 TableSession・元の注文QRは一切 active へ戻さない。新しい TableSession を\n開いてその上に継続セッションを作り、``supersedes_session_id`` で元と連結する。\n継続セッションはすでに支払われた時間を戻すだけなので、新しい料金 Order は作らない。","operationId":"regrant_session_v1_store_admin_all_you_can_eat__store_id__sessions__session_id__regrant_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegrantSessionRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegrantSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/payment-settings":{"get":{"tags":["admin-payments"],"summary":"Get Store Payment Settings","operationId":"get_store_payment_settings_v1_admin_stores__store_id__payment_settings_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePaymentSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin-payments"],"summary":"Update Store Payment Settings","operationId":"update_store_payment_settings_v1_admin_stores__store_id__payment_settings_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePaymentSettingsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorePaymentSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/jpyc-qr-readiness":{"get":{"tags":["admin-payments"],"summary":"Get Jpyc Qr Readiness","operationId":"get_jpyc_qr_readiness_v1_admin_stores__store_id__jpyc_qr_readiness_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JpycQrReadinessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/wallet-addresses":{"get":{"tags":["admin-payments"],"summary":"List Store Wallet Addresses","operationId":"list_store_wallet_addresses_v1_admin_stores__store_id__wallet_addresses_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreWalletAddressResponse"},"title":"Response List Store Wallet Addresses V1 Admin Stores  Store Id  Wallet Addresses Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-payments"],"summary":"Create Store Wallet Address","operationId":"create_store_wallet_address_v1_admin_stores__store_id__wallet_addresses_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreWalletAddressCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreWalletAddressResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/payment-tokens":{"get":{"tags":["admin-payments"],"summary":"List Store Payment Tokens","description":"店舗で利用可能な受取トークンと wallet 登録状態を返す(PR5、次PRのUI用)。\n\nregistry の enabled token のみ(default は JPYC のみ、USDC 有効時は JPYC + USDC)。\nUSDT / 未知 token は返さない。active な受取ウォレットがある token だけ\n``can_create_payment_intent=true``。","operationId":"list_store_payment_tokens_v1_admin_stores__store_id__payment_tokens_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PaymentTokenOptionResponse"},"title":"Response List Store Payment Tokens V1 Admin Stores  Store Id  Payment Tokens Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/wallet-addresses/{wallet_id}":{"patch":{"tags":["admin-payments"],"summary":"Update Store Wallet Address","operationId":"update_store_wallet_address_v1_admin_stores__store_id__wallet_addresses__wallet_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"wallet_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Wallet Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreWalletAddressUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreWalletAddressResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/wallet-addresses/{wallet_id}/refund-purpose":{"patch":{"tags":["admin-payments"],"summary":"Update Store Wallet Refund Purpose","description":"owner/manager が「このウォレットを返金にも使うか」だけを切り替える。\n\n``PATCH /wallet-addresses/{wallet_id}`` (status のsuper-admin審査)とは別の\n権限・別の関心事(受取ウォレット管理権限=owner/manager/admin で足りる)。\n受取先(``active_wallet_address_id``)や status には一切触れない。","operationId":"update_store_wallet_refund_purpose_v1_admin_stores__store_id__wallet_addresses__wallet_id__refund_purpose_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"wallet_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Wallet Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreWalletRefundPurposeUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreWalletAddressResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/payment-intents/{payment_intent_id}/validate-tx":{"post":{"tags":["admin-payment-intents"],"summary":"Validate Admin Payment Intent Tx","operationId":"validate_admin_payment_intent_tx_v1_admin_payment_intents__payment_intent_id__validate_tx_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentValidateTxRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentValidationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/payment-intents/{payment_intent_id}/resolve-manual-review":{"post":{"tags":["admin-payment-intents"],"summary":"Resolve Admin Payment Manual Review","operationId":"resolve_admin_payment_manual_review_v1_admin_payment_intents__payment_intent_id__resolve_manual_review_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentManualReviewResolveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentManualReviewResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/payment-intents/{payment_intent_id}/validation-jobs":{"get":{"tags":["admin-payment-intents"],"summary":"List Admin Payment Validation Jobs","operationId":"list_admin_payment_validation_jobs_v1_admin_payment_intents__payment_intent_id__validation_jobs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}},{"name":"attempts_limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Attempts Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PaymentValidationJobResponse"},"title":"Response List Admin Payment Validation Jobs V1 Admin Payment Intents  Payment Intent Id  Validation Jobs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/payment-validation-jobs":{"get":{"tags":["admin-payment-validation-jobs"],"summary":"List Admin Payment Validation Jobs Operation View","operationId":"list_admin_payment_validation_jobs_operation_view_v1_admin_payment_validation_jobs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},{"name":"payment_intent_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Payment Intent Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}],"title":"Status"}},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Severity"}},{"name":"provider","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Provider"}},{"name":"tx_hash","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":66},{"type":"null"}],"title":"Tx Hash"}},{"name":"attempts_limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":0,"default":0,"title":"Attempts Limit"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PaymentValidationJobResponse"},"title":"Response List Admin Payment Validation Jobs Operation View V1 Admin Payment Validation Jobs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/payment-validation-jobs/summary":{"get":{"tags":["admin-payment-validation-jobs"],"summary":"Get Admin Payment Validation Pipeline Summary","operationId":"get_admin_payment_validation_pipeline_summary_v1_admin_payment_validation_jobs_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentValidationPipelineSummaryResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/payment-validation-jobs/{job_id}":{"get":{"tags":["admin-payment-validation-jobs"],"summary":"Get Admin Payment Validation Job","operationId":"get_admin_payment_validation_job_v1_admin_payment_validation_jobs__job_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}},{"name":"attempts_limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Attempts Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentValidationJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/payment-validation-jobs/{job_id}/retry":{"post":{"tags":["admin-payment-validation-jobs"],"summary":"Retry Admin Payment Validation Job","operationId":"retry_admin_payment_validation_job_v1_admin_payment_validation_jobs__job_id__retry_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentValidationJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/payment-validation-jobs/{job_id}/revalidate-and-recover":{"post":{"tags":["admin-payment-validation-jobs"],"summary":"Revalidate And Recover Admin Payment Validation Job","operationId":"revalidate_and_recover_admin_payment_validation_job_v1_admin_payment_validation_jobs__job_id__revalidate_and_recover_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentValidationRecoveryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentValidationJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/payment-validation-jobs/{job_id}/cancel":{"post":{"tags":["admin-payment-validation-jobs"],"summary":"Cancel Admin Payment Validation Job","operationId":"cancel_admin_payment_validation_job_v1_admin_payment_validation_jobs__job_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentValidationJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/fx-rates":{"post":{"tags":["admin-fx-rates"],"summary":"Register Fx Rate","description":"USD/JPY 等の為替レートを手動登録する(super admin)。\n\nUSDC 対応 PR3 の手動登録経路。自動取得 worker は本 PR では作らない。同一\n(base, quote, rate_date, source) は upsert(更新)する。USDC はまだ有効化していない\nため、登録しても決済選択肢には出ない(換算基盤のみ)。","operationId":"register_fx_rate_v1_admin_fx_rates_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FxRateCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FxRateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/fx-rates/refresh":{"post":{"tags":["admin-fx-rates"],"summary":"Refresh Fx Rate From Provider","description":"外部 provider から USD/JPY レートを手動 refresh する(super admin のみ)。\n\nAPI key / 外部 URL / response 本文 / provider 生例外はレスポンス・audit に含めない。","operationId":"refresh_fx_rate_from_provider_v1_admin_fx_rates_refresh_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FxRateRefreshResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/fx-pricing/status":{"get":{"tags":["admin-fx-pricing"],"summary":"Get Fx Pricing Status","description":"現在有効な USD/JPY レートと各 token(JPYC/USDC/USDT)の換算状況を返す(super admin)。\n\n可視化専用。決済ロジックは従来どおり同じ有効レートを参照する(ここは表示のみ)。","operationId":"get_fx_pricing_status_v1_admin_fx_pricing_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FxPricingStatusResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/fx-pricing/override":{"post":{"tags":["admin-fx-pricing"],"summary":"Set Fx Manual Override","description":"運営が USD/JPY を手動上書きする(super admin)。以後の新規 intent はこの値で換算する。\n\n既発行の PaymentIntent は作成時 snapshot を保持するため、後から上書きしても変わらない。","operationId":"set_fx_manual_override_v1_admin_fx_pricing_override_post","security":[{"HTTPBearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManualFxOverrideRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FxPricingStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-fx-pricing"],"summary":"Clear Fx Manual Override","description":"手動上書きを解除する(super admin)。解除後は自動取得/登録レートに戻る。","operationId":"clear_fx_manual_override_v1_admin_fx_pricing_override_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"base_currency","in":"query","required":false,"schema":{"type":"string","default":"USD","title":"Base Currency"}},{"name":"quote_currency","in":"query","required":false,"schema":{"type":"string","default":"JPY","title":"Quote Currency"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FxPricingStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/fx-pricing/tokens/{token_symbol}":{"patch":{"tags":["admin-fx-pricing"],"summary":"Update Token Markup","description":"トークンの為替上乗せ率(markup)を設定する(super admin)。\n\n上乗せは為替変動リスク調整のための値で、Credits(``fee_schedules``)とは別系統。\n適用は新規 PaymentIntent 作成時のみで、既発行 intent は作成時 snapshot を保持するため\n後から変更しても変わらない。JPYC(identity)と registry 未登録トークンは変更できない。","operationId":"update_token_markup_v1_admin_fx_pricing_tokens__token_symbol__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"token_symbol","in":"path","required":true,"schema":{"type":"string","title":"Token Symbol"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenMarkupUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FxPricingStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/orders/{order_id}/payment-intents":{"post":{"tags":["public-order-payments"],"summary":"Create Public Order Payment Intent","operationId":"create_public_order_payment_intent_v1_public_orders__order_id__payment_intents_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/orders/{order_id}/payment-status":{"get":{"tags":["public-order-payments"],"summary":"Get Public Order Payment Status","operationId":"get_public_order_payment_status_v1_public_orders__order_id__payment_status_get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"public_access_token","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Public Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/payment-intents/{payment_intent_id}/submit-tx":{"post":{"tags":["public-payment-intents"],"summary":"Submit Public Payment Intent Tx","operationId":"submit_public_payment_intent_tx_v1_public_payment_intents__payment_intent_id__submit_tx_post","deprecated":true,"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentSubmitTx"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/payment-intents/{payment_intent_id}/status":{"get":{"tags":["public-payment-intents"],"summary":"Get Public Payment Intent Status By Intent Token","operationId":"get_public_payment_intent_status_by_intent_token_v1_public_payment_intents__payment_intent_id__status_get","parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}},{"name":"public_access_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Public Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/payment-intents/{payment_intent_id}/detail":{"get":{"tags":["public-payment-intents"],"summary":"Get Public Payment Intent Detail","operationId":"get_public_payment_intent_detail_v1_public_payment_intents__payment_intent_id__detail_get","parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/payment-intents/{payment_intent_id}/select-token":{"post":{"tags":["public-payment-intents"],"summary":"Select Public Payment Intent Token","description":"顧客が /p 支払い画面で支払い通貨(JPYC/USDC)を確定する(顧客側通貨選択 Phase 1)。\n\n``token_symbol`` だけを受け取り、chain_id / token_address / 受取ウォレット /\ntoken_amount_raw / token_amount を backend が registry・店舗ウォレット・有効 FX レートから\n確定する(frontend に計算させない)。amount_jpy は intent 作成時に固定済みで変えない。\nUSDC/USDT は ``get_effective_fx_rate`` で保存済みの有効レートを読むだけ(外部 API は叩かない)。\n確定後 intent は ``requires_payment`` になり、従来どおりの送金/relay/検証経路に乗る。","operationId":"select_public_payment_intent_token_v1_public_payment_intents__payment_intent_id__select_token_post","parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentSelectToken"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/payment-intents/{payment_intent_id}/payer":{"post":{"tags":["public-payment-intents"],"summary":"Update Public Payment Intent Payer","operationId":"update_public_payment_intent_payer_v1_public_payment_intents__payment_intent_id__payer_post","deprecated":true,"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}},{"name":"public_access_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Public Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentPayerUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/payment-intents/{payment_intent_id}/mobile-eip3009-attempts":{"post":{"tags":["public-payment-intents"],"summary":"Create Walletconnect Eip3009 Attempt","operationId":"create_walletconnect_eip3009_attempt_v1_public_payment_intents__payment_intent_id__mobile_eip3009_attempts_post","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentWalletConnectAttemptCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentWalletConnectAttemptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/payment-intents/{payment_intent_id}/walletconnect-eip3009-attempts":{"post":{"tags":["public-payment-intents"],"summary":"Create Walletconnect Eip3009 Attempt","operationId":"create_walletconnect_eip3009_attempt_v1_public_payment_intents__payment_intent_id__walletconnect_eip3009_attempts_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentWalletConnectAttemptCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentWalletConnectAttemptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/payment-intents/{payment_intent_id}/mobile-eip3009-attempts/{attempt_id}":{"get":{"tags":["public-payment-intents"],"summary":"Get Walletconnect Eip3009 Attempt","operationId":"get_walletconnect_eip3009_attempt_v1_public_payment_intents__payment_intent_id__mobile_eip3009_attempts__attempt_id__get","deprecated":true,"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}},{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Attempt Id"}},{"name":"X-Payment-Attempt-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Payment-Attempt-Secret"}},{"name":"X-Payment-Attempt-Client-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Payment-Attempt-Client-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentWalletConnectAttemptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/payment-intents/{payment_intent_id}/walletconnect-eip3009-attempts/{attempt_id}":{"get":{"tags":["public-payment-intents"],"summary":"Get Walletconnect Eip3009 Attempt","operationId":"get_walletconnect_eip3009_attempt_v1_public_payment_intents__payment_intent_id__walletconnect_eip3009_attempts__attempt_id__get","parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}},{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Attempt Id"}},{"name":"X-Payment-Attempt-Secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Payment-Attempt-Secret"}},{"name":"X-Payment-Attempt-Client-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Payment-Attempt-Client-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentWalletConnectAttemptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/payment-intents/{payment_intent_id}/eip3009-relay":{"post":{"tags":["public-payment-intents"],"summary":"Relay Public Payment Intent Eip3009","operationId":"relay_public_payment_intent_eip3009_v1_public_payment_intents__payment_intent_id__eip3009_relay_post","deprecated":true,"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}},{"name":"public_access_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Public Access Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentEip3009Relay"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/payment-intents/{payment_intent_id}/submit-tx-token":{"post":{"tags":["public-payment-intents"],"summary":"Submit Public Payment Intent Tx By Intent Token","operationId":"submit_public_payment_intent_tx_by_intent_token_v1_public_payment_intents__payment_intent_id__submit_tx_token_post","deprecated":true,"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/store-checkout/{credential}":{"get":{"tags":["public-static-checkout"],"summary":"Resolve Static Checkout","description":"固定QR の読み取り。**副作用ゼロ**(Order も PaymentIntent も作らない)。","operationId":"resolve_static_checkout_v1_public_store_checkout__credential__get","parameters":[{"name":"credential","in":"path","required":true,"schema":{"type":"string","title":"Credential"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticCheckoutResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/store-checkout/{credential}/payment-intents":{"post":{"tags":["public-static-checkout"],"summary":"Confirm Static Checkout Amount","description":"金額確定。ここで初めて Order + PaymentIntent を作る(token は未確定のまま)。\n\n通貨選択・FX・1.5% 上乗せ・WalletConnect・署名は、すべてこの後の既存 ``/p`` 経路。","operationId":"confirm_static_checkout_amount_v1_public_store_checkout__credential__payment_intents_post","parameters":[{"name":"credential","in":"path","required":true,"schema":{"type":"string","title":"Credential"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticCheckoutConfirmRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticCheckoutConfirmResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/stores/{store_id}/static-checkout-qr":{"get":{"tags":["store-static-checkout-qr"],"summary":"List Static Checkout Qr","operationId":"list_static_checkout_qr_v1_store_admin_stores__store_id__static_checkout_qr_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"include_revoked","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Revoked"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StaticCheckoutQrSummary"},"title":"Response List Static Checkout Qr V1 Store Admin Stores  Store Id  Static Checkout Qr Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["store-static-checkout-qr"],"summary":"Create Static Checkout Qr","operationId":"create_static_checkout_qr_v1_store_admin_stores__store_id__static_checkout_qr_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticCheckoutQrCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticCheckoutQrIssued"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/stores/{store_id}/static-checkout-qr/{credential_id}":{"patch":{"tags":["store-static-checkout-qr"],"summary":"Update Static Checkout Qr","description":"掲示済みQRを差し替えず、ラベルと1回あたりの任意上限を更新する。","operationId":"update_static_checkout_qr_v1_store_admin_stores__store_id__static_checkout_qr__credential_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Credential Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticCheckoutQrUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticCheckoutQrSummary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/stores/{store_id}/static-checkout-qr/{credential_id}/reissue":{"post":{"tags":["store-static-checkout-qr"],"summary":"Reissue Static Checkout Qr","description":"QR を紛失した場合の再発行。旧 QR は即無効になるが、既発行の支払いは止めない。","operationId":"reissue_static_checkout_qr_v1_store_admin_stores__store_id__static_checkout_qr__credential_id__reissue_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Credential Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticCheckoutQrIssued"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/stores/{store_id}/static-checkout-qr/{credential_id}/qr":{"get":{"tags":["store-static-checkout-qr"],"summary":"View Static Checkout Qr","description":"掲示中の**同じ**QRをもう一度表示する(再発行ではない)。\n\n掲示物を貼り替えずに印刷し直したいだけの操作なので、credential は回さない。\n表示専用 ciphertext を復号できない場合(鍵の入れ替え・機能追加前に発行した行)は\n409 で「再発行してください」と案内する。","operationId":"view_static_checkout_qr_v1_store_admin_stores__store_id__static_checkout_qr__credential_id__qr_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Credential Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticCheckoutQrIssued"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/stores/{store_id}/static-checkout-qr/{credential_id}/revoke":{"post":{"tags":["store-static-checkout-qr"],"summary":"Revoke Static Checkout Qr","operationId":"revoke_static_checkout_qr_v1_store_admin_stores__store_id__static_checkout_qr__credential_id__revoke_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"credential_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Credential Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticCheckoutQrSummary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/stores/{store_id}/static-checkout-qr/sales":{"get":{"tags":["store-static-checkout-qr"],"summary":"Get Static Checkout Qr Sales","description":"固定QR(掲示物)別の売上集計。正本は既存 ``accounting_entries``。\n\nAccountingEntry へ列を足さず、``payment_intents.static_checkout_credential_id``\nを経由して掲示物ラベルへ束ねる。","operationId":"get_static_checkout_qr_sales_v1_store_admin_stores__store_id__static_checkout_qr_sales_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StaticCheckoutSalesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/walletconnect/attempts/next":{"get":{"tags":["internal-walletconnect"],"summary":"Claim Next Mobile Walletconnect Attempt","operationId":"claim_next_mobile_walletconnect_attempt_v1_internal_walletconnect_attempts_next_get","parameters":[{"name":"X-Worker-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Worker-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Claim Next Mobile Walletconnect Attempt V1 Internal Walletconnect Attempts Next Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/walletconnect/attempts/{attempt_id}/liveness":{"get":{"tags":["internal-walletconnect"],"summary":"Read Walletconnect Attempt Liveness","description":"worker が承認待機中に、この attempt をまだ処理してよいかを確認するための読み取り。\n\ncanceled / superseded / expired / PaymentIntent 終端を worker が即座に検出して\nシングルスロットを解放できるようにする。DB 更新は行わない(1 秒間隔で叩かれる)。","operationId":"read_walletconnect_attempt_liveness_v1_internal_walletconnect_attempts__attempt_id__liveness_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Attempt Id"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["payment","cryptopay_purchase","store_refund"],"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"X-Worker-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Worker-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read Walletconnect Attempt Liveness V1 Internal Walletconnect Attempts  Attempt Id  Liveness Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/walletconnect/attempts/{attempt_id}/events":{"post":{"tags":["internal-walletconnect"],"summary":"Receive Mobile Walletconnect Event","operationId":"receive_mobile_walletconnect_event_v1_internal_walletconnect_attempts__attempt_id__events_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Attempt Id"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"enum":["payment","cryptopay_purchase","store_refund"],"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"X-Worker-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Worker-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalWalletConnectEvent"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Receive Mobile Walletconnect Event V1 Internal Walletconnect Attempts  Attempt Id  Events Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/video-jobs/claim":{"post":{"tags":["internal-video-jobs"],"summary":"Claim Video Job","operationId":"claim_video_job_v1_internal_video_jobs_claim_post","parameters":[{"name":"X-Video-Worker-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Video-Worker-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoJobClaimRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoJobClaimResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/video-jobs/heartbeat":{"post":{"tags":["internal-video-jobs"],"summary":"Heartbeat Video Job","operationId":"heartbeat_video_job_v1_internal_video_jobs_heartbeat_post","parameters":[{"name":"X-Video-Worker-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Video-Worker-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoJobLeaseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoJobActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/video-jobs/upload":{"post":{"tags":["internal-video-jobs"],"summary":"Create Video Job Upload","operationId":"create_video_job_upload_v1_internal_video_jobs_upload_post","parameters":[{"name":"X-Video-Worker-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Video-Worker-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoJobUploadRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoJobUploadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/video-jobs/complete":{"post":{"tags":["internal-video-jobs"],"summary":"Complete Video Job","operationId":"complete_video_job_v1_internal_video_jobs_complete_post","parameters":[{"name":"X-Video-Worker-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Video-Worker-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoJobCompleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoJobActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/video-jobs/fail":{"post":{"tags":["internal-video-jobs"],"summary":"Fail Video Job","operationId":"fail_video_job_v1_internal_video_jobs_fail_post","parameters":[{"name":"X-Video-Worker-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Video-Worker-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoJobFailRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoJobActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/video-jobs/release":{"post":{"tags":["internal-video-jobs"],"summary":"Release Video Job","operationId":"release_video_job_v1_internal_video_jobs_release_post","parameters":[{"name":"X-Video-Worker-Token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Video-Worker-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoJobLeaseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoJobActionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payment-intents":{"post":{"tags":["payment-intents"],"summary":"Create Payment Intent","operationId":"create_payment_intent_v1_payment_intents_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/payment-intents/quick-qr":{"post":{"tags":["payment-intents"],"summary":"Create Quick Qr Payment Intent","operationId":"create_quick_qr_payment_intent_v1_payment_intents_quick_qr_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickQrPaymentIntentCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/payment-intents/{payment_intent_id}":{"get":{"tags":["payment-intents"],"summary":"Get Payment Intent","operationId":"get_payment_intent_v1_payment_intents__payment_intent_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payment-intents/{payment_intent_id}/submit-tx":{"post":{"tags":["payment-intents"],"summary":"Submit Payment Intent Tx","operationId":"submit_payment_intent_tx_v1_payment_intents__payment_intent_id__submit_tx_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentSubmitTx"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payment-intents/{payment_intent_id}/mark-manual-review":{"post":{"tags":["payment-intents"],"summary":"Mark Payment Intent Manual Review","operationId":"mark_payment_intent_manual_review_v1_payment_intents__payment_intent_id__mark_manual_review_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payment-intents/{payment_intent_id}/mark-succeeded":{"post":{"tags":["payment-intents"],"summary":"Mark Payment Intent Succeeded","operationId":"mark_payment_intent_succeeded_v1_payment_intents__payment_intent_id__mark_succeeded_post","deprecated":true,"security":[{"HTTPBearer":[]}],"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payment-intents/{payment_intent_id}/mark-failed":{"post":{"tags":["payment-intents"],"summary":"Mark Payment Intent Failed","operationId":"mark_payment_intent_failed_v1_payment_intents__payment_intent_id__mark_failed_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentMarkFailed"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payment-intents/{payment_intent_id}/expire":{"post":{"tags":["payment-intents"],"summary":"Expire Payment Intent","operationId":"expire_payment_intent_v1_payment_intents__payment_intent_id__expire_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/{order_id}/payments":{"get":{"tags":["order-payments"],"summary":"List Order Payments","operationId":"list_order_payments_v1_store_admin_orders__order_id__payments_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PaymentResponse"},"title":"Response List Order Payments V1 Store Admin Orders  Order Id  Payments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/{order_id}/payments/state":{"get":{"tags":["order-payments"],"summary":"Get Order Payment State Endpoint","operationId":"get_order_payment_state_endpoint_v1_store_admin_orders__order_id__payments_state_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderPaymentStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/{order_id}/payments/reissue-qr":{"post":{"tags":["order-payments"],"summary":"Reissue Order Payment Intent","operationId":"reissue_order_payment_intent_v1_store_admin_orders__order_id__payments_reissue_qr_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentReissueRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/{order_id}/payments/{payment_intent_id}/cancel":{"post":{"tags":["order-payments"],"summary":"Cancel Order Payment Intent","operationId":"cancel_order_payment_intent_v1_store_admin_orders__order_id__payments__payment_intent_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"payment_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Payment Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/stores/{store_id}/checkout-sessions":{"post":{"tags":["checkout-sessions"],"summary":"Create Checkout Session","description":"席単位会計 / 選んで会計のためのQR会計を1本発行する。\n\n対象注文(table_key の席全体、または order_ids で選択)をまとめ、サーバー側で合計金額を\n再計算して1本の payment_intent を発行する。支払い成功時に対象注文すべてが paid になる。","operationId":"create_checkout_session_v1_store_admin_stores__store_id__checkout_sessions_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/stores/{store_id}/checkout-sessions/{checkout_session_id}/cancel":{"post":{"tags":["checkout-sessions"],"summary":"Cancel Checkout Session","description":"進行中の席会計QRを取り消し、対象注文の会計ロックを解放する。\n\n決済失敗・署名失敗・status API失敗などで席会計が「進行中」のまま詰まったとき、店舗\nスタッフが復旧して新しいQRを発行できるようにするための導線。対象注文の payment_status は\n変更しない(未会計のまま再度QRを発行できる)。冪等: すでに取り消し済みなら 200 を返す。","operationId":"cancel_checkout_session_v1_store_admin_stores__store_id__checkout_sessions__checkout_session_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"checkout_session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Checkout Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cancel Checkout Session V1 Store Admin Stores  Store Id  Checkout Sessions  Checkout Session Id  Cancel Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/stores/{store_id}/checkout-sessions/table-progress":{"get":{"tags":["checkout-sessions"],"summary":"Get Table Checkout Progress","description":"POS席QRタブの残額表示の権威ソース。各 active 席セッションの残額を返す。\n\n席ごとに ``remaining_jpy = 未払い商品合計 − 成功済み部分決済(paid_jpy)`` を返す。POS は生の\n注文金額合計ではなくこの値を表示するため、500円中250円を部分決済した瞬間に残額が250円へ即時\n反映される。``partial_in_effect``(部分金額決済が進行中)の席では「選んで会計」を禁止する。","operationId":"get_table_checkout_progress_v1_store_admin_stores__store_id__checkout_sessions_table_progress_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableCheckoutProgressResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/stores/{store_id}/checkout-sessions/cash-settle":{"post":{"tags":["checkout-sessions"],"summary":"Cash Settle Table Remaining","description":"席の残額を現金で確定する(部分金額決済の現金併用)。\n\n例: 合計500円中250円をウォレット部分決済した席で、残り250円を現金会計する。ウォレット支払い済み\n分はそのまま、残額を現金として記帳し、席の全注文を paid・席をクローズする。送金確認中の部分決済が\n残っている間は 409 で拒否する。","operationId":"cash_settle_table_remaining_v1_store_admin_stores__store_id__checkout_sessions_cash_settle_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableCashSettleRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableCashSettleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/stores/{store_id}/checkout-sessions/table-remaining-checkout":{"post":{"tags":["checkout-sessions"],"summary":"Issue Table Remaining Checkout","description":"席の残額分のQR会計を1本発行する(部分金額決済の残額をQR/ウォレットで消す導線)。\n\n例: 合計500円中250円をウォレット部分決済した席で、残り250円のQRを発行する。金額は\nサーバーが ``remaining_jpy`` を再計算して使い(クライアント金額は信用しない)、累積会計\nセッションに紐づけて発行するため、残額が成功すると席の全注文が paid になる。送金確認中の\n部分決済が残っている間は二重発行せず、既存の進行中QRを返す(無ければ 409)。","operationId":"issue_table_remaining_checkout_v1_store_admin_stores__store_id__checkout_sessions_table_remaining_checkout_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TableRemainingCheckoutRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/usage/summary":{"get":{"tags":["store-admin-usage"],"summary":"Get Store Usage Summary","operationId":"get_store_usage_summary_v1_store_admin_usage_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"source_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Type"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreUsageSummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/{order_id}/receipt":{"post":{"tags":["store-admin-receipts"],"summary":"Issue Order Receipt","operationId":"issue_order_receipt_v1_store_admin_orders__order_id__receipt_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["store-admin-receipts"],"summary":"Get Order Receipt","operationId":"get_order_receipt_v1_store_admin_orders__order_id__receipt_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/{order_id}/receipts":{"get":{"tags":["store-admin-receipts"],"summary":"List Order Receipts","operationId":"list_order_receipts_v1_store_admin_orders__order_id__receipts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReceiptResponse"},"title":"Response List Order Receipts V1 Store Admin Orders  Order Id  Receipts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/{order_id}/receipt.pdf":{"get":{"tags":["store-admin-receipts"],"summary":"Get Order Receipt Pdf","operationId":"get_order_receipt_pdf_v1_store_admin_orders__order_id__receipt_pdf_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/{order_id}/receipt/email":{"post":{"tags":["store-admin-receipts"],"summary":"Send Order Receipt Email","operationId":"send_order_receipt_email_v1_store_admin_orders__order_id__receipt_email_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptEmailRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptEmailDeliveryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/rankings/video/versions":{"get":{"tags":["admin-video-ranking"],"summary":"List Video Ranking Versions","operationId":"list_video_ranking_versions_v1_admin_rankings_video_versions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RankingConfigurationListResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/rankings/video/versions:activate":{"post":{"tags":["admin-video-ranking"],"summary":"Activate Video Ranking Version","operationId":"activate_video_ranking_version_v1_admin_rankings_video_versions_activate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RankingActivationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RankingConfigurationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/rankings/video/versions:rollback":{"post":{"tags":["admin-video-ranking"],"summary":"Rollback Video Ranking Version","operationId":"rollback_video_ranking_version_v1_admin_rankings_video_versions_rollback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RankingActivationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RankingConfigurationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/rankings/video/shadow-diagnostics":{"get":{"tags":["admin-video-ranking"],"summary":"Get Video Ranking Shadow Diagnostics","operationId":"get_video_ranking_shadow_diagnostics_v1_admin_rankings_video_shadow_diagnostics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RankingShadowDiagnosticsResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/advertising/promotions":{"get":{"tags":["store-advertising"],"summary":"List Campaigns","operationId":"list_campaigns_v1_store_admin_advertising_promotions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignListResponse"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["store-advertising"],"summary":"Create Campaign","operationId":"create_campaign_v1_store_admin_advertising_promotions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/advertising":{"get":{"tags":["store-advertising"],"summary":"List Campaigns","operationId":"list_campaigns_v1_store_admin_advertising_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignListResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/advertising/campaigns":{"post":{"tags":["store-advertising"],"summary":"Create Campaign","operationId":"create_campaign_v1_store_admin_advertising_campaigns_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/advertising/promotions/{campaign_id}":{"patch":{"tags":["store-advertising"],"summary":"Update Campaign","operationId":"update_campaign_v1_store_admin_advertising_promotions__campaign_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Campaign Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/advertising/campaigns/{campaign_id}":{"patch":{"tags":["store-advertising"],"summary":"Update Campaign","operationId":"update_campaign_v1_store_admin_advertising_campaigns__campaign_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Campaign Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/advertising/promotions/{campaign_id}:pause":{"post":{"tags":["store-advertising"],"summary":"Pause Campaign","operationId":"pause_campaign_v1_store_admin_advertising_promotions__campaign_id__pause_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Campaign Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignActionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/advertising/campaigns/{campaign_id}:pause":{"post":{"tags":["store-advertising"],"summary":"Pause Campaign","operationId":"pause_campaign_v1_store_admin_advertising_campaigns__campaign_id__pause_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Campaign Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignActionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/advertising/promotions/{campaign_id}:resume":{"post":{"tags":["store-advertising"],"summary":"Resume Campaign","operationId":"resume_campaign_v1_store_admin_advertising_promotions__campaign_id__resume_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Campaign Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/advertising/campaigns/{campaign_id}:resume":{"post":{"tags":["store-advertising"],"summary":"Resume Campaign","operationId":"resume_campaign_v1_store_admin_advertising_campaigns__campaign_id__resume_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Campaign Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/advertising/promotions/{campaign_id}:end":{"post":{"tags":["store-advertising"],"summary":"End Campaign","operationId":"end_campaign_v1_store_admin_advertising_promotions__campaign_id__end_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Campaign Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignActionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/advertising/campaigns/{campaign_id}:end":{"post":{"tags":["store-advertising"],"summary":"End Campaign","operationId":"end_campaign_v1_store_admin_advertising_campaigns__campaign_id__end_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Campaign Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignActionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/advertising/balance:transfer":{"post":{"tags":["store-advertising"],"summary":"Transfer Balance","operationId":"transfer_balance_v1_store_admin_advertising_balance_transfer_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingTransferRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingTransferResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/advertising/balance:return-to-core":{"post":{"tags":["store-advertising"],"summary":"Return Balance To Core","operationId":"return_balance_to_core_v1_store_admin_advertising_balance_return_to_core_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingTransferRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingTransferResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/measurements/advertising/events:batch":{"post":{"tags":["mobile-advertising-measurements"],"summary":"Ingest Advertising Measurements","operationId":"ingest_advertising_measurements_api_v1_mobile_measurements_advertising_events_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingMeasurementBatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingMeasurementBatchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/advertising/campaigns":{"get":{"tags":["admin-advertising"],"summary":"Admin List Campaigns","operationId":"admin_list_campaigns_v1_admin_advertising_campaigns_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AdvertisingCampaignResponse"},"title":"Response Admin List Campaigns V1 Admin Advertising Campaigns Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/advertising/products":{"get":{"tags":["admin-advertising"],"summary":"List Advertising Products","description":"Return the backend-owned catalog of currently implemented ad products.","operationId":"list_advertising_products_v1_admin_advertising_products_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdvertisingProductResponse"},"type":"array","title":"Response List Advertising Products V1 Admin Advertising Products Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/advertising/campaigns/{campaign_id}/moderation":{"post":{"tags":["admin-advertising"],"summary":"Moderate Campaign","operationId":"moderate_campaign_v1_admin_advertising_campaigns__campaign_id__moderation_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"campaign_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Campaign Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingModerationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/advertising/creatives/{creative_id}:pause":{"post":{"tags":["admin-advertising"],"summary":"Pause Creative","operationId":"pause_creative_v1_admin_advertising_creatives__creative_id__pause_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"creative_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Creative Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Pause Creative V1 Admin Advertising Creatives  Creative Id  Pause Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/advertising/creatives/{creative_id}:resume":{"post":{"tags":["admin-advertising"],"summary":"Resume Creative","operationId":"resume_creative_v1_admin_advertising_creatives__creative_id__resume_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"creative_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Creative Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Resume Creative V1 Admin Advertising Creatives  Creative Id  Resume Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/advertising/versions/pricing":{"post":{"tags":["admin-advertising"],"summary":"Create Pricing Version","operationId":"create_pricing_version_v1_admin_advertising_versions_pricing_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingVersionCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Pricing Version V1 Admin Advertising Versions Pricing Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/advertising/versions":{"get":{"tags":["admin-advertising"],"summary":"List Advertising Versions","operationId":"list_advertising_versions_v1_admin_advertising_versions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"type":"object","title":"Response List Advertising Versions V1 Admin Advertising Versions Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/advertising/versions/policy":{"post":{"tags":["admin-advertising"],"summary":"Create Policy Version","operationId":"create_policy_version_v1_admin_advertising_versions_policy_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingVersionCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Policy Version V1 Admin Advertising Versions Policy Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/advertising/versions/{kind}/{version}:activate":{"post":{"tags":["admin-advertising"],"summary":"Activate Advertising Version","operationId":"activate_advertising_version_v1_admin_advertising_versions__kind___version__activate_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"version","in":"path","required":true,"schema":{"type":"string","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Activate Advertising Version V1 Admin Advertising Versions  Kind   Version  Activate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/advertising/diagnostics":{"get":{"tags":["admin-advertising"],"summary":"Advertising Diagnostics","operationId":"advertising_diagnostics_v1_admin_advertising_diagnostics_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":744,"minimum":1,"default":24,"title":"Hours"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingDiagnosticsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/advertising/retention:prune":{"post":{"tags":["admin-advertising"],"summary":"Prune Advertising Measurements","description":"Apply backend-owned retention without touching audit/version/ledger rows.","operationId":"prune_advertising_measurements_v1_admin_advertising_retention_prune_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"integer"},"type":"object","title":"Response Prune Advertising Measurements V1 Admin Advertising Retention Prune Post"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/advertising/ledger/reconciliation":{"get":{"tags":["admin-advertising"],"summary":"Reconcile Ledger","operationId":"reconcile_ledger_v1_admin_advertising_ledger_reconciliation_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response Reconcile Ledger V1 Admin Advertising Ledger Reconciliation Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/advertising/invalid-traffic":{"get":{"tags":["admin-advertising"],"summary":"List Invalid Traffic","operationId":"list_invalid_traffic_v1_admin_advertising_invalid_traffic_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Invalid Traffic V1 Admin Advertising Invalid Traffic Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/advertising/ledger/manual-adjustment":{"post":{"tags":["admin-advertising"],"summary":"Manual Adjustment","operationId":"manual_adjustment_v1_admin_advertising_ledger_manual_adjustment_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingManualAdjustmentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Manual Adjustment V1 Admin Advertising Ledger Manual Adjustment Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/advertising/reservations/{reservation_id}:reverse":{"post":{"tags":["admin-advertising"],"summary":"Reverse Charge","operationId":"reverse_charge_v1_admin_advertising_reservations__reservation_id__reverse_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignActionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Reverse Charge V1 Admin Advertising Reservations  Reservation Id  Reverse Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/advertising/reservations/{reservation_id}:release":{"post":{"tags":["admin-advertising"],"summary":"Release Charge","operationId":"release_charge_v1_admin_advertising_reservations__reservation_id__release_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvertisingCampaignActionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Release Charge V1 Admin Advertising Reservations  Reservation Id  Release Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/receipts/{receipt_id}/void":{"post":{"tags":["store-admin-receipts"],"summary":"Void Store Admin Receipt","operationId":"void_store_admin_receipt_v1_store_admin_receipts__receipt_id__void_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptVoidRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/receipts/{receipt_id}/reissue":{"post":{"tags":["store-admin-receipts"],"summary":"Reissue Store Admin Receipt","operationId":"reissue_store_admin_receipt_v1_store_admin_receipts__receipt_id__reissue_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Receipt Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/orders/{order_id}/receipt":{"get":{"tags":["public-receipts"],"summary":"Get Public Order Receipt","operationId":"get_public_order_receipt_v1_public_orders__order_id__receipt_get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"public_access_token","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Public Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicReceiptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/orders/{order_id}/receipt.pdf":{"get":{"tags":["public-receipts"],"summary":"Get Public Order Receipt Pdf","operationId":"get_public_order_receipt_pdf_v1_public_orders__order_id__receipt_pdf_get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"public_access_token","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Public Access Token"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/orders/{order_id}/refunds":{"get":{"tags":["store-admin-refunds"],"summary":"List Order Refunds","operationId":"list_order_refunds_v1_store_admin_orders__order_id__refunds_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RefundRecordResponse"},"title":"Response List Order Refunds V1 Store Admin Orders  Order Id  Refunds Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["store-admin-refunds"],"summary":"Create Order Refund","operationId":"create_order_refund_v1_store_admin_orders__order_id__refunds_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundRecordCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundRecordResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/refunds/{refund_id}/complete":{"post":{"tags":["store-admin-refunds"],"summary":"Complete Refund","operationId":"complete_refund_v1_store_admin_refunds__refund_id__complete_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"refund_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Refund Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundRecordCompleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundRecordResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/refunds/{refund_id}/cancel":{"post":{"tags":["store-admin-refunds"],"summary":"Cancel Refund","operationId":"cancel_refund_v1_store_admin_refunds__refund_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"refund_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Refund Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundRecordCancelRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundRecordResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/refunds/config":{"get":{"tags":["store-admin-refunds"],"summary":"Get Store Refund Config","description":"返金フォームの初期値(定型理由)。理由は自由入力で必須。","operationId":"get_store_refund_config_v1_store_admin_refunds_config_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundConfigResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/refunds/eligible-payments":{"get":{"tags":["store-admin-refunds"],"summary":"List Store Eligible Payments","description":"返金対象に選べる支払い済みの会計一覧(残返金可能額 > 0 のもの)。","operationId":"list_store_eligible_payments_v1_store_admin_refunds_eligible_payments_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreEligiblePaymentsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/refunds":{"get":{"tags":["store-admin-refunds"],"summary":"List Store Refunds","description":"店舗の返金履歴(POS Mobile・Web POS 双方の全件を時系列で表示)。","operationId":"list_store_refunds_v1_store_admin_refunds_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreRefundListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["store-admin-refunds"],"summary":"Create Store Refund","description":"Web POS から即時現金返金を1件登録する(承認フロー無し・即 cash_completed)。\n\n元会計あり(order)は残返金可能額まで検証して確定 + 売上へマイナス反映。manual は\n元会計に紐づかない現金返金。store_id は actor 由来。オンチェーン返金送金はしない。","operationId":"create_store_refund_v1_store_admin_refunds_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreRefundCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreRefundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/refunds/{refund_id}/receipt":{"post":{"tags":["store-admin-refunds"],"summary":"Issue Refund Receipt","operationId":"issue_refund_receipt_v1_store_admin_refunds__refund_id__receipt_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"refund_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Refund Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["store-admin-refunds"],"summary":"Get Refund Receipt","operationId":"get_refund_receipt_v1_store_admin_refunds__refund_id__receipt_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"refund_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Refund Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/refunds/{refund_id}/receipt.pdf":{"get":{"tags":["store-admin-refunds"],"summary":"Get Refund Receipt Pdf","operationId":"get_refund_receipt_pdf_v1_store_admin_refunds__refund_id__receipt_pdf_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"refund_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Refund Id"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/orders/{order_id}/refunds":{"get":{"tags":["public-refunds"],"summary":"List Public Order Refund Receipts","operationId":"list_public_order_refund_receipts_v1_public_orders__order_id__refunds_get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"public_access_token","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Public Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PublicRefundReceiptSummaryResponse"},"title":"Response List Public Order Refund Receipts V1 Public Orders  Order Id  Refunds Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/orders/{order_id}/refunds/{refund_id}/receipt":{"get":{"tags":["public-refunds"],"summary":"Get Public Order Refund Receipt","operationId":"get_public_order_refund_receipt_v1_public_orders__order_id__refunds__refund_id__receipt_get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"refund_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Refund Id"}},{"name":"public_access_token","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Public Access Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicReceiptResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/orders/{order_id}/refunds/{refund_id}/receipt.pdf":{"get":{"tags":["public-refunds"],"summary":"Get Public Order Refund Receipt Pdf","operationId":"get_public_order_refund_receipt_pdf_v1_public_orders__order_id__refunds__refund_id__receipt_pdf_get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Order Id"}},{"name":"refund_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Refund Id"}},{"name":"public_access_token","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Public Access Token"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/settings":{"get":{"tags":["admin-reservations"],"summary":"Get Reservation Settings","operationId":"get_reservation_settings_v1_admin_stores__store_id__reservations_settings_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin-reservations"],"summary":"Update Reservation Settings","operationId":"update_reservation_settings_v1_admin_stores__store_id__reservations_settings_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationSettingsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/availability":{"get":{"tags":["admin-reservations"],"summary":"Get Reservation Availability","operationId":"get_reservation_availability_v1_admin_stores__store_id__reservations_availability_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"date","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Date"}},{"name":"reservation_type","in":"query","required":false,"schema":{"type":"string","pattern":"^(general|salon)$","default":"general","title":"Reservation Type"}},{"name":"offering_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Offering Id"}},{"name":"party_size","in":"query","required":false,"schema":{"type":"integer","maximum":999,"minimum":1,"default":1,"title":"Party Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationAvailabilityResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/availability-range":{"get":{"tags":["admin-reservations"],"summary":"Get Reservation Availability Range","operationId":"get_reservation_availability_range_v1_admin_stores__store_id__reservations_availability_range_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"date_from","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Date From"}},{"name":"date_to","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Date To"}},{"name":"reservation_type","in":"query","required":false,"schema":{"type":"string","pattern":"^(general|salon)$","default":"general","title":"Reservation Type"}},{"name":"offering_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Offering Id"}},{"name":"party_size","in":"query","required":false,"schema":{"type":"integer","maximum":999,"minimum":1,"default":1,"title":"Party Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReservationAvailabilityResponse"},"title":"Response Get Reservation Availability Range V1 Admin Stores  Store Id  Reservations Availability Range Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/availability-overrides":{"get":{"tags":["admin-reservations"],"summary":"Get Reservation Availability Overrides","operationId":"get_reservation_availability_overrides_v1_admin_stores__store_id__reservations_availability_overrides_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReservationAvailabilityOverrideResponse"},"title":"Response Get Reservation Availability Overrides V1 Admin Stores  Store Id  Reservations Availability Overrides Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-reservations"],"summary":"Create Reservation Availability Override","operationId":"create_reservation_availability_override_v1_admin_stores__store_id__reservations_availability_overrides_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationAvailabilityOverrideCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationAvailabilityOverrideResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/availability-overrides/impact":{"post":{"tags":["admin-reservations"],"summary":"Preview Reservation Availability Override Impact","operationId":"preview_reservation_availability_override_impact_v1_admin_stores__store_id__reservations_availability_overrides_impact_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationAvailabilityOverrideCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationAvailabilityImpactResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/availability-overrides/{override_id}":{"patch":{"tags":["admin-reservations"],"summary":"Update Reservation Availability Override","operationId":"update_reservation_availability_override_v1_admin_stores__store_id__reservations_availability_overrides__override_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"override_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Override Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationAvailabilityOverrideUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationAvailabilityOverrideResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-reservations"],"summary":"Delete Reservation Availability Override","operationId":"delete_reservation_availability_override_v1_admin_stores__store_id__reservations_availability_overrides__override_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"override_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Override Id"}},{"name":"version","in":"query","required":true,"schema":{"type":"integer","minimum":1,"title":"Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations":{"get":{"tags":["admin-reservations"],"summary":"List Reservations","operationId":"list_reservations_v1_admin_stores__store_id__reservations_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreReservationResponse"},"title":"Response List Reservations V1 Admin Stores  Store Id  Reservations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-reservations"],"summary":"Create Reservation","operationId":"create_reservation_v1_admin_stores__store_id__reservations_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/slots":{"get":{"tags":["admin-reservations"],"summary":"List Reservation Slots","operationId":"list_reservation_slots_v1_admin_stores__store_id__reservations_slots_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"date","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Date"}},{"name":"party_size","in":"query","required":false,"schema":{"type":"integer","maximum":999,"minimum":1,"default":1,"title":"Party Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReservationSlotResponse"},"title":"Response List Reservation Slots V1 Admin Stores  Store Id  Reservations Slots Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/summary":{"get":{"tags":["admin-reservations"],"summary":"Get Reservation Summary","operationId":"get_reservation_summary_v1_admin_stores__store_id__reservations_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationSummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/{reservation_id}":{"patch":{"tags":["admin-reservations"],"summary":"Update Reservation","operationId":"update_reservation_v1_admin_stores__store_id__reservations__reservation_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/{reservation_id}/status":{"post":{"tags":["admin-reservations"],"summary":"Update Reservation Status","operationId":"update_reservation_status_v1_admin_stores__store_id__reservations__reservation_id__status_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/{reservation_id}/confirm":{"post":{"tags":["admin-reservations"],"summary":"Confirm Reservation","operationId":"confirm_reservation_v1_admin_stores__store_id__reservations__reservation_id__confirm_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/{reservation_id}/cancel-by-store":{"post":{"tags":["admin-reservations"],"summary":"Cancel Reservation By Store","operationId":"cancel_reservation_by_store_v1_admin_stores__store_id__reservations__reservation_id__cancel_by_store_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationActionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/{reservation_id}/mark-no-show":{"post":{"tags":["admin-reservations"],"summary":"Mark Reservation No Show","operationId":"mark_reservation_no_show_v1_admin_stores__store_id__reservations__reservation_id__mark_no_show_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationActionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/{reservation_id}/arrived":{"post":{"tags":["admin-reservations"],"summary":"Mark Reservation Arrived","operationId":"mark_reservation_arrived_v1_admin_stores__store_id__reservations__reservation_id__arrived_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/{reservation_id}/complete":{"post":{"tags":["admin-reservations"],"summary":"Complete Reservation","operationId":"complete_reservation_v1_admin_stores__store_id__reservations__reservation_id__complete_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/{reservation_id}/change-party-size":{"post":{"tags":["admin-reservations"],"summary":"Change Reservation Party Size","operationId":"change_reservation_party_size_v1_admin_stores__store_id__reservations__reservation_id__change_party_size_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationPartySizeChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/{reservation_id}/reschedule":{"post":{"tags":["admin-reservations"],"summary":"Reschedule Reservation","description":"店舗側の予約日時変更。変更先の空き枠を capacity 判定し、満席なら 409。\n\nsalon は施術所要時間 + buffer を反映し staff-free capacity で判定する(指名なし)。\nparty_size は変更しない(salon は常に1名)。終端状態(cancelled/completed/no_show)は変更不可。","operationId":"reschedule_reservation_v1_admin_stores__store_id__reservations__reservation_id__reschedule_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationReschedule"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreReservationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/salon/services":{"get":{"tags":["admin-reservations"],"summary":"List Salon Services","operationId":"list_salon_services_v1_admin_stores__store_id__reservations_salon_services_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SalonServiceResponse"},"title":"Response List Salon Services V1 Admin Stores  Store Id  Reservations Salon Services Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-reservations"],"summary":"Create Salon Service","operationId":"create_salon_service_v1_admin_stores__store_id__reservations_salon_services_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalonServiceCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalonServiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/salon/services/{service_id}":{"patch":{"tags":["admin-reservations"],"summary":"Update Salon Service","operationId":"update_salon_service_v1_admin_stores__store_id__reservations_salon_services__service_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalonServiceUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalonServiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-reservations"],"summary":"Delete Salon Service","operationId":"delete_salon_service_v1_admin_stores__store_id__reservations_salon_services__service_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/plans":{"get":{"tags":["admin-reservations"],"summary":"List Reservation Plans Endpoint","operationId":"list_reservation_plans_endpoint_v1_admin_stores__store_id__reservations_plans_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReservationPlanResponse"},"title":"Response List Reservation Plans Endpoint V1 Admin Stores  Store Id  Reservations Plans Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-reservations"],"summary":"Create Reservation Plan","operationId":"create_reservation_plan_v1_admin_stores__store_id__reservations_plans_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationPlanCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationPlanResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/plans/{plan_id}":{"patch":{"tags":["admin-reservations"],"summary":"Update Reservation Plan","operationId":"update_reservation_plan_v1_admin_stores__store_id__reservations_plans__plan_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationPlanUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationPlanResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-reservations"],"summary":"Delete Reservation Plan","operationId":"delete_reservation_plan_v1_admin_stores__store_id__reservations_plans__plan_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/plans/{plan_id}/cover-image":{"post":{"tags":["admin-reservations"],"summary":"Upload Reservation Plan Cover Image","operationId":"upload_reservation_plan_cover_image_v1_admin_stores__store_id__reservations_plans__plan_id__cover_image_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}},{"name":"alt_text","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alt Text"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_reservation_plan_cover_image_v1_admin_stores__store_id__reservations_plans__plan_id__cover_image_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationPlanCoverImage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-reservations"],"summary":"Delete Reservation Plan Cover Image","operationId":"delete_reservation_plan_cover_image_v1_admin_stores__store_id__reservations_plans__plan_id__cover_image_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/plans/{plan_id}/preview":{"get":{"tags":["admin-reservations"],"summary":"Preview Reservation Plan Cover Image","operationId":"preview_reservation_plan_cover_image_v1_admin_stores__store_id__reservations_plans__plan_id__preview_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Plan Id"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/salon/capacity-rules":{"get":{"tags":["admin-reservations"],"summary":"List Salon Capacity Rules Endpoint","operationId":"list_salon_capacity_rules_endpoint_v1_admin_stores__store_id__reservations_salon_capacity_rules_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SalonCapacityRuleResponse"},"title":"Response List Salon Capacity Rules Endpoint V1 Admin Stores  Store Id  Reservations Salon Capacity Rules Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["admin-reservations"],"summary":"Replace Salon Capacity Rules","operationId":"replace_salon_capacity_rules_v1_admin_stores__store_id__reservations_salon_capacity_rules_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalonCapacityRulesReplace"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SalonCapacityRuleResponse"},"title":"Response Replace Salon Capacity Rules V1 Admin Stores  Store Id  Reservations Salon Capacity Rules Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/salon/staff":{"get":{"tags":["admin-reservations"],"summary":"List Salon Staff","operationId":"list_salon_staff_v1_admin_stores__store_id__reservations_salon_staff_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SalonStaffResponse"},"title":"Response List Salon Staff V1 Admin Stores  Store Id  Reservations Salon Staff Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-reservations"],"summary":"Create Salon Staff","operationId":"create_salon_staff_v1_admin_stores__store_id__reservations_salon_staff_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalonStaffCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalonStaffResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/salon/staff/{staff_id}":{"patch":{"tags":["admin-reservations"],"summary":"Update Salon Staff","operationId":"update_salon_staff_v1_admin_stores__store_id__reservations_salon_staff__staff_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"staff_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Staff Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalonStaffUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalonStaffResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-reservations"],"summary":"Delete Salon Staff","operationId":"delete_salon_staff_v1_admin_stores__store_id__reservations_salon_staff__staff_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"staff_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Staff Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/{reservation_id}/salon-detail":{"put":{"tags":["admin-reservations"],"summary":"Upsert Salon Reservation Detail","operationId":"upsert_salon_reservation_detail_v1_admin_stores__store_id__reservations__reservation_id__salon_detail_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalonReservationDetailInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Upsert Salon Reservation Detail V1 Admin Stores  Store Id  Reservations  Reservation Id  Salon Detail Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/hotel/rooms":{"get":{"tags":["admin-reservations"],"summary":"List Hotel Rooms","operationId":"list_hotel_rooms_v1_admin_stores__store_id__reservations_hotel_rooms_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HotelRoomResponse"},"title":"Response List Hotel Rooms V1 Admin Stores  Store Id  Reservations Hotel Rooms Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-reservations"],"summary":"Create Hotel Room","operationId":"create_hotel_room_v1_admin_stores__store_id__reservations_hotel_rooms_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HotelRoomCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HotelRoomResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/hotel/rooms/{room_id}":{"patch":{"tags":["admin-reservations"],"summary":"Update Hotel Room","operationId":"update_hotel_room_v1_admin_stores__store_id__reservations_hotel_rooms__room_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"room_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Room Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HotelRoomUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HotelRoomResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-reservations"],"summary":"Delete Hotel Room","operationId":"delete_hotel_room_v1_admin_stores__store_id__reservations_hotel_rooms__room_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"room_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Room Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/reservations/{reservation_id}/hotel-detail":{"put":{"tags":["admin-reservations"],"summary":"Upsert Hotel Reservation Detail","operationId":"upsert_hotel_reservation_detail_v1_admin_stores__store_id__reservations__reservation_id__hotel_detail_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HotelReservationDetailInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Upsert Hotel Reservation Detail V1 Admin Stores  Store Id  Reservations  Reservation Id  Hotel Detail Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{store_id_or_slug}/reservation-quotes":{"post":{"tags":["public-reservation-quotes"],"summary":"Create Public Reservation Quote","operationId":"create_public_reservation_quote_v1_public_stores__store_id_or_slug__reservation_quotes_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationQuoteHotelInput"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationQuoteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/reservation-quotes/{quote_id}/payment-intent":{"post":{"tags":["public-reservation-payments"],"summary":"Create Public Reservation Payment Intent","operationId":"create_public_reservation_payment_intent_v1_public_reservation_quotes__quote_id__payment_intent_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationPaymentIntentCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationPaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/reservation-payment-intents/{intent_id}/payer-wallet":{"patch":{"tags":["public-reservation-payments"],"summary":"Update Public Reservation Payer Wallet","operationId":"update_public_reservation_payer_wallet_v1_public_reservation_payment_intents__intent_id__payer_wallet_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationPaymentIntentPayerWalletUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationPaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/reservation-payment-intents/{intent_id}/submit-tx":{"post":{"tags":["public-reservation-payments"],"summary":"Submit Public Reservation Payment Intent Tx","operationId":"submit_public_reservation_payment_intent_tx_v1_public_reservation_payment_intents__intent_id__submit_tx_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationPaymentIntentSubmitTx"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationPaymentIntentSubmitTxResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/reservation-payment-intents/{intent_id}":{"get":{"tags":["public-reservation-payments"],"summary":"Get Public Reservation Payment Intent","operationId":"get_public_reservation_payment_intent_v1_public_reservation_payment_intents__intent_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Intent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReservationPaymentIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events":{"get":{"tags":["pos-events"],"summary":"List Events","operationId":"list_events_v1_pos_events_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EventResponse"},"title":"Response List Events V1 Pos Events Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["pos-events"],"summary":"Create Event","operationId":"create_event_v1_pos_events_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}":{"get":{"tags":["pos-events"],"summary":"Get Event","operationId":"get_event_v1_pos_events__event_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["pos-events"],"summary":"Update Event","operationId":"update_event_v1_pos_events__event_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/publish":{"post":{"tags":["pos-events"],"summary":"Publish Event","operationId":"publish_event_v1_pos_events__event_id__publish_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/close":{"post":{"tags":["pos-events"],"summary":"Close Event","operationId":"close_event_v1_pos_events__event_id__close_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/ticket-types":{"post":{"tags":["pos-events"],"summary":"Create Ticket Type","operationId":"create_ticket_type_v1_pos_events__event_id__ticket_types_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketTypeCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketTypeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/ticket-types/{ticket_type_id}":{"patch":{"tags":["pos-events"],"summary":"Update Ticket Type","operationId":"update_ticket_type_v1_pos_events__event_id__ticket_types__ticket_type_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}},{"name":"ticket_type_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Type Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketTypeUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketTypeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/lottery-rounds":{"post":{"tags":["pos-events"],"summary":"Create Lottery Round","operationId":"create_lottery_round_v1_pos_events__event_id__lottery_rounds_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LotteryRoundCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LotteryRoundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/lottery-rounds/{round_id}":{"patch":{"tags":["pos-events"],"summary":"Update Lottery Round","operationId":"update_lottery_round_v1_pos_events__event_id__lottery_rounds__round_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}},{"name":"round_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LotteryRoundUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LotteryRoundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/lottery-rounds/{round_id}/open":{"post":{"tags":["pos-events"],"summary":"Open Lottery Round","operationId":"open_lottery_round_v1_pos_events__event_id__lottery_rounds__round_id__open_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}},{"name":"round_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LotteryRoundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/lottery-rounds/{round_id}/close":{"post":{"tags":["pos-events"],"summary":"Close Lottery Round","operationId":"close_lottery_round_v1_pos_events__event_id__lottery_rounds__round_id__close_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}},{"name":"round_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LotteryRoundResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/lottery-rounds/{round_id}/draw":{"post":{"tags":["pos-events"],"summary":"Run Draw","operationId":"run_draw_v1_pos_events__event_id__lottery_rounds__round_id__draw_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}},{"name":"round_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DrawResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/lottery-rounds/{round_id}/expire-unpaid":{"post":{"tags":["pos-events"],"summary":"Expire Unpaid Endpoint","operationId":"expire_unpaid_endpoint_v1_pos_events__event_id__lottery_rounds__round_id__expire_unpaid_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}},{"name":"round_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExpireUnpaidResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/lottery-rounds/{round_id}/promote-waitlist":{"post":{"tags":["pos-events"],"summary":"Promote Waitlist Endpoint","operationId":"promote_waitlist_endpoint_v1_pos_events__event_id__lottery_rounds__round_id__promote_waitlist_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}},{"name":"round_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Round Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoteWaitlistResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/applications":{"get":{"tags":["pos-events"],"summary":"List Event Applications","operationId":"list_event_applications_v1_pos_events__event_id__applications_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationResponse"},"title":"Response List Event Applications V1 Pos Events  Event Id  Applications Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/waitlist":{"get":{"tags":["pos-events"],"summary":"List Event Waitlist","operationId":"list_event_waitlist_v1_pos_events__event_id__waitlist_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WaitlistEntryResponse"},"title":"Response List Event Waitlist V1 Pos Events  Event Id  Waitlist Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/tickets":{"get":{"tags":["pos-events"],"summary":"List Event Tickets","operationId":"list_event_tickets_v1_pos_events__event_id__tickets_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TicketResponse"},"title":"Response List Event Tickets V1 Pos Events  Event Id  Tickets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/scan-logs":{"get":{"tags":["pos-events"],"summary":"List Scan Logs","operationId":"list_scan_logs_v1_pos_events__event_id__scan_logs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScanLogResponse"},"title":"Response List Scan Logs V1 Pos Events  Event Id  Scan Logs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/applications/{application_id}/mark-paid":{"post":{"tags":["pos-events"],"summary":"Mark Paid","operationId":"mark_paid_v1_pos_events__event_id__applications__application_id__mark_paid_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}},{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TicketResponse"},"title":"Response Mark Paid V1 Pos Events  Event Id  Applications  Application Id  Mark Paid Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/scanner-public-keys":{"get":{"tags":["pos-events"],"summary":"Get Scanner Public Keys","operationId":"get_scanner_public_keys_v1_pos_events__event_id__scanner_public_keys_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScannerPublicKeysResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pos/events/{event_id}/scan":{"post":{"tags":["pos-events"],"summary":"Scan Event Ticket","operationId":"scan_event_ticket_v1_pos_events__event_id__scan_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/events":{"get":{"tags":["public-events"],"summary":"List Public Events","operationId":"list_public_events_v1_public_events_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EventResponse"},"title":"Response List Public Events V1 Public Events Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/events/{event_id}":{"get":{"tags":["public-events"],"summary":"Get Public Event","operationId":"get_public_event_v1_public_events__event_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/events/{event_id}/applications":{"post":{"tags":["public-events"],"summary":"Create Public Application","operationId":"create_public_application_v1_public_events__event_id__applications_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/event-applications":{"get":{"tags":["customer-events"],"summary":"List Customer Applications","operationId":"list_customer_applications_v1_customer_event_applications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApplicationResponse"},"type":"array","title":"Response List Customer Applications V1 Customer Event Applications Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/customer/event-applications/{application_id}":{"get":{"tags":["customer-events"],"summary":"Get Customer Application","operationId":"get_customer_application_v1_customer_event_applications__application_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/event-applications/{application_id}/pay":{"post":{"tags":["customer-events"],"summary":"Pay Customer Application","operationId":"pay_customer_application_v1_customer_event_applications__application_id__pay_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TicketResponse"},"title":"Response Pay Customer Application V1 Customer Event Applications  Application Id  Pay Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/event-tickets":{"get":{"tags":["customer-events"],"summary":"List Customer Tickets","operationId":"list_customer_tickets_v1_customer_event_tickets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TicketResponse"},"type":"array","title":"Response List Customer Tickets V1 Customer Event Tickets Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/customer/event-tickets/{ticket_id}":{"get":{"tags":["customer-events"],"summary":"Get Customer Ticket","operationId":"get_customer_ticket_v1_customer_event_tickets__ticket_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/customer/event-tickets/{ticket_id}/qr-token":{"post":{"tags":["customer-events"],"summary":"Create Ticket Qr Token","operationId":"create_ticket_qr_token_v1_customer_event_tickets__ticket_id__qr_token_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QrTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/videos":{"get":{"tags":["admin-store-videos"],"summary":"List Admin Store Videos","operationId":"list_admin_store_videos_v1_admin_stores__store_id__videos_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoBoardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-store-videos"],"summary":"Create Admin Store Video","operationId":"create_admin_store_video_v1_admin_stores__store_id__videos_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/videos/upload":{"post":{"tags":["admin-store-videos"],"summary":"Upload Admin Store Video Media","operationId":"upload_admin_store_video_media_v1_admin_stores__store_id__videos_upload_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_admin_store_video_media_v1_admin_stores__store_id__videos_upload_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoUploadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/videos/thumbnail-upload":{"post":{"tags":["admin-store-videos"],"summary":"Upload Admin Store Video Thumbnail","operationId":"upload_admin_store_video_thumbnail_v1_admin_stores__store_id__videos_thumbnail_upload_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_admin_store_video_thumbnail_v1_admin_stores__store_id__videos_thumbnail_upload_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoUploadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/videos/{video_id}/thumbnail-candidates":{"get":{"tags":["admin-store-videos"],"summary":"Get Admin Store Video Thumbnail Candidates","operationId":"get_admin_store_video_thumbnail_candidates_v1_admin_stores__store_id__videos__video_id__thumbnail_candidates_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoThumbnailCandidatesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/videos/{video_id}/thumbnail-select":{"post":{"tags":["admin-store-videos"],"summary":"Select Admin Store Video Thumbnail Candidate","operationId":"select_admin_store_video_thumbnail_candidate_v1_admin_stores__store_id__videos__video_id__thumbnail_select_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoThumbnailSelectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoThumbnailSelectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/videos/{video_id}/thumbnail-generate-at":{"post":{"tags":["admin-store-videos"],"summary":"Generate Admin Store Video Thumbnail At","operationId":"generate_admin_store_video_thumbnail_at_v1_admin_stores__store_id__videos__video_id__thumbnail_generate_at_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoThumbnailGenerateAtRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoThumbnailGenerateAtResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/videos/{video_id}/retry":{"post":{"tags":["admin-store-videos"],"summary":"Retry Admin Store Video Processing","operationId":"retry_admin_store_video_processing_v1_admin_stores__store_id__videos__video_id__retry_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/videos/{video_id}":{"patch":{"tags":["admin-store-videos"],"summary":"Update Admin Store Video","operationId":"update_admin_store_video_v1_admin_stores__store_id__videos__video_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-store-videos"],"summary":"Delete Admin Store Video","operationId":"delete_admin_store_video_v1_admin_stores__store_id__videos__video_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/videos/{video_id}/move-section":{"post":{"tags":["admin-store-videos"],"summary":"Move Admin Store Video Section","operationId":"move_admin_store_video_section_v1_admin_stores__store_id__videos__video_id__move_section_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoMoveSection"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/videos/reorder":{"post":{"tags":["admin-store-videos"],"summary":"Reorder Admin Store Videos","operationId":"reorder_admin_store_videos_v1_admin_stores__store_id__videos_reorder_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoReorderRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoBoardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/stories":{"get":{"tags":["admin-store-stories"],"summary":"List Admin Store Stories","operationId":"list_admin_store_stories_v1_admin_stores__store_id__stories_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreStoryResponse"},"title":"Response List Admin Store Stories V1 Admin Stores  Store Id  Stories Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-store-stories"],"summary":"Create Admin Store Story","operationId":"create_admin_store_story_v1_admin_stores__store_id__stories_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreStoryCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreStoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/stories/{story_id}":{"patch":{"tags":["admin-store-stories"],"summary":"Update Admin Store Story","operationId":"update_admin_store_story_v1_admin_stores__store_id__stories__story_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"story_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Story Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreStoryUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreStoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-store-stories"],"summary":"Delete Admin Store Story","operationId":"delete_admin_store_story_v1_admin_stores__store_id__stories__story_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"story_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Story Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/articles":{"get":{"tags":["admin-store-articles"],"summary":"List Admin Store Articles","operationId":"list_admin_store_articles_v1_admin_stores__store_id__articles_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreArticleResponse"},"title":"Response List Admin Store Articles V1 Admin Stores  Store Id  Articles Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-store-articles"],"summary":"Create Admin Store Article","operationId":"create_admin_store_article_v1_admin_stores__store_id__articles_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreArticleCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreArticleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/articles/{article_id}":{"patch":{"tags":["admin-store-articles"],"summary":"Update Admin Store Article","operationId":"update_admin_store_article_v1_admin_stores__store_id__articles__article_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Article Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreArticleUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreArticleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-store-articles"],"summary":"Delete Admin Store Article","operationId":"delete_admin_store_article_v1_admin_stores__store_id__articles__article_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Article Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/coupons":{"get":{"tags":["admin-store-coupons"],"summary":"List Admin Store Coupons","operationId":"list_admin_store_coupons_v1_admin_stores__store_id__coupons_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreCouponResponse"},"title":"Response List Admin Store Coupons V1 Admin Stores  Store Id  Coupons Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["admin-store-coupons"],"summary":"Create Admin Store Coupon","operationId":"create_admin_store_coupon_v1_admin_stores__store_id__coupons_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCouponCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCouponResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/coupons/{coupon_id}":{"patch":{"tags":["admin-store-coupons"],"summary":"Update Admin Store Coupon","operationId":"update_admin_store_coupon_v1_admin_stores__store_id__coupons__coupon_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"coupon_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Coupon Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCouponUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCouponResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["admin-store-coupons"],"summary":"Delete Admin Store Coupon","operationId":"delete_admin_store_coupon_v1_admin_stores__store_id__coupons__coupon_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}},{"name":"coupon_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Coupon Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/stores/{store_id}/followers/summary":{"get":{"tags":["admin-store-followers"],"summary":"Get Admin Store Follower Summary","operationId":"get_admin_store_follower_summary_v1_admin_stores__store_id__followers_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreFollowerSummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{store_id_or_slug}/videos":{"get":{"tags":["public-store-official-content"],"summary":"List Public Store Videos","operationId":"list_public_store_videos_v1_public_stores__store_id_or_slug__videos_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/app__modules__store_official_content__schemas__PublicStoreVideoResponse"},"title":"Response List Public Store Videos V1 Public Stores  Store Id Or Slug  Videos Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{store_id_or_slug}/articles":{"get":{"tags":["public-store-official-content"],"summary":"List Public Store Articles","operationId":"list_public_store_articles_v1_public_stores__store_id_or_slug__articles_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PublicStoreArticleResponse"},"title":"Response List Public Store Articles V1 Public Stores  Store Id Or Slug  Articles Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{store_id_or_slug}/articles/{article_id}":{"get":{"tags":["public-store-official-content"],"summary":"Get Public Store Article","operationId":"get_public_store_article_v1_public_stores__store_id_or_slug__articles__article_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Article Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicStoreArticleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/stores/{store_id_or_slug}/coupons":{"get":{"tags":["public-store-official-content"],"summary":"List Public Store Coupons","operationId":"list_public_store_coupons_v1_public_stores__store_id_or_slug__coupons_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PublicStoreCouponResponse"},"title":"Response List Public Store Coupons V1 Public Stores  Store Id Or Slug  Coupons Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/mobile/stores/{store_id_or_slug}/public-stats":{"get":{"tags":["mobile-store-official-content"],"summary":"Get Mobile Store Public Stats","operationId":"get_mobile_store_public_stats_v1_mobile_stores__store_id_or_slug__public_stats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicStoreStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/mobile/stores/{store_id_or_slug}/viewer-context":{"get":{"tags":["mobile-store-official-content"],"summary":"Get Mobile Store Viewer Context","operationId":"get_mobile_store_viewer_context_v1_mobile_stores__store_id_or_slug__viewer_context_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileStoreViewerContextResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/mobile/stores/{store_id_or_slug}/follow":{"get":{"tags":["mobile-store-official-content"],"summary":"Get Mobile Store Follow State","operationId":"get_mobile_store_follow_state_v1_mobile_stores__store_id_or_slug__follow_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreFollowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["mobile-store-official-content"],"summary":"Follow Mobile Store","operationId":"follow_mobile_store_v1_mobile_stores__store_id_or_slug__follow_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/StoreFollowRequest"},{"type":"null"}],"title":" Request"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreFollowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["mobile-store-official-content"],"summary":"Unfollow Mobile Store","operationId":"unfollow_mobile_store_v1_mobile_stores__store_id_or_slug__follow_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreFollowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/mobile/stores/{store_id_or_slug}/follow/settings":{"patch":{"tags":["mobile-store-official-content"],"summary":"Update Mobile Store Follow Settings","operationId":"update_mobile_store_follow_settings_v1_mobile_stores__store_id_or_slug__follow_settings_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreFollowSettingsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreFollowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/mobile/home":{"get":{"tags":["mobile-virtual-map"],"summary":"Get Mobile Home","operationId":"get_mobile_home_v1_mobile_home_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":8,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileHomeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/mobile/virtual-map":{"get":{"tags":["mobile-virtual-map"],"summary":"Get Mobile Virtual Map","operationId":"get_mobile_virtual_map_v1_mobile_virtual_map_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VirtualMapResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/measurements/video-events:batch":{"post":{"tags":["mobile-content-measurements"],"summary":"Ingest Video Measurements","operationId":"ingest_video_measurements_api_v1_mobile_measurements_video_events_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentMeasurementBatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentMeasurementBatchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/admin/content-measurements/diagnostics":{"get":{"tags":["admin-content-measurements"],"summary":"Get Measurement Diagnostics","operationId":"get_measurement_diagnostics_v1_admin_content_measurements_diagnostics_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"hours","in":"query","required":false,"schema":{"type":"integer","maximum":744,"minimum":1,"default":24,"title":"Hours"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentMeasurementDiagnosticsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/content-measurements/retention:prune":{"post":{"tags":["admin-content-measurements"],"summary":"Prune Measurement Retention","operationId":"prune_measurement_retention_v1_admin_content_measurements_retention_prune_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentMeasurementRetentionResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/public/discovery/trending":{"get":{"tags":["public-discovery"],"summary":"Handler","operationId":"handler_v1_public_discovery_trending_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoveryItem"},"title":"Response Handler V1 Public Discovery Trending Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/discovery/popular":{"get":{"tags":["public-discovery"],"summary":"Handler","operationId":"handler_v1_public_discovery_popular_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoveryItem"},"title":"Response Handler V1 Public Discovery Popular Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/discovery/recently-updated":{"get":{"tags":["public-discovery"],"summary":"Handler","operationId":"handler_v1_public_discovery_recently_updated_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoveryItem"},"title":"Response Handler V1 Public Discovery Recently Updated Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/discovery/coupons":{"get":{"tags":["public-discovery"],"summary":"Handler","operationId":"handler_v1_public_discovery_coupons_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoveryItem"},"title":"Response Handler V1 Public Discovery Coupons Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/discovery/videos":{"get":{"tags":["public-discovery"],"summary":"Handler","operationId":"handler_v1_public_discovery_videos_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoveryItem"},"title":"Response Handler V1 Public Discovery Videos Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/discovery/articles":{"get":{"tags":["public-discovery"],"summary":"Handler","operationId":"handler_v1_public_discovery_articles_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoveryItem"},"title":"Response Handler V1 Public Discovery Articles Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/discovery/search":{"get":{"tags":["public-discovery"],"summary":"Handler","operationId":"handler_v1_public_discovery_search_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"prefecture","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}],"title":"Prefecture"}},{"name":"prefecture_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":2},{"type":"null"}],"title":"Prefecture Code"}},{"name":"city_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":5,"maxLength":5},{"type":"null"}],"title":"City Code"}},{"name":"ward","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"title":"Ward"}},{"name":"area_label","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}],"title":"Area Label"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"operation_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["fixed","mobile","event"],"type":"string"},{"type":"null"}],"title":"Operation Type"}},{"name":"open_now","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Open Now"}},{"name":"accepts_jpyc","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Jpyc"}},{"name":"accepts_usdc","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Usdc"}},{"name":"accepts_usdt","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Usdt"}},{"name":"has_coupon","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Coupon"}},{"name":"has_video","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Video"}},{"name":"has_article","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Article"}},{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"title":"Lat"}},{"name":"lng","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"title":"Lng"}},{"name":"radius_m","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":50000,"minimum":1},{"type":"null"}],"title":"Radius M"}},{"name":"sort","in":"query","required":false,"schema":{"enum":["distance","popular","trending","updated"],"type":"string","default":"popular","title":"Sort"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoverySearchItem"},"title":"Response Handler V1 Public Discovery Search Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/public/discovery/map":{"get":{"tags":["public-discovery"],"summary":"Handler","operationId":"handler_v1_public_discovery_map_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"prefecture","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}],"title":"Prefecture"}},{"name":"prefecture_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":2},{"type":"null"}],"title":"Prefecture Code"}},{"name":"city_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":5,"maxLength":5},{"type":"null"}],"title":"City Code"}},{"name":"ward","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"title":"Ward"}},{"name":"area_label","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}],"title":"Area Label"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"operation_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["fixed","mobile","event"],"type":"string"},{"type":"null"}],"title":"Operation Type"}},{"name":"open_now","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Open Now"}},{"name":"accepts_jpyc","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Jpyc"}},{"name":"accepts_usdc","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Usdc"}},{"name":"accepts_usdt","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Usdt"}},{"name":"has_coupon","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Coupon"}},{"name":"has_video","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Video"}},{"name":"has_article","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Article"}},{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"title":"Lat"}},{"name":"lng","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"title":"Lng"}},{"name":"radius_m","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":50000,"minimum":1},{"type":"null"}],"title":"Radius M"}},{"name":"sort","in":"query","required":false,"schema":{"enum":["distance","popular","trending","updated"],"type":"string","default":"popular","title":"Sort"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoverySearchItem"},"title":"Response Handler V1 Public Discovery Map Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/discovery/trending":{"get":{"tags":["mobile-discovery"],"summary":"Handler","operationId":"handler_api_v1_mobile_discovery_trending_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoveryItem"},"title":"Response Handler Api V1 Mobile Discovery Trending Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/discovery/popular":{"get":{"tags":["mobile-discovery"],"summary":"Handler","operationId":"handler_api_v1_mobile_discovery_popular_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoveryItem"},"title":"Response Handler Api V1 Mobile Discovery Popular Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/discovery/recently-updated":{"get":{"tags":["mobile-discovery"],"summary":"Handler","operationId":"handler_api_v1_mobile_discovery_recently_updated_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoveryItem"},"title":"Response Handler Api V1 Mobile Discovery Recently Updated Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/discovery/coupons":{"get":{"tags":["mobile-discovery"],"summary":"Handler","operationId":"handler_api_v1_mobile_discovery_coupons_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoveryItem"},"title":"Response Handler Api V1 Mobile Discovery Coupons Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/discovery/videos":{"get":{"tags":["mobile-discovery"],"summary":"Handler","operationId":"handler_api_v1_mobile_discovery_videos_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoveryItem"},"title":"Response Handler Api V1 Mobile Discovery Videos Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/discovery/articles":{"get":{"tags":["mobile-discovery"],"summary":"Handler","operationId":"handler_api_v1_mobile_discovery_articles_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoveryItem"},"title":"Response Handler Api V1 Mobile Discovery Articles Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/discovery/search":{"get":{"tags":["mobile-discovery"],"summary":"Handler","operationId":"handler_api_v1_mobile_discovery_search_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"prefecture","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}],"title":"Prefecture"}},{"name":"prefecture_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":2},{"type":"null"}],"title":"Prefecture Code"}},{"name":"city_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":5,"maxLength":5},{"type":"null"}],"title":"City Code"}},{"name":"ward","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"title":"Ward"}},{"name":"area_label","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}],"title":"Area Label"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"operation_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["fixed","mobile","event"],"type":"string"},{"type":"null"}],"title":"Operation Type"}},{"name":"open_now","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Open Now"}},{"name":"accepts_jpyc","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Jpyc"}},{"name":"accepts_usdc","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Usdc"}},{"name":"accepts_usdt","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Usdt"}},{"name":"has_coupon","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Coupon"}},{"name":"has_video","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Video"}},{"name":"has_article","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Article"}},{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"title":"Lat"}},{"name":"lng","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"title":"Lng"}},{"name":"radius_m","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":50000,"minimum":1},{"type":"null"}],"title":"Radius M"}},{"name":"sort","in":"query","required":false,"schema":{"enum":["distance","popular","trending","updated"],"type":"string","default":"popular","title":"Sort"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoverySearchItem"},"title":"Response Handler Api V1 Mobile Discovery Search Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/discovery/map":{"get":{"tags":["mobile-discovery"],"summary":"Handler","operationId":"handler_api_v1_mobile_discovery_map_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"prefecture","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}],"title":"Prefecture"}},{"name":"prefecture_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":2},{"type":"null"}],"title":"Prefecture Code"}},{"name":"city_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":5,"maxLength":5},{"type":"null"}],"title":"City Code"}},{"name":"ward","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"title":"Ward"}},{"name":"area_label","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}],"title":"Area Label"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"operation_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["fixed","mobile","event"],"type":"string"},{"type":"null"}],"title":"Operation Type"}},{"name":"open_now","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Open Now"}},{"name":"accepts_jpyc","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Jpyc"}},{"name":"accepts_usdc","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Usdc"}},{"name":"accepts_usdt","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Usdt"}},{"name":"has_coupon","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Coupon"}},{"name":"has_video","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Video"}},{"name":"has_article","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Article"}},{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"title":"Lat"}},{"name":"lng","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"title":"Lng"}},{"name":"radius_m","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":50000,"minimum":1},{"type":"null"}],"title":"Radius M"}},{"name":"sort","in":"query","required":false,"schema":{"enum":["distance","popular","trending","updated"],"type":"string","default":"popular","title":"Sort"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StoreDiscoverySearchItem"},"title":"Response Handler Api V1 Mobile Discovery Map Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/discovery/search-with-sponsor":{"get":{"tags":["mobile-discovery"],"summary":"Search Discovery With Sponsor","operationId":"search_discovery_with_sponsor_api_v1_mobile_discovery_search_with_sponsor_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"client_request_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Client Request Id"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"title":"Q"}},{"name":"prefecture","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}],"title":"Prefecture"}},{"name":"prefecture_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":2},{"type":"null"}],"title":"Prefecture Code"}},{"name":"city_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":5,"maxLength":5},{"type":"null"}],"title":"City Code"}},{"name":"ward","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"title":"Ward"}},{"name":"area_label","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}],"title":"Area Label"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"operation_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["fixed","mobile","event"],"type":"string"},{"type":"null"}],"title":"Operation Type"}},{"name":"open_now","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Open Now"}},{"name":"accepts_jpyc","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Jpyc"}},{"name":"accepts_usdc","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Usdc"}},{"name":"accepts_usdt","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Usdt"}},{"name":"has_coupon","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Coupon"}},{"name":"has_video","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Video"}},{"name":"has_article","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Article"}},{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"title":"Lat"}},{"name":"lng","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"title":"Lng"}},{"name":"radius_m","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":50000,"minimum":1},{"type":"null"}],"title":"Radius M"}},{"name":"sort","in":"query","required":false,"schema":{"enum":["distance","popular","trending","updated"],"type":"string","default":"popular","title":"Sort"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Refresh"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SponsoredStoreDiscoveryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/following-stores":{"get":{"tags":["mobile-discovery"],"summary":"List My Following Stores","operationId":"list_my_following_stores_api_v1_mobile_me_following_stores_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FollowingStoreItem"},"title":"Response List My Following Stores Api V1 Mobile Me Following Stores Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/accounting/sales-summary":{"get":{"tags":["store-admin-accounting"],"summary":"Sales Summary","operationId":"sales_summary_v1_store_admin_accounting_sales_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}},{"name":"payment_method","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Payment Method"}},{"name":"fulfillment_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Fulfillment Type"}},{"name":"tax_rate","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Tax Rate"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DailySalesSummaryResponse"},"title":"Response Sales Summary V1 Store Admin Accounting Sales Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/accounting/monthly-summary":{"get":{"tags":["store-admin-accounting"],"summary":"Monthly Summary","operationId":"monthly_summary_v1_store_admin_accounting_monthly_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},{"name":"month_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}$"},{"type":"null"}],"title":"Month From"}},{"name":"month_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}$"},{"type":"null"}],"title":"Month To"}},{"name":"payment_method","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Payment Method"}},{"name":"fulfillment_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Fulfillment Type"}},{"name":"tax_rate","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Tax Rate"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MonthlySalesSummaryResponse"},"title":"Response Monthly Summary V1 Store Admin Accounting Monthly Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/accounting/tax-summary":{"get":{"tags":["store-admin-accounting"],"summary":"Tax Summary","operationId":"tax_summary_v1_store_admin_accounting_tax_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},{"name":"period_start","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Period Start"}},{"name":"period_end","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Period End"}},{"name":"payment_method","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Payment Method"}},{"name":"fulfillment_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Fulfillment Type"}},{"name":"tax_rate","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Tax Rate"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountingTaxSummaryResponse"},"title":"Response Tax Summary V1 Store Admin Accounting Tax Summary Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/accounting/pos-sales-report":{"get":{"tags":["store-admin-accounting"],"summary":"Pos Sales Report","operationId":"pos_sales_report_v1_store_admin_accounting_pos_sales_report_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PosSalesReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/accounting/export-csv":{"post":{"tags":["store-admin-accounting"],"summary":"Export Csv","operationId":"export_csv_v1_store_admin_accounting_export_csv_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingCsvExportRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/accounting/adapter-preview-csv":{"post":{"tags":["store-admin-accounting"],"summary":"Adapter Preview Csv","operationId":"adapter_preview_csv_v1_store_admin_accounting_adapter_preview_csv_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingAdapterPreviewRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/store-admin/accounting/export-batches":{"get":{"tags":["store-admin-accounting"],"summary":"List Export Batches","operationId":"list_export_batches_v1_store_admin_accounting_export_batches_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountingExportBatchResponse"},"title":"Response List Export Batches V1 Store Admin Accounting Export Batches Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/accounting/export-batches/{batch_id}":{"get":{"tags":["store-admin-accounting"],"summary":"Get Export Batch","operationId":"get_export_batch_v1_store_admin_accounting_export_batches__batch_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingExportBatchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/accounting/export-batches/{batch_id}/download":{"get":{"tags":["store-admin-accounting"],"summary":"Download Export Batch","operationId":"download_export_batch_v1_store_admin_accounting_export_batches__batch_id__download_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Batch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/sales/credit-fees":{"get":{"tags":["store-admin-sales"],"summary":"Get Credit Fees","operationId":"get_credit_fees_v1_store_admin_sales_credit_fees_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},{"name":"period_start","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Period Start"}},{"name":"period_end","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Period End"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreCreditFeesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/store-admin/sales/orders":{"get":{"tags":["store-admin-sales"],"summary":"Get Sales Orders","operationId":"get_sales_orders_v1_store_admin_sales_orders_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"POS端末IDで絞り込み。'none'で端末未指定のみ","title":"Device Id"},"description":"POS端末IDで絞り込み。'none'で端末未指定のみ"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreSalesOrdersResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/audit-logs":{"get":{"tags":["admin-audit-logs"],"summary":"List Audit Logs","operationId":"list_audit_logs_v1_admin_audit_logs_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"paged","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Paged"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Q"}},{"name":"action","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Action"}},{"name":"actor_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Actor Type"}},{"name":"actor_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Actor Id"}},{"name":"target_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Target Type"}},{"name":"target_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Target Id"}},{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},{"name":"from","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From"}},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AuditLogListResponse"},{"type":"array","items":{"$ref":"#/components/schemas/AuditLogResponse"}}],"title":"Response List Audit Logs V1 Admin Audit Logs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/external-pos/stores/{store_id}":{"get":{"tags":["admin-external-pos"],"summary":"Get External Pos Access","operationId":"get_external_pos_access_v1_admin_external_pos_stores__store_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExternalPosAccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/health":{"get":{"tags":["mobile-health"],"summary":"Get Mobile Health","operationId":"get_mobile_health_api_v1_mobile_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileHealthResponse"}}}}}}},"/api/v1/mobile/customer/context":{"get":{"tags":["mobile-customer"],"summary":"Get Mobile Customer Context","operationId":"get_mobile_customer_context_api_v1_mobile_customer_context_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileCustomerContextResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/me/profile":{"get":{"tags":["mobile-customer"],"summary":"Get Mobile Customer Profile","operationId":"get_mobile_customer_profile_api_v1_mobile_me_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileCustomerProfileResponse"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["mobile-customer"],"summary":"Post Mobile Customer Profile","operationId":"post_mobile_customer_profile_api_v1_mobile_me_profile_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileCustomerProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileCustomerProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]},"patch":{"tags":["mobile-customer"],"summary":"Update Mobile Customer Profile","operationId":"update_mobile_customer_profile_api_v1_mobile_me_profile_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileCustomerProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileCustomerProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/me/payment-history":{"get":{"tags":["mobile-customer-payments"],"summary":"Get My Payment History","operationId":"get_my_payment_history_api_v1_mobile_me_payment_history_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},{"name":"walletLinkId","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Walletlinkid"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobilePaymentHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/payment-history/{history_id}":{"get":{"tags":["mobile-customer-payments"],"summary":"Get My Payment History Detail","operationId":"get_my_payment_history_detail_api_v1_mobile_me_payment_history__history_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"history_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"History Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobilePaymentHistoryDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/visits":{"get":{"tags":["mobile-customer-payments"],"summary":"Get My Store Visits","operationId":"get_my_store_visits_api_v1_mobile_me_visits_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileStoreVisitsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/payment-history/{history_id}/refund-qr":{"post":{"tags":["mobile-customer-refunds"],"summary":"Issue Refund Qr","description":"返金QR(短時間有効・1回限りの claim)を発行する。","operationId":"issue_refund_qr_api_v1_mobile_me_payment_history__history_id__refund_qr_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"history_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"History Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundQrResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["mobile-customer-refunds"],"summary":"Get Refund Qr Status","description":"発行済み返金QRの状態(店舗が読み取ったら ``consumed`` になる)。","operationId":"get_refund_qr_status_api_v1_mobile_me_payment_history__history_id__refund_qr_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"history_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"History Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundQrStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/wallet-links/challenge":{"post":{"tags":["mobile-customer-wallet-links"],"summary":"Create Wallet Link Challenge","operationId":"create_wallet_link_challenge_api_v1_mobile_me_wallet_links_challenge_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileWalletLinkChallengeResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/me/wallet-links/verify":{"post":{"tags":["mobile-customer-wallet-links"],"summary":"Verify Wallet Link Signature","operationId":"verify_wallet_link_signature_api_v1_mobile_me_wallet_links_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileWalletLinkVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileWalletLinkItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/me/wallet-links":{"get":{"tags":["mobile-customer-wallet-links"],"summary":"Get My Wallet Links","operationId":"get_my_wallet_links_api_v1_mobile_me_wallet_links_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileWalletLinkListResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/me/wallet-links/resolve-current":{"post":{"tags":["mobile-customer-wallet-links"],"summary":"Resolve My Current Wallet Link","operationId":"resolve_my_current_wallet_link_api_v1_mobile_me_wallet_links_resolve_current_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileWalletLinkResolveRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileWalletLinkResolveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/me/wallet-links/sync-usage":{"post":{"tags":["mobile-customer-wallet-links"],"summary":"Sync My Wallet Usage","description":"Attribute fresh guest payments to the customer for wallets they already\nsignature-linked. No new signature, no tx_hash, no new claim vector — it only\nre-runs the Phase 2a backfill for the customer's own active links.","operationId":"sync_my_wallet_usage_api_v1_mobile_me_wallet_links_sync_usage_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/MobileWalletLinkSyncRequest"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileWalletLinkSyncResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/me/wallet-links/{link_id}/revoke":{"post":{"tags":["mobile-customer-wallet-links"],"summary":"Revoke My Wallet Link","operationId":"revoke_my_wallet_link_api_v1_mobile_me_wallet_links__link_id__revoke_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Link Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileWalletLinkSignedRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileWalletLinkItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/wallet-links/{link_id}/primary":{"post":{"tags":["mobile-customer-wallet-links"],"summary":"Set My Primary Wallet Link","operationId":"set_my_primary_wallet_link_api_v1_mobile_me_wallet_links__link_id__primary_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Link Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileWalletLinkSignedRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileWalletLinkItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/wallet-links/{link_id}":{"patch":{"tags":["mobile-customer-wallet-links"],"summary":"Rename My Wallet Link","operationId":"rename_my_wallet_link_api_v1_mobile_me_wallet_links__link_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Link Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileWalletLinkRenameRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileWalletLinkItem"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/shops":{"get":{"tags":["mobile-shops"],"summary":"List Mobile Shops","operationId":"list_mobile_shops_api_v1_mobile_shops_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"scope","in":"query","required":false,"schema":{"enum":["summary","detail"],"type":"string","default":"detail","title":"Scope"}},{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"title":"Lat"}},{"name":"lng","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"title":"Lng"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MobileShopResponse"},"title":"Response List Mobile Shops Api V1 Mobile Shops Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/shops/{shop_id}":{"get":{"tags":["mobile-shops"],"summary":"Get Mobile Shop","operationId":"get_mobile_shop_api_v1_mobile_shops__shop_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","title":"Shop Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileShopResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/shops/{shop_id}/notices":{"get":{"tags":["mobile-shops"],"summary":"List Mobile Shop Notices","operationId":"list_mobile_shop_notices_api_v1_mobile_shops__shop_id__notices_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","title":"Shop Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MobileShopNoticeResponse"},"title":"Response List Mobile Shop Notices Api V1 Mobile Shops  Shop Id  Notices Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{slug}/waiting":{"get":{"tags":["mobile-shops"],"summary":"Get Mobile Store Waiting","operationId":"get_mobile_store_waiting_api_v1_mobile_stores__slug__waiting_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Mobile Store Waiting Api V1 Mobile Stores  Slug  Waiting Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/map/entities":{"get":{"tags":["mobile-map"],"summary":"List Mobile Map Entities","operationId":"list_mobile_map_entities_api_v1_mobile_map_entities_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"category","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Category"}},{"name":"query","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}],"title":"Query"}},{"name":"filter","in":"query","required":false,"schema":{"anyOf":[{"enum":["open","busy","near"],"type":"string"},{"type":"null"}],"title":"Filter"}},{"name":"operation_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["fixed","mobile","event"],"type":"string"},{"type":"null"}],"title":"Operation Type"}},{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"title":"Lat"}},{"name":"lng","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"title":"Lng"}},{"name":"centerLat","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":90,"minimum":-90},{"type":"null"}],"title":"Centerlat"}},{"name":"centerLng","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":180,"minimum":-180},{"type":"null"}],"title":"Centerlng"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MobileMapEntityResponse"},"title":"Response List Mobile Map Entities Api V1 Mobile Map Entities Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/talk/threads":{"get":{"tags":["mobile-talk"],"summary":"List Mobile Talk Threads","operationId":"list_mobile_talk_threads_api_v1_mobile_talk_threads_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MobileTalkThreadResponse"},"type":"array","title":"Response List Mobile Talk Threads Api V1 Mobile Talk Threads Get"}}}}}}},"/api/v1/mobile/talk/{shop_id}/messages":{"get":{"tags":["mobile-talk"],"summary":"List Mobile Talk Messages","operationId":"list_mobile_talk_messages_api_v1_mobile_talk__shop_id__messages_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"shop_id","in":"path","required":true,"schema":{"type":"string","title":"Shop Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MobileMessageResponse"},"title":"Response List Mobile Talk Messages Api V1 Mobile Talk  Shop Id  Messages Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/taxi/companies":{"get":{"tags":["mobile-taxi"],"summary":"List Mobile Taxi Companies","operationId":"list_mobile_taxi_companies_api_v1_mobile_taxi_companies_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MobileTaxiCompanyResponse"},"type":"array","title":"Response List Mobile Taxi Companies Api V1 Mobile Taxi Companies Get"}}}}}}},"/api/v1/mobile/qr/verify":{"post":{"tags":["mobile-qr"],"summary":"Verify Mobile Qr","operationId":"verify_mobile_qr_api_v1_mobile_qr_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileQRVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileQRVerifyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/me/chat-threads":{"get":{"tags":["mobile-customer-chats"],"summary":"List My Chat Threads","operationId":"list_my_chat_threads_api_v1_mobile_me_chat_threads_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/StoreChatThreadResponse"},"type":"array","title":"Response List My Chat Threads Api V1 Mobile Me Chat Threads Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/stores/{store_id}/chat-thread":{"get":{"tags":["mobile-customer-chats"],"summary":"Get Store Chat Thread","operationId":"get_store_chat_thread_api_v1_mobile_stores__store_id__chat_thread_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","title":"Store Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreChatThreadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["mobile-customer-chats"],"summary":"Create Or Reuse Store Chat Thread","operationId":"create_or_reuse_store_chat_thread_api_v1_mobile_stores__store_id__chat_thread_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id","in":"path","required":true,"schema":{"type":"string","title":"Store Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreChatThreadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/chat-threads/{thread_id}/messages":{"get":{"tags":["mobile-customer-chats"],"summary":"Get Mobile Chat Messages","operationId":"get_mobile_chat_messages_api_v1_mobile_chat_threads__thread_id__messages_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreChatThreadDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["mobile-customer-chats"],"summary":"Send Mobile Chat Message","operationId":"send_mobile_chat_message_api_v1_mobile_chat_threads__thread_id__messages_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"thread_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Thread Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreChatMessageCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreChatThreadDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/support/operator-inquiries":{"get":{"tags":["mobile-customer-support"],"summary":"List My Operator Inquiries","operationId":"list_my_operator_inquiries_api_v1_mobile_support_operator_inquiries_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerMyInquiryListResponse"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["mobile-customer-support"],"summary":"Create Operator Inquiry","operationId":"create_operator_inquiry_api_v1_mobile_support_operator_inquiries_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_operator_inquiry_api_v1_mobile_support_operator_inquiries_post"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerSupportInquiryCreatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/support/operator-inquiries/unread-count":{"get":{"tags":["mobile-customer-support"],"summary":"Get My Operator Inquiries Unread Count","operationId":"get_my_operator_inquiries_unread_count_api_v1_mobile_support_operator_inquiries_unread_count_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerSupportUnreadCountResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/support/operator-inquiries/{inquiry_id}":{"get":{"tags":["mobile-customer-support"],"summary":"Get My Operator Inquiry","operationId":"get_my_operator_inquiry_api_v1_mobile_support_operator_inquiries__inquiry_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"inquiry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Inquiry Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerMyInquiryDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/support/operator-inquiries/{inquiry_id}/messages":{"post":{"tags":["mobile-customer-support"],"summary":"Add My Operator Inquiry Message","operationId":"add_my_operator_inquiry_message_api_v1_mobile_support_operator_inquiries__inquiry_id__messages_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"inquiry_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Inquiry Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerSupportMessageCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerMyInquiryDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/reservation-plan-images/{image_id}":{"get":{"tags":["mobile-reservations"],"summary":"Get Public Reservation Plan Cover Image","operationId":"get_public_reservation_plan_cover_image_api_v1_mobile_reservation_plan_images__image_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Image Id"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/reservation-settings":{"get":{"tags":["mobile-reservations"],"summary":"Get Mobile Reservation Settings","operationId":"get_mobile_reservation_settings_api_v1_mobile_stores__store_id_or_slug__reservation_settings_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileReservationSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/reservation-slots":{"get":{"tags":["mobile-reservations"],"summary":"Get Mobile Reservation Slots","operationId":"get_mobile_reservation_slots_api_v1_mobile_stores__store_id_or_slug__reservation_slots_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}},{"name":"date","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Date"}},{"name":"service_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Service Id"}},{"name":"staff_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Staff Id"}},{"name":"party_size","in":"query","required":false,"schema":{"type":"integer","maximum":999,"minimum":1,"default":1,"title":"Party Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReservationSlotResponse"},"title":"Response Get Mobile Reservation Slots Api V1 Mobile Stores  Store Id Or Slug  Reservation Slots Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/reservation-offerings":{"get":{"tags":["mobile-reservations"],"summary":"List Mobile Reservation Offerings","operationId":"list_mobile_reservation_offerings_api_v1_mobile_stores__store_id_or_slug__reservation_offerings_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MobileReservationOfferingResponse"},"title":"Response List Mobile Reservation Offerings Api V1 Mobile Stores  Store Id Or Slug  Reservation Offerings Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/reservation-offerings/{offering_id}/availability":{"get":{"tags":["mobile-reservations"],"summary":"Get Mobile Reservation Offering Availability","operationId":"get_mobile_reservation_offering_availability_api_v1_mobile_stores__store_id_or_slug__reservation_offerings__offering_id__availability_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}},{"name":"offering_id","in":"path","required":true,"schema":{"type":"string","title":"Offering Id"}},{"name":"date","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Date"}},{"name":"party_size","in":"query","required":false,"schema":{"type":"integer","maximum":999,"minimum":1,"default":1,"title":"Party Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileReservationOfferingAvailabilityResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/salon/services":{"get":{"tags":["mobile-reservations"],"summary":"Get Mobile Salon Services","operationId":"get_mobile_salon_services_api_v1_mobile_stores__store_id_or_slug__salon_services_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SalonServiceResponse"},"title":"Response Get Mobile Salon Services Api V1 Mobile Stores  Store Id Or Slug  Salon Services Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/salon/staff":{"get":{"tags":["mobile-reservations"],"summary":"Get Mobile Salon Staff","operationId":"get_mobile_salon_staff_api_v1_mobile_stores__store_id_or_slug__salon_staff_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}},{"name":"service_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Service Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SalonStaffResponse"},"title":"Response Get Mobile Salon Staff Api V1 Mobile Stores  Store Id Or Slug  Salon Staff Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/hotel/rooms":{"get":{"tags":["mobile-reservations"],"summary":"Get Mobile Hotel Rooms","operationId":"get_mobile_hotel_rooms_api_v1_mobile_stores__store_id_or_slug__hotel_rooms_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HotelRoomResponse"},"title":"Response Get Mobile Hotel Rooms Api V1 Mobile Stores  Store Id Or Slug  Hotel Rooms Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/reservations":{"post":{"tags":["mobile-reservations"],"summary":"Create Mobile Reservation","operationId":"create_mobile_reservation_api_v1_mobile_stores__store_id_or_slug__reservations_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileReservationCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileReservationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/reservations":{"get":{"tags":["mobile-reservations"],"summary":"List My Reservations","operationId":"list_my_reservations_api_v1_mobile_me_reservations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MobileReservationResponse"},"type":"array","title":"Response List My Reservations Api V1 Mobile Me Reservations Get"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/mobile/me/schedule":{"get":{"tags":["mobile-reservations"],"summary":"List My Schedule","description":"Project reservations and paid takeout orders into one customer schedule.\n\nReservation and Takeout remain separate source-of-truth tables.  Takeout\nrows are eligible only after validation_apply has both settled the payment\nand confirmed the checkout session.  CustomerOrderLink is the ownership\nboundary, so a URL or a locally saved order id cannot expose another\ncustomer's activity.","operationId":"list_my_schedule_api_v1_mobile_me_schedule_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"kind","in":"query","required":false,"schema":{"type":"string","pattern":"^(all|reservation|takeout)$","default":"all","title":"Kind"}},{"name":"past_limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":5,"title":"Past Limit"}},{"name":"past_offset","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":0,"default":0,"title":"Past Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileScheduleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/reservations/{reservation_id}":{"get":{"tags":["mobile-reservations"],"summary":"Get My Reservation","operationId":"get_my_reservation_api_v1_mobile_me_reservations__reservation_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileReservationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/reservations/{reservation_id}/cancel":{"post":{"tags":["mobile-reservations"],"summary":"Cancel My Reservation","operationId":"cancel_my_reservation_api_v1_mobile_me_reservations__reservation_id__cancel_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"reservation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reservation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileReservationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/review-eligibility":{"get":{"tags":["mobile-reviews"],"summary":"Get Review Eligibility","operationId":"get_review_eligibility_api_v1_mobile_stores__store_id_or_slug__review_eligibility_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewEligibilityResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/reviews":{"get":{"tags":["mobile-reviews"],"summary":"List Store Reviews","operationId":"list_store_reviews_api_v1_mobile_stores__store_id_or_slug__reviews_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["mobile-reviews"],"summary":"Create Store Review","operationId":"create_store_review_api_v1_mobile_stores__store_id_or_slug__reviews_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/reviews/{review_id}":{"patch":{"tags":["mobile-reviews"],"summary":"Update My Review","operationId":"update_my_review_api_v1_mobile_me_reviews__review_id__patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Review Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["mobile-reviews"],"summary":"Soft Delete My Review","operationId":"soft_delete_my_review_api_v1_mobile_me_reviews__review_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Review Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/payment-history/{history_id}/review-eligibility":{"get":{"tags":["mobile-reviews"],"summary":"Get Payment History Review Eligibility","operationId":"get_payment_history_review_eligibility_api_v1_mobile_me_payment_history__history_id__review_eligibility_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"history_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"History Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewEligibilityResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/payment-history/{history_id}/review":{"post":{"tags":["mobile-reviews"],"summary":"Create Payment History Review","operationId":"create_payment_history_review_api_v1_mobile_me_payment_history__history_id__review_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"history_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"History Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/videos":{"get":{"tags":["mobile-store-official-content"],"summary":"List Mobile Store Videos","operationId":"list_mobile_store_videos_api_v1_mobile_stores__store_id_or_slug__videos_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/app__modules__store_official_content__schemas__PublicStoreVideoResponse"},"title":"Response List Mobile Store Videos Api V1 Mobile Stores  Store Id Or Slug  Videos Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/official-content":{"get":{"tags":["mobile-store-official-content"],"summary":"List Mobile Store Official Content","operationId":"list_mobile_store_official_content_api_v1_mobile_stores__store_id_or_slug__official_content_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":8,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileOfficialContentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/stories":{"get":{"tags":["mobile-store-official-content"],"summary":"List Mobile Store Stories","operationId":"list_mobile_store_stories_api_v1_mobile_stores__store_id_or_slug__stories_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileStoreStoriesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/stories/{story_id}/view":{"post":{"tags":["mobile-store-official-content"],"summary":"View Mobile Store Story","operationId":"view_mobile_store_story_api_v1_mobile_stores__store_id_or_slug__stories__story_id__view_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}},{"name":"story_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Story Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreStoryViewResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/articles":{"get":{"tags":["mobile-store-official-content"],"summary":"List Mobile Store Articles","operationId":"list_mobile_store_articles_api_v1_mobile_stores__store_id_or_slug__articles_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PublicStoreArticleResponse"},"title":"Response List Mobile Store Articles Api V1 Mobile Stores  Store Id Or Slug  Articles Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/articles/{article_id}":{"get":{"tags":["mobile-store-official-content"],"summary":"Get Mobile Store Article","operationId":"get_mobile_store_article_api_v1_mobile_stores__store_id_or_slug__articles__article_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Article Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicStoreArticleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/events/{event_id}":{"get":{"tags":["mobile-store-official-content"],"summary":"Get Mobile Store Event","operationId":"get_mobile_store_event_api_v1_mobile_stores__store_id_or_slug__events__event_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}},{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileStoreEventDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/coupons":{"get":{"tags":["mobile-store-official-content"],"summary":"List Mobile Store Coupons","operationId":"list_mobile_store_coupons_api_v1_mobile_stores__store_id_or_slug__coupons_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PublicStoreCouponResponse"},"title":"Response List Mobile Store Coupons Api V1 Mobile Stores  Store Id Or Slug  Coupons Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/public-stats":{"get":{"tags":["mobile-store-official-content"],"summary":"Get Mobile Store Public Stats","operationId":"get_mobile_store_public_stats_api_v1_mobile_stores__store_id_or_slug__public_stats_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicStoreStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/viewer-context":{"get":{"tags":["mobile-store-official-content"],"summary":"Get Mobile Store Viewer Context","operationId":"get_mobile_store_viewer_context_api_v1_mobile_stores__store_id_or_slug__viewer_context_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileStoreViewerContextResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/follow":{"get":{"tags":["mobile-store-official-content"],"summary":"Get Mobile Store Follow State","operationId":"get_mobile_store_follow_state_api_v1_mobile_stores__store_id_or_slug__follow_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreFollowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["mobile-store-official-content"],"summary":"Follow Mobile Store","operationId":"follow_mobile_store_api_v1_mobile_stores__store_id_or_slug__follow_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/StoreFollowRequest"},{"type":"null"}],"title":" Request"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreFollowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["mobile-store-official-content"],"summary":"Unfollow Mobile Store","operationId":"unfollow_mobile_store_api_v1_mobile_stores__store_id_or_slug__follow_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreFollowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/stores/{store_id_or_slug}/follow/settings":{"patch":{"tags":["mobile-store-official-content"],"summary":"Update Mobile Store Follow Settings","operationId":"update_mobile_store_follow_settings_api_v1_mobile_stores__store_id_or_slug__follow_settings_patch","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreFollowSettingsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreFollowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/videos/feed":{"get":{"tags":["mobile-store-video-feed"],"summary":"List Mobile Store Video Feed","operationId":"list_mobile_store_video_feed_api_v1_mobile_videos_feed_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"ranking","in":"query","required":false,"schema":{"enum":["recent_random","trending","trending_24h","trending_7d","new","recommended"],"type":"string","default":"recent_random","title":"Ranking"}},{"name":"client_request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Client Request Id"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Refresh"}},{"name":"supports_sponsored","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Supports Sponsored"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MobileVideoFeedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/videos/{video_id}/events":{"post":{"tags":["mobile-store-video-feed"],"summary":"Ingest Mobile Store Video Event","operationId":"ingest_mobile_store_video_event_api_v1_mobile_videos__video_id__events_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoEventCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreVideoEventIngestResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/videos/{video_id}/like":{"post":{"tags":["mobile-store-video-feed"],"summary":"Like Mobile Video","operationId":"like_mobile_video_api_v1_mobile_videos__video_id__like_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoLikeStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["mobile-store-video-feed"],"summary":"Unlike Mobile Video","operationId":"unlike_mobile_video_api_v1_mobile_videos__video_id__like_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoLikeStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["mobile-store-video-feed"],"summary":"Get Mobile Video Like State","operationId":"get_mobile_video_like_state_api_v1_mobile_videos__video_id__like_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoLikeStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/videos/{video_id}/save":{"post":{"tags":["mobile-store-video-feed"],"summary":"Save Mobile Video","operationId":"save_mobile_video_api_v1_mobile_videos__video_id__save_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoSaveStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["mobile-store-video-feed"],"summary":"Unsave Mobile Video","operationId":"unsave_mobile_video_api_v1_mobile_videos__video_id__save_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoSaveStateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/videos/{video_id}/history":{"post":{"tags":["mobile-store-video-feed"],"summary":"Record Mobile Video History","operationId":"record_mobile_video_history_api_v1_mobile_videos__video_id__history_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoHistoryEventResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/following-store-stories":{"get":{"tags":["mobile-store-stories"],"summary":"List Mobile Following Store Stories","operationId":"list_mobile_following_store_stories_api_v1_mobile_me_following_store_stories_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FollowingStoreStoryItem"},"title":"Response List Mobile Following Store Stories Api V1 Mobile Me Following Store Stories Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/videos/liked":{"get":{"tags":["mobile-video-library"],"summary":"List Mobile Liked Videos","operationId":"list_mobile_liked_videos_api_v1_mobile_me_videos_liked_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeLikedVideosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/videos/saved":{"get":{"tags":["mobile-video-library"],"summary":"List Mobile Saved Videos","operationId":"list_mobile_saved_videos_api_v1_mobile_me_videos_saved_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeSavedVideosResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/me/videos/history":{"get":{"tags":["mobile-video-library"],"summary":"List Mobile Video History","operationId":"list_mobile_video_history_api_v1_mobile_me_videos_history_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeVideoHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/shops/{store_id_or_slug}/takeout/availability":{"get":{"tags":["mobile-takeout"],"summary":"Get Takeout Availability","operationId":"get_takeout_availability_api_v1_mobile_shops__store_id_or_slug__takeout_availability_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutAvailabilityResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/shops/{store_id_or_slug}/takeout/sessions":{"post":{"tags":["mobile-takeout"],"summary":"Start Takeout Session","operationId":"start_takeout_session_api_v1_mobile_shops__store_id_or_slug__takeout_sessions_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/takeout/sessions/{session_id}":{"get":{"tags":["mobile-takeout"],"summary":"Get Takeout Session","operationId":"get_takeout_session_api_v1_mobile_takeout_sessions__session_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/shops/{store_id_or_slug}/takeout/active-session":{"get":{"tags":["mobile-takeout"],"summary":"Get Active Takeout Session","operationId":"get_active_takeout_session_api_v1_mobile_shops__store_id_or_slug__takeout_active_session_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"store_id_or_slug","in":"path","required":true,"schema":{"type":"string","title":"Store Id Or Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/TakeoutSessionResponse"},{"type":"null"}],"title":"Response Get Active Takeout Session Api V1 Mobile Shops  Store Id Or Slug  Takeout Active Session Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/takeout/sessions/{session_id}/pickup-options":{"get":{"tags":["mobile-takeout"],"summary":"Get Pickup Options","operationId":"get_pickup_options_api_v1_mobile_takeout_sessions__session_id__pickup_options_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PickupOptionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/takeout/sessions/{session_id}/conditions":{"put":{"tags":["mobile-takeout"],"summary":"Update Takeout Conditions","operationId":"update_takeout_conditions_api_v1_mobile_takeout_sessions__session_id__conditions_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutConditionsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/takeout/sessions/{session_id}/menu":{"get":{"tags":["mobile-takeout"],"summary":"Get Takeout Menu","operationId":"get_takeout_menu_api_v1_mobile_takeout_sessions__session_id__menu_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TakeoutMenuItemResponse"},"title":"Response Get Takeout Menu Api V1 Mobile Takeout Sessions  Session Id  Menu Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/takeout/sessions/{session_id}/cart":{"put":{"tags":["mobile-takeout"],"summary":"Update Takeout Cart","operationId":"update_takeout_cart_api_v1_mobile_takeout_sessions__session_id__cart_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutCartUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/takeout/sessions/{session_id}/quote":{"post":{"tags":["mobile-takeout"],"summary":"Quote Takeout Cart","operationId":"quote_takeout_cart_api_v1_mobile_takeout_sessions__session_id__quote_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutQuoteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/takeout/sessions/{session_id}/checkout":{"post":{"tags":["mobile-takeout"],"summary":"Checkout Takeout","operationId":"checkout_takeout_api_v1_mobile_takeout_sessions__session_id__checkout_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutCheckoutRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutCheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/mobile/takeout/sessions/{session_id}/abandon":{"post":{"tags":["mobile-takeout"],"summary":"Abandon Takeout Session","operationId":"abandon_takeout_session_api_v1_mobile_takeout_sessions__session_id__abandon_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakeoutSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AccountingAdapterPreviewRequest":{"properties":{"store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"},"period_start":{"type":"string","format":"date","title":"Period Start"},"period_end":{"type":"string","format":"date","title":"Period End"},"encoding":{"type":"string","enum":["utf8","shift_jis"],"title":"Encoding","default":"utf8"},"adapter":{"type":"string","enum":["yayoi_journal","freee_transaction","money_forward_journal"],"title":"Adapter"},"profile":{"$ref":"#/components/schemas/AccountingAdapterProfileSettings"}},"type":"object","required":["period_start","period_end","adapter"],"title":"AccountingAdapterPreviewRequest"},"AccountingAdapterProfileSettings":{"properties":{"cash_account_name":{"type":"string","title":"Cash Account Name","default":"現金"},"jpyc_clearing_account_name":{"type":"string","title":"Jpyc Clearing Account Name","default":"JPYC仮受金"},"sales_account_name":{"type":"string","title":"Sales Account Name","default":"売上高"},"sales_return_account_name":{"type":"string","title":"Sales Return Account Name","default":"売上返品"},"tax_10_sales_category":{"type":"string","title":"Tax 10 Sales Category","default":"課税売上10%"},"tax_8_sales_category":{"type":"string","title":"Tax 8 Sales Category","default":"課税売上8%"},"tax_10_refund_category":{"type":"string","title":"Tax 10 Refund Category","default":"課税売上返還10%"},"tax_8_refund_category":{"type":"string","title":"Tax 8 Refund Category","default":"課税売上返還8%"},"partner_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Partner Name"},"department_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Department Name"},"memo_template":{"type":"string","title":"Memo Template","default":"{entry_type} order={order_id} refund={refund_record_id}"}},"type":"object","title":"AccountingAdapterProfileSettings"},"AccountingCsvExportRequest":{"properties":{"store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"},"period_start":{"type":"string","format":"date","title":"Period Start"},"period_end":{"type":"string","format":"date","title":"Period End"},"encoding":{"type":"string","enum":["utf8","shift_jis"],"title":"Encoding","default":"utf8"},"export_type":{"type":"string","enum":["sales","refunds","tax_summary"],"title":"Export Type","default":"sales"}},"type":"object","required":["period_start","period_end"],"title":"AccountingCsvExportRequest"},"AccountingExportBatchResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"provider":{"type":"string","title":"Provider"},"export_format":{"type":"string","title":"Export Format"},"adapter":{"type":"string","title":"Adapter"},"period_start":{"type":"string","format":"date","title":"Period Start"},"period_end":{"type":"string","format":"date","title":"Period End"},"encoding":{"type":"string","title":"Encoding"},"filename":{"type":"string","title":"Filename"},"csv_sha256":{"type":"string","title":"Csv Sha256"},"csv_size_bytes":{"type":"integer","title":"Csv Size Bytes"},"source_row_count":{"type":"integer","title":"Source Row Count"},"export_row_count":{"type":"integer","title":"Export Row Count"},"source_total_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Source Total Amount Jpy"},"export_total_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Export Total Amount Jpy"},"reconciliation_status":{"type":"string","title":"Reconciliation Status"},"profile_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Profile Json"},"metadata_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata Json"},"generated_by_actor_type":{"type":"string","title":"Generated By Actor Type"},"generated_by_actor_id":{"type":"string","format":"uuid","title":"Generated By Actor Id"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"rows":{"items":{"$ref":"#/components/schemas/AccountingExportBatchRowResponse"},"type":"array","title":"Rows"}},"type":"object","required":["id","store_id","provider","export_format","adapter","period_start","period_end","encoding","filename","csv_sha256","csv_size_bytes","source_row_count","export_row_count","source_total_amount_jpy","export_total_amount_jpy","reconciliation_status","profile_json","metadata_json","generated_by_actor_type","generated_by_actor_id","generated_at"],"title":"AccountingExportBatchResponse"},"AccountingExportBatchRowResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"batch_id":{"type":"string","format":"uuid","title":"Batch Id"},"accounting_entry_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Accounting Entry Id"},"order_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Order Id"},"refund_record_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Refund Record Id"},"source_total_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Source Total Amount Jpy"},"export_row_number":{"type":"integer","title":"Export Row Number"},"export_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Export Amount Jpy"},"export_debit_account":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Export Debit Account"},"export_credit_account":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Export Credit Account"},"validation_status":{"type":"string","title":"Validation Status"},"warnings_json":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Warnings Json"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","batch_id","accounting_entry_id","order_id","refund_record_id","source_total_amount_jpy","export_row_number","export_amount_jpy","export_debit_account","export_credit_account","validation_status","warnings_json","created_at"],"title":"AccountingExportBatchRowResponse"},"AccountingTaxSummaryResponse":{"properties":{"entry_type":{"type":"string","title":"Entry Type"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"entry_count":{"type":"integer","title":"Entry Count"},"order_count":{"type":"integer","title":"Order Count"},"refund_count":{"type":"integer","title":"Refund Count"},"taxable_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Taxable Amount Jpy"},"tax_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Amount Jpy"},"total_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Amount Jpy"}},"type":"object","required":["entry_type","tax_rate","entry_count","order_count","refund_count","taxable_amount_jpy","tax_amount_jpy","total_amount_jpy"],"title":"AccountingTaxSummaryResponse"},"AddressCandidate":{"properties":{"prefecture_code":{"type":"string","title":"Prefecture Code"},"prefecture":{"type":"string","title":"Prefecture"},"city_code":{"type":"string","title":"City Code"},"city":{"type":"string","title":"City"},"ward":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ward"},"area_label":{"type":"string","title":"Area Label"},"address_line1":{"type":"string","title":"Address Line1"}},"type":"object","required":["prefecture_code","prefecture","city_code","city","area_label","address_line1"],"title":"AddressCandidate"},"AddressPayload":{"properties":{"recipient_name":{"type":"string","maxLength":120,"minLength":1,"title":"Recipient Name"},"postal_code":{"type":"string","pattern":"^[0-9]{3}-?[0-9]{4}$","title":"Postal Code"},"prefecture_code":{"type":"string","pattern":"^[0-9]{2}$","title":"Prefecture Code"},"prefecture":{"type":"string","maxLength":80,"minLength":1,"title":"Prefecture"},"city_code":{"anyOf":[{"type":"string","pattern":"^[0-9]{5}$"},{"type":"null"}],"title":"City Code"},"city":{"type":"string","maxLength":120,"minLength":1,"title":"City"},"ward":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Ward"},"line1":{"type":"string","maxLength":255,"minLength":1,"title":"Line1"},"line2":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Line2"},"phone":{"type":"string","maxLength":40,"minLength":8,"title":"Phone"}},"type":"object","required":["recipient_name","postal_code","prefecture_code","prefecture","city","line1","phone"],"title":"AddressPayload"},"AddressReferencePointItem":{"properties":{"prefecture_code":{"type":"string","title":"Prefecture Code"},"prefecture":{"type":"string","title":"Prefecture"},"city_code":{"type":"string","title":"City Code"},"city":{"type":"string","title":"City"},"area_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Code"},"area_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Label"},"latitude":{"type":"number","title":"Latitude"},"longitude":{"type":"number","title":"Longitude"},"match_level":{"type":"string","title":"Match Level"}},"type":"object","required":["prefecture_code","prefecture","city_code","city","latitude","longitude","match_level"],"title":"AddressReferencePointItem"},"AddressReferencePointResponse":{"properties":{"point":{"anyOf":[{"$ref":"#/components/schemas/AddressReferencePointItem"},{"type":"null"}]}},"type":"object","required":["point"],"title":"AddressReferencePointResponse"},"AddressVersionRequest":{"properties":{"version":{"type":"integer","minimum":1.0,"title":"Version"}},"type":"object","required":["version"],"title":"AddressVersionRequest"},"AdjustSessionRequest":{"properties":{"people_count":{"anyOf":[{"type":"integer","maximum":100.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"People Count"},"people_breakdown":{"items":{"$ref":"#/components/schemas/PeopleBreakdownInput"},"type":"array","maxItems":20,"title":"People Breakdown"},"adjustment_amount_jpy":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Adjustment Amount Jpy"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"},"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["idempotency_key","reason"],"title":"AdjustSessionRequest"},"AdminCompletionRequest":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":3,"title":"Reason"}},"type":"object","required":["reason"],"title":"AdminCompletionRequest"},"AdminCustomerAccountStateUpdateRequest":{"properties":{"status":{"type":"string","enum":["active","restricted","suspended","banned"],"title":"Status"},"restricted_features":{"items":{"type":"string","enum":["store_chat","reviews","orders","payments","support_posting"]},"type":"array","title":"Restricted Features"},"disable_firebase":{"type":"boolean","title":"Disable Firebase","default":false},"confirm_shared_identity_impact":{"type":"boolean","title":"Confirm Shared Identity Impact","default":false},"account_reason_code":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Account Reason Code"},"account_status_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Account Status Expires At"},"account_customer_message":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Account Customer Message"},"account_internal_note":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Account Internal Note"}},"type":"object","required":["status"],"title":"AdminCustomerAccountStateUpdateRequest"},"AdminCustomerAccountStateUpdateResponse":{"properties":{"customer":{"$ref":"#/components/schemas/AdminCustomerDetailResponse"},"firebase_result":{"$ref":"#/components/schemas/CustomerFirebaseOperationResult"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings"}},"type":"object","required":["customer","firebase_result","warnings"],"title":"AdminCustomerAccountStateUpdateResponse"},"AdminCustomerDetailResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"primary_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Primary Email"},"status":{"type":"string","enum":["active","restricted","suspended","banned","deleted","disabled"],"title":"Status"},"restricted_features":{"items":{"type":"string","enum":["store_chat","reviews","orders","payments","support_posting"]},"type":"array","title":"Restricted Features"},"account_status_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Account Status Expires At"},"firebase_uid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firebase Uid"},"active_session_count":{"type":"integer","title":"Active Session Count"},"projection_warning":{"$ref":"#/components/schemas/CustomerProjectionWarningResponse"},"has_test_access":{"type":"boolean","title":"Has Test Access","default":false},"test_access":{"$ref":"#/components/schemas/CustomerTestAccessResponse"},"test_access_history":{"items":{"$ref":"#/components/schemas/CustomerTestAccessResponse"},"type":"array","title":"Test Access History"},"account_reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Reason Code"},"account_customer_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Customer Message"},"account_internal_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Account Internal Note"},"account_status_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Account Status Updated At"},"account_status_updated_by_admin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Account Status Updated By Admin Id"},"firebase_state":{"$ref":"#/components/schemas/CustomerFirebaseStateResponse"},"firebase_tokens_revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Firebase Tokens Revoked At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","display_name","primary_email","status","restricted_features","account_status_expires_at","firebase_uid","active_session_count","projection_warning","account_reason_code","account_customer_message","account_internal_note","account_status_updated_at","account_status_updated_by_admin_id","firebase_state","firebase_tokens_revoked_at","created_at","updated_at"],"title":"AdminCustomerDetailResponse"},"AdminCustomerFirebaseReconcileResponse":{"properties":{"customer":{"$ref":"#/components/schemas/AdminCustomerDetailResponse"},"firebase_result":{"$ref":"#/components/schemas/CustomerFirebaseOperationResult"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings"}},"type":"object","required":["customer","firebase_result","warnings"],"title":"AdminCustomerFirebaseReconcileResponse"},"AdminCustomerListItemResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"primary_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Primary Email"},"status":{"type":"string","enum":["active","restricted","suspended","banned","deleted","disabled"],"title":"Status"},"restricted_features":{"items":{"type":"string","enum":["store_chat","reviews","orders","payments","support_posting"]},"type":"array","title":"Restricted Features"},"account_status_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Account Status Expires At"},"firebase_uid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firebase Uid"},"active_session_count":{"type":"integer","title":"Active Session Count"},"projection_warning":{"$ref":"#/components/schemas/CustomerProjectionWarningResponse"},"has_test_access":{"type":"boolean","title":"Has Test Access","default":false}},"type":"object","required":["id","display_name","primary_email","status","restricted_features","account_status_expires_at","firebase_uid","active_session_count","projection_warning"],"title":"AdminCustomerListItemResponse"},"AdminCustomerListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AdminCustomerListItemResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"AdminCustomerListResponse"},"AdminCustomerSessionsRevokeResponse":{"properties":{"customer_id":{"type":"string","format":"uuid","title":"Customer Id"},"revoked_session_count":{"type":"integer","title":"Revoked Session Count"}},"type":"object","required":["customer_id","revoked_session_count"],"title":"AdminCustomerSessionsRevokeResponse"},"AdminCustomerTestAccessGrantRequest":{"properties":{"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"}},"type":"object","title":"AdminCustomerTestAccessGrantRequest"},"AdminCustomerTestAccessRevokeRequest":{"properties":{"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"}},"type":"object","title":"AdminCustomerTestAccessRevokeRequest"},"AdminCustomerTestAccessUpdateResponse":{"properties":{"customer":{"$ref":"#/components/schemas/AdminCustomerDetailResponse"}},"type":"object","required":["customer"],"title":"AdminCustomerTestAccessUpdateResponse"},"AdminDelegationCodeRequest":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"}},"type":"object","required":["store_id"],"title":"AdminDelegationCodeRequest"},"AdminDelegationCodeResponse":{"properties":{"code":{"type":"string","title":"Code"}},"type":"object","required":["code"],"title":"AdminDelegationCodeResponse"},"AdminGoogleLoginRequest":{"properties":{"id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Id Token"}},"type":"object","required":["id_token"],"title":"AdminGoogleLoginRequest"},"AdminIdentityStateResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"type":"string","title":"Status"},"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["id","status","is_active"],"title":"AdminIdentityStateResponse"},"AdminLoginRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","minLength":1,"title":"Password"}},"type":"object","required":["email","password"],"title":"AdminLoginRequest"},"AdminMeResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"email":{"type":"string","format":"email","title":"Email"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"role":{"type":"string","title":"Role"},"status":{"type":"string","title":"Status"},"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["id","email","display_name","role","status","is_active"],"title":"AdminMeResponse"},"AdminProfileUpdateRequest":{"properties":{"status":{"anyOf":[{"type":"string","enum":["active","restricted","suspended"]},{"type":"null"}],"title":"Status"},"approved_unsecured_credit_limit_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,16}|(?=[\\d.]{1,19}0*$)\\d{0,16}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Approved Unsecured Credit Limit Jpy"},"review_due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Review Due At"},"internal_note":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Internal Note"}},"type":"object","title":"AdminProfileUpdateRequest"},"AdvertisingBalanceResponse":{"properties":{"available":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Available"},"reserved":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Reserved"},"spent":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Spent"}},"type":"object","required":["available","reserved","spent"],"title":"AdvertisingBalanceResponse"},"AdvertisingCampaignActionRequest":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Reason"}},"type":"object","title":"AdvertisingCampaignActionRequest"},"AdvertisingCampaignCreate":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"target_type":{"type":"string","enum":["video","store"],"title":"Target Type"},"placement":{"type":"string","enum":["video_pickup","store_recommendation","store_search"],"title":"Placement"},"video_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Video Id"},"promoted_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Promoted Store Id"},"total_budget_credits":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$"}],"title":"Total Budget Credits"},"daily_cap_credits":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$"}],"title":"Daily Cap Credits"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"}},"type":"object","required":["name","target_type","placement","total_budget_credits","daily_cap_credits","starts_at","ends_at"],"title":"AdvertisingCampaignCreate"},"AdvertisingCampaignListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AdvertisingCampaignResponse"},"type":"array","title":"Items"},"balance":{"$ref":"#/components/schemas/AdvertisingBalanceResponse"},"products":{"items":{"$ref":"#/components/schemas/AdvertisingProductResponse"},"type":"array","title":"Products"},"recent_ledger_events":{"items":{"$ref":"#/components/schemas/AdvertisingLedgerEventResponse"},"type":"array","title":"Recent Ledger Events"},"shadow_delivery_enabled":{"type":"boolean","title":"Shadow Delivery Enabled"},"billing_enabled":{"type":"boolean","title":"Billing Enabled"},"pricing":{"anyOf":[{"$ref":"#/components/schemas/AdvertisingPricingResponse"},{"type":"null"}]},"qualified_rule":{"anyOf":[{"$ref":"#/components/schemas/AdvertisingQualifiedRuleResponse"},{"type":"null"}]}},"type":"object","required":["items","balance","shadow_delivery_enabled","billing_enabled"],"title":"AdvertisingCampaignListResponse"},"AdvertisingCampaignResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"target_type":{"type":"string","title":"Target Type"},"placement":{"type":"string","title":"Placement"},"status":{"type":"string","title":"Status"},"moderation_status":{"type":"string","title":"Moderation Status"},"pause_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pause Reason"},"total_budget_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Budget Credits"},"daily_cap_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Daily Cap Credits"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"creative_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Creative Id"},"creative_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Creative Status"},"video_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Video Id"},"promoted_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Promoted Store Id"},"selected_count":{"type":"integer","title":"Selected Count","default":0},"impression_count":{"type":"integer","title":"Impression Count","default":0},"qualified_count":{"type":"integer","title":"Qualified Count","default":0},"invalid_count":{"type":"integer","title":"Invalid Count","default":0},"spent_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Spent Credits","default":"0"},"reserved_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Reserved Credits","default":"0"},"budget_hold_status":{"type":"string","enum":["none","held","released"],"title":"Budget Hold Status","default":"none"},"remaining_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Remaining Credits","default":"0"}},"type":"object","required":["id","name","target_type","placement","status","moderation_status","pause_reason","total_budget_credits","daily_cap_credits","starts_at","ends_at"],"title":"AdvertisingCampaignResponse"},"AdvertisingCampaignUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Name"},"total_budget_credits":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$"},{"type":"null"}],"title":"Total Budget Credits"},"daily_cap_credits":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$"},{"type":"null"}],"title":"Daily Cap Credits"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"}},"type":"object","title":"AdvertisingCampaignUpdate"},"AdvertisingDiagnosticsResponse":{"properties":{"selected":{"type":"integer","title":"Selected"},"impression":{"type":"integer","title":"Impression"},"qualified":{"type":"integer","title":"Qualified"},"duplicate":{"type":"integer","title":"Duplicate"},"invalid":{"type":"integer","title":"Invalid"},"estimated_billable":{"type":"integer","title":"Estimated Billable"},"finalized_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Finalized Credits"},"reserve_finalize_mismatch":{"type":"integer","title":"Reserve Finalize Mismatch"},"budget_overspend_count":{"type":"integer","title":"Budget Overspend Count"},"by_os":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Os"},"by_app_version":{"additionalProperties":{"type":"integer"},"type":"object","title":"By App Version"},"by_slot":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Slot"},"background_resume_count":{"type":"integer","title":"Background Resume Count"},"refresh_count":{"type":"integer","title":"Refresh Count"}},"type":"object","required":["selected","impression","qualified","duplicate","invalid","estimated_billable","finalized_credits","reserve_finalize_mismatch","budget_overspend_count","by_os","by_app_version","by_slot","background_resume_count","refresh_count"],"title":"AdvertisingDiagnosticsResponse"},"AdvertisingLedgerEventResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"event_type":{"type":"string","title":"Event Type"},"available_delta":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Available Delta"},"reserved_delta":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Reserved Delta"},"spent_delta":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Spent Delta"},"source_type":{"type":"string","title":"Source Type"},"reason":{"type":"string","title":"Reason"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"}},"type":"object","required":["id","event_type","available_delta","reserved_delta","spent_delta","source_type","reason","occurred_at"],"title":"AdvertisingLedgerEventResponse"},"AdvertisingManualAdjustmentRequest":{"properties":{"account_id":{"type":"string","format":"uuid","title":"Account Id"},"amount_credits":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$"}],"title":"Amount Credits"},"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason"},"idempotency_key":{"type":"string","maxLength":120,"minLength":8,"title":"Idempotency Key"}},"type":"object","required":["account_id","amount_credits","reason","idempotency_key"],"title":"AdvertisingManualAdjustmentRequest"},"AdvertisingMeasurementBatchRequest":{"properties":{"session_id":{"type":"string","maxLength":160,"minLength":8,"title":"Session Id"},"os":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Os"},"app_version":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"App Version"},"events":{"items":{"$ref":"#/components/schemas/AdvertisingMeasurementEventInput"},"type":"array","maxItems":50,"minItems":1,"title":"Events"}},"additionalProperties":false,"type":"object","required":["session_id","events"],"title":"AdvertisingMeasurementBatchRequest"},"AdvertisingMeasurementBatchResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/AdvertisingMeasurementResult"},"type":"array","title":"Results"}},"type":"object","required":["results"],"title":"AdvertisingMeasurementBatchResponse"},"AdvertisingMeasurementEventInput":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id"},"delivery_token":{"type":"string","maxLength":4096,"minLength":20,"title":"Delivery Token"},"event_type":{"type":"string","enum":["impression","qualified"],"title":"Event Type"},"exposure_seq":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Exposure Seq"},"visible_fraction":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Visible Fraction"},"visible_duration_ms":{"type":"integer","maximum":60000.0,"minimum":0.0,"title":"Visible Duration Ms"},"foreground":{"type":"boolean","title":"Foreground"},"client_occurred_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Client Occurred At"},"refresh_reason":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Refresh Reason"},"background_resume":{"type":"boolean","title":"Background Resume","default":false}},"additionalProperties":false,"type":"object","required":["event_id","delivery_token","event_type","exposure_seq","visible_fraction","visible_duration_ms","foreground"],"title":"AdvertisingMeasurementEventInput"},"AdvertisingMeasurementResult":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id"},"status":{"type":"string","enum":["accepted","duplicate","invalid","rejected"],"title":"Status"},"billable":{"type":"boolean","title":"Billable","default":false},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"}},"type":"object","required":["event_id","status"],"title":"AdvertisingMeasurementResult"},"AdvertisingModerationRequest":{"properties":{"decision":{"type":"string","enum":["approved","rejected"],"title":"Decision"},"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason"}},"type":"object","required":["decision","reason"],"title":"AdvertisingModerationRequest"},"AdvertisingPricingResponse":{"properties":{"version":{"type":"string","title":"Version"},"vcpm_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Vcpm Credits"},"minimum_budget_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Minimum Budget Credits"},"credits_per_impression":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Credits Per Impression"}},"type":"object","required":["version","vcpm_credits","minimum_budget_credits","credits_per_impression"],"title":"AdvertisingPricingResponse","description":"有効な pricing version の課金仕様。単価は backend が算出した値だけを返す。"},"AdvertisingProductResponse":{"properties":{"key":{"type":"string","enum":["video_pickup","store_recommendation","store_search"],"title":"Key"},"label":{"type":"string","title":"Label"},"description":{"type":"string","title":"Description"},"target_type":{"type":"string","enum":["video","store"],"title":"Target Type"}},"type":"object","required":["key","label","description","target_type"],"title":"AdvertisingProductResponse"},"AdvertisingQualifiedRuleResponse":{"properties":{"version":{"type":"string","title":"Version"},"visible_fraction_basis_points":{"type":"integer","title":"Visible Fraction Basis Points"},"visible_duration_ms":{"type":"integer","title":"Visible Duration Ms"},"frequency_cap_count":{"type":"integer","title":"Frequency Cap Count"},"frequency_cap_window_hours":{"type":"integer","title":"Frequency Cap Window Hours"}},"type":"object","required":["version","visible_fraction_basis_points","visible_duration_ms","frequency_cap_count","frequency_cap_window_hours"],"title":"AdvertisingQualifiedRuleResponse","description":"課金対象(qualified impression)の判定条件。有効な policy version の値だけを返す。"},"AdvertisingTransferRequest":{"properties":{"amount_credits":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,4}0*$"}],"title":"Amount Credits"},"idempotency_key":{"type":"string","maxLength":120,"minLength":8,"title":"Idempotency Key"}},"type":"object","required":["amount_credits","idempotency_key"],"title":"AdvertisingTransferRequest"},"AdvertisingTransferResponse":{"properties":{"ledger_event_id":{"type":"string","format":"uuid","title":"Ledger Event Id"},"balance":{"$ref":"#/components/schemas/AdvertisingBalanceResponse"}},"type":"object","required":["ledger_event_id","balance"],"title":"AdvertisingTransferResponse"},"AdvertisingVersionCreateRequest":{"properties":{"version":{"type":"string","maxLength":80,"minLength":1,"title":"Version"},"vcpm_credits":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,6}0*$"},{"type":"null"}],"title":"Vcpm Credits"},"minimum_budget_credits":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d{0,4}0*$"},{"type":"null"}],"title":"Minimum Budget Credits"},"visible_fraction_basis_points":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":1.0},{"type":"null"}],"title":"Visible Fraction Basis Points"},"visible_duration_ms":{"anyOf":[{"type":"integer","maximum":60000.0,"minimum":100.0},{"type":"null"}],"title":"Visible Duration Ms"},"frequency_cap_count":{"anyOf":[{"type":"integer","maximum":1000.0,"minimum":1.0},{"type":"null"}],"title":"Frequency Cap Count"},"frequency_cap_window_hours":{"anyOf":[{"type":"integer","maximum":720.0,"minimum":1.0},{"type":"null"}],"title":"Frequency Cap Window Hours"}},"type":"object","required":["version"],"title":"AdvertisingVersionCreateRequest"},"AllYouCanEatHistoryResponse":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id"},"table_session_id":{"type":"string","format":"uuid","title":"Table Session Id"},"plan_name":{"type":"string","title":"Plan Name"},"plan_duration_minutes":{"type":"integer","title":"Plan Duration Minutes"},"granted_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Granted Minutes"},"granted_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Granted Seconds"},"people_count":{"type":"integer","title":"People Count"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"scheduled_end_at":{"type":"string","format":"date-time","title":"Scheduled End At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"ended_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ended Reason"},"remaining_seconds_at_end":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining Seconds At End"},"table_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Number"},"payment_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method"},"payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Payment Intent Id"},"checkout_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Checkout Session Id"},"supersedes_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supersedes Session Id"},"superseded_by_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Superseded By Session Id"},"can_regrant":{"type":"boolean","title":"Can Regrant","default":false},"max_default_regrant_seconds":{"type":"integer","title":"Max Default Regrant Seconds","default":0}},"type":"object","required":["session_id","table_session_id","plan_name","plan_duration_minutes","people_count","started_at","scheduled_end_at","ends_at"],"title":"AllYouCanEatHistoryResponse","description":"会計後に見る終了履歴(店舗スタッフ向け)。\n\n旧データは ``ended_reason`` / ``remaining_seconds_at_end`` が NULL のことがある\n(推測値は保存しない)。UI 側でその旨を出す。"},"AllYouCanEatStateResponse":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id"},"table_session_id":{"type":"string","format":"uuid","title":"Table Session Id"},"plan_id":{"type":"string","format":"uuid","title":"Plan Id"},"status":{"type":"string","title":"Status"},"plan_name":{"type":"string","title":"Plan Name"},"plan_duration_minutes":{"type":"integer","title":"Plan Duration Minutes"},"granted_minutes":{"type":"integer","title":"Granted Minutes"},"granted_seconds":{"type":"integer","title":"Granted Seconds"},"people_count":{"type":"integer","title":"People Count"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"scheduled_end_at":{"type":"string","format":"date-time","title":"Scheduled End At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"server_now":{"type":"string","format":"date-time","title":"Server Now"},"remaining_seconds":{"type":"integer","title":"Remaining Seconds"},"last_order_at":{"type":"string","format":"date-time","title":"Last Order At"},"last_order_remaining_seconds":{"type":"integer","title":"Last Order Remaining Seconds"},"checkout_behavior":{"type":"string","enum":["ends_on_full_settlement","continues_on_partial_settlement","already_ended"],"title":"Checkout Behavior"},"warning_code":{"type":"string","enum":["active_all_you_can_eat_will_end","active_all_you_can_eat_will_continue","all_you_can_eat_already_ended"],"title":"Warning Code"}},"type":"object","required":["session_id","table_session_id","plan_id","status","plan_name","plan_duration_minutes","granted_minutes","granted_seconds","people_count","started_at","scheduled_end_at","ends_at","server_now","remaining_seconds","last_order_at","last_order_remaining_seconds","checkout_behavior","warning_code"],"title":"AllYouCanEatStateResponse","description":"食べ放題の現在状態(店舗スタッフ向け)。残り時間は backend 時刻で確定させる。\n\n``server_now`` を併せて返すので、クライアントは受信後の経過分だけ補正して表示できる。\n操作可否の最終判定は常に backend レスポンスが正。"},"ApiKeyCreateRequest":{"properties":{"livemode":{"type":"boolean","title":"Livemode","description":"true=本番(sk_live_) / false=テスト(sk_test_)"},"name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Name","description":"識別用の任意ラベル"},"webhook_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Webhook Url","description":"このAPIキーで作るCheckoutの標準Webhook URL。HTTPSのみ。"}},"type":"object","required":["livemode"],"title":"ApiKeyCreateRequest"},"ApiKeyCreatedResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"livemode":{"type":"boolean","title":"Livemode"},"status":{"type":"string","title":"Status"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"secret_key":{"type":"string","title":"Secret Key","description":"平文キー。発行時のみ返却。安全に保管すること。"},"webhook_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Secret","description":"webhook 署名シークレット(whsec_...)。発行時のみ返却。外部EC の署名検証に使う。"}},"type":"object","required":["id","store_id","name","key_prefix","livemode","status","webhook_url","last_used_at","revoked_at","created_at","secret_key"],"title":"ApiKeyCreatedResponse","description":"発行直後のみ返す。``secret_key`` / ``webhook_secret`` 平文は二度と取得できない。"},"ApiKeyListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ApiKeyResponse"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ApiKeyListResponse"},"ApiKeyResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"livemode":{"type":"boolean","title":"Livemode"},"status":{"type":"string","title":"Status"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","store_id","name","key_prefix","livemode","status","webhook_url","last_used_at","revoked_at","created_at"],"title":"ApiKeyResponse","description":"一覧・作成レスポンス共通(平文キーは含めない)。"},"ApiKeyWebhookConfigRequest":{"properties":{"webhook_url":{"type":"string","maxLength":500,"minLength":1,"title":"Webhook Url","description":"このAPIキーで作るCheckoutの標準Webhook URL。HTTPSのみ。"}},"type":"object","required":["webhook_url"],"title":"ApiKeyWebhookConfigRequest"},"ApiRequestLogListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ApiRequestLogResponse"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ApiRequestLogListResponse"},"ApiRequestLogResponse":{"properties":{"request_id":{"type":"string","title":"Request Id"},"livemode":{"type":"boolean","title":"Livemode"},"environment":{"type":"string","enum":["test","live"],"title":"Environment"},"endpoint":{"type":"string","title":"Endpoint"},"http_method":{"type":"string","title":"Http Method"},"http_status":{"type":"integer","title":"Http Status"},"error_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Type"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"error_param":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Param"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"retryable":{"type":"boolean","title":"Retryable"},"idempotency_key_fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key Fingerprint"},"checkout_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Checkout Id"},"payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Payment Intent Id"},"webhook_delivery_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Webhook Delivery Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["request_id","livemode","environment","endpoint","http_method","http_status","error_type","error_code","error_param","error_message","retryable","idempotency_key_fingerprint","checkout_id","payment_intent_id","webhook_delivery_id","created_at"],"title":"ApiRequestLogResponse"},"ApplicationCreate":{"properties":{"applicant_email":{"type":"string","maxLength":320,"minLength":3,"title":"Applicant Email"},"applicant_name":{"type":"string","maxLength":160,"minLength":1,"title":"Applicant Name"},"requested_quantity":{"type":"integer","maximum":4.0,"minimum":1.0,"title":"Requested Quantity"},"ticket_type_id":{"type":"string","format":"uuid","title":"Ticket Type Id"},"lottery_round_id":{"type":"string","format":"uuid","title":"Lottery Round Id"}},"type":"object","required":["applicant_email","applicant_name","requested_quantity","ticket_type_id","lottery_round_id"],"title":"ApplicationCreate"},"ApplicationDecisionRequest":{"properties":{"decision":{"type":"string","enum":["approved","rejected"],"title":"Decision"},"approved_unsecured_credit_limit_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,16}|(?=[\\d.]{1,19}0*$)\\d{0,16}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Approved Unsecured Credit Limit Jpy"},"reason":{"type":"string","maxLength":2000,"minLength":1,"title":"Reason"}},"type":"object","required":["decision","reason"],"title":"ApplicationDecisionRequest"},"ApplicationResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id"},"lottery_round_id":{"type":"string","format":"uuid","title":"Lottery Round Id"},"customer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Customer Id"},"applicant_email":{"type":"string","title":"Applicant Email"},"applicant_name":{"type":"string","title":"Applicant Name"},"requested_quantity":{"type":"integer","title":"Requested Quantity"},"ticket_type_id":{"type":"string","format":"uuid","title":"Ticket Type Id"},"status":{"type":"string","title":"Status"},"lottery_rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lottery Rank"},"waitlist_rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Waitlist Rank"},"selected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Selected At"},"promoted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Promoted At"},"payment_due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Payment Due At"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"}},"type":"object","required":["id","event_id","lottery_round_id","customer_id","applicant_email","applicant_name","requested_quantity","ticket_type_id","status","lottery_rank","waitlist_rank","selected_at","promoted_at","payment_due_at","paid_at"],"title":"ApplicationResponse"},"AreaItem":{"properties":{"prefecture_code":{"type":"string","title":"Prefecture Code"},"prefecture":{"type":"string","title":"Prefecture"},"city_code":{"type":"string","title":"City Code"},"city":{"type":"string","title":"City"},"area_label":{"type":"string","title":"Area Label"}},"type":"object","required":["prefecture_code","prefecture","city_code","city","area_label"],"title":"AreaItem"},"AreasResponse":{"properties":{"areas":{"items":{"$ref":"#/components/schemas/AreaItem"},"type":"array","title":"Areas"}},"type":"object","required":["areas"],"title":"AreasResponse"},"AuditLogListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AuditLogResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"AuditLogListResponse"},"AuditLogResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"actor_type":{"type":"string","title":"Actor Type"},"actor_id":{"type":"string","format":"uuid","title":"Actor Id"},"target_type":{"type":"string","title":"Target Type"},"target_id":{"type":"string","format":"uuid","title":"Target Id"},"action":{"type":"string","title":"Action"},"before_jsonb":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Before Jsonb"},"after_jsonb":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"After Jsonb"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","actor_type","actor_id","target_type","target_id","action","before_jsonb","after_jsonb","created_at"],"title":"AuditLogResponse"},"BillingModePublicResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"billing_mode":{"type":"string","enum":["standard","enterprise"],"title":"Billing Mode"},"credit_purchase_enabled":{"type":"boolean","title":"Credit Purchase Enabled"},"enterprise_contract_status":{"type":"string","enum":["none","active","expired","suspended"],"title":"Enterprise Contract Status"},"enterprise_contract_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Enterprise Contract Start At"},"enterprise_contract_end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Enterprise Contract End At"},"enterprise_contract_remaining_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Enterprise Contract Remaining Days"}},"type":"object","required":["store_id","billing_mode","credit_purchase_enabled","enterprise_contract_status"],"title":"BillingModePublicResponse","description":"POS / 店舗側 UI が課金モードの表示切替に使う最小情報。\n\nレート表の詳細や監査情報・PII は含めない。"},"BillingProfileResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"effective_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Effective Store Id"},"inherited_from_parent":{"type":"boolean","title":"Inherited From Parent","default":false},"parent_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Store Id"},"parent_store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Store Name"},"parent_unavailable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Unavailable Reason"},"billing_mode":{"type":"string","enum":["standard","enterprise"],"title":"Billing Mode"},"active_fee_schedule_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Active Fee Schedule Id"},"enterprise_contract_status":{"type":"string","enum":["none","active","expired","suspended"],"title":"Enterprise Contract Status"},"active_enterprise_contract_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Active Enterprise Contract Id"},"enterprise_contract_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Enterprise Contract Start At"},"enterprise_contract_end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Enterprise Contract End At"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"updated_by_admin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Admin Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["store_id","billing_mode","enterprise_contract_status","created_at","updated_at"],"title":"BillingProfileResponse"},"BillingProfileUpdate":{"properties":{"billing_mode":{"anyOf":[{"type":"string","enum":["standard","enterprise"]},{"type":"null"}],"title":"Billing Mode"},"notes":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Notes"},"reason":{"type":"string","maxLength":2000,"minLength":1,"title":"Reason","description":"変更理由(監査ログに記録)"}},"type":"object","required":["reason"],"title":"BillingProfileUpdate"},"Body_create_operator_inquiry_api_v1_mobile_support_operator_inquiries_post":{"properties":{"category":{"type":"string","title":"Category"},"subject":{"type":"string","title":"Subject"},"body":{"type":"string","title":"Body"},"files":{"anyOf":[{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array"},{"type":"null"}],"title":"Files"}},"type":"object","required":["category","subject","body"],"title":"Body_create_operator_inquiry_api_v1_mobile_support_operator_inquiries_post"},"Body_upload_admin_operator_ticket_delivery_attachment_v1_admin_operator_tickets__ticket_id__delivery_attachments_post":{"properties":{"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_admin_operator_ticket_delivery_attachment_v1_admin_operator_tickets__ticket_id__delivery_attachments_post"},"Body_upload_admin_store_video_media_v1_admin_stores__store_id__videos_upload_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_admin_store_video_media_v1_admin_stores__store_id__videos_upload_post"},"Body_upload_admin_store_video_thumbnail_v1_admin_stores__store_id__videos_thumbnail_upload_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_admin_store_video_thumbnail_v1_admin_stores__store_id__videos_thumbnail_upload_post"},"Body_upload_menu_item_image_v1_admin_stores__store_id__menu_items_images_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"crop_x":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Crop X","default":50},"crop_y":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Crop Y","default":50},"zoom":{"type":"number","maximum":3.0,"minimum":1.0,"title":"Zoom","default":1}},"type":"object","required":["file"],"title":"Body_upload_menu_item_image_v1_admin_stores__store_id__menu_items_images_post"},"Body_upload_reservation_plan_cover_image_v1_admin_stores__store_id__reservations_plans__plan_id__cover_image_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_reservation_plan_cover_image_v1_admin_stores__store_id__reservations_plans__plan_id__cover_image_post"},"Body_upload_shop_media_v1_store_admin_ec_shops__shop_id__media_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"purpose":{"type":"string","enum":["product","logo","hero"],"title":"Purpose","default":"product"}},"type":"object","required":["file"],"title":"Body_upload_shop_media_v1_store_admin_ec_shops__shop_id__media_post"},"Body_upload_store_appearance_image_v1_admin_stores__store_id__appearances__appearance_id__image_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_store_appearance_image_v1_admin_stores__store_id__appearances__appearance_id__image_post"},"Body_upload_store_business_hour_exception_image_v1_admin_stores__store_id__business_hours_exception_image_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_store_business_hour_exception_image_v1_admin_stores__store_id__business_hours_exception_image_post"},"Body_upload_store_event_map_image_v1_admin_stores__store_id__event_maps__event_map_record_id__image_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_store_event_map_image_v1_admin_stores__store_id__event_maps__event_map_record_id__image_post"},"Body_upload_store_event_map_layer_image_v1_admin_stores__store_id__event_maps__event_map_record_id__layers__layer_id__image_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_store_event_map_layer_image_v1_admin_stores__store_id__event_maps__event_map_record_id__layers__layer_id__image_post"},"Body_upload_store_operator_attachment_v1_admin_stores__store_id__operator_chat_attachments_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_store_operator_attachment_v1_admin_stores__store_id__operator_chat_attachments_post"},"Body_upload_store_public_profile_image_v1_admin_stores__store_id__public_profile_images_post":{"properties":{"kind":{"type":"string","pattern":"^(hero|gallery)$","title":"Kind"},"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"sort_order":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Sort Order"}},"type":"object","required":["kind","file"],"title":"Body_upload_store_public_profile_image_v1_admin_stores__store_id__public_profile_images_post"},"Body_upload_store_public_profile_simple_menu_image_v1_admin_stores__store_id__public_profile_simple_menu_images_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_store_public_profile_simple_menu_image_v1_admin_stores__store_id__public_profile_simple_menu_images_post"},"Body_upload_store_public_profile_video_v1_admin_stores__store_id__public_profile_videos_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"sort_order":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Sort Order"}},"type":"object","required":["file"],"title":"Body_upload_store_public_profile_video_v1_admin_stores__store_id__public_profile_videos_post"},"Body_upload_store_resource_preview_v1_admin_store_resources__material_id__preview_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_store_resource_preview_v1_admin_store_resources__material_id__preview_post"},"Body_upload_store_resource_variant_file_v1_admin_store_resources__material_id__variants__variant_id__files__file_format__post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_store_resource_variant_file_v1_admin_store_resources__material_id__variants__variant_id__files__file_format__post"},"BusinessApplicationCategoryUpdate":{"properties":{"review_category":{"anyOf":[{"type":"string","enum":["food","food_truck","beauty","hotel","retail","ecommerce","other"]},{"type":"null"}],"title":"Review Category"},"review_category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Review Category Id"}},"additionalProperties":false,"type":"object","title":"BusinessApplicationCategoryUpdate"},"BusinessApplicationCreateStoreRequest":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"slug":{"type":"string","maxLength":120,"minLength":1,"title":"Slug"},"store_kind":{"anyOf":[{"type":"string","enum":["full","payment_only"]},{"type":"null"}],"title":"Store Kind"},"category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Category Id"},"category":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Category"},"store_operation_type":{"anyOf":[{"type":"string","enum":["fixed","mobile"]},{"type":"null"}],"title":"Store Operation Type"},"status":{"type":"string","enum":["draft","published","suspended"],"title":"Status","default":"draft"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"postal_code":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Postal Code"},"prefecture":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Prefecture"},"city":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"City"},"address_line1":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Address Line2"},"latitude":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Longitude"},"onboarding_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Onboarding Note"},"billing_mode":{"anyOf":[{"type":"string","enum":["standard","enterprise"]},{"type":"null"}],"title":"Billing Mode"},"plugin_keys":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Plugin Keys"}},"additionalProperties":false,"type":"object","required":["name","slug"],"title":"BusinessApplicationCreateStoreRequest"},"BusinessApplicationListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BusinessApplicationResponse"},"type":"array","title":"Items"},"total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Offset"}},"type":"object","required":["items"],"title":"BusinessApplicationListResponse"},"BusinessApplicationOnboardingUpdate":{"properties":{"linked_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Linked Store Id"},"onboarding_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Onboarding Note"},"responsible_person_invited":{"type":"boolean","title":"Responsible Person Invited","default":false},"onboarding_status":{"anyOf":[{"type":"string","enum":["pending_application","approved","store_created","responsible_person_invited","responsible_person_logged_in","initial_setup_in_progress","wallet_pending_review","qr_payment_enabled","onboarding_completed","ready_for_initial_setup"]},{"type":"null"}],"title":"Onboarding Status"},"billing_mode":{"anyOf":[{"type":"string","enum":["standard","enterprise"]},{"type":"null"}],"title":"Billing Mode"}},"additionalProperties":false,"type":"object","title":"BusinessApplicationOnboardingUpdate"},"BusinessApplicationResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"application_type":{"type":"string","title":"Application Type"},"business_name":{"type":"string","title":"Business Name"},"contact_name":{"type":"string","title":"Contact Name"},"email":{"type":"string","format":"email","title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry"},"requested_category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Requested Category Id"},"requested_detail_category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Requested Detail Category Id"},"review_category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review Category"},"review_category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Review Category Id"},"requested_operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Operation Type"},"requested_store_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Store Kind"},"area_or_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Or Address"},"website_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Url"},"sns_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sns Url"},"requested_features":{"items":{"type":"string"},"type":"array","title":"Requested Features"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"status":{"type":"string","title":"Status"},"admin_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Admin Note"},"reviewed_by_admin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Reviewed By Admin Id"},"reviewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reviewed At"},"linked_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Linked Store Id"},"store_created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Store Created At"},"responsible_person_invited_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Responsible Person Invited At"},"onboarding_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Onboarding Note"},"onboarding_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Onboarding Status"},"billing_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Mode"},"source":{"type":"string","title":"Source"},"consent_checked":{"type":"boolean","title":"Consent Checked"},"privacy_policy_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Privacy Policy Version"},"oauth_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Oauth Provider"},"oauth_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Oauth Email"},"oauth_verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oauth Verified At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","application_type","business_name","contact_name","email","phone","industry","requested_category_id","requested_detail_category_id","review_category","review_category_id","requested_operation_type","requested_store_kind","area_or_address","website_url","sns_url","requested_features","message","status","admin_note","reviewed_by_admin_id","reviewed_at","linked_store_id","store_created_at","responsible_person_invited_at","onboarding_note","onboarding_status","billing_mode","source","consent_checked","privacy_policy_version","oauth_provider","oauth_email","oauth_verified_at","created_at","updated_at"],"title":"BusinessApplicationResponse"},"BusinessApplicationStatusUpdate":{"properties":{"status":{"type":"string","enum":["needs_more_info","approved","rejected"],"title":"Status"},"admin_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Admin Note"},"billing_mode":{"anyOf":[{"type":"string","enum":["standard","enterprise"]},{"type":"null"}],"title":"Billing Mode"}},"additionalProperties":false,"type":"object","required":["status"],"title":"BusinessApplicationStatusUpdate"},"BusinessVerificationCaseResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Name"},"registration_review":{"type":"boolean","title":"Registration Review","default":false},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"ec_application_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Ec Application Id"},"subject_type":{"type":"string","title":"Subject Type"},"provider":{"type":"string","title":"Provider"},"status":{"type":"string","title":"Status"},"corporate_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Corporate Number"},"representative_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Representative Name"},"applicant_authority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicant Authority"},"verified_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verified Name"},"verified_business_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verified Business Name"},"reject_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reject Reason"},"needs_more_info_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Needs More Info Reason"},"submitted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Submitted At"},"reviewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reviewed At"},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"reverify_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reverify At"},"documents":{"items":{"$ref":"#/components/schemas/BusinessVerificationDocumentResponse"},"type":"array","title":"Documents"}},"type":"object","required":["id","store_id","ec_application_id","subject_type","provider","status","corporate_number","representative_name","applicant_authority","verified_name","verified_business_name","reject_reason","needs_more_info_reason","submitted_at","reviewed_at","verified_at","expires_at","reverify_at"],"title":"BusinessVerificationCaseResponse"},"BusinessVerificationDocumentAccessResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["access_token","expires_at"],"title":"BusinessVerificationDocumentAccessResponse"},"BusinessVerificationDocumentDeleteRequest":{"properties":{"reason_code":{"type":"string","enum":["accidental_prohibited_document","wrong_document_side","contains_unrequested_sensitive_data"],"title":"Reason Code"}},"additionalProperties":false,"type":"object","required":["reason_code"],"title":"BusinessVerificationDocumentDeleteRequest"},"BusinessVerificationDocumentResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"document_type":{"type":"string","title":"Document Type"},"side":{"type":"string","title":"Side"},"original_filename":{"type":"string","title":"Original Filename"},"mime_type":{"type":"string","title":"Mime Type"},"size_bytes":{"type":"integer","title":"Size Bytes"},"status":{"type":"string","title":"Status"},"uploaded_at":{"type":"string","format":"date-time","title":"Uploaded At"},"delete_after":{"type":"string","format":"date-time","title":"Delete After"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"}},"type":"object","required":["id","document_type","side","original_filename","mime_type","size_bytes","status","uploaded_at","delete_after","deleted_at"],"title":"BusinessVerificationDocumentResponse"},"BusinessVerificationReviewRequest":{"properties":{"decision":{"type":"string","enum":["pending","needs_more_info","approved","rejected","expired"],"title":"Decision"},"reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Reason"},"verified_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Verified Name"},"verified_business_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Verified Business Name"},"provider_reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Provider Reference"}},"additionalProperties":false,"type":"object","required":["decision"],"title":"BusinessVerificationReviewRequest"},"BusinessVerificationSubmitRequest":{"properties":{"subject_type":{"type":"string","enum":["individual","sole_proprietor","corporation"],"title":"Subject Type"},"provider":{"type":"string","enum":["manual","jpki","external_ekyc"],"title":"Provider","default":"manual"},"corporate_number":{"anyOf":[{"type":"string","pattern":"^[0-9]{13}$"},{"type":"null"}],"title":"Corporate Number"},"representative_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Representative Name"},"applicant_authority":{"anyOf":[{"type":"string","enum":["representative","authorized_delegate"]},{"type":"null"}],"title":"Applicant Authority"},"provider_reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Provider Reference"}},"additionalProperties":false,"type":"object","required":["subject_type"],"title":"BusinessVerificationSubmitRequest"},"CartCreateRequest":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CartItemRequest"},"type":"array","maxItems":100,"title":"Items"}},"type":"object","title":"CartCreateRequest"},"CartItemRequest":{"properties":{"variant_id":{"type":"string","format":"uuid","title":"Variant Id"},"quantity":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Quantity"}},"type":"object","required":["variant_id","quantity"],"title":"CartItemRequest"},"CartResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"shop_id":{"type":"string","format":"uuid","title":"Shop Id"},"guest_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guest Token"},"version":{"type":"integer","title":"Version"},"subtotal_jpy":{"type":"integer","title":"Subtotal Jpy"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["id","shop_id","guest_token","version","subtotal_jpy","items","expires_at"],"title":"CartResponse"},"CashPaidItemsRequest":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"order_item_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200,"minItems":1,"title":"Order Item Ids"},"amount_jpy":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Jpy"}},"type":"object","required":["store_id","order_item_ids","amount_jpy"],"title":"CashPaidItemsRequest"},"CashPaidRequest":{"properties":{"amount_jpy":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Jpy"}},"type":"object","required":["amount_jpy"],"title":"CashPaidRequest"},"CategoryCreate":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,119}$","title":"Slug"},"sort_order":{"type":"integer","maximum":100000.0,"minimum":0.0,"title":"Sort Order","default":0}},"type":"object","required":["name","slug"],"title":"CategoryCreate"},"CheckoutAddressSelection":{"properties":{"source_type":{"type":"string","enum":["account_primary","saved_destination","one_time","guest"],"title":"Source Type"},"address_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Address Id"},"address":{"anyOf":[{"$ref":"#/components/schemas/AddressPayload"},{"type":"null"}]},"save_as_destination":{"type":"boolean","title":"Save As Destination","default":false},"set_default_shipping":{"type":"boolean","title":"Set Default Shipping","default":false},"set_account_primary":{"type":"boolean","title":"Set Account Primary","default":false},"label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Label"}},"type":"object","required":["source_type"],"title":"CheckoutAddressSelection"},"CheckoutCreateRequest":{"properties":{"amount_jpy":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Jpy","description":"請求額(円)。金額権威。1 以上。"},"external_order_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"External Order Id"},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Description"},"success_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Success Url"},"cancel_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Cancel Url"},"webhook_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Webhook Url"},"line_items":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Line Items"},"custom_metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Custom Metadata"},"return_fields":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Return Fields"},"allowed_origins":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Allowed Origins"},"idempotency_key":{"type":"string","maxLength":200,"minLength":8,"title":"Idempotency Key","description":"同じAPI仕様・同じ全パラメータの再送だけで再利用する必須キー。"}},"type":"object","required":["amount_jpy","idempotency_key"],"title":"CheckoutCreateRequest","description":"外部EC が API Key で 1 件の CryptoPay checkout を作成する入力。\n\n``amount_jpy`` が唯一の金額権威(サーバーが保持し、決済成功時の Credits 消費もこれに乗る)。\n``line_items`` は外部EC 側の明細エコー・在庫連携用であり、価格検証には使わない。"},"CheckoutRequest":{"properties":{"cart_id":{"type":"string","format":"uuid","title":"Cart Id"},"guest_token":{"anyOf":[{"type":"string","maxLength":200,"minLength":32},{"type":"null"}],"title":"Guest Token"},"email":{"type":"string","format":"email","title":"Email"},"shipping":{"$ref":"#/components/schemas/CheckoutAddressSelection"},"shipping_region_code":{"type":"string","maxLength":20,"title":"Shipping Region Code","default":"JP"},"shipping_method":{"type":"string","enum":["delivery","pickup"],"title":"Shipping Method","default":"delivery"},"payment_provider":{"type":"string","enum":["spay","stripe"],"title":"Payment Provider"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"type":"object","required":["cart_id","email","shipping","payment_provider","idempotency_key"],"title":"CheckoutRequest"},"CheckoutSessionCreate":{"properties":{"table_key":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Table Key"},"order_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}],"title":"Order Ids"},"order_item_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}],"title":"Order Item Ids"},"expected_from_address":{"type":"string","maxLength":42,"minLength":42,"title":"Expected From Address"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["expected_from_address","idempotency_key"],"title":"CheckoutSessionCreate","description":"席単位会計 / 選んで会計の対象を確定して1本のQR会計を発行する。\n\n``table_key`` を指定すると、その席(seat_key/table_number)に紐づく未会計の商品ラインを\nすべてまとめて会計する。``order_item_ids`` を指定すると、選んだ商品ラインだけを会計\nする。互換用の ``order_ids`` は、その注文内の未会計商品ラインすべてとして扱う。\nどれか一つを必ず指定する。合計金額はサーバー側で再計算するため、\nクライアントから金額は受け取らない。"},"CheckoutSimulateRequest":{"properties":{"outcome":{"type":"string","enum":["succeeded","failed","expired"],"title":"Outcome","description":"疑似的に反映する結果。"}},"type":"object","required":["outcome"],"title":"CheckoutSimulateRequest","description":"sandbox(test mode)専用の疑似結果反映。live mode では 403。\n\n実送金・売上計上・Credits 消費・usage 発生は一切行わない。checkout / 内部 intent / order の\n状態だけを疑似的に進める(外部EC 側の webhook/payload テスト用)。"},"CollateralChangeRequest":{"properties":{"credits":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,14}|(?=[\\d.]{1,19}0*$)\\d{0,14}\\.\\d{0,4}0*$)"}],"title":"Credits"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"},"reason":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Reason"}},"type":"object","required":["credits","idempotency_key"],"title":"CollateralChangeRequest"},"ContentMeasurementBatchRequest":{"properties":{"session_id":{"type":"string","maxLength":120,"minLength":8,"title":"Session Id"},"app_platform":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"App Platform"},"app_version":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"App Version"},"events":{"items":{"$ref":"#/components/schemas/ContentMeasurementEventInput"},"type":"array","maxItems":50,"minItems":1,"title":"Events"}},"additionalProperties":false,"type":"object","required":["session_id","events"],"title":"ContentMeasurementBatchRequest"},"ContentMeasurementBatchResponse":{"properties":{"measurement_version":{"type":"string","title":"Measurement Version"},"accepted":{"type":"integer","title":"Accepted"},"duplicate":{"type":"integer","title":"Duplicate"},"rejected":{"type":"integer","title":"Rejected"},"results":{"items":{"$ref":"#/components/schemas/ContentMeasurementEventResult"},"type":"array","title":"Results"}},"type":"object","required":["measurement_version","accepted","duplicate","rejected","results"],"title":"ContentMeasurementBatchResponse"},"ContentMeasurementDiagnosticsResponse":{"properties":{"measurement_version":{"type":"string","title":"Measurement Version"},"period_hours":{"type":"integer","title":"Period Hours"},"total_events":{"type":"integer","title":"Total Events"},"by_event_type":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Event Type"},"by_platform":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Platform"},"first_received_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Received At"},"last_received_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Received At"},"raw_retention_days":{"type":"integer","title":"Raw Retention Days"}},"type":"object","required":["measurement_version","period_hours","total_events","by_event_type","by_platform","first_received_at","last_received_at","raw_retention_days"],"title":"ContentMeasurementDiagnosticsResponse"},"ContentMeasurementEventInput":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id"},"delivery_id":{"type":"string","format":"uuid","title":"Delivery Id"},"delivery_token":{"type":"string","maxLength":4096,"minLength":32,"title":"Delivery Token"},"event_type":{"type":"string","enum":["video_card_impression","video_card_click","store_detail_transition","video_play_start","video_engaged","video_watch_progress","video_complete","video_skip","video_replay","video_share","video_save","video_like"],"title":"Event Type"},"play_instance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Play Instance Id"},"exposure_seq":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":0.0},{"type":"null"}],"title":"Exposure Seq"},"progress_bucket":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Progress Bucket"},"watch_ms":{"anyOf":[{"type":"integer","maximum":86400000.0,"minimum":0.0},{"type":"null"}],"title":"Watch Ms"},"position_ms":{"anyOf":[{"type":"integer","maximum":86400000.0,"minimum":0.0},{"type":"null"}],"title":"Position Ms"},"duration_ms":{"anyOf":[{"type":"integer","maximum":86400000.0,"minimum":0.0},{"type":"null"}],"title":"Duration Ms"},"visible_fraction":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Visible Fraction"},"source":{"type":"string","maxLength":40,"minLength":1,"title":"Source","default":"feed"},"foreground":{"type":"boolean","title":"Foreground","default":true},"refresh":{"type":"boolean","title":"Refresh","default":false},"background_return":{"type":"boolean","title":"Background Return","default":false},"occurred_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Occurred At"}},"additionalProperties":false,"type":"object","required":["event_id","delivery_id","delivery_token","event_type"],"title":"ContentMeasurementEventInput"},"ContentMeasurementEventResult":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id"},"status":{"type":"string","enum":["accepted","duplicate","rejected"],"title":"Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["event_id","status"],"title":"ContentMeasurementEventResult"},"ContentMeasurementRetentionResponse":{"properties":{"deleted_events":{"type":"integer","title":"Deleted Events"},"deleted_hourly_aggregates":{"type":"integer","title":"Deleted Hourly Aggregates"},"deleted_daily_aggregates":{"type":"integer","title":"Deleted Daily Aggregates"},"cutoff":{"type":"string","format":"date-time","title":"Cutoff"}},"type":"object","required":["deleted_events","deleted_hourly_aggregates","deleted_daily_aggregates","cutoff"],"title":"ContentMeasurementRetentionResponse"},"CredentialCreatedResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"key_prefix":{"type":"string","title":"Key Prefix"},"api_key":{"type":"string","title":"Api Key"},"mode":{"type":"string","title":"Mode"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"}},"type":"object","required":["id","key_prefix","api_key","mode","scopes"],"title":"CredentialCreatedResponse"},"CredentialIssueRequest":{"properties":{"mode":{"type":"string","enum":["test","live"],"title":"Mode"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"scopes":{"items":{"type":"string","enum":["checkout:create","checkout:read","checkout:cancel"]},"type":"array","title":"Scopes"},"firebase_id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Firebase Id Token"},"rotate_from_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Rotate From Id"}},"type":"object","required":["mode","name","scopes","firebase_id_token"],"title":"CredentialIssueRequest"},"CreditAdjustmentCreate":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"event_type":{"type":"string","enum":["purchase","grant","pending_grant","consume","adjustment","refund","reversal","expire"],"title":"Event Type"},"amount_credits":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Credits"},"amount_jpy_equivalent":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Amount Jpy Equivalent"},"currency_basis":{"type":"string","maxLength":200,"minLength":1,"title":"Currency Basis","default":"1 Credit = 1 JPY equivalent"},"occurred_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Occurred At"},"reason":{"type":"string","maxLength":4000,"minLength":1,"pattern":".*\\S.*","title":"Reason"},"source_type":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Source Type","default":"manual_admin_adjustment"},"source_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Id"},"metadata_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata Json"}},"type":"object","required":["store_id","event_type","amount_credits","reason"],"title":"CreditAdjustmentCreate"},"CreditLedgerEventListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CreditLedgerEventResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"CreditLedgerEventListResponse"},"CreditLedgerEventResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Name"},"event_type":{"type":"string","title":"Event Type"},"amount_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Credits"},"amount_jpy_equivalent":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy Equivalent"},"currency_basis":{"type":"string","title":"Currency Basis"},"status":{"type":"string","title":"Status"},"source_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Type"},"source_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Id"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"created_by_admin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Admin Id"},"reason":{"type":"string","title":"Reason"},"metadata_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata Json"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","store_id","event_type","amount_credits","amount_jpy_equivalent","currency_basis","status","occurred_at","reason","created_at"],"title":"CreditLedgerEventResponse"},"CreditLimitApplicationCreate":{"properties":{"requested_total_credit_limit_jpy":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,16}|(?=[\\d.]{1,19}0*$)\\d{0,16}\\.\\d{0,2}0*$)"}],"title":"Requested Total Credit Limit Jpy"},"expected_average_order_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,16}|(?=[\\d.]{1,19}0*$)\\d{0,16}\\.\\d{0,2}0*$)"}],"title":"Expected Average Order Jpy"},"expected_max_order_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,16}|(?=[\\d.]{1,19}0*$)\\d{0,16}\\.\\d{0,2}0*$)"}],"title":"Expected Max Order Jpy"},"expected_monthly_sales_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,16}|(?=[\\d.]{1,19}0*$)\\d{0,16}\\.\\d{0,2}0*$)"}],"title":"Expected Monthly Sales Jpy"},"business_description":{"type":"string","maxLength":5000,"minLength":10,"title":"Business Description"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"}},"type":"object","required":["requested_total_credit_limit_jpy","expected_average_order_jpy","expected_max_order_jpy","expected_monthly_sales_jpy","business_description"],"title":"CreditLimitApplicationCreate"},"CreditLimitApplicationResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"requested_total_credit_limit_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Requested Total Credit Limit Jpy"},"expected_average_order_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Expected Average Order Jpy"},"expected_max_order_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Expected Max Order Jpy"},"expected_monthly_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Expected Monthly Sales Jpy"},"business_description":{"type":"string","title":"Business Description"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"status":{"type":"string","title":"Status"},"review_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"reviewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reviewed At"}},"type":"object","required":["id","store_id","requested_total_credit_limit_jpy","expected_average_order_jpy","expected_max_order_jpy","expected_monthly_sales_jpy","business_description","note","status","review_reason","created_at","reviewed_at"],"title":"CreditLimitApplicationResponse"},"CreditProfileResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Name"},"status":{"type":"string","title":"Status"},"collateral_reserved_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Collateral Reserved Credits"},"collateral_credit_limit_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Collateral Credit Limit Jpy"},"approved_unsecured_credit_limit_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Approved Unsecured Credit Limit Jpy"},"total_credit_limit_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Credit Limit Jpy"},"current_exposure_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Current Exposure Jpy"},"pending_exposure_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Pending Exposure Jpy"},"available_credit_limit_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Available Credit Limit Jpy"},"open_disputes":{"type":"integer","title":"Open Disputes"},"refund_pending":{"type":"integer","title":"Refund Pending"},"review_due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Review Due At"},"internal_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Internal Note"},"latest_application":{"anyOf":[{"$ref":"#/components/schemas/CreditLimitApplicationResponse"},{"type":"null"}]},"active_exposures":{"items":{"$ref":"#/components/schemas/EcExposureResponse"},"type":"array","title":"Active Exposures"}},"type":"object","required":["store_id","status","collateral_reserved_credits","collateral_credit_limit_jpy","approved_unsecured_credit_limit_jpy","total_credit_limit_jpy","current_exposure_jpy","pending_exposure_jpy","available_credit_limit_jpy","open_disputes","refund_pending","review_due_at"],"title":"CreditProfileResponse"},"CreditSnapshotCreate":{"properties":{"snapshot_date":{"type":"string","format":"date","title":"Snapshot Date"},"basis":{"type":"string","maxLength":200,"minLength":1,"title":"Basis","default":"1 Credit = 1 JPY equivalent"},"include_pending":{"type":"boolean","title":"Include Pending","default":false},"include_approved_not_consumed":{"type":"boolean","title":"Include Approved Not Consumed","default":false},"metadata_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata Json"}},"type":"object","required":["snapshot_date"],"title":"CreditSnapshotCreate"},"CreditSnapshotListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CreditSnapshotResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"CreditSnapshotListResponse"},"CreditSnapshotResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"snapshot_date":{"type":"string","format":"date","title":"Snapshot Date"},"basis":{"type":"string","title":"Basis"},"include_pending":{"type":"boolean","title":"Include Pending"},"include_approved_not_consumed":{"type":"boolean","title":"Include Approved Not Consumed"},"total_outstanding_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Outstanding Credits"},"total_outstanding_jpy_equivalent":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Outstanding Jpy Equivalent"},"threshold_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Threshold Jpy"},"threshold_ratio":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Threshold Ratio"},"created_by_admin_id":{"type":"string","format":"uuid","title":"Created By Admin Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"metadata_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata Json"},"store_rows":{"items":{"$ref":"#/components/schemas/CreditSnapshotStoreRowResponse"},"type":"array","title":"Store Rows"}},"type":"object","required":["id","snapshot_date","basis","include_pending","include_approved_not_consumed","total_outstanding_credits","total_outstanding_jpy_equivalent","threshold_jpy","threshold_ratio","created_by_admin_id","created_at"],"title":"CreditSnapshotResponse"},"CreditSnapshotStoreRowResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Name"},"outstanding_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Outstanding Credits"},"outstanding_jpy_equivalent":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Outstanding Jpy Equivalent"},"pending_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Pending Credits"},"approved_not_consumed_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Approved Not Consumed Credits"}},"type":"object","required":["store_id","outstanding_credits","outstanding_jpy_equivalent","pending_credits","approved_not_consumed_credits"],"title":"CreditSnapshotStoreRowResponse"},"CreditStoreListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CreditStoreRow"},"type":"array","title":"Items"},"threshold_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Threshold Jpy"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"legal_disclaimer":{"type":"string","title":"Legal Disclaimer","default":"これは法的判断ではなく、SOUKAI運営上の法務/会計監視指標です。"}},"type":"object","required":["items","threshold_jpy","total","limit","offset"],"title":"CreditStoreListResponse"},"CreditStoreRow":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"type":"string","title":"Store Name"},"available_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Available Credits"},"pending_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Pending Credits"},"approved_not_consumed_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Approved Not Consumed Credits"},"outstanding_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Outstanding Credits"},"outstanding_jpy_equivalent":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Outstanding Jpy Equivalent"},"last_purchase_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Purchase At"},"last_usage_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Usage At"},"risk_flag":{"type":"string","title":"Risk Flag"},"threshold_contribution":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Threshold Contribution"}},"type":"object","required":["store_id","store_name","available_credits","pending_credits","approved_not_consumed_credits","outstanding_credits","outstanding_jpy_equivalent","risk_flag","threshold_contribution"],"title":"CreditStoreRow"},"CreditSummaryResponse":{"properties":{"purchased_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Purchased Credits"},"used_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Used Credits"},"outstanding_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Outstanding Credits"},"outstanding_jpy_equivalent":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Outstanding Jpy Equivalent"},"pending_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Pending Credits"},"approved_not_consumed_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Approved Not Consumed Credits"},"cancelled_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cancelled Credits"},"refunded_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Refunded Credits"},"reversed_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Reversed Credits"},"expired_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Expired Credits"},"legacy_pending_candidate_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Legacy Pending Candidate Credits"},"threshold_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Threshold Jpy"},"threshold_ratio":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Threshold Ratio"},"basis":{"type":"string","title":"Basis"},"as_of_date":{"type":"string","format":"date","title":"As Of Date"},"include_pending":{"type":"boolean","title":"Include Pending"},"include_approved_not_consumed":{"type":"boolean","title":"Include Approved Not Consumed"},"legal_disclaimer":{"type":"string","title":"Legal Disclaimer","default":"これは法的判断ではなく、SOUKAI運営上の法務/会計監視指標です。"}},"type":"object","required":["purchased_credits","used_credits","outstanding_credits","outstanding_jpy_equivalent","pending_credits","approved_not_consumed_credits","cancelled_credits","refunded_credits","reversed_credits","expired_credits","legacy_pending_candidate_credits","threshold_jpy","threshold_ratio","basis","as_of_date","include_pending","include_approved_not_consumed"],"title":"CreditSummaryResponse"},"CryptoPayBalanceResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"effective_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Effective Store Id"},"inherited_from_parent":{"type":"boolean","title":"Inherited From Parent","default":false},"parent_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Store Id"},"parent_store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Store Name"},"parent_unavailable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Unavailable Reason"},"available_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Available Credits"},"pending_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Pending Credits"},"outstanding_jpy_equivalent":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Outstanding Jpy Equivalent"},"last_event_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Event At"},"recent_events":{"items":{"$ref":"#/components/schemas/CreditLedgerEventResponse"},"type":"array","title":"Recent Events"}},"type":"object","required":["store_id","available_credits","pending_credits","outstanding_jpy_equivalent"],"title":"CryptoPayBalanceResponse","description":"POS 向けの現在クレジット残高 + 直近 ledger events。"},"CryptoPayConfigStatusResponse":{"properties":{"chain_id":{"type":"integer","title":"Chain Id"},"token_configured":{"type":"boolean","title":"Token Configured"},"recipient_configured":{"type":"boolean","title":"Recipient Configured"},"confirmations_required":{"type":"integer","title":"Confirmations Required"},"intent_expires_in_seconds":{"type":"integer","title":"Intent Expires In Seconds"},"live_rpc_enabled":{"type":"boolean","title":"Live Rpc Enabled"},"ready_for_intent_creation":{"type":"boolean","title":"Ready For Intent Creation"},"ready_for_live_validation":{"type":"boolean","title":"Ready For Live Validation"},"token_address_masked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Address Masked"},"recipient_address_masked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Address Masked"}},"type":"object","required":["chain_id","token_configured","recipient_configured","confirmations_required","intent_expires_in_seconds","live_rpc_enabled","ready_for_intent_creation","ready_for_live_validation"],"title":"CryptoPayConfigStatusResponse","description":"POS 向け CryptoPay 設定ヘルスチェック。\n\n秘密値・RPC URL・アドレス完全値は出さない。dev 環境のみ末尾マスク表示。"},"CryptoPayDebugResponse":{"properties":{"intent_id":{"type":"string","format":"uuid","title":"Intent Id"},"status":{"type":"string","title":"Status"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"chain_id":{"type":"integer","title":"Chain Id"},"token_address_masked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Address Masked"},"recipient_address_masked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Address Masked"},"expected_from_address_masked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected From Address Masked"},"tx_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Hash"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"failure_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Reason"},"failure_reason_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Reason Display"},"failure_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Code"},"ledger_event_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Ledger Event Id"},"balance_after":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Balance After"},"validation_result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Validation Result"},"last_validation_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Validation Error"},"ready_for_live_validation":{"type":"boolean","title":"Ready For Live Validation"},"live_rpc_enabled":{"type":"boolean","title":"Live Rpc Enabled"},"confirmations_required":{"type":"integer","title":"Confirmations Required"}},"type":"object","required":["intent_id","status","store_id","chain_id","expires_at","ready_for_live_validation","live_rpc_enabled","confirmations_required"],"title":"CryptoPayDebugResponse","description":"POS 向け診断 API(/purchase-intents/{id}/debug)の表現。\n\ndev 環境 or 明示フラグ時のみ返す。RPC URL・secret・アドレス完全値は絶対に含めない。"},"CryptoPayEip3009RelayRequest":{"properties":{"from":{"type":"string","maxLength":42,"minLength":42,"title":"From"},"valid_after":{"type":"integer","minimum":0.0,"title":"Valid After"},"valid_before":{"type":"integer","exclusiveMinimum":0.0,"title":"Valid Before"},"nonce":{"type":"string","maxLength":66,"minLength":66,"title":"Nonce"},"signature":{"type":"string","maxLength":132,"minLength":132,"title":"Signature"}},"type":"object","required":["from","valid_after","valid_before","nonce","signature"],"title":"CryptoPayEip3009RelayRequest"},"CryptoPayInjectedAttemptCreate":{"properties":{"public_access_token":{"type":"string","maxLength":200,"minLength":1,"title":"Public Access Token"},"wallet_address":{"type":"string","maxLength":42,"minLength":42,"title":"Wallet Address"},"client_attempt_token":{"type":"string","maxLength":200,"minLength":32,"title":"Client Attempt Token"}},"type":"object","required":["public_access_token","wallet_address","client_attempt_token"],"title":"CryptoPayInjectedAttemptCreate"},"CryptoPayInjectedAttemptResponse":{"properties":{"attempt_id":{"type":"string","format":"uuid","title":"Attempt Id"},"attempt_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attempt Secret"},"status":{"type":"string","title":"Status"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"walletconnect_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Walletconnect Uri"},"wallet_app_identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet App Identifier"},"wallet_redirect_native":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet Redirect Native"},"signature_request_sent":{"type":"boolean","title":"Signature Request Sent","default":false},"payment_status":{"type":"string","title":"Payment Status"},"resumed":{"type":"boolean","title":"Resumed","default":false},"failure_reason_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Reason Display"},"chain_id":{"type":"integer","title":"Chain Id"},"typed_data":{"additionalProperties":true,"type":"object","title":"Typed Data"}},"type":"object","required":["attempt_id","status","expires_at","payment_status","chain_id","typed_data"],"title":"CryptoPayInjectedAttemptResponse"},"CryptoPayInjectedSignatureSubmit":{"properties":{"signature":{"type":"string","maxLength":132,"minLength":132,"title":"Signature"}},"type":"object","required":["signature"],"title":"CryptoPayInjectedSignatureSubmit"},"CryptoPayPublicIntentResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"type":"string","title":"Status"},"purchase_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Purchase Credits"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"token_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Token Amount"},"token_symbol":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Symbol"},"chain_id":{"type":"integer","title":"Chain Id"},"token_address":{"type":"string","title":"Token Address"},"recipient_address":{"type":"string","title":"Recipient Address"},"expected_from_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected From Address"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Name"},"failure_reason_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Reason Display"}},"type":"object","required":["id","status","purchase_credits","amount_jpy","token_amount","chain_id","token_address","recipient_address","expected_from_address","expires_at"],"title":"CryptoPayPublicIntentResponse","description":"公開決済ページ(store-lp /c/{id})とモバイルアプリ内購入画面向けの最小表現。\n\nPII・内部情報・ledger_event_id・idempotency_key・actor は出さない。\npurchase_credits / amount_jpy / token_symbol は購入内容を確認表示するための\n読み取り専用値(サーバー権威。クライアントからの送信・上書きは受け付けない)。"},"CryptoPayPurchaseIntentCreateRequest":{"properties":{"plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Id"},"purchase_credits":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Purchase Credits"},"idempotency_key":{"type":"string","maxLength":200,"minLength":1,"title":"Idempotency Key"},"expected_from_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected From Address"}},"type":"object","required":["idempotency_key"],"title":"CryptoPayPurchaseIntentCreateRequest","description":"POS から CryptoPay クレジット購入 intent を作る入力。\n\n金額はサーバー権威。plan_id か purchase_credits のどちらか一方のみ。"},"CryptoPayPurchaseIntentResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"status":{"type":"string","title":"Status"},"purchase_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Purchase Credits"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"token_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Token Amount"},"chain_id":{"type":"integer","title":"Chain Id"},"token_address":{"type":"string","title":"Token Address"},"recipient_address":{"type":"string","title":"Recipient Address"},"expected_from_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected From Address"},"tx_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Hash"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Verified At"},"failure_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Reason"},"failure_reason_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Reason Display"},"public_access_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Access Token"},"public_url_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Url Path"}},"type":"object","required":["id","store_id","status","purchase_credits","amount_jpy","token_amount","chain_id","token_address","recipient_address","expected_from_address","tx_hash","expires_at","verified_at","failure_reason"],"title":"CryptoPayPurchaseIntentResponse","description":"POS内部(店舗責任者)向けの intent 表現。\n\n生の public_access_token と public_url_path を含む(店舗が決済導線/QRを開くため)。\nledger_event_id 等の内部監査情報はここでも出さない。"},"CryptoPaySubmitTxRequest":{"properties":{"tx_hash":{"type":"string","maxLength":120,"minLength":1,"title":"Tx Hash"},"from_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Address"}},"type":"object","required":["tx_hash"],"title":"CryptoPaySubmitTxRequest"},"CryptoPayWalletConnectAttemptCreate":{"properties":{"public_access_token":{"type":"string","maxLength":200,"minLength":1,"title":"Public Access Token"},"wallet_address":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Wallet Address"},"client_attempt_token":{"anyOf":[{"type":"string","maxLength":200,"minLength":32},{"type":"null"}],"title":"Client Attempt Token"},"supersede_active_attempt":{"type":"boolean","title":"Supersede Active Attempt","default":false}},"type":"object","required":["public_access_token"],"title":"CryptoPayWalletConnectAttemptCreate"},"CryptoPayWalletConnectAttemptResponse":{"properties":{"attempt_id":{"type":"string","format":"uuid","title":"Attempt Id"},"attempt_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attempt Secret"},"status":{"type":"string","title":"Status"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"walletconnect_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Walletconnect Uri"},"wallet_app_identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet App Identifier"},"wallet_redirect_native":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet Redirect Native"},"signature_request_sent":{"type":"boolean","title":"Signature Request Sent","default":false},"payment_status":{"type":"string","title":"Payment Status"},"resumed":{"type":"boolean","title":"Resumed","default":false},"failure_reason_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Reason Display"}},"type":"object","required":["attempt_id","status","expires_at","payment_status"],"title":"CryptoPayWalletConnectAttemptResponse"},"CustomerAccountDeletionRequest":{"properties":{"firebase_id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Firebase Id Token"},"confirmation":{"type":"string","const":"DELETE","title":"Confirmation"}},"type":"object","required":["firebase_id_token","confirmation"],"title":"CustomerAccountDeletionRequest"},"CustomerAccountDeletionResponse":{"properties":{"deleted":{"type":"boolean","title":"Deleted"},"firebase_account_deleted":{"type":"boolean","title":"Firebase Account Deleted"},"retained_transaction_records":{"type":"boolean","title":"Retained Transaction Records","default":true},"message":{"type":"string","title":"Message"}},"type":"object","required":["deleted","firebase_account_deleted","message"],"title":"CustomerAccountDeletionResponse"},"CustomerAppleIdTokenLoginRequest":{"properties":{"id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Id Token"},"nonce":{"type":"string","maxLength":128,"minLength":32,"title":"Nonce"},"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email"},"display_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Display Name"}},"type":"object","required":["id_token","nonce"],"title":"CustomerAppleIdTokenLoginRequest"},"CustomerAppleLoginChallengeResponse":{"properties":{"nonce":{"type":"string","maxLength":128,"minLength":32,"title":"Nonce"}},"type":"object","required":["nonce"],"title":"CustomerAppleLoginChallengeResponse"},"CustomerAuthProviderResponse":{"properties":{"provider":{"type":"string","title":"Provider"},"label":{"type":"string","title":"Label"},"status":{"type":"string","title":"Status"},"enabled":{"type":"boolean","title":"Enabled"},"message":{"type":"string","title":"Message"}},"type":"object","required":["provider","label","status","enabled","message"],"title":"CustomerAuthProviderResponse"},"CustomerAuthProvidersResponse":{"properties":{"providers":{"items":{"$ref":"#/components/schemas/CustomerAuthProviderResponse"},"type":"array","title":"Providers"}},"type":"object","required":["providers"],"title":"CustomerAuthProvidersResponse"},"CustomerFirebaseIdTokenLoginRequest":{"properties":{"id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Id Token"}},"type":"object","required":["id_token"],"title":"CustomerFirebaseIdTokenLoginRequest"},"CustomerFirebaseIdentityLinkRequest":{"properties":{"id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Id Token"},"provider":{"type":"string","pattern":"^(google|apple|firebase_phone)$","title":"Provider"}},"type":"object","required":["id_token","provider"],"title":"CustomerFirebaseIdentityLinkRequest","description":"A fresh Firebase token obtained after an explicit client-side provider link."},"CustomerFirebaseOperationResult":{"properties":{"disable":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disable"},"enable":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Enable"},"revoke_refresh_tokens":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoke Refresh Tokens"}},"type":"object","title":"CustomerFirebaseOperationResult"},"CustomerFirebasePhoneSyncResponse":{"properties":{"has_verified_phone":{"type":"boolean","title":"Has Verified Phone"}},"type":"object","required":["has_verified_phone"],"title":"CustomerFirebasePhoneSyncResponse"},"CustomerFirebaseStateResponse":{"properties":{"firebase_uid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firebase Uid"},"disabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Disabled"},"lookup_status":{"type":"string","enum":["available","unavailable","not_linked"],"title":"Lookup Status"},"disabled_by_soukai":{"type":"boolean","title":"Disabled By Soukai"}},"type":"object","required":["firebase_uid","disabled","lookup_status","disabled_by_soukai"],"title":"CustomerFirebaseStateResponse"},"CustomerGoogleIdTokenLoginRequest":{"properties":{"id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Id Token"}},"type":"object","required":["id_token"],"title":"CustomerGoogleIdTokenLoginRequest"},"CustomerIdentityStateResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"type":"string","title":"Status"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"}},"type":"object","required":["id","status","deleted_at"],"title":"CustomerIdentityStateResponse"},"CustomerIdentitySummaryResponse":{"properties":{"provider":{"type":"string","title":"Provider"},"label":{"type":"string","title":"Label"},"linked_at":{"type":"string","format":"date-time","title":"Linked At"},"last_seen_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Seen At"}},"type":"object","required":["provider","label","linked_at","last_seen_at"],"title":"CustomerIdentitySummaryResponse"},"CustomerLoginResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"},"customer":{"$ref":"#/components/schemas/CustomerMeResponse"}},"type":"object","required":["access_token","customer"],"title":"CustomerLoginResponse"},"CustomerLoginStartRequest":{"properties":{"provider":{"type":"string","pattern":"^(soukai|google|apple)$","title":"Provider"},"return_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Return Url"}},"type":"object","required":["provider"],"title":"CustomerLoginStartRequest"},"CustomerLoginStartResponse":{"properties":{"provider":{"type":"string","title":"Provider"},"status":{"type":"string","title":"Status"},"authorization_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization Url"},"message":{"type":"string","title":"Message"}},"type":"object","required":["provider","status","authorization_url","message"],"title":"CustomerLoginStartResponse"},"CustomerLogoutResponse":{"properties":{"revoked":{"type":"boolean","title":"Revoked"}},"type":"object","required":["revoked"],"title":"CustomerLogoutResponse"},"CustomerMeResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"primary_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Primary Email"},"primary_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Phone"},"verified_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verified Phone"},"has_verified_phone":{"type":"boolean","title":"Has Verified Phone"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"login_provider":{"type":"string","title":"Login Provider"},"session_status":{"type":"string","title":"Session Status"},"linked_order_count":{"type":"integer","title":"Linked Order Count"},"identity_providers":{"items":{"$ref":"#/components/schemas/CustomerIdentitySummaryResponse"},"type":"array","title":"Identity Providers"}},"type":"object","required":["id","display_name","primary_email","primary_phone","verified_phone","has_verified_phone","status","created_at","login_provider","session_status","linked_order_count","identity_providers"],"title":"CustomerMeResponse"},"CustomerMyInquiryDetailResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"category":{"type":"string","title":"Category"},"subject":{"type":"string","title":"Subject"},"status":{"type":"string","title":"Status"},"can_reply":{"type":"boolean","title":"Can Reply"},"last_message_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Message At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"messages":{"items":{"$ref":"#/components/schemas/CustomerMyMessageItem"},"type":"array","title":"Messages"}},"type":"object","required":["id","category","subject","status","can_reply","last_message_at","created_at","messages"],"title":"CustomerMyInquiryDetailResponse"},"CustomerMyInquiryItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"category":{"type":"string","title":"Category"},"subject":{"type":"string","title":"Subject"},"status":{"type":"string","title":"Status"},"last_message_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Message At"},"last_message_preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Message Preview"},"customer_unread_count":{"type":"integer","title":"Customer Unread Count"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","category","subject","status","last_message_at","last_message_preview","customer_unread_count","created_at"],"title":"CustomerMyInquiryItem"},"CustomerMyInquiryListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CustomerMyInquiryItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"CustomerMyInquiryListResponse"},"CustomerMyMessageItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"sender_type":{"type":"string","title":"Sender Type"},"body":{"type":"string","title":"Body"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","sender_type","body","created_at"],"title":"CustomerMyMessageItem"},"CustomerOrderClaimHandoffConsumeRequest":{"properties":{"handoff_token":{"type":"string","maxLength":200,"minLength":20,"title":"Handoff Token"}},"type":"object","required":["handoff_token"],"title":"CustomerOrderClaimHandoffConsumeRequest"},"CustomerOrderClaimHandoffResponse":{"properties":{"handoff_token":{"type":"string","title":"Handoff Token"}},"type":"object","required":["handoff_token"],"title":"CustomerOrderClaimHandoffResponse","description":"An opaque, short-lived token for handing a public order to the mobile app."},"CustomerOrderClaimRequest":{"properties":{"public_access_token":{"type":"string","maxLength":200,"minLength":1,"title":"Public Access Token"}},"type":"object","required":["public_access_token"],"title":"CustomerOrderClaimRequest"},"CustomerOrderClaimResponse":{"properties":{"order_id":{"type":"string","format":"uuid","title":"Order Id"},"customer_id":{"type":"string","format":"uuid","title":"Customer Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"link_type":{"type":"string","title":"Link Type"},"linked_at":{"type":"string","format":"date-time","title":"Linked At"},"already_linked":{"type":"boolean","title":"Already Linked"}},"type":"object","required":["order_id","customer_id","store_id","link_type","linked_at","already_linked"],"title":"CustomerOrderClaimResponse"},"CustomerOrderDetailResponse":{"properties":{"order_id":{"type":"string","format":"uuid","title":"Order Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"type":"string","title":"Store Name"},"order_status":{"type":"string","title":"Order Status"},"payment_status":{"type":"string","title":"Payment Status"},"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"order_source":{"type":"string","title":"Order Source"},"payment_method":{"type":"string","title":"Payment Method"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"customer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Name"},"placed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Placed At"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"receipt_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Status"},"items":{"items":{"$ref":"#/components/schemas/CustomerOrderItemResponse"},"type":"array","title":"Items"},"tax_lines":{"items":{"$ref":"#/components/schemas/CustomerOrderTaxLineResponse"},"type":"array","title":"Tax Lines"},"pickup_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Code"},"requested_pickup_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Requested Pickup At"},"kitchen_status":{"type":"string","title":"Kitchen Status","default":"not_started"},"customer_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Note"},"pickup_location_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Location Note"},"store_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Address"},"cancellation_refund_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancellation Refund Status"},"refund_guidance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refund Guidance"}},"type":"object","required":["order_id","store_id","store_name","order_status","payment_status","fulfillment_type","order_source","payment_method","subtotal_jpy","tax_jpy","total_jpy","customer_name","placed_at","paid_at","expires_at","receipt_status","items","tax_lines"],"title":"CustomerOrderDetailResponse"},"CustomerOrderItemResponse":{"properties":{"item_name":{"type":"string","title":"Item Name"},"qty":{"type":"integer","title":"Qty"},"unit_price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Unit Price Jpy"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"line_subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Subtotal Jpy"},"line_tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Tax Jpy"},"line_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Total Jpy"},"options_snapshot":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Options Snapshot"}},"type":"object","required":["item_name","qty","unit_price_jpy","tax_rate","line_subtotal_jpy","line_tax_jpy","line_total_jpy"],"title":"CustomerOrderItemResponse"},"CustomerOrderListItemResponse":{"properties":{"order_id":{"type":"string","format":"uuid","title":"Order Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"type":"string","title":"Store Name"},"order_status":{"type":"string","title":"Order Status"},"payment_status":{"type":"string","title":"Payment Status"},"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"order_source":{"type":"string","title":"Order Source"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"placed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Placed At"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"receipt_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Status"},"link_type":{"type":"string","title":"Link Type"},"linked_at":{"type":"string","format":"date-time","title":"Linked At"},"pickup_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Code"},"requested_pickup_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Requested Pickup At"},"kitchen_status":{"type":"string","title":"Kitchen Status","default":"not_started"},"cancellation_refund_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancellation Refund Status"}},"type":"object","required":["order_id","store_id","store_name","order_status","payment_status","fulfillment_type","order_source","subtotal_jpy","tax_jpy","total_jpy","placed_at","paid_at","receipt_status","link_type","linked_at"],"title":"CustomerOrderListItemResponse"},"CustomerOrderListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CustomerOrderListItemResponse"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items"],"title":"CustomerOrderListResponse"},"CustomerOrderTaxLineResponse":{"properties":{"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"taxable_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Taxable Amount Jpy"},"tax_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Amount Jpy"}},"type":"object","required":["fulfillment_type","tax_rate","taxable_amount_jpy","tax_amount_jpy"],"title":"CustomerOrderTaxLineResponse"},"CustomerProjectionWarningResponse":{"properties":{"has_staff_projection":{"type":"boolean","title":"Has Staff Projection"},"has_admin_projection":{"type":"boolean","title":"Has Admin Projection"},"warning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warning"}},"type":"object","required":["has_staff_projection","has_admin_projection","warning"],"title":"CustomerProjectionWarningResponse"},"CustomerReceiptItemResponse":{"properties":{"item_name":{"type":"string","title":"Item Name"},"qty":{"type":"integer","title":"Qty"},"unit_price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Unit Price Jpy"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"line_subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Subtotal Jpy"},"line_tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Tax Jpy"},"line_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Total Jpy"},"sort_order":{"type":"integer","title":"Sort Order"}},"type":"object","required":["item_name","qty","unit_price_jpy","tax_rate","line_subtotal_jpy","line_tax_jpy","line_total_jpy","sort_order"],"title":"CustomerReceiptItemResponse"},"CustomerReceiptResponse":{"properties":{"order_id":{"type":"string","format":"uuid","title":"Order Id"},"receipt_number":{"type":"string","title":"Receipt Number"},"status":{"type":"string","title":"Status"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"order_source":{"type":"string","title":"Order Source"},"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"payment_method":{"type":"string","title":"Payment Method"},"currency":{"type":"string","title":"Currency"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"customer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Name"},"store_display_name":{"type":"string","title":"Store Display Name"},"store_business_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Business Name"},"store_tax_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Tax Id"},"store_address_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Address Text"},"jpyc_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Jpyc Amount"},"jpyc_amount_jpy":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Jpyc Amount Jpy"},"chain_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chain Id"},"token_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Address"},"tx_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Hash"},"recipient_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Address"},"expected_from_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected From Address"},"confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Confirmed At"},"items":{"items":{"$ref":"#/components/schemas/CustomerReceiptItemResponse"},"type":"array","title":"Items"},"tax_lines":{"items":{"$ref":"#/components/schemas/CustomerReceiptTaxLineResponse"},"type":"array","title":"Tax Lines"}},"type":"object","required":["order_id","receipt_number","status","issued_at","order_source","fulfillment_type","payment_method","currency","subtotal_jpy","tax_jpy","total_jpy","paid_at","customer_name","store_display_name","store_business_name","store_tax_id","store_address_text","jpyc_amount","jpyc_amount_jpy","chain_id","token_address","tx_hash","recipient_address","expected_from_address","confirmed_at","items","tax_lines"],"title":"CustomerReceiptResponse"},"CustomerReceiptTaxLineResponse":{"properties":{"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"taxable_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Taxable Amount Jpy"},"tax_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Amount Jpy"}},"type":"object","required":["fulfillment_type","tax_rate","taxable_amount_jpy","tax_amount_jpy"],"title":"CustomerReceiptTaxLineResponse"},"CustomerSoukaiIdTokenLoginRequest":{"properties":{"id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Id Token"}},"type":"object","required":["id_token"],"title":"CustomerSoukaiIdTokenLoginRequest"},"CustomerSupportAttachmentResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"original_filename":{"type":"string","title":"Original Filename"},"mime_type":{"type":"string","title":"Mime Type"},"size_bytes":{"type":"integer","title":"Size Bytes"},"scan_status":{"type":"string","title":"Scan Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","original_filename","mime_type","size_bytes","scan_status","created_at"],"title":"CustomerSupportAttachmentResponse"},"CustomerSupportInquiryCreatedResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"category":{"type":"string","title":"Category"},"subject":{"type":"string","title":"Subject"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"attachment_count":{"type":"integer","title":"Attachment Count"}},"type":"object","required":["id","category","subject","status","created_at","attachment_count"],"title":"CustomerSupportInquiryCreatedResponse"},"CustomerSupportInquiryDetailResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"category":{"type":"string","title":"Category"},"subject":{"type":"string","title":"Subject"},"status":{"type":"string","title":"Status"},"source":{"type":"string","title":"Source"},"customer_id":{"type":"string","format":"uuid","title":"Customer Id"},"customer_display_name":{"type":"string","title":"Customer Display Name"},"last_message_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Message At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"messages":{"items":{"$ref":"#/components/schemas/CustomerSupportMessageResponse"},"type":"array","title":"Messages"}},"type":"object","required":["id","category","subject","status","source","customer_id","customer_display_name","last_message_at","created_at","updated_at","messages"],"title":"CustomerSupportInquiryDetailResponse"},"CustomerSupportInquiryListItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"category":{"type":"string","title":"Category"},"subject":{"type":"string","title":"Subject"},"status":{"type":"string","title":"Status"},"source":{"type":"string","title":"Source"},"customer_id":{"type":"string","format":"uuid","title":"Customer Id"},"customer_display_name":{"type":"string","title":"Customer Display Name"},"last_message_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Message At"},"last_message_preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Message Preview"},"has_attachments":{"type":"boolean","title":"Has Attachments"},"admin_unread_count":{"type":"integer","title":"Admin Unread Count"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","category","subject","status","source","customer_id","customer_display_name","last_message_at","last_message_preview","has_attachments","admin_unread_count","created_at","updated_at"],"title":"CustomerSupportInquiryListItem"},"CustomerSupportInquiryListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CustomerSupportInquiryListItem"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"CustomerSupportInquiryListResponse"},"CustomerSupportMessageCreate":{"properties":{"body":{"type":"string","title":"Body"}},"type":"object","required":["body"],"title":"CustomerSupportMessageCreate"},"CustomerSupportMessageResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"sender_type":{"type":"string","title":"Sender Type"},"body":{"type":"string","title":"Body"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"attachments":{"items":{"$ref":"#/components/schemas/CustomerSupportAttachmentResponse"},"type":"array","title":"Attachments","default":[]}},"type":"object","required":["id","sender_type","body","created_at"],"title":"CustomerSupportMessageResponse"},"CustomerSupportStatusUpdate":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"CustomerSupportStatusUpdate"},"CustomerSupportUnreadCountResponse":{"properties":{"unread_count":{"type":"integer","title":"Unread Count"}},"type":"object","required":["unread_count"],"title":"CustomerSupportUnreadCountResponse"},"CustomerTestAccessResponse":{"properties":{"state":{"type":"string","enum":["none","active","expired","revoked"],"title":"State"},"grant_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Grant Id"},"granted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Granted At"},"granted_by_admin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Granted By Admin Id"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"revoked_by_admin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Revoked By Admin Id"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["state"],"title":"CustomerTestAccessResponse","description":"テスト公開店舗の閲覧権限 (Store Test Visibility)。"},"DailySalesSummaryResponse":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"payment_method":{"type":"string","title":"Payment Method"},"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"order_count":{"type":"integer","title":"Order Count"},"taxable_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Taxable Amount Jpy"},"tax_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Amount Jpy"},"total_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Amount Jpy"}},"type":"object","required":["date","payment_method","fulfillment_type","tax_rate","order_count","taxable_amount_jpy","tax_amount_jpy","total_amount_jpy"],"title":"DailySalesSummaryResponse"},"DeviceMeResponse":{"properties":{"device_id":{"type":"string","format":"uuid","title":"Device Id"},"device_public_id":{"type":"string","title":"Device Public Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"role":{"type":"string","title":"Role"},"device_name":{"type":"string","title":"Device Name"},"status":{"type":"string","enum":["active","revoked"],"title":"Status"},"paired_at":{"type":"string","format":"date-time","title":"Paired At"},"last_seen_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Seen At"},"app_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Version"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},"type":"object","required":["device_id","device_public_id","store_id","role","device_name","status","paired_at","last_seen_at","app_version","platform"],"title":"DeviceMeResponse","description":"POS アプリ起動時の端末有効性確認(``GET /v1/pos/devices/me``)。"},"DevicePairRequest":{"properties":{"code":{"type":"string","maxLength":20,"minLength":4,"title":"Code"},"device_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Device Name"},"app_version":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"App Version"},"platform":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Platform"}},"type":"object","required":["code"],"title":"DevicePairRequest","description":"React Native POS アプリが端末登録するための入力(将来用の土台)。"},"DevicePairResponse":{"properties":{"device_id":{"type":"string","format":"uuid","title":"Device Id"},"device_public_id":{"type":"string","title":"Device Public Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"role":{"type":"string","title":"Role"},"device_name":{"type":"string","title":"Device Name"},"device_token":{"type":"string","title":"Device Token"},"message":{"type":"string","title":"Message"}},"type":"object","required":["device_id","device_public_id","store_id","role","device_name","device_token","message"],"title":"DevicePairResponse"},"DeviceSalesBreakdown":{"properties":{"pos_device_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Pos Device Id"},"pos_device_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pos Device Name"},"order_count":{"type":"integer","title":"Order Count"},"gross_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Gross Sales Jpy"},"net_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Net Sales Jpy"}},"type":"object","required":["order_count","gross_sales_jpy","net_sales_jpy"],"title":"DeviceSalesBreakdown","description":"端末別売上集計行。"},"DrawResponse":{"properties":{"selected_applications":{"type":"integer","title":"Selected Applications"},"selected_quantity":{"type":"integer","title":"Selected Quantity"},"waitlisted_applications":{"type":"integer","title":"Waitlisted Applications"},"waitlisted_quantity":{"type":"integer","title":"Waitlisted Quantity"},"rejected_applications":{"type":"integer","title":"Rejected Applications"},"waitlist_capacity":{"type":"integer","title":"Waitlist Capacity"}},"type":"object","required":["selected_applications","selected_quantity","waitlisted_applications","waitlisted_quantity","rejected_applications","waitlist_capacity"],"title":"DrawResponse"},"EcApplicationClaimRequest":{"properties":{"claim_token":{"type":"string","maxLength":200,"minLength":32,"title":"Claim Token"}},"type":"object","required":["claim_token"],"title":"EcApplicationClaimRequest"},"EcApplicationCreate":{"properties":{"contact_email":{"type":"string","format":"email","title":"Contact Email"},"responsible_name":{"type":"string","maxLength":120,"minLength":1,"title":"Responsible Name"},"business_name":{"type":"string","maxLength":200,"minLength":1,"title":"Business Name"},"purpose":{"type":"string","enum":["native","external_spay","both"],"title":"Purpose"},"existing_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Existing Store Id"},"registration_subject":{"anyOf":[{"type":"string","enum":["individual","sole_proprietor","corporation"]},{"type":"null"}],"title":"Registration Subject"},"answers":{"additionalProperties":true,"type":"object","title":"Answers"},"firebase_id_token":{"anyOf":[{"type":"string","maxLength":10000,"minLength":100},{"type":"null"}],"title":"Firebase Id Token"}},"additionalProperties":false,"type":"object","required":["contact_email","responsible_name","business_name","purpose"],"title":"EcApplicationCreate"},"EcApplicationCreatedResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"applicant_soukai_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Applicant Soukai User Id"},"existing_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Existing Store Id"},"merchant_entity_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Merchant Entity Id"},"contact_email":{"type":"string","title":"Contact Email"},"responsible_name":{"type":"string","title":"Responsible Name"},"business_name":{"type":"string","title":"Business Name"},"purpose":{"type":"string","title":"Purpose"},"status":{"type":"string","title":"Status"},"review_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review Reason"},"store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Name"},"sms_verified":{"type":"boolean","title":"Sms Verified","default":false},"business_verification_status":{"type":"string","title":"Business Verification Status","default":"not_started"},"can_approve":{"type":"boolean","title":"Can Approve","default":false},"missing_requirements":{"items":{"type":"string"},"type":"array","title":"Missing Requirements"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"claim_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Claim Token"}},"type":"object","required":["id","applicant_soukai_user_id","existing_store_id","merchant_entity_id","contact_email","responsible_name","business_name","purpose","status","review_reason","created_at","updated_at"],"title":"EcApplicationCreatedResponse"},"EcApplicationReadinessResponse":{"properties":{"store_active":{"type":"boolean","title":"Store Active"},"actor_can_apply":{"type":"boolean","title":"Actor Can Apply"},"responsible_person_linked":{"type":"boolean","title":"Responsible Person Linked"},"sms_verified":{"type":"boolean","title":"Sms Verified"},"phone_masked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone Masked"},"phone_verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Phone Verified At"},"required_fields_complete":{"type":"boolean","title":"Required Fields Complete"},"missing_requirements":{"items":{"type":"string"},"type":"array","title":"Missing Requirements"},"can_submit":{"type":"boolean","title":"Can Submit"}},"type":"object","required":["store_active","actor_can_apply","responsible_person_linked","sms_verified","required_fields_complete","can_submit"],"title":"EcApplicationReadinessResponse"},"EcApplicationResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"applicant_soukai_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Applicant Soukai User Id"},"existing_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Existing Store Id"},"merchant_entity_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Merchant Entity Id"},"contact_email":{"type":"string","title":"Contact Email"},"responsible_name":{"type":"string","title":"Responsible Name"},"business_name":{"type":"string","title":"Business Name"},"purpose":{"type":"string","title":"Purpose"},"status":{"type":"string","title":"Status"},"review_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review Reason"},"store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Name"},"sms_verified":{"type":"boolean","title":"Sms Verified","default":false},"business_verification_status":{"type":"string","title":"Business Verification Status","default":"not_started"},"can_approve":{"type":"boolean","title":"Can Approve","default":false},"missing_requirements":{"items":{"type":"string"},"type":"array","title":"Missing Requirements"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","applicant_soukai_user_id","existing_store_id","merchant_entity_id","contact_email","responsible_name","business_name","purpose","status","review_reason","created_at","updated_at"],"title":"EcApplicationResponse"},"EcApplicationReviewRequest":{"properties":{"decision":{"type":"string","enum":["under_review","needs_more_info","approved","rejected"],"title":"Decision"},"reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Reason"},"existing_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Existing Store Id"},"create_payment_only_store":{"type":"boolean","title":"Create Payment Only Store","default":false}},"type":"object","required":["decision"],"title":"EcApplicationReviewRequest"},"EcExposureResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"source_type":{"type":"string","title":"Source Type"},"source_id":{"type":"string","format":"uuid","title":"Source Id"},"status":{"type":"string","title":"Status"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"released_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Released Amount Jpy"},"remaining_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Remaining Amount Jpy"},"held_at":{"type":"string","format":"date-time","title":"Held At"},"activated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Activated At"}},"type":"object","required":["id","source_type","source_id","status","amount_jpy","released_amount_jpy","remaining_amount_jpy","held_at","activated_at"],"title":"EcExposureResponse"},"EcFreshIdentityRequest":{"properties":{"firebase_id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Firebase Id Token"}},"type":"object","required":["firebase_id_token"],"title":"EcFreshIdentityRequest"},"EcPosFulfillmentUpdate":{"properties":{"action":{"type":"string","enum":["start_packing","mark_shipped"],"title":"Action"},"carrier":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Carrier"},"tracking_number":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Tracking Number"}},"type":"object","required":["action"],"title":"EcPosFulfillmentUpdate"},"EcPosOrderCard":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"order_number":{"type":"string","title":"Order Number"},"ordered_at":{"type":"string","format":"date-time","title":"Ordered At"},"item_count":{"type":"integer","title":"Item Count"},"total_jpy":{"type":"integer","title":"Total Jpy"},"payment_method":{"type":"string","title":"Payment Method"},"fulfillment_status":{"type":"string","title":"Fulfillment Status"},"shipping_method":{"type":"string","title":"Shipping Method"},"carrier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Carrier"},"tracking_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tracking Number"},"shipped_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Shipped At"}},"type":"object","required":["id","order_number","ordered_at","item_count","total_jpy","payment_method","fulfillment_status","shipping_method"],"title":"EcPosOrderCard"},"EcPosOrderDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"order_number":{"type":"string","title":"Order Number"},"ordered_at":{"type":"string","format":"date-time","title":"Ordered At"},"item_count":{"type":"integer","title":"Item Count"},"total_jpy":{"type":"integer","title":"Total Jpy"},"payment_method":{"type":"string","title":"Payment Method"},"fulfillment_status":{"type":"string","title":"Fulfillment Status"},"shipping_method":{"type":"string","title":"Shipping Method"},"carrier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Carrier"},"tracking_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tracking Number"},"shipped_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Shipped At"},"items":{"items":{"$ref":"#/components/schemas/EcPosOrderItem"},"type":"array","title":"Items"},"shipping_address":{"additionalProperties":true,"type":"object","title":"Shipping Address"},"order_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Note"},"delivery_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Note"},"shipping_details_redacted":{"type":"boolean","title":"Shipping Details Redacted","default":false}},"type":"object","required":["id","order_number","ordered_at","item_count","total_jpy","payment_method","fulfillment_status","shipping_method","items","shipping_address"],"title":"EcPosOrderDetail"},"EcPosOrderItem":{"properties":{"product_title":{"type":"string","title":"Product Title"},"variant_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant Title"},"quantity":{"type":"integer","title":"Quantity"},"options":{"additionalProperties":true,"type":"object","title":"Options"}},"type":"object","required":["product_title","quantity"],"title":"EcPosOrderItem"},"EcPosOrderSummary":{"properties":{"new":{"type":"integer","title":"New"},"preparing":{"type":"integer","title":"Preparing"},"shipped":{"type":"integer","title":"Shipped"}},"type":"object","required":["new","preparing","shipped"],"title":"EcPosOrderSummary"},"EcShopAdminStatusRequest":{"properties":{"status":{"type":"string","enum":["draft","review","published","held","suspended","closed"],"title":"Status"},"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason"}},"type":"object","required":["status","reason"],"title":"EcShopAdminStatusRequest"},"EcShopCreate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{2,119}$","title":"Slug"},"description":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Description"}},"type":"object","required":["name","slug"],"title":"EcShopCreate"},"EcShopMembershipRequest":{"properties":{"soukai_user_id":{"type":"string","format":"uuid","title":"Soukai User Id"},"role":{"type":"string","enum":["manager","catalog","fulfillment","support_viewer"],"title":"Role"}},"type":"object","required":["soukai_user_id","role"],"title":"EcShopMembershipRequest"},"EcShopPublishRequest":{"properties":{},"additionalProperties":false,"type":"object","title":"EcShopPublishRequest"},"EcShopResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"merchant_entity_id":{"type":"string","format":"uuid","title":"Merchant Entity Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"type":"string","title":"Status"},"sales_enabled":{"type":"boolean","title":"Sales Enabled"},"payment_provider":{"type":"string","title":"Payment Provider"},"stripe_checkout_enabled":{"type":"boolean","title":"Stripe Checkout Enabled"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url"},"contact_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Email"},"contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Phone"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"}},"type":"object","required":["id","merchant_entity_id","store_id","name","slug","description","status","sales_enabled","payment_provider","stripe_checkout_enabled","logo_url","contact_email","contact_phone","published_at"],"title":"EcShopResponse"},"EcShopUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Description"},"contact_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Contact Email"},"contact_phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Contact Phone"},"logo_url":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Logo Url"},"favicon_url":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Favicon Url"},"seller_legal":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Seller Legal"},"shipping_origin":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Shipping Origin"},"return_address":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Return Address"},"stripe_checkout_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Stripe Checkout Enabled"}},"type":"object","title":"EcShopUpdate"},"EffectiveStorePolicyResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_kind":{"type":"string","title":"Store Kind"},"primary_category":{"anyOf":[{"$ref":"#/components/schemas/PublicStoreCategoryResponse"},{"type":"null"}]},"map_listing":{"type":"boolean","title":"Map Listing"},"search_listing":{"type":"boolean","title":"Search Listing"},"lp_access":{"type":"string","title":"Lp Access"},"payment_capability":{"type":"string","title":"Payment Capability"},"minimum_age":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Minimum Age"},"review_requirement":{"type":"string","title":"Review Requirement"},"review_status":{"type":"string","title":"Review Status"},"visibility_scope":{"type":"string","enum":["private","test","public"],"title":"Visibility Scope","default":"public"},"visibility_scope_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility Scope Note"},"visibility_scope_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Visibility Scope Updated At"},"visibility_scope_updated_by_admin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Visibility Scope Updated By Admin Id"}},"type":"object","required":["store_id","store_kind","primary_category","map_listing","search_listing","lp_access","payment_capability","minimum_age","review_requirement","review_status"],"title":"EffectiveStorePolicyResponse"},"EmbedMeResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"api_key_id":{"type":"string","format":"uuid","title":"Api Key Id"},"livemode":{"type":"boolean","title":"Livemode"},"environment":{"type":"string","enum":["test","live"],"title":"Environment"},"api_version":{"type":"string","title":"Api Version"}},"type":"object","required":["store_id","api_key_id","livemode","environment","api_version"],"title":"EmbedMeResponse","description":"API Key の疎通確認用。認証済み key の最小情報を返す。"},"EnterpriseContractCreate":{"properties":{"contract_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Contract Start At"},"contract_end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Contract End At"},"granted_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Granted Credits"},"invoice_reference":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Invoice Reference"},"notes":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Notes"},"reason":{"type":"string","maxLength":2000,"minLength":1,"title":"Reason"}},"type":"object","required":["reason"],"title":"EnterpriseContractCreate"},"EnterpriseContractDashboardItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"type":"string","title":"Store Name"},"status":{"type":"string","enum":["draft","active","expired","suspended","cancelled"],"title":"Status"},"contract_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Contract Start At"},"contract_end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Contract End At"},"remaining_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining Days"},"invoice_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Reference"},"payment_confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Payment Confirmed At"}},"type":"object","required":["id","store_id","store_name","status"],"title":"EnterpriseContractDashboardItem","description":"運営の Enterprise Contracts 一覧 1 行(店舗横断・店舗名と残り日数つき)。"},"EnterpriseContractDashboardResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/EnterpriseContractDashboardItem"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"EnterpriseContractDashboardResponse"},"EnterpriseContractListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/EnterpriseContractResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"EnterpriseContractListResponse"},"EnterpriseContractResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"status":{"type":"string","enum":["draft","active","expired","suspended","cancelled"],"title":"Status"},"contract_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Contract Start At"},"contract_end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Contract End At"},"granted_credits":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Granted Credits"},"invoice_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Reference"},"payment_confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Payment Confirmed At"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"created_by_admin_id":{"type":"string","format":"uuid","title":"Created By Admin Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","status","created_by_admin_id","created_at","updated_at"],"title":"EnterpriseContractResponse"},"EnterpriseContractUpdate":{"properties":{"status":{"anyOf":[{"type":"string","enum":["draft","active","expired","suspended","cancelled"]},{"type":"null"}],"title":"Status"},"contract_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Contract Start At"},"contract_end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Contract End At"},"granted_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Granted Credits"},"invoice_reference":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Invoice Reference"},"payment_confirmed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Payment Confirmed","description":"true で入金確認日時を記録"},"notes":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Notes"},"reason":{"type":"string","maxLength":2000,"minLength":1,"title":"Reason"}},"type":"object","required":["reason"],"title":"EnterpriseContractUpdate"},"EventCreate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"venue_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue Name"},"venue_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue Address"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"capacity":{"type":"integer","exclusiveMinimum":0.0,"title":"Capacity"},"waitlist_ratio_percent":{"type":"integer","maximum":50.0,"minimum":10.0,"title":"Waitlist Ratio Percent","default":20},"max_tickets_per_application":{"type":"integer","maximum":4.0,"minimum":1.0,"title":"Max Tickets Per Application","default":4},"sale_mode":{"type":"string","title":"Sale Mode","default":"lottery"},"admission_mode":{"type":"string","title":"Admission Mode","default":"numbered"},"public_visible":{"type":"boolean","title":"Public Visible","default":false}},"type":"object","required":["title","starts_at","ends_at","capacity"],"title":"EventCreate"},"EventResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"venue_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue Name"},"venue_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue Address"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"capacity":{"type":"integer","title":"Capacity"},"waitlist_ratio_percent":{"type":"integer","title":"Waitlist Ratio Percent"},"max_tickets_per_application":{"type":"integer","title":"Max Tickets Per Application"},"sale_mode":{"type":"string","title":"Sale Mode"},"admission_mode":{"type":"string","title":"Admission Mode"},"status":{"type":"string","title":"Status"},"public_visible":{"type":"boolean","title":"Public Visible"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","title","description","venue_name","venue_address","starts_at","ends_at","capacity","waitlist_ratio_percent","max_tickets_per_application","sale_mode","admission_mode","status","public_visible","created_at","updated_at"],"title":"EventResponse"},"EventUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"venue_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue Name"},"venue_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue Address"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"capacity":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Capacity"},"waitlist_ratio_percent":{"anyOf":[{"type":"integer","maximum":50.0,"minimum":10.0},{"type":"null"}],"title":"Waitlist Ratio Percent"},"max_tickets_per_application":{"anyOf":[{"type":"integer","maximum":4.0,"minimum":1.0},{"type":"null"}],"title":"Max Tickets Per Application"},"public_visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Public Visible"}},"type":"object","title":"EventUpdate"},"ExpireUnpaidResponse":{"properties":{"expired_applications":{"type":"integer","title":"Expired Applications"}},"type":"object","required":["expired_applications"],"title":"ExpireUnpaidResponse"},"ExtendSessionRequest":{"properties":{"additional_minutes":{"type":"integer","maximum":1440.0,"exclusiveMinimum":0.0,"title":"Additional Minutes"},"amount_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Amount Jpy"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["additional_minutes","idempotency_key"],"title":"ExtendSessionRequest"},"ExternalPosAccessResponse":{"properties":{"store_id":{"type":"string","title":"Store Id"},"store_name":{"type":"string","title":"Store Name"},"external_pos_connected":{"type":"boolean","title":"External Pos Connected"},"message":{"type":"string","title":"Message"}},"type":"object","required":["store_id","store_name","external_pos_connected","message"],"title":"ExternalPosAccessResponse","description":"他社POS管理アクセスの土台応答(super admin 専用)。\n\n現時点では実際の外部POS連携(credential 保持・API 疎通等)は実装しない。"},"FeeScheduleCreate":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"is_active":{"type":"boolean","title":"Is Active","default":true},"fee_basis_points":{"type":"integer","minimum":0.0,"title":"Fee Basis Points","description":"決済額に対する Credits 利用率(basis points, 20=0.2%)。0 = 金額によらない固定課金","default":20},"minimum_fee_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Minimum Fee Credits","description":"1 決済あたりの最低消費 Credits(標準は2)","default":"2"},"effective_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective To"},"notes":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Notes"},"tiers":{"items":{"$ref":"#/components/schemas/FeeScheduleTierInput"},"type":"array","title":"Tiers"}},"type":"object","required":["name"],"title":"FeeScheduleCreate"},"FeeScheduleCreateRequest":{"properties":{"merchant_entity_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Merchant Entity Id"},"shop_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Shop Id"},"provider":{"type":"string","const":"spay","title":"Provider"},"fee_basis_points":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Fee Basis Points"},"minimum_fee_credits":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Minimum Fee Credits"},"contract":{"additionalProperties":true,"type":"object","title":"Contract"},"effective_from":{"type":"string","format":"date-time","title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective To"}},"additionalProperties":false,"type":"object","required":["provider","fee_basis_points","minimum_fee_credits","effective_from"],"title":"FeeScheduleCreateRequest"},"FeeScheduleListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/FeeScheduleResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","total"],"title":"FeeScheduleListResponse"},"FeeSchedulePreviewRequest":{"properties":{"fee_basis_points":{"type":"integer","minimum":0.0,"title":"Fee Basis Points","description":"決済額に対する Credits 利用率(basis points, 50=0.5%)。0 = 金額によらない固定課金"},"minimum_fee_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Minimum Fee Credits","default":"2"},"sample_amounts_jpy":{"items":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}]},"type":"array","title":"Sample Amounts Jpy","description":"試算する決済額(円)のサンプル"}},"type":"object","required":["fee_basis_points"],"title":"FeeSchedulePreviewRequest"},"FeeSchedulePreviewResponse":{"properties":{"fee_basis_points":{"type":"integer","title":"Fee Basis Points"},"minimum_fee_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Minimum Fee Credits"},"rows":{"items":{"$ref":"#/components/schemas/FeeSchedulePreviewRow"},"type":"array","title":"Rows"},"consumption_basis":{"type":"string","title":"Consumption Basis","default":"Credits consumption is amount(percent)-based SaaS usage; funds are non-custodial"}},"type":"object","required":["fee_basis_points","minimum_fee_credits","rows"],"title":"FeeSchedulePreviewResponse"},"FeeSchedulePreviewRow":{"properties":{"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"fee_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Fee Credits"}},"type":"object","required":["amount_jpy","fee_credits"],"title":"FeeSchedulePreviewRow"},"FeeScheduleResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"mode":{"type":"string","title":"Mode"},"is_active":{"type":"boolean","title":"Is Active"},"fee_basis_points":{"type":"integer","title":"Fee Basis Points"},"minimum_fee_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Minimum Fee Credits"},"effective_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective To"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"created_by_admin_id":{"type":"string","format":"uuid","title":"Created By Admin Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"tiers":{"items":{"$ref":"#/components/schemas/FeeScheduleTierResponse"},"type":"array","title":"Tiers"},"consumption_basis":{"type":"string","title":"Consumption Basis","default":"Credits consumption is amount(percent)-based SaaS usage; funds are non-custodial"}},"type":"object","required":["id","name","mode","is_active","fee_basis_points","minimum_fee_credits","created_by_admin_id","created_at","updated_at"],"title":"FeeScheduleResponse"},"FeeScheduleTierInput":{"properties":{"tier_order":{"type":"integer","minimum":0.0,"title":"Tier Order"},"threshold_annual_sales_jpy":{"type":"integer","minimum":0.0,"title":"Threshold Annual Sales Jpy","description":"この年間売上(円)以上からこのティアの率を適用(超過分方式)。将来拡張用"},"tier_basis_points":{"type":"integer","minimum":0.0,"title":"Tier Basis Points","description":"このティアの率(basis points, 50=0.5%)。将来拡張用"}},"type":"object","required":["tier_order","threshold_annual_sales_jpy","tier_basis_points"],"title":"FeeScheduleTierInput","description":"**将来拡張用(Phase 1 では未使用)**: 年間売上ティアごとの率(basis points)。"},"FeeScheduleTierResponse":{"properties":{"tier_order":{"type":"integer","minimum":0.0,"title":"Tier Order"},"threshold_annual_sales_jpy":{"type":"integer","minimum":0.0,"title":"Threshold Annual Sales Jpy","description":"この年間売上(円)以上からこのティアの率を適用(超過分方式)。将来拡張用"},"tier_basis_points":{"type":"integer","minimum":0.0,"title":"Tier Basis Points","description":"このティアの率(basis points, 50=0.5%)。将来拡張用"},"id":{"type":"string","format":"uuid","title":"Id"}},"type":"object","required":["tier_order","threshold_annual_sales_jpy","tier_basis_points","id"],"title":"FeeScheduleTierResponse"},"FeeScheduleUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Name"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"fee_basis_points":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Fee Basis Points"},"minimum_fee_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Minimum Fee Credits"},"effective_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective From"},"effective_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective To"},"notes":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Notes"},"tiers":{"anyOf":[{"items":{"$ref":"#/components/schemas/FeeScheduleTierInput"},"type":"array"},{"type":"null"}],"title":"Tiers"}},"type":"object","title":"FeeScheduleUpdate"},"FollowingStoreItem":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"latest_article_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Latest Article At"},"latest_video_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Latest Video At"},"active_coupon_count":{"type":"integer","title":"Active Coupon Count"},"visibility_scope":{"type":"string","enum":["public","test"],"title":"Visibility Scope","default":"public"}},"type":"object","required":["store_id","name","slug","latest_article_at","latest_video_at","active_coupon_count"],"title":"FollowingStoreItem"},"FollowingStoreStoryItem":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"type":"string","title":"Store Name"},"store_icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Icon Url"},"has_unviewed":{"type":"boolean","title":"Has Unviewed"},"story_count":{"type":"integer","title":"Story Count"},"latest_story_expires_at":{"type":"string","format":"date-time","title":"Latest Story Expires At"}},"type":"object","required":["store_id","store_name","store_icon_url","has_unviewed","story_count","latest_story_expires_at"],"title":"FollowingStoreStoryItem"},"FxPricingStatusResponse":{"properties":{"as_of":{"type":"string","format":"date-time","title":"As Of"},"fx":{"$ref":"#/components/schemas/FxRateStatusBlock"},"tokens":{"items":{"$ref":"#/components/schemas/TokenPricingBlock"},"type":"array","title":"Tokens"},"stale_after_seconds":{"type":"integer","title":"Stale After Seconds"},"sanity_min":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Sanity Min"},"sanity_max":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Sanity Max"}},"type":"object","required":["as_of","fx","tokens","stale_after_seconds","sanity_min","sanity_max"],"title":"FxPricingStatusResponse"},"FxRateCreate":{"properties":{"rate_date":{"type":"string","format":"date","title":"Rate Date"},"rate":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Rate"},"source":{"type":"string","maxLength":60,"minLength":1,"title":"Source"},"status":{"type":"string","enum":["active","stale","manual","suspended"],"title":"Status","default":"manual"},"effective_from":{"type":"string","format":"date-time","title":"Effective From"},"effective_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective Until"},"base_currency":{"type":"string","maxLength":3,"minLength":3,"title":"Base Currency","default":"USD"},"quote_currency":{"type":"string","maxLength":3,"minLength":3,"title":"Quote Currency","default":"JPY"},"fetched_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Fetched At"}},"type":"object","required":["rate_date","rate","source","effective_from"],"title":"FxRateCreate","description":"USD/JPY 等のレートを手動登録する(super admin)。本 PR では自動取得 worker は無い。"},"FxRateRefreshResponse":{"properties":{"outcome":{"type":"string","enum":["primary_success","fallback_success","stale","unavailable","cooldown","disabled","locked"],"title":"Outcome"},"refreshed":{"type":"boolean","title":"Refreshed"},"provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider"},"fx":{"$ref":"#/components/schemas/FxRateStatusBlock"},"message":{"type":"string","title":"Message"}},"type":"object","required":["outcome","refreshed","fx","message"],"title":"FxRateRefreshResponse"},"FxRateResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"rate_date":{"type":"string","format":"date","title":"Rate Date"},"base_currency":{"type":"string","title":"Base Currency"},"quote_currency":{"type":"string","title":"Quote Currency"},"rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Rate"},"source":{"type":"string","title":"Source"},"fetched_at":{"type":"string","format":"date-time","title":"Fetched At"},"effective_from":{"type":"string","format":"date-time","title":"Effective From"},"effective_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective Until"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","rate_date","base_currency","quote_currency","rate","source","fetched_at","effective_from","effective_until","status","created_at","updated_at"],"title":"FxRateResponse"},"FxRateStatusBlock":{"properties":{"available":{"type":"boolean","title":"Available"},"rate":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Rate"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"rate_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Rate Date"},"fetched_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Fetched At"},"effective_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective From"},"effective_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Effective Until"},"age_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Age Seconds"},"is_stale":{"type":"boolean","title":"Is Stale","default":false},"is_manual_override":{"type":"boolean","title":"Is Manual Override","default":false},"is_out_of_range":{"type":"boolean","title":"Is Out Of Range","default":false},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["available"],"title":"FxRateStatusBlock"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HealthCheck":{"properties":{"status":{"type":"string","title":"Status"},"postgres":{"$ref":"#/components/schemas/ServiceHealth"},"redis":{"$ref":"#/components/schemas/ServiceHealth"}},"type":"object","required":["status","postgres","redis"],"title":"HealthCheck"},"HostedCheckoutReturnResponse":{"properties":{"checkout_id":{"type":"string","format":"uuid","title":"Checkout Id"},"external_order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Order Id"},"livemode":{"type":"boolean","title":"Livemode"},"amount_jpy":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Amount Jpy"},"allowed_origins":{"items":{"type":"string"},"type":"array","title":"Allowed Origins"},"success_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Success Url"},"cancel_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Url"}},"type":"object","required":["checkout_id","livemode"],"title":"HostedCheckoutReturnResponse","description":"埋め込み型 CryptoPay(外部EC)の戻り導線。intent に紐づく checkout がある場合のみ。\n\n``success_url`` / ``cancel_url`` は checkout 作成時に保存済みの URL に照合用の最小パラメータ\n(checkout_id / external_order_id / status / livemode / amount_jpy)を付けた **戻り先**。\nredirect は UX 用で、注文確定・在庫確定の根拠にはしない(根拠は署名付き webhook のみ)。\ntx_hash / ウォレット / token raw amount は含めない。"},"HotelReservationDetailInput":{"properties":{"room_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Room Id"},"check_in_date":{"type":"string","format":"date","title":"Check In Date"},"check_out_date":{"type":"string","format":"date","title":"Check Out Date"},"guests":{"type":"integer","maximum":999.0,"minimum":1.0,"title":"Guests"}},"type":"object","required":["check_in_date","check_out_date","guests"],"title":"HotelReservationDetailInput"},"HotelRoomCreate":{"properties":{"room_name":{"type":"string","maxLength":160,"minLength":1,"title":"Room Name"},"room_number":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Room Number"},"room_type":{"type":"string","maxLength":120,"minLength":1,"title":"Room Type","default":"客室"},"price_per_night_jpy":{"type":"integer","maximum":99999999.0,"minimum":0.0,"title":"Price Per Night Jpy","default":0},"status":{"type":"string","maxLength":30,"title":"Status","default":"vacant"},"capacity":{"type":"integer","maximum":999.0,"minimum":1.0,"title":"Capacity"},"is_active":{"type":"boolean","title":"Is Active","default":true},"sort_order":{"type":"integer","title":"Sort Order","default":0}},"type":"object","required":["room_name","capacity"],"title":"HotelRoomCreate"},"HotelRoomResponse":{"properties":{"room_name":{"type":"string","maxLength":160,"minLength":1,"title":"Room Name"},"room_number":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Room Number"},"room_type":{"type":"string","maxLength":120,"minLength":1,"title":"Room Type","default":"客室"},"price_per_night_jpy":{"type":"integer","maximum":99999999.0,"minimum":0.0,"title":"Price Per Night Jpy","default":0},"status":{"type":"string","maxLength":30,"title":"Status","default":"vacant"},"capacity":{"type":"integer","maximum":999.0,"minimum":1.0,"title":"Capacity"},"is_active":{"type":"boolean","title":"Is Active","default":true},"sort_order":{"type":"integer","title":"Sort Order","default":0},"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["room_name","capacity","id","store_id","created_at","updated_at"],"title":"HotelRoomResponse"},"HotelRoomUpdate":{"properties":{"room_name":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Room Name"},"room_number":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Room Number"},"room_type":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Room Type"},"price_per_night_jpy":{"anyOf":[{"type":"integer","maximum":99999999.0,"minimum":0.0},{"type":"null"}],"title":"Price Per Night Jpy"},"status":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}],"title":"Status"},"capacity":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":1.0},{"type":"null"}],"title":"Capacity"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sort Order"}},"type":"object","title":"HotelRoomUpdate"},"IntegrationCreateRequest":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"platform":{"type":"string","enum":["generic","woocommerce"],"title":"Platform","default":"generic"},"shop_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Shop Id"},"firebase_id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Firebase Id Token"}},"type":"object","required":["name","firebase_id_token"],"title":"IntegrationCreateRequest"},"IntegrationReviewRequest":{"properties":{"decision":{"type":"string","enum":["test_ready","live_review","active","held","revoked"],"title":"Decision"},"reason":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Reason"}},"type":"object","required":["decision"],"title":"IntegrationReviewRequest"},"InternalWalletConnectEvent":{"properties":{"event_id":{"type":"string","maxLength":120,"minLength":1,"title":"Event Id"},"event_type":{"type":"string","enum":["pairing_ready","session_approved","signature_request_sent","signature_received","failed"],"title":"Event Type"},"pairing_uri":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Pairing Uri"},"pairing_topic":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Pairing Topic"},"session_topic":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Session Topic"},"account":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Account"},"wallet_app_identifier":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}],"title":"Wallet App Identifier"},"wallet_redirect_native":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Wallet Redirect Native"},"wallet_redirect_universal":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Wallet Redirect Universal"},"signature":{"anyOf":[{"type":"string","maxLength":132},{"type":"null"}],"title":"Signature"},"error_message":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Error Message"}},"type":"object","required":["event_id","event_type"],"title":"InternalWalletConnectEvent"},"InventoryAdjustRequest":{"properties":{"quantity_delta":{"type":"integer","maximum":100000000.0,"minimum":-100000000.0,"title":"Quantity Delta"},"reason":{"type":"string","maxLength":200,"minLength":1,"title":"Reason"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"}},"type":"object","required":["quantity_delta","reason","idempotency_key"],"title":"InventoryAdjustRequest"},"JpycQrReadinessCheckResponse":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"status":{"type":"string","enum":["ok","ng","warning"],"title":"Status"},"message":{"type":"string","title":"Message"},"fix_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fix Hint"}},"type":"object","required":["key","label","status","message"],"title":"JpycQrReadinessCheckResponse"},"JpycQrReadinessResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"effective_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Effective Store Id"},"inherited_from_parent":{"type":"boolean","title":"Inherited From Parent","default":false},"parent_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Store Id"},"parent_store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Store Name"},"parent_unavailable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Unavailable Reason"},"ready":{"type":"boolean","title":"Ready"},"ready_label":{"type":"string","title":"Ready Label"},"checks":{"items":{"$ref":"#/components/schemas/JpycQrReadinessCheckResponse"},"type":"array","title":"Checks"},"active_wallet_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Active Wallet Address"},"chain_id":{"type":"integer","title":"Chain Id"},"token_symbol":{"type":"string","const":"JPYC","title":"Token Symbol","default":"JPYC"},"token_address":{"type":"string","title":"Token Address"},"rpc_live_validation_enabled":{"type":"boolean","title":"Rpc Live Validation Enabled"},"watcher_enabled":{"type":"boolean","title":"Watcher Enabled"},"credits_pending_only":{"type":"boolean","title":"Credits Pending Only","default":true},"hotel_prepayment_enabled":{"type":"boolean","title":"Hotel Prepayment Enabled","default":false},"hotel_reservation_booking_enabled":{"type":"boolean","title":"Hotel Reservation Booking Enabled","default":false}},"type":"object","required":["store_id","ready","ready_label","checks","chain_id","token_address","rpc_live_validation_enabled","watcher_enabled"],"title":"JpycQrReadinessResponse"},"KitchenStatusUpdate":{"properties":{"kitchen_status":{"type":"string","enum":["not_started","preparing","ready","served"],"title":"Kitchen Status"}},"type":"object","required":["kitchen_status"],"title":"KitchenStatusUpdate"},"LegacyCustomerAddressImportRequest":{"properties":{"confirm_import":{"type":"boolean","const":true,"title":"Confirm Import"},"recipient_name":{"type":"string","maxLength":120,"minLength":1,"title":"Recipient Name"},"phone":{"type":"string","maxLength":40,"minLength":8,"title":"Phone"},"prefecture_code":{"type":"string","pattern":"^[0-9]{2}$","title":"Prefecture Code"},"city_code":{"anyOf":[{"type":"string","pattern":"^[0-9]{5}$"},{"type":"null"}],"title":"City Code"},"ward":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Ward"},"set_default_shipping":{"type":"boolean","title":"Set Default Shipping","default":false}},"type":"object","required":["confirm_import","recipient_name","phone","prefecture_code"],"title":"LegacyCustomerAddressImportRequest","description":"Missing normalized fields supplied by the user during explicit import."},"LegalConsentDocumentInput":{"properties":{"slug":{"type":"string","maxLength":80,"minLength":1,"title":"Slug"},"version":{"type":"string","maxLength":40,"minLength":1,"title":"Version"}},"type":"object","required":["slug","version"],"title":"LegalConsentDocumentInput"},"LegalConsentDocumentState":{"properties":{"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"url":{"type":"string","title":"Url"},"version":{"type":"string","title":"Version"},"role":{"type":"string","enum":["agree","acknowledge","incorporated"],"title":"Role"},"agreed_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agreed Version"},"agreed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Agreed At"},"needs_consent":{"type":"boolean","title":"Needs Consent"}},"type":"object","required":["slug","title","url","version","role","needs_consent"],"title":"LegalConsentDocumentState"},"LegalConsentRequest":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/LegalConsentDocumentInput"},"type":"array","maxItems":20,"minItems":1,"title":"Documents"},"source":{"type":"string","enum":["mobile","web","store_dashboard","store_application"],"title":"Source"}},"type":"object","required":["documents","source"],"title":"LegalConsentRequest"},"LegalConsentStateResponse":{"properties":{"consent_required":{"type":"boolean","title":"Consent Required"},"satisfied":{"type":"boolean","title":"Satisfied"},"documents":{"items":{"$ref":"#/components/schemas/LegalConsentDocumentState"},"type":"array","title":"Documents"}},"type":"object","required":["consent_required","satisfied","documents"],"title":"LegalConsentStateResponse"},"LegalDocumentListResponse":{"properties":{"base_url":{"type":"string","title":"Base Url"},"publication_ready":{"type":"boolean","title":"Publication Ready"},"items":{"items":{"$ref":"#/components/schemas/LegalDocumentResponse"},"type":"array","title":"Items"}},"type":"object","required":["base_url","publication_ready","items"],"title":"LegalDocumentListResponse"},"LegalDocumentResponse":{"properties":{"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"summary":{"type":"string","title":"Summary"},"url":{"type":"string","title":"Url"},"version":{"type":"string","title":"Version"},"effective_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective At"},"published_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Published At"},"last_revised_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Last Revised At"},"requires_reconsent":{"type":"boolean","title":"Requires Reconsent"},"audiences":{"items":{"type":"string"},"type":"array","title":"Audiences"},"consent":{"additionalProperties":{"type":"string"},"type":"object","title":"Consent"}},"type":"object","required":["slug","title","summary","url","version","effective_at","published_at","last_revised_at","requires_reconsent","audiences","consent"],"title":"LegalDocumentResponse"},"LinkFinish":{"properties":{"request_id":{"type":"string","pattern":"^[A-Za-z0-9_-]{40,80}$","title":"Request Id"},"state":{"type":"string","pattern":"^[A-Za-z0-9_-]{32,128}$","title":"State"},"code":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]{40,80}$"},{"type":"null"}],"title":"Code"}},"additionalProperties":false,"type":"object","required":["request_id","state"],"title":"LinkFinish"},"LinkStart":{"properties":{"id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Id Token"},"fields":{"items":{"type":"string","enum":["display_name","locale","email"]},"type":"array","maxItems":3,"title":"Fields"}},"additionalProperties":false,"type":"object","required":["id_token"],"title":"LinkStart"},"LoginFinish":{"properties":{"request_id":{"type":"string","pattern":"^[A-Za-z0-9_-]{40,80}$","title":"Request Id"},"state":{"type":"string","pattern":"^[A-Za-z0-9_-]{32,128}$","title":"State"},"binding":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$","title":"Binding"},"code":{"type":"string","pattern":"^[A-Za-z0-9_-]{40,80}$","title":"Code"}},"additionalProperties":false,"type":"object","required":["request_id","state","binding","code"],"title":"LoginFinish"},"LotteryRoundCreate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"accepts_from":{"type":"string","format":"date-time","title":"Accepts From"},"accepts_until":{"type":"string","format":"date-time","title":"Accepts Until"},"result_publish_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Result Publish At"},"payment_due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Payment Due At"}},"type":"object","required":["title","accepts_from","accepts_until"],"title":"LotteryRoundCreate"},"LotteryRoundResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id"},"title":{"type":"string","title":"Title"},"accepts_from":{"type":"string","format":"date-time","title":"Accepts From"},"accepts_until":{"type":"string","format":"date-time","title":"Accepts Until"},"result_publish_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Result Publish At"},"payment_due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Payment Due At"},"status":{"type":"string","title":"Status"}},"type":"object","required":["id","event_id","title","accepts_from","accepts_until","result_publish_at","payment_due_at","status"],"title":"LotteryRoundResponse"},"LotteryRoundUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"accepts_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Accepts From"},"accepts_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Accepts Until"},"result_publish_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Result Publish At"},"payment_due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Payment Due At"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},"type":"object","title":"LotteryRoundUpdate"},"MaintenanceSettingsResponse":{"properties":{"maintenance_enabled":{"type":"boolean","title":"Maintenance Enabled"},"maintenance_title":{"type":"string","title":"Maintenance Title"},"maintenance_message":{"type":"string","title":"Maintenance Message"},"maintenance_starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Maintenance Starts At"},"maintenance_ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Maintenance Ends At"},"updated_by_admin_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated By Admin Id"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["maintenance_enabled","maintenance_title","maintenance_message","maintenance_starts_at","maintenance_ends_at","updated_by_admin_id","updated_at"],"title":"MaintenanceSettingsResponse","description":"super admin 向け。公開情報 + 監査用メタ。"},"MaintenanceUpdateRequest":{"properties":{"maintenance_enabled":{"type":"boolean","title":"Maintenance Enabled"},"maintenance_title":{"type":"string","maxLength":200,"title":"Maintenance Title","default":""},"maintenance_message":{"type":"string","maxLength":4000,"title":"Maintenance Message","default":""},"maintenance_starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Maintenance Starts At"},"maintenance_ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Maintenance Ends At"}},"type":"object","required":["maintenance_enabled"],"title":"MaintenanceUpdateRequest"},"ManualFxOverrideRequest":{"properties":{"rate":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Rate"},"duration":{"type":"string","enum":["1h","24h","until_cleared"],"title":"Duration","default":"24h"},"reason":{"type":"string","maxLength":200,"minLength":4,"title":"Reason"},"base_currency":{"type":"string","maxLength":3,"minLength":3,"title":"Base Currency","default":"USD"},"quote_currency":{"type":"string","maxLength":3,"minLength":3,"title":"Quote Currency","default":"JPY"}},"type":"object","required":["rate","reason"],"title":"ManualFxOverrideRequest","description":"運営による USD/JPY 手動上書き(super admin)。"},"MeLikedVideoItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"store_name":{"type":"string","title":"Store Name"},"title":{"type":"string","title":"Title"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"},"like_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Like Count"},"liked_at":{"type":"string","format":"date-time","title":"Liked At"}},"type":"object","required":["id","store_id","store_slug","store_name","title","liked_at"],"title":"MeLikedVideoItem"},"MeLikedVideosResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/MeLikedVideoItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"MeLikedVideosResponse"},"MeSavedVideoItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"store_name":{"type":"string","title":"Store Name"},"title":{"type":"string","title":"Title"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"},"like_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Like Count"},"saved_at":{"type":"string","format":"date-time","title":"Saved At"}},"type":"object","required":["id","store_id","store_slug","store_name","title","saved_at"],"title":"MeSavedVideoItem"},"MeSavedVideosResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/MeSavedVideoItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"MeSavedVideosResponse"},"MeVideoHistoryItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"store_name":{"type":"string","title":"Store Name"},"title":{"type":"string","title":"Title"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"},"like_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Like Count"},"last_watched_at":{"type":"string","format":"date-time","title":"Last Watched At"},"watch_count":{"type":"integer","title":"Watch Count"}},"type":"object","required":["id","store_id","store_slug","store_name","title","last_watched_at","watch_count"],"title":"MeVideoHistoryItem"},"MeVideoHistoryResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/MeVideoHistoryItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"MeVideoHistoryResponse"},"MenuCategoryCreate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"sort_order":{"type":"integer","title":"Sort Order","default":0},"is_visible":{"type":"boolean","title":"Is Visible","default":true},"sales_window_enabled":{"type":"boolean","title":"Sales Window Enabled","default":false},"sales_start_time":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"Sales Start Time"},"sales_end_time":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"Sales End Time"}},"type":"object","required":["name"],"title":"MenuCategoryCreate"},"MenuCategoryResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"name":{"type":"string","title":"Name"},"sort_order":{"type":"integer","title":"Sort Order"},"is_visible":{"type":"boolean","title":"Is Visible"},"sales_window_enabled":{"type":"boolean","title":"Sales Window Enabled"},"sales_start_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sales Start Time"},"sales_end_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sales End Time"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","name","sort_order","is_visible","sales_window_enabled","sales_start_time","sales_end_time","created_at","updated_at"],"title":"MenuCategoryResponse"},"MenuCategoryUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sort Order"},"is_visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Visible"},"sales_window_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sales Window Enabled"},"sales_start_time":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"Sales Start Time"},"sales_end_time":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"Sales End Time"}},"type":"object","title":"MenuCategoryUpdate"},"MenuCopyResponse":{"properties":{"source_store_id":{"type":"string","format":"uuid","title":"Source Store Id"},"target_store_id":{"type":"string","format":"uuid","title":"Target Store Id"},"copied_categories":{"type":"integer","title":"Copied Categories"},"copied_items":{"type":"integer","title":"Copied Items"},"copied_option_groups":{"type":"integer","title":"Copied Option Groups"},"copied_option_items":{"type":"integer","title":"Copied Option Items"},"copied_takeout_settings":{"type":"integer","title":"Copied Takeout Settings"},"skipped_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Skipped Reason"}},"type":"object","required":["source_store_id","target_store_id","copied_categories","copied_items","copied_option_groups","copied_option_items","copied_takeout_settings"],"title":"MenuCopyResponse"},"MenuItemCreate":{"properties":{"category_id":{"type":"string","format":"uuid","title":"Category Id"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,10}|(?=[\\d.]{1,13}0*$)\\d{0,10}\\.\\d{0,2}0*$)"}],"title":"Price Jpy"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Tax Rate","default":"0.10"},"tax_included":{"type":"boolean","title":"Tax Included","default":false},"price_including_tax_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,10}|(?=[\\d.]{1,13}0*$)\\d{0,10}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Price Including Tax Jpy"},"tax_category":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Tax Category"},"image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Url"},"image_file_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Image File Key"},"image_original_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Original Url"},"image_crop_x":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,4}|(?=[\\d.]{1,7}0*$)\\d{0,4}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Image Crop X"},"image_crop_y":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,4}|(?=[\\d.]{1,7}0*$)\\d{0,4}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Image Crop Y"},"image_zoom":{"anyOf":[{"type":"number","maximum":3.0,"minimum":1.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,3}|(?=[\\d.]{1,6}0*$)\\d{0,3}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Image Zoom"},"image_mime_type":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Image Mime Type"},"image_size_bytes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Image Size Bytes"},"mobile_display_name":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Mobile Display Name"},"mobile_description":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Mobile Description"},"mobile_badge":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Mobile Badge"},"is_featured":{"type":"boolean","title":"Is Featured","default":false},"is_alcohol":{"type":"boolean","title":"Is Alcohol","default":false},"is_sold_out":{"type":"boolean","title":"Is Sold Out","default":false},"stock_tracking_enabled":{"type":"boolean","title":"Stock Tracking Enabled","default":false},"stock_quantity":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Stock Quantity"},"auto_sold_out_enabled":{"type":"boolean","title":"Auto Sold Out Enabled","default":true},"low_stock_threshold":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Low Stock Threshold"},"sold_out_reason":{"anyOf":[{"type":"string","pattern":"^(manual|auto_inventory)$"},{"type":"null"}],"title":"Sold Out Reason"},"mobile_sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mobile Sort Order"},"is_available":{"type":"boolean","title":"Is Available","default":true},"sort_order":{"type":"integer","title":"Sort Order","default":0},"option_groups":{"items":{"$ref":"#/components/schemas/MenuItemOptionGroupWrite"},"type":"array","title":"Option Groups"}},"type":"object","required":["category_id","name","price_jpy"],"title":"MenuItemCreate"},"MenuItemImageUploadResponse":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"file_key":{"type":"string","title":"File Key"},"original_url":{"type":"string","title":"Original Url"},"original_name":{"type":"string","title":"Original Name"},"mime_type":{"type":"string","title":"Mime Type"},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"},"size_bytes":{"type":"integer","title":"Size Bytes"},"original_width":{"type":"integer","title":"Original Width"},"original_height":{"type":"integer","title":"Original Height"},"original_size_bytes":{"type":"integer","title":"Original Size Bytes"},"cropX":{"type":"number","title":"Cropx"},"cropY":{"type":"number","title":"Cropy"},"zoom":{"type":"number","title":"Zoom"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","url","file_key","original_url","original_name","mime_type","width","height","size_bytes","original_width","original_height","original_size_bytes","cropX","cropY","zoom","created_at"],"title":"MenuItemImageUploadResponse"},"MenuItemOptionGroupResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"menu_item_id":{"type":"string","format":"uuid","title":"Menu Item Id"},"name":{"type":"string","title":"Name"},"required":{"type":"boolean","title":"Required"},"min_select":{"type":"integer","title":"Min Select"},"max_select":{"type":"integer","title":"Max Select"},"sort_order":{"type":"integer","title":"Sort Order"},"items":{"items":{"$ref":"#/components/schemas/MenuItemOptionItemResponse"},"type":"array","title":"Items"}},"type":"object","required":["id","menu_item_id","name","required","min_select","max_select","sort_order"],"title":"MenuItemOptionGroupResponse"},"MenuItemOptionGroupWrite":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"required":{"type":"boolean","title":"Required","default":false},"min_select":{"type":"integer","minimum":0.0,"title":"Min Select","default":0},"max_select":{"type":"integer","minimum":1.0,"title":"Max Select","default":1},"sort_order":{"type":"integer","title":"Sort Order","default":0},"items":{"items":{"$ref":"#/components/schemas/MenuItemOptionItemWrite"},"type":"array","title":"Items"}},"type":"object","required":["name"],"title":"MenuItemOptionGroupWrite"},"MenuItemOptionItemResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"group_id":{"type":"string","format":"uuid","title":"Group Id"},"name":{"type":"string","title":"Name"},"price_delta_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Price Delta Jpy"},"is_default":{"type":"boolean","title":"Is Default"},"is_sold_out":{"type":"boolean","title":"Is Sold Out"},"sort_order":{"type":"integer","title":"Sort Order"}},"type":"object","required":["id","group_id","name","price_delta_jpy","is_default","is_sold_out","sort_order"],"title":"MenuItemOptionItemResponse"},"MenuItemOptionItemWrite":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"price_delta_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,10}|(?=[\\d.]{1,13}0*$)\\d{0,10}\\.\\d{0,2}0*$)"}],"title":"Price Delta Jpy","default":"0"},"is_default":{"type":"boolean","title":"Is Default","default":false},"is_sold_out":{"type":"boolean","title":"Is Sold Out","default":false},"sort_order":{"type":"integer","title":"Sort Order","default":0}},"type":"object","required":["name"],"title":"MenuItemOptionItemWrite"},"MenuItemResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"category_id":{"type":"string","format":"uuid","title":"Category Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Price Jpy"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"tax_included":{"type":"boolean","title":"Tax Included"},"price_including_tax_jpy":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Price Including Tax Jpy"},"tax_category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tax Category"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"image_file_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image File Key"},"image_original_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Original Url"},"image_crop_x":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Image Crop X"},"image_crop_y":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Image Crop Y"},"image_zoom":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Image Zoom"},"image_mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Mime Type"},"image_size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Size Bytes"},"mobile_display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mobile Display Name"},"mobile_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mobile Description"},"mobile_badge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mobile Badge"},"is_featured":{"type":"boolean","title":"Is Featured"},"is_alcohol":{"type":"boolean","title":"Is Alcohol"},"is_sold_out":{"type":"boolean","title":"Is Sold Out"},"stock_tracking_enabled":{"type":"boolean","title":"Stock Tracking Enabled"},"stock_quantity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stock Quantity"},"auto_sold_out_enabled":{"type":"boolean","title":"Auto Sold Out Enabled"},"low_stock_threshold":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Low Stock Threshold"},"sold_out_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sold Out Reason"},"mobile_sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mobile Sort Order"},"is_available":{"type":"boolean","title":"Is Available"},"sort_order":{"type":"integer","title":"Sort Order"},"option_groups":{"items":{"$ref":"#/components/schemas/MenuItemOptionGroupResponse"},"type":"array","title":"Option Groups"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","category_id","name","description","price_jpy","tax_rate","tax_included","price_including_tax_jpy","tax_category","image_url","image_file_key","image_original_url","image_crop_x","image_crop_y","image_zoom","image_mime_type","image_size_bytes","mobile_display_name","mobile_description","mobile_badge","is_featured","is_alcohol","is_sold_out","stock_tracking_enabled","stock_quantity","auto_sold_out_enabled","low_stock_threshold","sold_out_reason","mobile_sort_order","is_available","sort_order","created_at","updated_at"],"title":"MenuItemResponse"},"MenuItemTakeoutSettingsResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"menu_item_id":{"type":"string","format":"uuid","title":"Menu Item Id"},"takeout_enabled":{"type":"boolean","title":"Takeout Enabled"},"use_takeout_price":{"type":"boolean","title":"Use Takeout Price"},"takeout_price_jpy":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Takeout Price Jpy"},"takeout_tax_rate":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Takeout Tax Rate"},"takeout_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Takeout Name"},"takeout_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Takeout Description"},"takeout_preparation_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Takeout Preparation Minutes"},"takeout_available_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Takeout Available From"},"takeout_available_until":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Takeout Available Until"},"takeout_daily_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Takeout Daily Limit"},"takeout_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Takeout Notes"},"takeout_option_overrides":{"anyOf":[{"$ref":"#/components/schemas/TakeoutOptionOverrides"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","menu_item_id","takeout_enabled","use_takeout_price","takeout_price_jpy","takeout_tax_rate","takeout_name","takeout_description","takeout_preparation_minutes","takeout_available_from","takeout_available_until","takeout_daily_limit","takeout_notes","created_at","updated_at"],"title":"MenuItemTakeoutSettingsResponse"},"MenuItemTakeoutSettingsUpsert":{"properties":{"takeout_enabled":{"type":"boolean","title":"Takeout Enabled","default":false},"use_takeout_price":{"type":"boolean","title":"Use Takeout Price","default":false},"takeout_price_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,10}|(?=[\\d.]{1,13}0*$)\\d{0,10}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Takeout Price Jpy"},"takeout_tax_rate":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Takeout Tax Rate"},"takeout_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Takeout Name"},"takeout_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Takeout Description"},"takeout_preparation_minutes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Takeout Preparation Minutes"},"takeout_available_from":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"Takeout Available From"},"takeout_available_until":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"Takeout Available Until"},"takeout_daily_limit":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Takeout Daily Limit"},"takeout_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Takeout Notes"},"takeout_option_overrides":{"anyOf":[{"$ref":"#/components/schemas/TakeoutOptionOverrides"},{"type":"null"}]}},"type":"object","title":"MenuItemTakeoutSettingsUpsert","description":"Per-item takeout settings upsert payload.\n\nThe product master (``menu_items``) is never modified through this schema;\nonly the separate takeout overlay is written. ``takeout_tax_rate`` and the\ndedicated ``takeout_price_jpy`` are applied to takeout order amounts only when\nthe store opts in (``apply_takeout_tax_rate`` / ``apply_takeout_price``);\notherwise they are stored but do not change charged amounts."},"MenuItemUpdate":{"properties":{"category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Category Id"},"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,10}|(?=[\\d.]{1,13}0*$)\\d{0,10}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Price Jpy"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Tax Rate"},"tax_included":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Tax Included"},"price_including_tax_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,10}|(?=[\\d.]{1,13}0*$)\\d{0,10}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Price Including Tax Jpy"},"tax_category":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Tax Category"},"image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Url"},"image_file_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Image File Key"},"image_original_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Original Url"},"image_crop_x":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,4}|(?=[\\d.]{1,7}0*$)\\d{0,4}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Image Crop X"},"image_crop_y":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,4}|(?=[\\d.]{1,7}0*$)\\d{0,4}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Image Crop Y"},"image_zoom":{"anyOf":[{"type":"number","maximum":3.0,"minimum":1.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,3}|(?=[\\d.]{1,6}0*$)\\d{0,3}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Image Zoom"},"image_mime_type":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Image Mime Type"},"image_size_bytes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Image Size Bytes"},"mobile_display_name":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Mobile Display Name"},"mobile_description":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Mobile Description"},"mobile_badge":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Mobile Badge"},"is_featured":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Featured"},"is_alcohol":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Alcohol"},"is_sold_out":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Sold Out"},"stock_tracking_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Stock Tracking Enabled"},"stock_quantity":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Stock Quantity"},"auto_sold_out_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Sold Out Enabled"},"low_stock_threshold":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Low Stock Threshold"},"sold_out_reason":{"anyOf":[{"type":"string","pattern":"^(manual|auto_inventory)$"},{"type":"null"}],"title":"Sold Out Reason"},"mobile_sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mobile Sort Order"},"is_available":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Available"},"sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sort Order"},"option_groups":{"anyOf":[{"items":{"$ref":"#/components/schemas/MenuItemOptionGroupWrite"},"type":"array"},{"type":"null"}],"title":"Option Groups"}},"type":"object","title":"MenuItemUpdate"},"MobileChildAppearanceStoreSummaryResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"location_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Name"},"nextAppearanceDate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nextappearancedate"},"countdownLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Countdownlabel"},"effectiveState":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Effectivestate"}},"type":"object","required":["id","name"],"title":"MobileChildAppearanceStoreSummaryResponse"},"MobileCoordinateResponse":{"properties":{"latitude":{"type":"number","title":"Latitude"},"longitude":{"type":"number","title":"Longitude"}},"type":"object","required":["latitude","longitude"],"title":"MobileCoordinateResponse"},"MobileCouponResponse":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"expiresAt":{"type":"string","title":"Expiresat"}},"type":"object","required":["id","title","expiresAt"],"title":"MobileCouponResponse"},"MobileCustomerContextResponse":{"properties":{"status":{"type":"string","enum":["guest","authenticated"],"title":"Status"},"customerId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customerid"},"displayName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Displayname"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"verifiedPhone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verifiedphone"},"hasVerifiedPhone":{"type":"boolean","title":"Hasverifiedphone","default":false},"visitor":{"$ref":"#/components/schemas/MobileVisitorContextResponse"},"legalConsent":{"$ref":"#/components/schemas/MobileLegalConsentContext"}},"type":"object","required":["status","visitor","legalConsent"],"title":"MobileCustomerContextResponse"},"MobileCustomerProfileResponse":{"properties":{"customerId":{"type":"string","title":"Customerid"},"displayName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Displayname"},"displayNameKana":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Displaynamekana"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"verifiedPhone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verifiedphone"},"hasVerifiedPhone":{"type":"boolean","title":"Hasverifiedphone","default":false},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"postalCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postalcode"},"prefecture":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prefecture"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"addressLine1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Addressline1"},"addressLine2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Addressline2"}},"type":"object","required":["customerId"],"title":"MobileCustomerProfileResponse"},"MobileCustomerProfileUpdate":{"properties":{"displayName":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Displayname"},"displayNameKana":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Displaynamekana"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"postalCode":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Postalcode"},"prefecture":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Prefecture"},"city":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"City"},"addressLine1":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Addressline1"},"addressLine2":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Addressline2"}},"type":"object","title":"MobileCustomerProfileUpdate"},"MobileDeviceGrantEntry":{"properties":{"feature_key":{"type":"string","maxLength":40,"title":"Feature Key"},"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["feature_key","enabled"],"title":"MobileDeviceGrantEntry"},"MobileDeviceGrantsUpdateRequest":{"properties":{"grants":{"items":{"$ref":"#/components/schemas/MobileDeviceGrantEntry"},"type":"array","maxItems":100,"title":"Grants"}},"type":"object","title":"MobileDeviceGrantsUpdateRequest"},"MobileHealthResponse":{"properties":{"status":{"type":"string","const":"ok","title":"Status"},"service":{"type":"string","const":"mobile-api","title":"Service"},"mode":{"type":"string","const":"mock","title":"Mode"}},"type":"object","required":["status","service","mode"],"title":"MobileHealthResponse"},"MobileHistoryOptionGroup":{"properties":{"name":{"type":"string","title":"Name"},"selections":{"items":{"type":"string"},"type":"array","title":"Selections"}},"type":"object","required":["name"],"title":"MobileHistoryOptionGroup","description":"A snapshotted option group on an ordered line (e.g. トッピング → 味玉/チャーシュー)."},"MobileHistoryOrderItem":{"properties":{"name":{"type":"string","title":"Name"},"quantity":{"type":"integer","title":"Quantity"},"unitPriceJpy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unitpricejpy"},"lineTotalJpy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linetotaljpy"},"optionGroups":{"items":{"$ref":"#/components/schemas/MobileHistoryOptionGroup"},"type":"array","title":"Optiongroups"}},"type":"object","required":["name","quantity"],"title":"MobileHistoryOrderItem"},"MobileHomeResponse":{"properties":{"followed_active_appearances":{"items":{"$ref":"#/components/schemas/VirtualMapAppearanceItem"},"type":"array","title":"Followed Active Appearances"},"followed_upcoming_appearances":{"items":{"$ref":"#/components/schemas/VirtualMapAppearanceItem"},"type":"array","title":"Followed Upcoming Appearances"},"recommended_active_stores":{"items":{"$ref":"#/components/schemas/VirtualMapAppearanceItem"},"type":"array","title":"Recommended Active Stores"},"recommended_upcoming_stores":{"items":{"$ref":"#/components/schemas/VirtualMapAppearanceItem"},"type":"array","title":"Recommended Upcoming Stores"}},"type":"object","title":"MobileHomeResponse"},"MobileLegalConsentContext":{"properties":{"consentRequired":{"type":"boolean","title":"Consentrequired"},"satisfied":{"type":"boolean","title":"Satisfied"},"documents":{"items":{"$ref":"#/components/schemas/MobileLegalConsentDocument"},"type":"array","title":"Documents"}},"type":"object","required":["consentRequired","satisfied"],"title":"MobileLegalConsentContext","description":"起動直後の同意判定。判定は backend の legal_consents が正本。"},"MobileLegalConsentDocument":{"properties":{"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"url":{"type":"string","title":"Url"},"version":{"type":"string","title":"Version"},"role":{"type":"string","title":"Role"}},"type":"object","required":["slug","title","url","version","role"],"title":"MobileLegalConsentDocument"},"MobileMapEntityResponse":{"properties":{"id":{"type":"string","title":"Id"},"entityType":{"type":"string","enum":["shop","taxi","kitchen_car","event","crowd"],"title":"Entitytype"},"title":{"type":"string","title":"Title"},"kind":{"type":"string","enum":["store","appearance"],"title":"Kind","default":"store"},"appearance_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appearance Id"},"parent_store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Store Name"},"parent_store_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Store Slug"},"category":{"type":"string","title":"Category"},"categoryLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Categorylabel"},"visibility_scope":{"type":"string","enum":["public","test"],"title":"Visibility Scope","default":"public"},"industry":{"type":"string","title":"Industry","default":"other"},"operation_type":{"type":"string","title":"Operation Type","default":"fixed"},"coordinate":{"$ref":"#/components/schemas/MobileCoordinateResponse"},"status":{"type":"string","title":"Status"},"appearance_effective_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appearance Effective State"},"appearance_starts_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appearance Starts At"},"appearance_ends_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appearance Ends At"},"appearance_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appearance Title"},"secondStoreStatusLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secondstorestatuslabel"},"nextSpecialDayLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nextspecialdaylabel"},"location_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Name"},"area_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Code"},"area_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Label"},"event_area_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Area Name"},"event_map_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Map Id"},"event_area_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Area Id"},"map_x":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map X"},"map_y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map Y"},"map_pin_priority":{"type":"integer","title":"Map Pin Priority","default":0},"map_pin_label_visible":{"type":"boolean","title":"Map Pin Label Visible","default":false},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"crowd":{"anyOf":[{"type":"string","enum":["calm","normal","busy"]},{"type":"null"}],"title":"Crowd"},"shopId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shopid"},"etaMinutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Etaminutes"}},"type":"object","required":["id","entityType","title","category","coordinate","status"],"title":"MobileMapEntityResponse"},"MobileMenuCategoryResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"items":{"items":{"$ref":"#/components/schemas/MobileMenuItemResponse"},"type":"array","title":"Items"}},"type":"object","required":["id","name"],"title":"MobileMenuCategoryResponse"},"MobileMenuItemResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"priceJpy":{"type":"integer","title":"Pricejpy"},"priceIncludingTaxJpy":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Priceincludingtaxjpy"},"taxRate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taxrate"},"imageUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Imageurl"},"badge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Badge"},"isSoldOut":{"type":"boolean","title":"Issoldout","default":false}},"type":"object","required":["id","name","priceJpy"],"title":"MobileMenuItemResponse"},"MobileMessageResponse":{"properties":{"id":{"type":"string","title":"Id"},"sender":{"type":"string","enum":["shop","user"],"title":"Sender"},"fromShop":{"type":"boolean","title":"Fromshop"},"text":{"type":"string","title":"Text"},"translated":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated"},"by":{"anyOf":[{"type":"string","enum":["ai","staff"]},{"type":"null"}],"title":"By"},"time":{"type":"string","title":"Time"},"visibility":{"type":"string","enum":["public","checked_in"],"title":"Visibility","default":"public"},"audience":{"type":"string","enum":["public","visitor"],"title":"Audience","default":"public"}},"type":"object","required":["id","sender","fromShop","text","time"],"title":"MobileMessageResponse"},"MobileOfficialContentItem":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","enum":["video","article","event"],"title":"Kind"},"source":{"type":"string","const":"official","title":"Source","default":"official"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Excerpt"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"status_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Label"},"cta_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cta Label"},"detail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail Url"},"detail_route_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail Route Id"},"view_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"View Count"},"share_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Share Count"},"venue_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue Name"},"venue_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue Address"},"requires_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Requires Application"},"registration_status_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Status Label"}},"type":"object","required":["id","kind","title"],"title":"MobileOfficialContentItem"},"MobileOfficialContentResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"items":{"items":{"$ref":"#/components/schemas/MobileOfficialContentItem"},"type":"array","title":"Items"}},"type":"object","required":["store_id","items"],"title":"MobileOfficialContentResponse"},"MobileOrderPublicationBlocker":{"properties":{"code":{"type":"string","title":"Code"},"label":{"type":"string","title":"Label"}},"type":"object","required":["code","label"],"title":"MobileOrderPublicationBlocker"},"MobileOrderPublicationResponse":{"properties":{"public":{"type":"boolean","title":"Public"},"can_publish":{"type":"boolean","title":"Can Publish"},"blockers":{"items":{"$ref":"#/components/schemas/MobileOrderPublicationBlocker"},"type":"array","title":"Blockers"},"status_label":{"type":"string","title":"Status Label"}},"type":"object","required":["public","can_publish","blockers","status_label"],"title":"MobileOrderPublicationResponse"},"MobileOrderPublicationUpdate":{"properties":{"public":{"type":"boolean","title":"Public"}},"type":"object","required":["public"],"title":"MobileOrderPublicationUpdate"},"MobileParentStoreSummaryResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"MobileParentStoreSummaryResponse"},"MobileParkingLocationResponse":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"addressGuide":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Addressguide"},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Longitude"},"sortOrder":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sortorder"},"spaces":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Spaces"},"feeType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feetype"},"walkingMinutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Walkingminutes"},"heightLimit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heightlimit"},"mapUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mapurl"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","title":"MobileParkingLocationResponse"},"MobilePaymentHistoryDetailResponse":{"properties":{"id":{"type":"string","title":"Id"},"storeId":{"type":"string","title":"Storeid"},"storeName":{"type":"string","title":"Storename"},"storeCategoryLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Storecategorylabel"},"industry":{"type":"string","title":"Industry"},"usedAt":{"type":"string","title":"Usedat"},"amountJpy":{"type":"string","title":"Amountjpy"},"tokenSymbol":{"type":"string","title":"Tokensymbol"},"paymentMethod":{"type":"string","title":"Paymentmethod"},"sourceType":{"type":"string","title":"Sourcetype"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"chainId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chainid"},"txHash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Txhash"},"sections":{"items":{"$ref":"#/components/schemas/MobilePaymentHistoryDetailSection"},"type":"array","title":"Sections"},"refundedAmountJpy":{"type":"string","title":"Refundedamountjpy","default":"0.00"},"refundableAmountJpy":{"type":"string","title":"Refundableamountjpy","default":"0.00"},"refundQrAvailable":{"type":"boolean","title":"Refundqravailable","default":false},"refundStatus":{"type":"string","title":"Refundstatus","default":"none"},"refundCompletedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refundcompletedat"}},"type":"object","required":["id","storeId","storeName","industry","usedAt","amountJpy","tokenSymbol","paymentMethod","sourceType"],"title":"MobilePaymentHistoryDetailResponse"},"MobilePaymentHistoryDetailSection":{"properties":{"type":{"type":"string","title":"Type"},"title":{"type":"string","title":"Title"},"items":{"items":{"$ref":"#/components/schemas/MobileHistoryOrderItem"},"type":"array","title":"Items"},"subtotalJpy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtotaljpy"},"taxJpy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Taxjpy"},"totalJpy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Totaljpy"},"tableNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tablenumber"},"pickupCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickupcode"},"orderNumber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ordernumber"},"propertyName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Propertyname"},"roomType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Roomtype"},"checkIn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checkin"},"checkOut":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checkout"},"guests":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Guests"},"serviceName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Servicename"},"staffName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Staffname"},"reservedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reservedat"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["type","title"],"title":"MobilePaymentHistoryDetailSection","description":"One render block of the detail modal.\n\n``type`` drives the client renderer (food_order / retail_order / hotel_stay /\nbeauty_reservation / order_unavailable). Unknown future types degrade to the\n``title`` + ``message`` fallback, so adding an industry needs no UI change.\nOnly the fields relevant to ``type`` are populated."},"MobilePaymentHistoryItem":{"properties":{"id":{"type":"string","title":"Id"},"storeId":{"type":"string","title":"Storeid"},"storeName":{"type":"string","title":"Storename"},"industry":{"type":"string","title":"Industry"},"usedAt":{"type":"string","title":"Usedat"},"amountJpy":{"type":"string","title":"Amountjpy"},"paymentMethod":{"type":"string","title":"Paymentmethod"},"sourceType":{"type":"string","title":"Sourcetype"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"txHashShort":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Txhashshort"},"walletLinkId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Walletlinkid"},"walletDisplay":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Walletdisplay"},"review":{"$ref":"#/components/schemas/MobilePaymentHistoryReviewState"}},"type":"object","required":["id","storeId","storeName","industry","usedAt","amountJpy","paymentMethod","sourceType","review"],"title":"MobilePaymentHistoryItem"},"MobilePaymentHistoryResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/MobilePaymentHistoryItem"},"type":"array","title":"Items"},"hasMore":{"type":"boolean","title":"Hasmore"}},"type":"object","required":["items","hasMore"],"title":"MobilePaymentHistoryResponse"},"MobilePaymentHistoryReviewState":{"properties":{"canReview":{"type":"boolean","title":"Canreview"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"reviewId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reviewid"}},"type":"object","required":["canReview"],"title":"MobilePaymentHistoryReviewState"},"MobileQRVerifyRequest":{"properties":{"payload":{"type":"string","minLength":1,"title":"Payload"},"flowHint":{"anyOf":[{"type":"string","enum":["checkin","vip","visited","coupon"]},{"type":"null"}],"title":"Flowhint"}},"type":"object","required":["payload"],"title":"MobileQRVerifyRequest"},"MobileQRVerifyResponse":{"properties":{"flow":{"type":"string","enum":["checkin","vip","visited","coupon"],"title":"Flow"},"shopId":{"type":"string","title":"Shopid"},"visitRecorded":{"type":"boolean","title":"Visitrecorded"},"rankDelta":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rankdelta"},"coupon":{"anyOf":[{"$ref":"#/components/schemas/MobileCouponResponse"},{"type":"null"}]}},"type":"object","required":["flow","shopId","visitRecorded"],"title":"MobileQRVerifyResponse"},"MobileReservationCreate":{"properties":{"customer_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Customer Name"},"customer_phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Customer Phone"},"customer_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Customer Email"},"customer_postal_code":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Customer Postal Code"},"customer_prefecture":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Customer Prefecture"},"customer_city":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Customer City"},"customer_address_line1":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Customer Address Line1"},"customer_address_line2":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Customer Address Line2"},"reservation_date":{"type":"string","format":"date","title":"Reservation Date"},"start_time":{"type":"string","format":"time","title":"Start Time"},"party_size":{"type":"integer","maximum":999.0,"minimum":1.0,"title":"Party Size"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"},"reservation_type":{"type":"string","enum":["general","salon","hotel"],"title":"Reservation Type","default":"general"},"preferred_seat_type":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Preferred Seat Type"},"service_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Service Id"},"staff_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Staff Id"},"room_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Room Id"},"check_in_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Check In Date"},"check_out_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Check Out Date"},"reservation_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Reservation Plan Id"},"offering_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Offering Id"}},"type":"object","required":["reservation_date","start_time","party_size"],"title":"MobileReservationCreate"},"MobileReservationOfferingAvailabilityResponse":{"properties":{"offering":{"$ref":"#/components/schemas/MobileReservationOfferingResponse"},"date":{"type":"string","format":"date","title":"Date"},"party_size":{"type":"integer","title":"Party Size"},"eligible":{"type":"boolean","title":"Eligible"},"ineligible_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ineligible Reason"},"slots":{"items":{"$ref":"#/components/schemas/ReservationSlotResponse"},"type":"array","title":"Slots"},"availability_mode":{"type":"string","title":"Availability Mode","default":"bookable"},"booking_enabled":{"type":"boolean","title":"Booking Enabled","default":true}},"type":"object","required":["offering","date","party_size","eligible","slots"],"title":"MobileReservationOfferingAvailabilityResponse"},"MobileReservationOfferingResponse":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","title":"Kind"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"},"price_jpy":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Price Jpy"},"discount_price_jpy":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Discount Price Jpy"},"price_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price Label"},"price_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price Unit"},"min_party_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Party Size"},"max_party_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Party Size"},"allowed_weekdays":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Allowed Weekdays"},"time_windows":{"anyOf":[{"items":{"$ref":"#/components/schemas/ReservationPlanTimeWindow"},"type":"array"},{"type":"null"}],"title":"Time Windows"},"is_default":{"type":"boolean","title":"Is Default","default":false},"plugin_key":{"type":"string","title":"Plugin Key","default":"reservation"},"reservation_type":{"type":"string","title":"Reservation Type","default":"general"},"source":{"type":"string","title":"Source","default":"reservation_plan"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"},"availability_mode":{"type":"string","title":"Availability Mode","default":"bookable"},"booking_enabled":{"type":"boolean","title":"Booking Enabled","default":true},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"cover_image":{"anyOf":[{"$ref":"#/components/schemas/ReservationPlanCoverImage"},{"type":"null"}]}},"type":"object","required":["id","kind","title"],"title":"MobileReservationOfferingResponse"},"MobileReservationResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"customer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Customer Id"},"reservation_number":{"type":"string","title":"Reservation Number"},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"},"customer_name":{"type":"string","title":"Customer Name"},"customer_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Phone"},"customer_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Email"},"reservation_type":{"type":"string","enum":["general","salon","hotel"],"title":"Reservation Type"},"reservation_date":{"type":"string","format":"date","title":"Reservation Date"},"start_time":{"type":"string","format":"time","title":"Start Time"},"end_time":{"type":"string","format":"time","title":"End Time"},"end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End At"},"party_size":{"type":"integer","title":"Party Size"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"staff_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Staff Note"},"cancel_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Reason"},"cancel_policy_snapshot_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Cancel Policy Snapshot Json"},"cancelled_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancelled By"},"cancelled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cancelled At"},"confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Confirmed At"},"arrived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Arrived At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"reminder_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reminder Scheduled At"},"reminder_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reminder Sent At"},"reminder_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reminder Status"},"reminder_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reminder Error"},"preferred_seat_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preferred Seat Type"},"reservation_details_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Reservation Details Json"},"table_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Name"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"status":{"type":"string","enum":["pending","confirmed","arrived","cancelled","completed","no_show"],"title":"Status"},"source":{"type":"string","enum":["mobile","pos","admin"],"title":"Source"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"store":{"$ref":"#/components/schemas/MobileReservationStoreSummary"},"cancel_deadline_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cancel Deadline At"},"customer_cancellable":{"type":"boolean","title":"Customer Cancellable","default":false}},"type":"object","required":["id","store_id","customer_id","reservation_number","customer_name","customer_phone","customer_email","reservation_type","reservation_date","start_time","end_time","party_size","note","staff_note","cancel_reason","cancelled_at","confirmed_at","completed_at","preferred_seat_type","reservation_details_json","table_name","purpose","status","source","created_at","updated_at","store"],"title":"MobileReservationResponse"},"MobileReservationSettingsResponse":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"accepting_mobile_reservations":{"type":"boolean","title":"Accepting Mobile Reservations"},"timezone":{"type":"string","title":"Timezone"},"open_time":{"type":"string","format":"time","title":"Open Time"},"close_time":{"type":"string","format":"time","title":"Close Time"},"slot_minutes":{"type":"integer","title":"Slot Minutes"},"default_duration_minutes":{"type":"integer","title":"Default Duration Minutes"},"booking_open_days_before":{"type":"integer","title":"Booking Open Days Before"},"min_lead_minutes":{"type":"integer","title":"Min Lead Minutes"},"max_days_ahead":{"type":"integer","title":"Max Days Ahead"},"capacity_per_slot":{"type":"integer","title":"Capacity Per Slot"},"max_party_size":{"type":"integer","title":"Max Party Size"},"require_phone":{"type":"boolean","title":"Require Phone"},"allow_note":{"type":"boolean","title":"Allow Note"},"weekdays":{"items":{"type":"integer"},"type":"array","title":"Weekdays"}},"type":"object","required":["enabled","accepting_mobile_reservations","timezone","open_time","close_time","slot_minutes","default_duration_minutes","booking_open_days_before","min_lead_minutes","max_days_ahead","capacity_per_slot","max_party_size","require_phone","allow_note","weekdays"],"title":"MobileReservationSettingsResponse"},"MobileReservationStoreSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"}},"type":"object","required":["id","slug","name"],"title":"MobileReservationStoreSummary"},"MobileRoleGrantEntry":{"properties":{"role":{"type":"string","maxLength":20,"title":"Role"},"feature_key":{"type":"string","maxLength":40,"title":"Feature Key"},"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["role","feature_key","enabled"],"title":"MobileRoleGrantEntry"},"MobileRoleGrantFeature":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"description":{"type":"string","title":"Description"},"group":{"type":"string","title":"Group"},"group_label":{"type":"string","title":"Group Label"},"requires_plugin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requires Plugin"},"requires_any_plugins":{"items":{"type":"string"},"type":"array","title":"Requires Any Plugins"},"plugin_enabled":{"type":"boolean","title":"Plugin Enabled"},"disabled_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled Reason"},"default_by_role":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Default By Role"},"enabled_by_role":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Enabled By Role"},"applicable_by_role":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Applicable By Role"}},"type":"object","required":["key","label","description","group","group_label","requires_plugin","plugin_enabled","disabled_reason","default_by_role","enabled_by_role","applicable_by_role"],"title":"MobileRoleGrantFeature","description":"割当UIの1機能と、role 別の状態。"},"MobileRoleGrantRole":{"properties":{"role":{"type":"string","title":"Role"},"tier":{"type":"string","enum":["owner","manager","staff"],"title":"Tier"},"tier_label":{"type":"string","title":"Tier Label"},"duty_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duty Label"},"label":{"type":"string","title":"Label"}},"type":"object","required":["role","tier","tier_label","duty_label","label"],"title":"MobileRoleGrantRole","description":"割当UIに並べる role(3ティア表示)。"},"MobileRoleGrantsResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"roles":{"items":{"$ref":"#/components/schemas/MobileRoleGrantRole"},"type":"array","title":"Roles"},"features":{"items":{"$ref":"#/components/schemas/MobileRoleGrantFeature"},"type":"array","title":"Features"},"note":{"type":"string","title":"Note"}},"type":"object","required":["store_id","roles","features","note"],"title":"MobileRoleGrantsResponse","description":"端末管理の割当UI用(``GET/PUT /v1/pos/devices/mobile-role-grants``)。"},"MobileRoleGrantsUpdateRequest":{"properties":{"grants":{"items":{"$ref":"#/components/schemas/MobileRoleGrantEntry"},"type":"array","maxItems":200,"title":"Grants"}},"type":"object","title":"MobileRoleGrantsUpdateRequest"},"MobileScheduleItemResponse":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","enum":["reservation","takeout"],"title":"Kind"},"business_date":{"type":"string","format":"date","title":"Business Date"},"scheduled_at":{"type":"string","format":"date-time","title":"Scheduled At"},"reservation":{"anyOf":[{"$ref":"#/components/schemas/MobileReservationResponse"},{"type":"null"}]},"takeout":{"anyOf":[{"$ref":"#/components/schemas/MobileTakeoutScheduleResponse"},{"type":"null"}]}},"type":"object","required":["id","kind","business_date","scheduled_at"],"title":"MobileScheduleItemResponse"},"MobileScheduleResponse":{"properties":{"upcoming":{"items":{"$ref":"#/components/schemas/MobileScheduleItemResponse"},"type":"array","title":"Upcoming"},"past":{"items":{"$ref":"#/components/schemas/MobileScheduleItemResponse"},"type":"array","title":"Past"},"past_offset":{"type":"integer","title":"Past Offset"},"next_past_offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Past Offset"}},"type":"object","required":["upcoming","past","past_offset"],"title":"MobileScheduleResponse"},"MobileShopImageResponse":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"url":{"type":"string","title":"Url"},"originalUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Originalurl"},"originalName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Originalname"},"mimeType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mimetype"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"sizeBytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sizebytes"},"originalWidth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Originalwidth"},"originalHeight":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Originalheight"},"originalSizeBytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Originalsizebytes"},"sortOrder":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sortorder"},"fileExists":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Fileexists"},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdat"},"dataUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataurl"},"cropX":{"type":"number","title":"Cropx","default":50},"cropY":{"type":"number","title":"Cropy","default":50},"zoom":{"type":"number","title":"Zoom","default":1}},"type":"object","required":["url"],"title":"MobileShopImageResponse"},"MobileShopNoticeResponse":{"properties":{"id":{"type":"string","title":"Id"},"shopId":{"type":"string","title":"Shopid"},"kind":{"type":"string","enum":["notice","recommendation","crowd","visitorOnly"],"title":"Kind"},"title":{"type":"string","title":"Title"},"body":{"type":"string","title":"Body"},"audience":{"type":"string","enum":["visitor","vip","regular"],"title":"Audience"},"pinned":{"type":"boolean","title":"Pinned"},"updatedAt":{"type":"string","title":"Updatedat"},"visibility":{"type":"string","enum":["public","checked_in"],"title":"Visibility","default":"public"}},"type":"object","required":["id","shopId","kind","title","body","audience","pinned","updatedAt"],"title":"MobileShopNoticeResponse"},"MobileShopRelatedAppearanceResponse":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"location_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"starts_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ends At"},"effective_state":{"type":"string","title":"Effective State"},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Longitude"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"}},"type":"object","required":["id","title","effective_state"],"title":"MobileShopRelatedAppearanceResponse"},"MobileShopResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"category":{"type":"string","title":"Category"},"categoryLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Categorylabel"},"visibility_scope":{"type":"string","enum":["public","test"],"title":"Visibility Scope","default":"public"},"industry":{"type":"string","title":"Industry","default":"other"},"store_operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Operation Type"},"mobile_store_enabled":{"type":"boolean","title":"Mobile Store Enabled","default":false},"takeout_enabled":{"type":"boolean","title":"Takeout Enabled","default":false},"headline":{"type":"string","title":"Headline"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"recommendation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recommendation"},"hours":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hours"},"parking":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parking"},"parkingLocations":{"items":{"$ref":"#/components/schemas/MobileParkingLocationResponse"},"type":"array","title":"Parkinglocations"},"paymentMethods":{"items":{"type":"string"},"type":"array","title":"Paymentmethods"},"socialLinks":{"items":{"anyOf":[{"$ref":"#/components/schemas/MobileSocialLinkResponse"},{"type":"string"}]},"type":"array","title":"Sociallinks"},"amenities":{"items":{"type":"string"},"type":"array","title":"Amenities"},"hero_image":{"anyOf":[{"$ref":"#/components/schemas/MobileShopImageResponse"},{"type":"null"}]},"gallery_images":{"items":{"$ref":"#/components/schemas/MobileShopImageResponse"},"type":"array","title":"Gallery Images"},"videos":{"items":{"$ref":"#/components/schemas/MobileShopVideoResponse"},"type":"array","title":"Videos"},"menu":{"items":{"$ref":"#/components/schemas/MobileMenuCategoryResponse"},"type":"array","title":"Menu"},"reservation":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Reservation"},"reservationCapabilities":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Reservationcapabilities"},"waiting":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Waiting"},"coupon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coupon"},"businessHours":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Businesshours"},"is_open_now":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Open Now"},"open_status":{"type":"string","enum":["open","closed","unknown"],"title":"Open Status","default":"unknown"},"todayBusinessHours":{"items":{"type":"string"},"type":"array","title":"Todaybusinesshours"},"todayBusinessHoursLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Todaybusinesshourslabel"},"secondStoreStatusLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secondstorestatuslabel"},"nextSpecialDayLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nextspecialdaylabel"},"weeklyBusinessHours":{"items":{"$ref":"#/components/schemas/MobileWeeklyBusinessHourResponse"},"type":"array","title":"Weeklybusinesshours"},"couponSummary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Couponsummary"},"crowdLevel":{"anyOf":[{"type":"string","enum":["calm","normal","busy"]},{"type":"null"}],"title":"Crowdlevel"},"todayOpen":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Todayopen"},"coordinate":{"$ref":"#/components/schemas/MobileCoordinateResponse"},"appearance_effective_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appearance Effective State"},"appearance_starts_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appearance Starts At"},"appearance_ends_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appearance Ends At"},"appearance_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appearance Title"},"location_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Name"},"area_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Code"},"area_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Label"},"event_area_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Area Name"},"event_map_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Map Id"},"event_area_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Area Id"},"map_x":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map X"},"map_y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map Y"},"map_pin_priority":{"type":"integer","title":"Map Pin Priority","default":0},"map_pin_label_visible":{"type":"boolean","title":"Map Pin Label Visible","default":false},"related_appearances":{"items":{"$ref":"#/components/schemas/MobileShopRelatedAppearanceResponse"},"type":"array","title":"Related Appearances"},"parentStore":{"anyOf":[{"$ref":"#/components/schemas/MobileParentStoreSummaryResponse"},{"type":"null"}]},"childAppearanceStores":{"items":{"$ref":"#/components/schemas/MobileChildAppearanceStoreSummaryResponse"},"type":"array","title":"Childappearancestores"},"upcomingSpecialDays":{"items":{"$ref":"#/components/schemas/MobileSpecialBusinessDayResponse"},"type":"array","title":"Upcomingspecialdays"},"crowd":{"anyOf":[{"type":"string","enum":["calm","normal","busy"]},{"type":"null"}],"title":"Crowd"},"rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating"},"reviewCount":{"type":"integer","title":"Reviewcount","default":0},"distanceM":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Distancem"},"etaMinutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Etaminutes"},"statuses":{"items":{"type":"string","enum":["open","seat","busy","limited"]},"type":"array","title":"Statuses"},"rank":{"anyOf":[{"type":"string","enum":["regular","vip"]},{"type":"null"}],"title":"Rank"},"qrCheckedIn":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Qrcheckedin"},"visits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Visits"},"visitGoal":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Visitgoal"}},"type":"object","required":["id","name","category","headline","paymentMethods","socialLinks","coupon","coordinate"],"title":"MobileShopResponse"},"MobileShopVideoResponse":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"url":{"type":"string","title":"Url"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"originalName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Originalname"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"mimeType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mimetype"},"codec":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Codec"},"durationSeconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Durationseconds"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"sizeBytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sizebytes"},"sortOrder":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sortorder"},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdat"}},"type":"object","required":["url"],"title":"MobileShopVideoResponse"},"MobileSocialLinkResponse":{"properties":{"provider":{"type":"string","enum":["website","instagram","x","line","unknown"],"title":"Provider"},"label":{"type":"string","title":"Label"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","required":["provider","label"],"title":"MobileSocialLinkResponse"},"MobileSpecialBusinessDayResponse":{"properties":{"id":{"type":"string","title":"Id"},"date":{"type":"string","title":"Date"},"title":{"type":"string","title":"Title"},"startsAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Startsat"},"endsAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endsat"},"effectiveState":{"type":"string","title":"Effectivestate"},"countdownLabel":{"type":"string","title":"Countdownlabel"},"imageUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Imageurl"},"locationPresetId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locationpresetid"},"locationName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locationname"},"locationAddress":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locationaddress"},"locationLatitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Locationlatitude"},"locationLongitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Locationlongitude"},"locationPrefecture":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locationprefecture"},"locationCity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locationcity"},"locationWard":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locationward"},"locationAreaLabel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locationarealabel"},"locationLandmark":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locationlandmark"},"locationMapUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locationmapurl"},"locationImageUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locationimageurl"}},"type":"object","required":["id","date","title","effectiveState","countdownLabel"],"title":"MobileSpecialBusinessDayResponse"},"MobileStoreCreate":{"properties":{"copy_parent_menu":{"type":"boolean","title":"Copy Parent Menu","default":false},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"store_kind":{"type":"string","enum":["branch","event","food_truck","mobile"],"title":"Store Kind","default":"event"}},"type":"object","required":["name"],"title":"MobileStoreCreate"},"MobileStoreEventDetailResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"type":"string","title":"Store Name"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"venue_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue Name"},"venue_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue Address"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"status_label":{"type":"string","title":"Status Label"},"registration_status_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Status Label"},"requires_application":{"type":"boolean","title":"Requires Application"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","store_id","store_name","title","starts_at","ends_at","status_label","requires_application","created_at"],"title":"MobileStoreEventDetailResponse"},"MobileStoreStoriesResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"type":"string","title":"Store Name"},"store_icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Icon Url"},"stories":{"items":{"$ref":"#/components/schemas/MobileStoreStoryItem"},"type":"array","title":"Stories"}},"type":"object","required":["store_id","store_name","store_icon_url","stories"],"title":"MobileStoreStoriesResponse"},"MobileStoreStoryItem":{"properties":{"story_id":{"type":"string","format":"uuid","title":"Story Id"},"media_type":{"type":"string","enum":["image","video"],"title":"Media Type"},"media_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Media Url"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Caption"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"viewed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Viewed"}},"type":"object","required":["story_id","media_type","media_url","thumbnail_url","caption","starts_at","expires_at","viewed"],"title":"MobileStoreStoryItem"},"MobileStoreViewerContextResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"slug":{"type":"string","title":"Slug"},"follower_count":{"type":"integer","title":"Follower Count"},"viewer":{"$ref":"#/components/schemas/MobileStoreViewerResponse"}},"type":"object","required":["store_id","slug","follower_count","viewer"],"title":"MobileStoreViewerContextResponse"},"MobileStoreViewerResponse":{"properties":{"authenticated":{"type":"boolean","title":"Authenticated"},"following":{"type":"boolean","title":"Following"},"paid_usage_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Paid Usage Count"}},"type":"object","required":["authenticated","following"],"title":"MobileStoreViewerResponse"},"MobileStoreVisitItem":{"properties":{"storeId":{"type":"string","title":"Storeid"},"storeName":{"type":"string","title":"Storename"},"visitCount":{"type":"integer","title":"Visitcount"},"lastUsedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastusedat"}},"type":"object","required":["storeId","storeName","visitCount"],"title":"MobileStoreVisitItem"},"MobileStoreVisitsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/MobileStoreVisitItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"MobileStoreVisitsResponse"},"MobileTakeoutScheduleResponse":{"properties":{"order_id":{"type":"string","format":"uuid","title":"Order Id"},"store":{"$ref":"#/components/schemas/MobileReservationStoreSummary"},"pickup_business_date":{"type":"string","format":"date","title":"Pickup Business Date"},"pickup_at":{"type":"string","format":"date-time","title":"Pickup At"},"pickup_code":{"type":"string","title":"Pickup Code"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"payment_status":{"type":"string","title":"Payment Status"},"order_status":{"type":"string","title":"Order Status"},"kitchen_status":{"type":"string","title":"Kitchen Status"},"pickup_status":{"type":"string","enum":["order_received","preparing","ready","picked_up","cancelled"],"title":"Pickup Status"}},"type":"object","required":["order_id","store","pickup_business_date","pickup_at","pickup_code","total_jpy","payment_status","order_status","kitchen_status","pickup_status"],"title":"MobileTakeoutScheduleResponse"},"MobileTalkThreadResponse":{"properties":{"id":{"type":"string","title":"Id"},"shopId":{"type":"string","title":"Shopid"},"shopName":{"type":"string","title":"Shopname"},"unread":{"type":"integer","title":"Unread"},"lastMessage":{"type":"string","title":"Lastmessage"},"lastTranslated":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lasttranslated"},"updatedAt":{"type":"string","title":"Updatedat"},"audiences":{"items":{"type":"string","enum":["visitor","vip","regular"]},"type":"array","title":"Audiences"},"qrCheckedIn":{"type":"boolean","title":"Qrcheckedin"}},"type":"object","required":["id","shopId","shopName","unread","lastMessage","updatedAt","audiences","qrCheckedIn"],"title":"MobileTalkThreadResponse"},"MobileTaxiCompanyResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"eta":{"type":"string","title":"Eta"},"price":{"type":"string","title":"Price"},"note":{"type":"string","title":"Note"}},"type":"object","required":["id","name","eta","price","note"],"title":"MobileTaxiCompanyResponse"},"MobileVideoFeedItem":{"properties":{"delivery_id":{"type":"string","format":"uuid","title":"Delivery Id"},"delivery_token":{"type":"string","title":"Delivery Token"},"id":{"type":"string","format":"uuid","title":"Id"},"kind":{"type":"string","const":"video","title":"Kind","default":"video"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"store_name":{"type":"string","title":"Store Name"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"search_tags":{"items":{"type":"string"},"type":"array","title":"Search Tags"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"video_url":{"type":"string","title":"Video Url"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"view_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"View Count"},"share_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Share Count"},"score_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Reason"},"sponsored":{"type":"boolean","title":"Sponsored","default":false},"sponsor_label":{"anyOf":[{"type":"string","const":"スポンサー"},{"type":"null"}],"title":"Sponsor Label"}},"type":"object","required":["delivery_id","delivery_token","id","store_id","store_slug","store_name","title","video_url"],"title":"MobileVideoFeedItem"},"MobileVideoFeedResponse":{"properties":{"feed_snapshot_id":{"type":"string","format":"uuid","title":"Feed Snapshot Id"},"ranking_key":{"type":"string","enum":["recent_random","trending","trending_24h","trending_7d","new","recommended"],"title":"Ranking Key"},"ranking_version":{"type":"string","title":"Ranking Version"},"measurement_version":{"type":"string","title":"Measurement Version"},"pickup_items":{"items":{"$ref":"#/components/schemas/MobileVideoFeedItem"},"type":"array","title":"Pickup Items"},"feed_items":{"items":{"$ref":"#/components/schemas/MobileVideoFeedItem"},"type":"array","title":"Feed Items"},"items":{"items":{"$ref":"#/components/schemas/MobileVideoFeedItem"},"type":"array","title":"Items"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["feed_snapshot_id","ranking_key","ranking_version","measurement_version","pickup_items","feed_items","items","expires_at"],"title":"MobileVideoFeedResponse"},"MobileVisitorContextResponse":{"properties":{"rank":{"type":"string","enum":["guest","regular","vip"],"title":"Rank"},"visits":{"type":"integer","title":"Visits"},"visitGoal":{"type":"integer","title":"Visitgoal"},"qrCheckedInShopIds":{"items":{"type":"string"},"type":"array","title":"Qrcheckedinshopids"}},"type":"object","required":["rank","visits","visitGoal","qrCheckedInShopIds"],"title":"MobileVisitorContextResponse"},"MobileWalletLinkChallengeResponse":{"properties":{"challengeId":{"type":"string","title":"Challengeid"},"message":{"type":"string","title":"Message"},"domain":{"type":"string","title":"Domain"},"expiresAt":{"type":"string","title":"Expiresat"}},"type":"object","required":["challengeId","message","domain","expiresAt"],"title":"MobileWalletLinkChallengeResponse"},"MobileWalletLinkItem":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"verificationMethod":{"type":"string","title":"Verificationmethod"},"walletDisplay":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Walletdisplay"},"nickname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nickname"},"isPrimary":{"type":"boolean","title":"Isprimary","default":false},"isActiveStoreReceivingWallet":{"type":"boolean","title":"Isactivestorereceivingwallet","default":false},"verifiedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verifiedat"},"lastVerifiedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastverifiedat"},"lastUsedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lastusedat"}},"type":"object","required":["id","status","verificationMethod"],"title":"MobileWalletLinkItem"},"MobileWalletLinkListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/MobileWalletLinkItem"},"type":"array","title":"Items"},"activeCount":{"type":"integer","title":"Activecount","default":0},"maxActive":{"type":"integer","title":"Maxactive","default":0}},"type":"object","required":["items"],"title":"MobileWalletLinkListResponse"},"MobileWalletLinkRenameRequest":{"properties":{"message":{"type":"string","minLength":1,"title":"Message"},"signature":{"type":"string","minLength":1,"title":"Signature"},"nickname":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Nickname"}},"type":"object","required":["message","signature"],"title":"MobileWalletLinkRenameRequest"},"MobileWalletLinkResolveRequest":{"properties":{"walletAddress":{"type":"string","maxLength":120,"minLength":42,"title":"Walletaddress"}},"type":"object","required":["walletAddress"],"title":"MobileWalletLinkResolveRequest"},"MobileWalletLinkResolveResponse":{"properties":{"linked":{"type":"boolean","title":"Linked"},"walletLink":{"anyOf":[{"$ref":"#/components/schemas/MobileWalletLinkItem"},{"type":"null"}]}},"type":"object","required":["linked"],"title":"MobileWalletLinkResolveResponse"},"MobileWalletLinkSignedRequest":{"properties":{"message":{"type":"string","minLength":1,"title":"Message"},"signature":{"type":"string","minLength":1,"title":"Signature"}},"type":"object","required":["message","signature"],"title":"MobileWalletLinkSignedRequest"},"MobileWalletLinkSyncRequest":{"properties":{"paymentIntentId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Paymentintentid"}},"type":"object","title":"MobileWalletLinkSyncRequest"},"MobileWalletLinkSyncResponse":{"properties":{"attributed":{"type":"integer","title":"Attributed"},"paymentIntentAttributed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Paymentintentattributed"}},"type":"object","required":["attributed"],"title":"MobileWalletLinkSyncResponse"},"MobileWalletLinkVerifyRequest":{"properties":{"message":{"type":"string","minLength":1,"title":"Message"},"signature":{"type":"string","minLength":1,"title":"Signature"}},"type":"object","required":["message","signature"],"title":"MobileWalletLinkVerifyRequest"},"MobileWeeklyBusinessHourResponse":{"properties":{"weekday":{"type":"integer","title":"Weekday"},"weekdayLabel":{"type":"string","title":"Weekdaylabel"},"isClosed":{"type":"boolean","title":"Isclosed"},"ranges":{"items":{"type":"string"},"type":"array","title":"Ranges"},"isToday":{"type":"boolean","title":"Istoday"}},"type":"object","required":["weekday","weekdayLabel","isClosed","isToday"],"title":"MobileWeeklyBusinessHourResponse"},"MockChainReceiptInput":{"properties":{"status":{"type":"string","maxLength":40,"minLength":1,"title":"Status"},"block_number":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Block Number"}},"type":"object","required":["status"],"title":"MockChainReceiptInput"},"MockChainTransactionInput":{"properties":{"chain_id":{"type":"integer","title":"Chain Id"},"from_address":{"type":"string","maxLength":42,"minLength":1,"title":"From Address"},"to_address":{"anyOf":[{"type":"string","maxLength":42},{"type":"null"}],"title":"To Address"},"input":{"type":"string","minLength":1,"title":"Input"},"value":{"type":"integer","minimum":0.0,"title":"Value","default":0},"block_number":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Block Number"}},"type":"object","required":["chain_id","from_address","input"],"title":"MockChainTransactionInput"},"MonthlySalesSummaryResponse":{"properties":{"month":{"type":"string","title":"Month"},"payment_method":{"type":"string","title":"Payment Method"},"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"order_count":{"type":"integer","title":"Order Count"},"taxable_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Taxable Amount Jpy"},"tax_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Amount Jpy"},"total_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Amount Jpy"}},"type":"object","required":["month","payment_method","fulfillment_type","tax_rate","order_count","taxable_amount_jpy","tax_amount_jpy","total_amount_jpy"],"title":"MonthlySalesSummaryResponse"},"MunicipalitiesResponse":{"properties":{"prefecture_code":{"type":"string","title":"Prefecture Code"},"municipalities":{"items":{"$ref":"#/components/schemas/MunicipalityItem"},"type":"array","title":"Municipalities"}},"type":"object","required":["prefecture_code","municipalities"],"title":"MunicipalitiesResponse"},"MunicipalityItem":{"properties":{"city_code":{"type":"string","title":"City Code"},"city":{"type":"string","title":"City"}},"type":"object","required":["city_code","city"],"title":"MunicipalityItem"},"NotificationListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/NotificationResponse"},"type":"array","title":"Items"},"unread_count":{"type":"integer","title":"Unread Count","default":0}},"type":"object","title":"NotificationListResponse"},"NotificationResponse":{"properties":{"id":{"type":"string","title":"Id"},"type":{"type":"string","title":"Type"},"title":{"type":"string","title":"Title"},"body":{"type":"string","title":"Body"},"store_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Id"},"ticket_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticket Id"},"thread_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thread Id"},"recipient_admin_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Admin Id"},"read_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Read At"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","type","title","body","created_at"],"title":"NotificationResponse"},"OptionRuleInput-Input":{"properties":{"option_item_id":{"type":"string","format":"uuid","title":"Option Item Id"},"pricing":{"type":"string","enum":["included","surcharge","unavailable"],"title":"Pricing"},"surcharge_price_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Surcharge Price Jpy"}},"type":"object","required":["option_item_id","pricing"],"title":"OptionRuleInput"},"OptionRuleInput-Output":{"properties":{"option_item_id":{"type":"string","format":"uuid","title":"Option Item Id"},"pricing":{"type":"string","enum":["included","surcharge","unavailable"],"title":"Pricing"},"surcharge_price_jpy":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Surcharge Price Jpy"}},"type":"object","required":["option_item_id","pricing"],"title":"OptionRuleInput"},"OrderCreate":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"fulfillment_type":{"type":"string","enum":["dine_in","takeout"],"title":"Fulfillment Type"},"order_source":{"type":"string","enum":["store_pos","admin_manual","public_lp","customer_takeout"],"title":"Order Source"},"customer_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Customer Name"},"requested_pickup_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Requested Pickup At"},"table_number":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Table Number"},"is_immediate_takeout":{"type":"boolean","title":"Is Immediate Takeout","default":false},"items":{"items":{"$ref":"#/components/schemas/OrderCreateItem"},"type":"array","minItems":1,"title":"Items"}},"type":"object","required":["store_id","fulfillment_type","order_source","items"],"title":"OrderCreate"},"OrderCreateItem":{"properties":{"menu_item_id":{"type":"string","format":"uuid","title":"Menu Item Id"},"qty":{"type":"integer","minimum":1.0,"title":"Qty"},"selected_options":{"items":{"$ref":"#/components/schemas/OrderItemSelectedOption"},"type":"array","title":"Selected Options"}},"type":"object","required":["menu_item_id","qty"],"title":"OrderCreateItem"},"OrderItemResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"order_id":{"type":"string","format":"uuid","title":"Order Id"},"menu_item_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Menu Item Id"},"line_kind":{"type":"string","title":"Line Kind","default":"standard"},"item_name":{"type":"string","title":"Item Name"},"qty":{"type":"integer","title":"Qty"},"voided_quantity":{"type":"integer","title":"Voided Quantity","default":0},"voided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Voided At"},"void_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Void Reason"},"unit_price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Unit Price Jpy"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"tax_included":{"type":"boolean","title":"Tax Included","default":false},"line_subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Subtotal Jpy"},"line_tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Tax Jpy"},"line_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Total Jpy"},"options_snapshot":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Options Snapshot"},"payment_status":{"type":"string","title":"Payment Status","default":"unpaid"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","order_id","menu_item_id","item_name","qty","unit_price_jpy","tax_rate","line_subtotal_jpy","line_tax_jpy","line_total_jpy","created_at"],"title":"OrderItemResponse"},"OrderItemSelectedOption":{"properties":{"group_id":{"type":"string","format":"uuid","title":"Group Id"},"option_item_id":{"type":"string","format":"uuid","title":"Option Item Id"}},"type":"object","required":["group_id","option_item_id"],"title":"OrderItemSelectedOption"},"OrderItemVoidRequest":{"properties":{"quantity":{"type":"integer","minimum":1.0,"title":"Quantity"},"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["quantity","reason"],"title":"OrderItemVoidRequest"},"OrderListResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"appearance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Appearance Id"},"order_status":{"type":"string","title":"Order Status"},"payment_status":{"type":"string","title":"Payment Status"},"kitchen_status":{"type":"string","title":"Kitchen Status"},"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"order_source":{"type":"string","title":"Order Source"},"payment_method":{"type":"string","title":"Payment Method"},"payment_state":{"type":"string","title":"Payment State","default":"unpaid"},"active_payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Active Payment Intent Id"},"payment_intent_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Intent Status"},"can_cancel_order":{"type":"boolean","title":"Can Cancel Order","default":false},"can_reissue_qr":{"type":"boolean","title":"Can Reissue Qr","default":false},"can_change_payment_method":{"type":"boolean","title":"Can Change Payment Method","default":false},"can_mark_cash_paid":{"type":"boolean","title":"Can Mark Cash Paid","default":false},"blocked_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blocked Reason"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"customer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Name"},"contains_alcohol":{"type":"boolean","title":"Contains Alcohol","default":false},"guest_contact_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guest Contact Email"},"guest_contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guest Contact Phone"},"table_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Number"},"pickup_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Code"},"requested_pickup_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Requested Pickup At"},"ready_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready At"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"items":{"items":{"$ref":"#/components/schemas/OrderItemResponse"},"type":"array","title":"Items","default":[]}},"type":"object","required":["id","store_id","order_status","payment_status","kitchen_status","fulfillment_type","order_source","payment_method","total_jpy","customer_name","table_number","created_at","updated_at"],"title":"OrderListResponse"},"OrderPaymentStateResponse":{"properties":{"order_id":{"type":"string","format":"uuid","title":"Order Id"},"payment_state":{"type":"string","title":"Payment State"},"payment_method":{"type":"string","title":"Payment Method"},"active_payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Active Payment Intent Id"},"payment_intent_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Intent Status"},"can_cancel_order":{"type":"boolean","title":"Can Cancel Order"},"can_reissue_qr":{"type":"boolean","title":"Can Reissue Qr"},"can_change_payment_method":{"type":"boolean","title":"Can Change Payment Method"},"can_mark_cash_paid":{"type":"boolean","title":"Can Mark Cash Paid"},"blocked_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blocked Reason"}},"type":"object","required":["order_id","payment_state","payment_method","can_cancel_order","can_reissue_qr","can_change_payment_method","can_mark_cash_paid"],"title":"OrderPaymentStateResponse"},"OrderQuoteItemResponse":{"properties":{"menu_item_id":{"type":"string","format":"uuid","title":"Menu Item Id"},"name":{"type":"string","title":"Name"},"qty":{"type":"integer","title":"Qty"},"unit_price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Unit Price Jpy"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"tax_included":{"type":"boolean","title":"Tax Included","default":false},"line_subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Subtotal Jpy"},"line_tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Tax Jpy"},"line_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Total Jpy"},"options_snapshot":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Options Snapshot"},"price_policy":{"type":"string","title":"Price Policy"},"price_source":{"type":"string","title":"Price Source"},"tax_rate_source":{"type":"string","title":"Tax Rate Source"}},"type":"object","required":["menu_item_id","name","qty","unit_price_jpy","tax_rate","line_subtotal_jpy","line_tax_jpy","line_total_jpy","price_policy","price_source","tax_rate_source"],"title":"OrderQuoteItemResponse"},"OrderQuoteResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"fulfillment_type":{"type":"string","enum":["dine_in","takeout"],"title":"Fulfillment Type"},"order_source":{"type":"string","enum":["store_pos","admin_manual","public_lp","customer_takeout"],"title":"Order Source"},"currency":{"type":"string","title":"Currency","default":"JPY"},"items":{"items":{"$ref":"#/components/schemas/OrderQuoteItemResponse"},"type":"array","title":"Items"},"tax_lines":{"items":{"$ref":"#/components/schemas/OrderQuoteTaxLineResponse"},"type":"array","title":"Tax Lines"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"price_policy":{"type":"string","title":"Price Policy"}},"type":"object","required":["store_id","fulfillment_type","order_source","items","tax_lines","subtotal_jpy","tax_jpy","total_jpy","price_policy"],"title":"OrderQuoteResponse"},"OrderQuoteTaxLineResponse":{"properties":{"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"taxable_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Taxable Amount Jpy"},"tax_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Amount Jpy"}},"type":"object","required":["fulfillment_type","tax_rate","taxable_amount_jpy","tax_amount_jpy"],"title":"OrderQuoteTaxLineResponse"},"OrderResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"appearance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Appearance Id"},"order_status":{"type":"string","title":"Order Status"},"payment_status":{"type":"string","title":"Payment Status"},"kitchen_status":{"type":"string","title":"Kitchen Status"},"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"order_source":{"type":"string","title":"Order Source"},"payment_method":{"type":"string","title":"Payment Method"},"payment_state":{"type":"string","title":"Payment State","default":"unpaid"},"active_payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Active Payment Intent Id"},"payment_intent_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Intent Status"},"can_cancel_order":{"type":"boolean","title":"Can Cancel Order","default":false},"can_reissue_qr":{"type":"boolean","title":"Can Reissue Qr","default":false},"can_change_payment_method":{"type":"boolean","title":"Can Change Payment Method","default":false},"can_mark_cash_paid":{"type":"boolean","title":"Can Mark Cash Paid","default":false},"blocked_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blocked Reason"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"customer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Name"},"guest_contact_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guest Contact Email"},"guest_contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guest Contact Phone"},"customer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Customer Id"},"contains_alcohol":{"type":"boolean","title":"Contains Alcohol","default":false},"alcohol_age_confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Alcohol Age Confirmed At"},"table_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Number"},"table_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Table Session Id"},"pickup_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Code"},"requested_pickup_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Requested Pickup At"},"ready_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready At"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"},"created_by_membership_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Membership Id"},"created_by_admin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Admin Id"},"placed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Placed At"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"canceled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Canceled At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"items":{"items":{"$ref":"#/components/schemas/OrderItemResponse"},"type":"array","title":"Items","default":[]},"tax_lines":{"items":{"$ref":"#/components/schemas/TaxLineResponse"},"type":"array","title":"Tax Lines","default":[]},"all_you_can_eat_history":{"anyOf":[{"$ref":"#/components/schemas/AllYouCanEatHistoryResponse"},{"type":"null"}]}},"type":"object","required":["id","store_id","order_status","payment_status","kitchen_status","fulfillment_type","order_source","payment_method","subtotal_jpy","tax_jpy","total_jpy","customer_name","table_number","created_by_membership_id","created_by_admin_id","placed_at","paid_at","completed_at","canceled_at","created_at","updated_at"],"title":"OrderResponse"},"OrderStatusEventResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"order_id":{"type":"string","format":"uuid","title":"Order Id"},"event_type":{"type":"string","title":"Event Type"},"from_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Status"},"to_status":{"type":"string","title":"To Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"actor_type":{"type":"string","title":"Actor Type"},"actor_id":{"type":"string","format":"uuid","title":"Actor Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","order_id","event_type","from_status","to_status","reason","actor_type","actor_id","created_at"],"title":"OrderStatusEventResponse"},"OrderStatusUpdate":{"properties":{"order_status":{"type":"string","enum":["draft","placed","accepted","completed","canceled"],"title":"Order Status"}},"type":"object","required":["order_status"],"title":"OrderStatusUpdate"},"PairingCodeCreateRequest":{"properties":{"role_to_grant":{"type":"string","enum":["manager","cashier","kitchen","ready_staff","viewer"],"title":"Role To Grant"},"device_name_hint":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Device Name Hint"}},"type":"object","required":["role_to_grant"],"title":"PairingCodeCreateRequest"},"PairingCodeCreateResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"pairing_code":{"type":"string","title":"Pairing Code"},"code_last4":{"type":"string","title":"Code Last4"},"role_to_grant":{"type":"string","title":"Role To Grant"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"message":{"type":"string","title":"Message"}},"type":"object","required":["id","pairing_code","code_last4","role_to_grant","expires_at","message"],"title":"PairingCodeCreateResponse","description":"発行直後のみ平文 ``pairing_code`` を返す(再取得不可)。"},"PairingCodeListItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"code_last4":{"type":"string","title":"Code Last4"},"role_to_grant":{"type":"string","title":"Role To Grant"},"status":{"type":"string","enum":["active","used","expired","revoked"],"title":"Status"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Used At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"created_by_store_member_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Store Member Id"},"used_by_device_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Used By Device Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","code_last4","role_to_grant","status","expires_at","used_at","revoked_at","created_by_store_member_id","used_by_device_id","created_at"],"title":"PairingCodeListItem"},"PairingCodeListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PairingCodeListItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"PairingCodeListResponse"},"PaymentIntentCreate":{"properties":{"order_id":{"type":"string","format":"uuid","title":"Order Id"},"expected_from_address":{"anyOf":[{"type":"string","maxLength":42,"minLength":42},{"type":"null"}],"title":"Expected From Address"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"},"token_symbol":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Token Symbol"},"token_address":{"anyOf":[{"type":"string","maxLength":42,"minLength":42},{"type":"null"}],"title":"Token Address"},"chain_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chain Id"},"defer_token_selection":{"type":"boolean","title":"Defer Token Selection","default":false}},"type":"object","required":["order_id","idempotency_key"],"title":"PaymentIntentCreate"},"PaymentIntentMarkFailed":{"properties":{"failure_reason":{"type":"string","maxLength":500,"minLength":1,"title":"Failure Reason"}},"type":"object","required":["failure_reason"],"title":"PaymentIntentMarkFailed"},"PaymentIntentReissueRequest":{"properties":{"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"},"expected_from_address":{"anyOf":[{"type":"string","maxLength":42,"minLength":42},{"type":"null"}],"title":"Expected From Address"},"token_symbol":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Token Symbol"},"token_address":{"anyOf":[{"type":"string","maxLength":42,"minLength":42},{"type":"null"}],"title":"Token Address"},"chain_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chain Id"},"defer_token_selection":{"type":"boolean","title":"Defer Token Selection","default":false}},"type":"object","required":["idempotency_key"],"title":"PaymentIntentReissueRequest","description":"Safely replace a direct-order QR intent with a new terminally-linked one."},"PaymentIntentResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"order_id":{"type":"string","format":"uuid","title":"Order Id"},"checkout_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Checkout Session Id"},"supersedes_payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supersedes Payment Intent Id"},"amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"recipient_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Address"},"expected_from_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected From Address"},"chain_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chain Id"},"token_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Address"},"token_symbol":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Symbol"},"token_decimals":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Token Decimals"},"token_amount_raw":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Token Amount Raw"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"status":{"type":"string","enum":["requires_token_selection","requires_payment","pending_confirmation","succeeded","failed","expired","manual_review","canceled"],"title":"Status"},"idempotency_key":{"type":"string","title":"Idempotency Key"},"public_access_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Access Token"},"payment_source":{"type":"string","title":"Payment Source"},"payment_contract_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Contract Address"},"tx_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Hash"},"confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Confirmed At"},"failure_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Reason"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"ended_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ended Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","order_id","amount","amount_jpy","expires_at","status","idempotency_key","payment_source","tx_hash","confirmed_at","failure_reason","created_at","updated_at"],"title":"PaymentIntentResponse"},"PaymentIntentSubmitTx":{"properties":{"tx_hash":{"type":"string","maxLength":66,"minLength":1,"title":"Tx Hash"}},"type":"object","required":["tx_hash"],"title":"PaymentIntentSubmitTx"},"PaymentIntentValidateTxRequest":{"properties":{"tx_hash":{"anyOf":[{"type":"string","maxLength":66,"minLength":1},{"type":"null"}],"title":"Tx Hash"},"apply_result":{"type":"boolean","title":"Apply Result","default":false},"rpc_provider":{"type":"string","enum":["mock","live"],"title":"Rpc Provider","default":"mock"},"required_confirmations":{"type":"integer","maximum":256.0,"minimum":0.0,"title":"Required Confirmations","default":12},"latest_block_number":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Latest Block Number"},"mock_transaction":{"anyOf":[{"$ref":"#/components/schemas/MockChainTransactionInput"},{"type":"null"}]},"mock_receipt":{"anyOf":[{"$ref":"#/components/schemas/MockChainReceiptInput"},{"type":"null"}]}},"type":"object","title":"PaymentIntentValidateTxRequest"},"PaymentIntentValidationResponse":{"properties":{"code":{"type":"string","title":"Code"},"severity":{"type":"string","title":"Severity"},"payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Payment Intent Id"},"tx_hash":{"type":"string","title":"Tx Hash"},"message":{"type":"string","title":"Message"},"observed":{"anyOf":[{"$ref":"#/components/schemas/TxObservationResponse"},{"type":"null"}]},"expected":{"anyOf":[{"$ref":"#/components/schemas/TxExpectationResponse"},{"type":"null"}]},"retryable":{"type":"boolean","title":"Retryable","default":false},"confirmations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Confirmations"},"required_confirmations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Required Confirmations"},"provider_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Name"},"raw_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raw Error"},"applied":{"type":"boolean","title":"Applied","default":false},"applied_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applied Status"}},"type":"object","required":["code","severity","payment_intent_id","tx_hash","message"],"title":"PaymentIntentValidationResponse"},"PaymentManualReviewResolveRequest":{"properties":{"resolution":{"type":"string","enum":["confirmed_paid","confirmed_not_sent","refunded","duplicate_payment","invalid_attempt","keep_under_review"],"title":"Resolution"},"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"},"confirmed_payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Confirmed Payment Intent Id"}},"type":"object","required":["resolution","reason","idempotency_key"],"title":"PaymentManualReviewResolveRequest"},"PaymentManualReviewResolveResponse":{"properties":{"resolution":{"type":"string","enum":["confirmed_paid","confirmed_not_sent","refunded","duplicate_payment","invalid_attempt","keep_under_review"],"title":"Resolution"},"payment_intent_id":{"type":"string","format":"uuid","title":"Payment Intent Id"},"related_payment_intent_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Related Payment Intent Ids"},"related_order_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Related Order Ids"},"payment_status":{"type":"string","title":"Payment Status"},"idempotent_replay":{"type":"boolean","title":"Idempotent Replay","default":false}},"type":"object","required":["resolution","payment_intent_id","related_payment_intent_ids","related_order_ids","payment_status"],"title":"PaymentManualReviewResolveResponse"},"PaymentResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"order_id":{"type":"string","format":"uuid","title":"Order Id"},"payment_intent_id":{"type":"string","format":"uuid","title":"Payment Intent Id"},"payment_method":{"type":"string","title":"Payment Method"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"jpyc_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Jpyc Amount"},"chain_id":{"type":"integer","title":"Chain Id"},"token_address":{"type":"string","title":"Token Address"},"tx_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Hash"},"status":{"type":"string","enum":["pending","succeeded","failed","manual_review","refunded","canceled"],"title":"Status"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","order_id","payment_intent_id","payment_method","amount_jpy","jpyc_amount","chain_id","token_address","tx_hash","status","paid_at","created_at","updated_at"],"title":"PaymentResponse"},"PaymentTokenOptionResponse":{"properties":{"symbol":{"type":"string","title":"Symbol"},"display_name":{"type":"string","title":"Display Name"},"chain_id":{"type":"integer","title":"Chain Id"},"token_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Address"},"decimals":{"type":"integer","title":"Decimals"},"network":{"type":"string","title":"Network"},"enabled":{"type":"boolean","title":"Enabled"},"supports_eip3009":{"type":"boolean","title":"Supports Eip3009"},"authorization_method":{"anyOf":[{"type":"string","enum":["eip3009_transfer_with_authorization","polygon_native_meta_transaction"]},{"type":"null"}],"title":"Authorization Method"},"displayable":{"type":"boolean","title":"Displayable","default":true},"selectable":{"type":"boolean","title":"Selectable","default":true},"execution_enabled":{"type":"boolean","title":"Execution Enabled","default":true},"supports_settlement_validation":{"type":"boolean","title":"Supports Settlement Validation","default":true},"wallet_status":{"type":"string","enum":["active","inactive","none","unavailable"],"title":"Wallet Status"},"wallet_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet Address"},"can_create_payment_intent":{"type":"boolean","title":"Can Create Payment Intent"},"disabled_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled Reason"}},"type":"object","required":["symbol","display_name","chain_id","decimals","network","enabled","supports_eip3009","wallet_status","can_create_payment_intent"],"title":"PaymentTokenOptionResponse","description":"店舗で利用可能な受取トークンと、その wallet 登録状態 / 実行 capability。\n\n通貨選択 UI(/p・顧客 mobile・POS)が出し分けるための唯一の source of truth。registry の\ndisplayable なトークンだけを返し、「表示はできるが決済は開始できない」トークン\n(Staging の USDT 等)は ``execution_enabled=false`` + 構造化 ``disabled_reason`` で表す。\nfrontend は symbol でのハードコード判定をしない。\n``can_create_payment_intent`` は実行可能かつ active な受取ウォレットが登録済みのときだけ true。"},"PaymentValidationAttemptResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"job_id":{"type":"string","format":"uuid","title":"Job Id"},"payment_intent_id":{"type":"string","format":"uuid","title":"Payment Intent Id"},"tx_hash":{"type":"string","title":"Tx Hash"},"attempt_number":{"type":"integer","title":"Attempt Number"},"result_code":{"type":"string","title":"Result Code"},"result_severity":{"type":"string","title":"Result Severity"},"retryable":{"type":"boolean","title":"Retryable"},"provider_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Name"},"confirmations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Confirmations"},"required_confirmations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Required Confirmations"},"raw_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raw Error"},"message":{"type":"string","title":"Message"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","job_id","payment_intent_id","tx_hash","attempt_number","result_code","result_severity","retryable","provider_name","confirmations","required_confirmations","raw_error","message","created_at"],"title":"PaymentValidationAttemptResponse"},"PaymentValidationJobResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"payment_intent_id":{"type":"string","format":"uuid","title":"Payment Intent Id"},"recovery_of_job_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Recovery Of Job Id"},"store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"},"order_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Order Id"},"payment_intent_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Intent Status"},"order_payment_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Payment Status"},"tx_hash":{"type":"string","title":"Tx Hash"},"status":{"type":"string","title":"Status"},"priority":{"type":"integer","title":"Priority"},"attempt_count":{"type":"integer","title":"Attempt Count"},"max_attempts":{"type":"integer","title":"Max Attempts"},"next_run_at":{"type":"string","format":"date-time","title":"Next Run At"},"locked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Locked At"},"locked_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locked By"},"last_attempted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Attempted At"},"last_result_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Result Code"},"last_result_severity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Result Severity"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"last_provider_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Provider Name"},"last_confirmations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Confirmations"},"required_confirmations":{"type":"integer","title":"Required Confirmations"},"validation_completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Validation Completed At"},"validation_result_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Validation Result Code"},"validation_result_severity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Validation Result Severity"},"validated_sender_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Validated Sender Address"},"settlement_attempt_count":{"type":"integer","title":"Settlement Attempt Count"},"settlement_max_attempts":{"type":"integer","title":"Settlement Max Attempts"},"settlement_next_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Settlement Next Run At"},"settlement_last_attempted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Settlement Last Attempted At"},"settlement_last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Settlement Last Error"},"settlement_completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Settlement Completed At"},"settlement_postcondition_checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Settlement Postcondition Checked At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"dead_lettered_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Dead Lettered At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"attempts":{"items":{"$ref":"#/components/schemas/PaymentValidationAttemptResponse"},"type":"array","title":"Attempts"},"attempts_count":{"type":"integer","title":"Attempts Count","default":0},"attempts_limit":{"type":"integer","title":"Attempts Limit","default":20}},"type":"object","required":["id","payment_intent_id","recovery_of_job_id","tx_hash","status","priority","attempt_count","max_attempts","next_run_at","locked_at","locked_by","last_attempted_at","last_result_code","last_result_severity","last_error","last_provider_name","last_confirmations","required_confirmations","validation_completed_at","validation_result_code","validation_result_severity","validated_sender_address","settlement_attempt_count","settlement_max_attempts","settlement_next_run_at","settlement_last_attempted_at","settlement_last_error","settlement_completed_at","settlement_postcondition_checked_at","completed_at","dead_lettered_at","created_at","updated_at"],"title":"PaymentValidationJobResponse"},"PaymentValidationPipelineSummaryResponse":{"properties":{"watcher_enabled":{"type":"boolean","title":"Watcher Enabled"},"watcher_mode":{"type":"string","enum":["observe","settle"],"title":"Watcher Mode"},"settlement_ready":{"type":"boolean","title":"Settlement Ready"},"status_counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Status Counts"},"stuck_count":{"type":"integer","title":"Stuck Count"},"missing_job_count":{"type":"integer","title":"Missing Job Count"},"recovery_required_count":{"type":"integer","title":"Recovery Required Count"},"dead_letter_count":{"type":"integer","title":"Dead Letter Count"},"valid_unapplied_count":{"type":"integer","title":"Valid Unapplied Count"},"manual_review_count":{"type":"integer","title":"Manual Review Count"},"oldest_pending_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oldest Pending At"},"oldest_pending_age_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Oldest Pending Age Seconds"},"stuck_threshold_seconds":{"type":"integer","title":"Stuck Threshold Seconds"}},"type":"object","required":["watcher_enabled","watcher_mode","settlement_ready","status_counts","stuck_count","missing_job_count","recovery_required_count","dead_letter_count","valid_unapplied_count","manual_review_count","oldest_pending_at","oldest_pending_age_seconds","stuck_threshold_seconds"],"title":"PaymentValidationPipelineSummaryResponse"},"PaymentValidationRecoveryRequest":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason"}},"type":"object","required":["reason"],"title":"PaymentValidationRecoveryRequest"},"PeopleBreakdownInput":{"properties":{"tier_key":{"type":"string","maxLength":40,"minLength":1,"title":"Tier Key"},"count":{"type":"integer","maximum":100.0,"exclusiveMinimum":0.0,"title":"Count"}},"type":"object","required":["tier_key","count"],"title":"PeopleBreakdownInput"},"PickupOptionResponse":{"properties":{"pickup_option_id":{"type":"string","title":"Pickup Option Id"},"pickup_at":{"type":"string","format":"date-time","title":"Pickup At"},"business_date":{"type":"string","format":"date","title":"Business Date"},"label":{"type":"string","title":"Label"}},"type":"object","required":["pickup_option_id","pickup_at","business_date","label"],"title":"PickupOptionResponse"},"PickupOptionsResponse":{"properties":{"options":{"items":{"$ref":"#/components/schemas/PickupOptionResponse"},"type":"array","title":"Options"},"timezone":{"type":"string","title":"Timezone"}},"type":"object","required":["options","timezone"],"title":"PickupOptionsResponse"},"PlanInput":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"duration_minutes":{"type":"integer","maximum":1440.0,"exclusiveMinimum":0.0,"title":"Duration Minutes"},"last_order_minutes_before_end":{"type":"integer","maximum":1440.0,"minimum":0.0,"title":"Last Order Minutes Before End","default":0},"price_per_person_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Price Per Person Jpy"},"tax_rate":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Tax Rate","default":"0.10"},"tax_included":{"type":"boolean","title":"Tax Included","default":false},"per_person_item_limit":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Per Person Item Limit"},"max_order_qty":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Order Qty"},"reorder_wait_seconds":{"type":"integer","maximum":86400.0,"minimum":0.0,"title":"Reorder Wait Seconds","default":0},"max_unserved_items":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Unserved Items"},"price_tiers":{"items":{"$ref":"#/components/schemas/PriceTierInput-Input"},"type":"array","maxItems":20,"title":"Price Tiers"},"extension_minutes":{"anyOf":[{"type":"integer","maximum":1440.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Extension Minutes"},"extension_price_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Extension Price Jpy"},"targets":{"items":{"$ref":"#/components/schemas/PlanTargetInput-Input"},"type":"array","title":"Targets"},"option_rules":{"items":{"$ref":"#/components/schemas/OptionRuleInput-Input"},"type":"array","title":"Option Rules"}},"additionalProperties":false,"type":"object","required":["name","duration_minutes","price_per_person_jpy"],"title":"PlanInput"},"PlanResponse":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"duration_minutes":{"type":"integer","maximum":1440.0,"exclusiveMinimum":0.0,"title":"Duration Minutes"},"last_order_minutes_before_end":{"type":"integer","maximum":1440.0,"minimum":0.0,"title":"Last Order Minutes Before End","default":0},"price_per_person_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Price Per Person Jpy"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate","default":"0.10"},"tax_included":{"type":"boolean","title":"Tax Included","default":false},"per_person_item_limit":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Per Person Item Limit"},"max_order_qty":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Order Qty"},"reorder_wait_seconds":{"type":"integer","maximum":86400.0,"minimum":0.0,"title":"Reorder Wait Seconds","default":0},"max_unserved_items":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Unserved Items"},"price_tiers":{"items":{"$ref":"#/components/schemas/PriceTierInput-Output"},"type":"array","maxItems":20,"title":"Price Tiers"},"extension_minutes":{"anyOf":[{"type":"integer","maximum":1440.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Extension Minutes"},"extension_price_jpy":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Extension Price Jpy"},"targets":{"items":{"$ref":"#/components/schemas/PlanTargetInput-Output"},"type":"array","title":"Targets"},"option_rules":{"items":{"$ref":"#/components/schemas/OptionRuleInput-Output"},"type":"array","title":"Option Rules"},"id":{"type":"string","format":"uuid","title":"Id"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["name","duration_minutes","price_per_person_jpy","id","status","created_at","updated_at"],"title":"PlanResponse"},"PlanTargetInput-Input":{"properties":{"target_type":{"type":"string","enum":["menu_item","category"],"title":"Target Type"},"target_id":{"type":"string","format":"uuid","title":"Target Id"},"pricing":{"type":"string","enum":["included","surcharge","excluded"],"title":"Pricing","default":"included"},"surcharge_price_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Surcharge Price Jpy"},"last_order_policy":{"type":"string","enum":["apply","normal"],"title":"Last Order Policy","default":"apply"}},"type":"object","required":["target_type","target_id"],"title":"PlanTargetInput"},"PlanTargetInput-Output":{"properties":{"target_type":{"type":"string","enum":["menu_item","category"],"title":"Target Type"},"target_id":{"type":"string","format":"uuid","title":"Target Id"},"pricing":{"type":"string","enum":["included","surcharge","excluded"],"title":"Pricing","default":"included"},"surcharge_price_jpy":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Surcharge Price Jpy"},"last_order_policy":{"type":"string","enum":["apply","normal"],"title":"Last Order Policy","default":"apply"}},"type":"object","required":["target_type","target_id"],"title":"PlanTargetInput"},"PlatformPluginListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PlatformPluginResponse"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"PlatformPluginListResponse"},"PlatformPluginResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"plugin_key":{"type":"string","title":"Plugin Key"},"display_name":{"type":"string","title":"Display Name"},"lifecycle_status":{"anyOf":[{"type":"string","enum":["development","testing","beta","production","paused","deprecated"]},{"type":"string"}],"title":"Lifecycle Status"},"production_ready":{"type":"boolean","title":"Production Ready"},"globally_enabled":{"type":"boolean","title":"Globally Enabled"},"customer_visible_allowed":{"type":"boolean","title":"Customer Visible Allowed"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"paused_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paused Message"},"updated_by_admin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Admin Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","plugin_key","display_name","lifecycle_status","production_ready","globally_enabled","customer_visible_allowed","created_at","updated_at"],"title":"PlatformPluginResponse"},"PlatformPluginStoreUsageItem":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"type":"string","title":"Store Name"},"slug":{"type":"string","title":"Slug"},"industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry"},"status":{"type":"string","title":"Status"},"grant_status":{"type":"string","title":"Grant Status"},"enabled":{"type":"boolean","title":"Enabled"},"customer_visible":{"type":"boolean","title":"Customer Visible"},"setup_status":{"type":"string","title":"Setup Status"},"public_ready":{"type":"boolean","title":"Public Ready"}},"type":"object","required":["store_id","store_name","slug","status","grant_status","enabled","customer_visible","setup_status","public_ready"],"title":"PlatformPluginStoreUsageItem"},"PlatformPluginStoreUsageResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PlatformPluginStoreUsageItem"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"PlatformPluginStoreUsageResponse"},"PlatformPluginUpdateRequest":{"properties":{"lifecycle_status":{"anyOf":[{"type":"string","enum":["development","testing","beta","production","paused","deprecated"]},{"type":"null"}],"title":"Lifecycle Status"},"production_ready":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Production Ready"},"globally_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Globally Enabled"},"customer_visible_allowed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Customer Visible Allowed"},"reason":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Reason"},"paused_message":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Paused Message"}},"type":"object","title":"PlatformPluginUpdateRequest"},"PlatformPluginUsageSummaryItem":{"properties":{"plugin_key":{"type":"string","title":"Plugin Key"},"explicit_granted_count":{"type":"integer","title":"Explicit Granted Count","default":0},"explicit_revoked_count":{"type":"integer","title":"Explicit Revoked Count","default":0},"effective_granted_count":{"type":"integer","title":"Effective Granted Count","default":0},"enabled_count":{"type":"integer","title":"Enabled Count","default":0},"customer_visible_count":{"type":"integer","title":"Customer Visible Count","default":0},"ready_count":{"type":"integer","title":"Ready Count","default":0},"public_ready_count":{"type":"integer","title":"Public Ready Count","default":0},"paused_impact_count":{"type":"integer","title":"Paused Impact Count","default":0}},"type":"object","required":["plugin_key"],"title":"PlatformPluginUsageSummaryItem"},"PlatformPluginUsageSummaryResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PlatformPluginUsageSummaryItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"PlatformPluginUsageSummaryResponse"},"PosAppAppearance":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"location_preset_id":{"type":"string","format":"uuid","title":"Location Preset Id"},"title":{"type":"string","title":"Title"},"location_name":{"type":"string","title":"Location Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"status":{"type":"string","enum":["draft","scheduled"],"title":"Status"},"effective_state":{"type":"string","enum":["upcoming","active","ended"],"title":"Effective State"},"visible_on_map":{"type":"boolean","title":"Visible On Map"},"visible_on_store_lp":{"type":"boolean","title":"Visible On Store Lp"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","location_preset_id","title","location_name","starts_at","ends_at","status","effective_state","visible_on_map","visible_on_store_lp","created_at","updated_at"],"title":"PosAppAppearance","description":"StoreBusinessHourException 由来の POS Mobile 営業場所カード。"},"PosAppAppearanceBulkCreate":{"properties":{"location_preset_id":{"type":"string","format":"uuid","title":"Location Preset Id"},"dates":{"items":{"type":"string","format":"date"},"type":"array","maxItems":60,"minItems":1,"title":"Dates"},"start_minute":{"type":"integer","maximum":1439.0,"minimum":0.0,"title":"Start Minute"},"end_minute":{"type":"integer","maximum":2880.0,"minimum":1.0,"title":"End Minute"},"visible_on_map":{"type":"boolean","title":"Visible On Map","default":true},"visible_on_store_lp":{"type":"boolean","title":"Visible On Store Lp","default":true},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"},"on_conflict":{"type":"string","enum":["skip","fail"],"title":"On Conflict","default":"skip"}},"additionalProperties":false,"type":"object","required":["location_preset_id","dates","start_minute","end_minute"],"title":"PosAppAppearanceBulkCreate"},"PosAppAppearanceBulkResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"created_count":{"type":"integer","title":"Created Count"},"skipped_count":{"type":"integer","title":"Skipped Count"},"created":{"items":{"$ref":"#/components/schemas/PosAppAppearance"},"type":"array","title":"Created"},"skipped":{"items":{"$ref":"#/components/schemas/PosAppAppearanceBulkSkipped"},"type":"array","title":"Skipped"}},"type":"object","required":["store_id","created_count","skipped_count","created","skipped"],"title":"PosAppAppearanceBulkResponse"},"PosAppAppearanceBulkSkipped":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"reason":{"type":"string","const":"existing_schedule","title":"Reason","default":"existing_schedule"},"appearance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Appearance Id"}},"type":"object","required":["date"],"title":"PosAppAppearanceBulkSkipped"},"PosAppAppearanceListResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"items":{"items":{"$ref":"#/components/schemas/PosAppAppearance"},"type":"array","title":"Items"}},"type":"object","required":["store_id","items"],"title":"PosAppAppearanceListResponse"},"PosAppAppearanceScheduleCreate":{"properties":{"location_preset_id":{"type":"string","format":"uuid","title":"Location Preset Id"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"visible_on_map":{"type":"boolean","title":"Visible On Map","default":true},"visible_on_store_lp":{"type":"boolean","title":"Visible On Store Lp","default":true},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["location_preset_id","starts_at","ends_at"],"title":"PosAppAppearanceScheduleCreate"},"PosAppAppearanceScheduleUpdate":{"properties":{"location_preset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Location Preset Id"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"visible_on_map":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Visible On Map"},"visible_on_store_lp":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Visible On Store Lp"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","title":"PosAppAppearanceScheduleUpdate"},"PosAppChatMessage":{"properties":{"message_id":{"type":"string","format":"uuid","title":"Message Id"},"sender_type":{"type":"string","title":"Sender Type"},"is_store":{"type":"boolean","title":"Is Store"},"body":{"type":"string","title":"Body"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["message_id","sender_type","is_store","body","created_at"],"title":"PosAppChatMessage","description":"メッセージ1件。送信者の内部ID(customer_id / membership_id)は出さず、\n顧客/店舗の区別(``is_store``)だけを返す。"},"PosAppChatMessageCreate":{"properties":{"body":{"type":"string","maxLength":1000,"minLength":1,"title":"Body"}},"type":"object","required":["body"],"title":"PosAppChatMessageCreate"},"PosAppChatThread":{"properties":{"thread_id":{"type":"string","format":"uuid","title":"Thread Id"},"customer_name":{"type":"string","title":"Customer Name"},"status":{"type":"string","title":"Status"},"status_label":{"type":"string","title":"Status Label"},"last_message_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Message At"},"last_message_preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Message Preview"},"unread_count":{"type":"integer","title":"Unread Count"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["thread_id","customer_name","status","status_label","unread_count","updated_at"],"title":"PosAppChatThread","description":"チャットスレッド1件の現場向け要約。customer_id / email は出さない。"},"PosAppChatThreadDetailResponse":{"properties":{"thread":{"$ref":"#/components/schemas/PosAppChatThread"},"messages":{"items":{"$ref":"#/components/schemas/PosAppChatMessage"},"type":"array","title":"Messages"}},"type":"object","required":["thread","messages"],"title":"PosAppChatThreadDetailResponse"},"PosAppChatThreadListResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"role":{"type":"string","title":"Role"},"threads":{"items":{"$ref":"#/components/schemas/PosAppChatThread"},"type":"array","title":"Threads"},"total_unread":{"type":"integer","title":"Total Unread"}},"type":"object","required":["store_id","role","threads","total_unread"],"title":"PosAppChatThreadListResponse"},"PosAppCheckoutItemQuantity":{"properties":{"order_item_id":{"type":"string","format":"uuid","title":"Order Item Id"},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity"}},"additionalProperties":false,"type":"object","required":["order_item_id","quantity"],"title":"PosAppCheckoutItemQuantity"},"PosAppDashboardCard":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"value":{"type":"string","title":"Value"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"target_menu_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Menu Key"},"target_filter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Filter"},"severity":{"type":"string","enum":["info","warning","critical"],"title":"Severity","default":"info"}},"type":"object","required":["key","label","value"],"title":"PosAppDashboardCard","description":"ホームの「今日の状況」カード1枚。タップで ``target_menu_key`` の画面へ。\n\n技術情報や金額の内訳明細は出さない(現場が一目で分かる value/detail のみ)。"},"PosAppDashboardResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"role":{"type":"string","title":"Role"},"role_label":{"type":"string","title":"Role Label"},"currency":{"type":"string","title":"Currency","default":"JPY"},"today_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Today Sales Jpy"},"net_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Net Sales Jpy"},"order_count":{"type":"integer","title":"Order Count"},"open_order_count":{"type":"integer","title":"Open Order Count"},"kitchen_pending_count":{"type":"integer","title":"Kitchen Pending Count"},"kitchen_preparing_count":{"type":"integer","title":"Kitchen Preparing Count"},"ready_for_pickup_count":{"type":"integer","title":"Ready For Pickup Count"},"today_reservation_count":{"type":"integer","title":"Today Reservation Count"},"upcoming_reservation_count":{"type":"integer","title":"Upcoming Reservation Count"},"unread_chat_count":{"type":"integer","title":"Unread Chat Count"},"refund_count":{"type":"integer","title":"Refund Count"},"last_updated_at":{"type":"string","format":"date-time","title":"Last Updated At"},"cards":{"items":{"$ref":"#/components/schemas/PosAppDashboardCard"},"type":"array","title":"Cards"}},"type":"object","required":["store_id","role","role_label","today_sales_jpy","net_sales_jpy","order_count","open_order_count","kitchen_pending_count","kitchen_preparing_count","ready_for_pickup_count","today_reservation_count","upcoming_reservation_count","unread_chat_count","refund_count","last_updated_at","cards"],"title":"PosAppDashboardResponse","description":"ホームダッシュボード。集計は backend が真実の源。売上は owner/manager のみ\n実数で、staff には 0 を返す(金額を出さない)。PII は一切含めない。"},"PosAppEligiblePayment":{"properties":{"source_type":{"type":"string","enum":["order","qr_checkout","manual"],"title":"Source Type"},"source_id":{"type":"string","format":"uuid","title":"Source Id"},"display_number":{"type":"string","title":"Display Number"},"receipt_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Number"},"order_type_label":{"type":"string","title":"Order Type Label"},"table_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Name"},"payment_method":{"type":"string","title":"Payment Method","default":"cash"},"customer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Name"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"refundable_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Refundable Jpy"},"items":{"items":{"$ref":"#/components/schemas/PosAppEligiblePaymentItem"},"type":"array","title":"Items"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["source_type","source_id","display_number","order_type_label","total_jpy","refundable_jpy","created_at"],"title":"PosAppEligiblePayment","description":"返金対象に選べる支払い済みの会計1件(現場向け要約)。\n\n``display_number`` は他画面と同じ表示番号(pickup_code が無ければ短縮ID)だが、\n返金対象一覧では主表示にしない。人間向けの受け取り番号は ``receipt_number``\n(pickup_code が実在する場合のみ)を使う。"},"PosAppEligiblePaymentItem":{"properties":{"item_name":{"type":"string","title":"Item Name"},"qty":{"type":"integer","title":"Qty"},"options_summary":{"type":"string","title":"Options Summary","default":""}},"type":"object","required":["item_name","qty"],"title":"PosAppEligiblePaymentItem","description":"返金対象一覧の商品行(現場向け要約。金額は出さない)。"},"PosAppEligiblePaymentsResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"items":{"items":{"$ref":"#/components/schemas/PosAppEligiblePayment"},"type":"array","title":"Items"}},"type":"object","required":["store_id","items"],"title":"PosAppEligiblePaymentsResponse"},"PosAppInventoryListResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"items":{"items":{"$ref":"#/components/schemas/PosAppInventoryMenuItem"},"type":"array","title":"Items"}},"type":"object","required":["store_id","items"],"title":"PosAppInventoryListResponse"},"PosAppInventoryMenuItem":{"properties":{"menu_item_id":{"type":"string","format":"uuid","title":"Menu Item Id"},"category_id":{"type":"string","format":"uuid","title":"Category Id"},"category_name":{"type":"string","title":"Category Name"},"name":{"type":"string","title":"Name"},"is_sold_out":{"type":"boolean","title":"Is Sold Out"},"sold_out_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sold Out Reason"},"stock_tracking_enabled":{"type":"boolean","title":"Stock Tracking Enabled"},"stock_quantity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stock Quantity"},"auto_sold_out_enabled":{"type":"boolean","title":"Auto Sold Out Enabled"},"low_stock_threshold":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Low Stock Threshold"},"is_available":{"type":"boolean","title":"Is Available"}},"type":"object","required":["menu_item_id","category_id","category_name","name","is_sold_out","stock_tracking_enabled","auto_sold_out_enabled","is_available"],"title":"PosAppInventoryMenuItem"},"PosAppInventoryUpdateRequest":{"properties":{"is_sold_out":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Sold Out"},"stock_delta":{"anyOf":[{"type":"integer","maximum":9999.0,"minimum":1.0},{"type":"null"}],"title":"Stock Delta"},"stock_tracking_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Stock Tracking Enabled"},"stock_quantity":{"anyOf":[{"type":"integer","maximum":999999.0,"minimum":0.0},{"type":"null"}],"title":"Stock Quantity"}},"type":"object","title":"PosAppInventoryUpdateRequest"},"PosAppItemKitchenStatusUpdateRequest":{"properties":{"action":{"type":"string","enum":["preparing","ready","served"],"title":"Action"}},"type":"object","required":["action"],"title":"PosAppItemKitchenStatusUpdateRequest"},"PosAppItemPaymentHistory":{"properties":{"quantity":{"type":"integer","title":"Quantity"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"payment_method":{"type":"string","title":"Payment Method"},"paid_at":{"type":"string","format":"date-time","title":"Paid At"}},"type":"object","required":["quantity","amount_jpy","payment_method","paid_at"],"title":"PosAppItemPaymentHistory"},"PosAppLocationPreset":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","name","updated_at"],"title":"PosAppLocationPreset"},"PosAppLocationPresetListResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"items":{"items":{"$ref":"#/components/schemas/PosAppLocationPreset"},"type":"array","title":"Items"}},"type":"object","required":["store_id","items"],"title":"PosAppLocationPresetListResponse"},"PosAppMenuCategory":{"properties":{"category_id":{"type":"string","format":"uuid","title":"Category Id"},"name":{"type":"string","title":"Name"},"items":{"items":{"$ref":"#/components/schemas/PosAppMenuItem"},"type":"array","title":"Items"}},"type":"object","required":["category_id","name","items"],"title":"PosAppMenuCategory"},"PosAppMenuItem":{"properties":{"menu_item_id":{"type":"string","format":"uuid","title":"Menu Item Id"},"category_id":{"type":"string","format":"uuid","title":"Category Id"},"name":{"type":"string","title":"Name"},"price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Price Jpy"},"display_price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Display Price Jpy"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"tax_included":{"type":"boolean","title":"Tax Included"},"is_sold_out":{"type":"boolean","title":"Is Sold Out"},"stock_tracking_enabled":{"type":"boolean","title":"Stock Tracking Enabled","default":false},"stock_quantity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stock Quantity"},"low_stock_threshold":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Low Stock Threshold"},"has_options":{"type":"boolean","title":"Has Options"},"option_groups":{"items":{"$ref":"#/components/schemas/PosAppMenuOptionGroup"},"type":"array","title":"Option Groups"}},"type":"object","required":["menu_item_id","category_id","name","price_jpy","display_price_jpy","tax_rate","tax_included","is_sold_out","has_options","option_groups"],"title":"PosAppMenuItem","description":"商品レジに並べる商品1件。価格は **税込表示用**(display)と税抜(authoritative)を\n両方返すが、会計合計は注文作成時にサーバーが再計算する(frontend 金額は信用しない)。"},"PosAppMenuOptionGroup":{"properties":{"group_id":{"type":"string","format":"uuid","title":"Group Id"},"name":{"type":"string","title":"Name"},"required":{"type":"boolean","title":"Required"},"min_select":{"type":"integer","title":"Min Select"},"max_select":{"type":"integer","title":"Max Select"},"items":{"items":{"$ref":"#/components/schemas/PosAppMenuOptionItem"},"type":"array","title":"Items"}},"type":"object","required":["group_id","name","required","min_select","max_select","items"],"title":"PosAppMenuOptionGroup"},"PosAppMenuOptionItem":{"properties":{"option_item_id":{"type":"string","format":"uuid","title":"Option Item Id"},"name":{"type":"string","title":"Name"},"price_delta_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Price Delta Jpy"},"is_default":{"type":"boolean","title":"Is Default"},"is_sold_out":{"type":"boolean","title":"Is Sold Out"}},"type":"object","required":["option_item_id","name","price_delta_jpy","is_default","is_sold_out"],"title":"PosAppMenuOptionItem","description":"商品オプションの選択肢1件(現場向け)。価格加算はサーバー権威。"},"PosAppNotification":{"properties":{"notification_id":{"type":"string","title":"Notification Id"},"type":{"type":"string","enum":["new_order","kitchen_ready","order_ready","upcoming_reservation","unread_chat","unread_operator_chat","refund_created"],"title":"Type"},"title":{"type":"string","title":"Title"},"body":{"type":"string","title":"Body"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"target_menu_key":{"type":"string","title":"Target Menu Key"},"target_filter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Filter"},"target_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Id"},"severity":{"type":"string","enum":["info","warning","critical"],"title":"Severity","default":"info"}},"type":"object","required":["notification_id","type","title","body","created_at","target_menu_key"],"title":"PosAppNotification","description":"アプリ内通知1件(現在状態から軽量生成)。顧客の個人情報は含めない。"},"PosAppNotificationBadge":{"properties":{"menu_key":{"type":"string","title":"Menu Key"},"count":{"type":"integer","title":"Count"},"severity":{"type":"string","enum":["info","warning","critical"],"title":"Severity","default":"info"}},"type":"object","required":["menu_key","count"],"title":"PosAppNotificationBadge","description":"メニュー項目に出す件数バッジ。0件 / 非表示メニューは返さない。"},"PosAppNotificationListResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"notifications":{"items":{"$ref":"#/components/schemas/PosAppNotification"},"type":"array","title":"Notifications"},"total":{"type":"integer","title":"Total"},"last_updated_at":{"type":"string","format":"date-time","title":"Last Updated At"}},"type":"object","required":["store_id","notifications","total","last_updated_at"],"title":"PosAppNotificationListResponse"},"PosAppNotificationSummaryResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"badges":{"items":{"$ref":"#/components/schemas/PosAppNotificationBadge"},"type":"array","title":"Badges"},"total_unread":{"type":"integer","title":"Total Unread"},"last_updated_at":{"type":"string","format":"date-time","title":"Last Updated At"}},"type":"object","required":["store_id","badges","total_unread","last_updated_at"],"title":"PosAppNotificationSummaryResponse","description":"軽量サマリ(30秒ポーリング)。バッジ更新と未読数表示に使う。"},"PosAppOrder":{"properties":{"order_id":{"type":"string","format":"uuid","title":"Order Id"},"display_number":{"type":"string","title":"Display Number"},"order_type":{"type":"string","enum":["mobile_order","takeout","pos"],"title":"Order Type"},"order_type_label":{"type":"string","title":"Order Type Label"},"status":{"type":"string","title":"Status"},"status_label":{"type":"string","title":"Status Label"},"kitchen_status":{"type":"string","title":"Kitchen Status"},"kitchen_status_label":{"type":"string","title":"Kitchen Status Label"},"payment_status":{"type":"string","title":"Payment Status"},"payment_method":{"type":"string","title":"Payment Method","default":"cash"},"payment_state":{"type":"string","title":"Payment State","default":"unpaid"},"active_payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Active Payment Intent Id"},"payment_intent_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Intent Status"},"can_cancel_order":{"type":"boolean","title":"Can Cancel Order","default":false},"can_reissue_qr":{"type":"boolean","title":"Can Reissue Qr","default":false},"can_change_payment_method":{"type":"boolean","title":"Can Change Payment Method","default":false},"can_mark_cash_paid":{"type":"boolean","title":"Can Mark Cash Paid","default":false},"blocked_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blocked Reason"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"paid_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Paid Jpy","default":"0"},"remaining_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Remaining Jpy","default":"0"},"is_partially_paid":{"type":"boolean","title":"Is Partially Paid","default":false},"item_count":{"type":"integer","title":"Item Count"},"items":{"items":{"$ref":"#/components/schemas/PosAppOrderItemSummary"},"type":"array","title":"Items"},"table_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Table Id"},"table_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Name"},"customer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Name"},"requested_pickup_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Requested Pickup At"},"pickup_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Code"},"customer_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Phone"},"allergy_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allergy Status"},"allergy_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allergy Note"},"customer_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Note"},"pickup_delayed":{"type":"boolean","title":"Pickup Delayed","default":false},"cancellation_refund_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancellation Refund Status"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"is_acknowledged":{"type":"boolean","title":"Is Acknowledged","default":false},"acknowledged_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Acknowledged At"},"elapsed_minutes":{"type":"integer","title":"Elapsed Minutes","default":0},"ready_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ready At"},"ready_elapsed_minutes":{"type":"integer","title":"Ready Elapsed Minutes","default":0},"is_mobile_order":{"type":"boolean","title":"Is Mobile Order","default":false},"is_store_input_order":{"type":"boolean","title":"Is Store Input Order","default":false},"is_takeout":{"type":"boolean","title":"Is Takeout","default":false},"is_table_order":{"type":"boolean","title":"Is Table Order","default":false},"is_paid":{"type":"boolean","title":"Is Paid","default":false},"has_unserved_items":{"type":"boolean","title":"Has Unserved Items","default":false},"ready_for_pickup":{"type":"boolean","title":"Ready For Pickup","default":false},"partial_ready":{"type":"boolean","title":"Partial Ready","default":false},"all_ready":{"type":"boolean","title":"All Ready","default":false},"partial_served":{"type":"boolean","title":"Partial Served","default":false},"all_served":{"type":"boolean","title":"All Served","default":false},"allowed_actions":{"items":{"type":"string"},"type":"array","title":"Allowed Actions"}},"type":"object","required":["order_id","display_number","order_type","order_type_label","status","status_label","kitchen_status","kitchen_status_label","payment_status","total_jpy","item_count","items","created_at","updated_at","allowed_actions"],"title":"PosAppOrder","description":"POS Mobile の注文カード1件。staff 向けなので顧客名/卓は出すが、\ncustomer_id / email / phone / wallet / tx などの機微情報は含めない。"},"PosAppOrderCashResult":{"properties":{"order":{"$ref":"#/components/schemas/PosAppOrder"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"received_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Received Jpy"},"change_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Change Jpy"}},"type":"object","required":["order","amount_jpy","received_jpy","change_jpy"],"title":"PosAppOrderCashResult"},"PosAppOrderDetailResponse":{"properties":{"order":{"$ref":"#/components/schemas/PosAppOrder"},"all_you_can_eat_history":{"anyOf":[{"$ref":"#/components/schemas/AllYouCanEatHistoryResponse"},{"type":"null"}]}},"type":"object","required":["order"],"title":"PosAppOrderDetailResponse"},"PosAppOrderItemSummary":{"properties":{"item_id":{"type":"string","format":"uuid","title":"Item Id"},"item_name":{"type":"string","title":"Item Name"},"line_kind":{"type":"string","title":"Line Kind","default":"standard"},"qty":{"type":"integer","title":"Qty"},"line_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Total Jpy","default":"0"},"options_summary":{"type":"string","title":"Options Summary","default":""},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"kitchen_status":{"type":"string","title":"Kitchen Status","default":"not_started"},"kitchen_status_label":{"type":"string","title":"Kitchen Status Label","default":"未調理"},"item_allowed_actions":{"items":{"type":"string"},"type":"array","title":"Item Allowed Actions"},"payment_status":{"type":"string","title":"Payment Status","default":"unpaid"},"payment_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"payment_locked":{"type":"boolean","title":"Payment Locked","default":false},"paid_quantity":{"type":"integer","title":"Paid Quantity","default":0},"reserved_quantity":{"type":"integer","title":"Reserved Quantity","default":0},"remaining_quantity":{"type":"integer","title":"Remaining Quantity","default":0},"selectable_quantity":{"type":"integer","title":"Selectable Quantity","default":0},"payment_history":{"items":{"$ref":"#/components/schemas/PosAppItemPaymentHistory"},"type":"array","title":"Payment History"}},"type":"object","required":["item_id","item_name","qty"],"title":"PosAppOrderItemSummary"},"PosAppOrderListResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"role":{"type":"string","title":"Role"},"scope":{"type":"string","title":"Scope"},"items":{"items":{"$ref":"#/components/schemas/PosAppOrder"},"type":"array","title":"Items"}},"type":"object","required":["store_id","role","scope","items"],"title":"PosAppOrderListResponse"},"PosAppOrderQuoteRequest":{"properties":{"fulfillment_type":{"type":"string","enum":["dine_in","takeout"],"title":"Fulfillment Type"},"items":{"items":{"$ref":"#/components/schemas/PosAppRegisterOrderItemInput"},"type":"array","maxItems":100,"minItems":1,"title":"Items"}},"additionalProperties":false,"type":"object","required":["fulfillment_type","items"],"title":"PosAppOrderQuoteRequest","description":"POS Mobile のカート再計算入力。金額は一切受け取らない。"},"PosAppOrderStatusUpdateRequest":{"properties":{"action":{"type":"string","enum":["accepted","preparing","ready","served","completed","canceled"],"title":"Action"}},"type":"object","required":["action"],"title":"PosAppOrderStatusUpdateRequest"},"PosAppQrCheckoutConfigResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"type":"string","title":"Store Name"},"currency":{"type":"string","title":"Currency","default":"Spay"},"chain":{"type":"string","title":"Chain","default":"polygon"},"tax_rates":{"items":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},"type":"array","title":"Tax Rates"},"default_tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Default Tax Rate"}},"type":"object","required":["store_id","store_name","tax_rates","default_tax_rate"],"title":"PosAppQrCheckoutConfigResponse","description":"QR会計フォームの初期値。Web POS と同じ店舗設定を返す。"},"PosAppQrCheckoutCreate":{"properties":{"amount_jpy":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Jpy"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Tax Rate"},"memo":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Memo"}},"type":"object","required":["amount_jpy","idempotency_key"],"title":"PosAppQrCheckoutCreate","description":"POS Mobile からの QR会計発行入力。\n\n金額は **税込** で入力し、税率を選ぶとサーバー側で仮受消費税を逆算する。\nexpected_from_address(顧客ウォレット)は発行時点では未知なので受け取らない。"},"PosAppQrCheckoutIntent":{"properties":{"intent_id":{"type":"string","format":"uuid","title":"Intent Id"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"status":{"type":"string","title":"Status"},"status_label":{"type":"string","title":"Status Label"},"paid":{"type":"boolean","title":"Paid"},"can_reissue":{"type":"boolean","title":"Can Reissue"},"can_cancel":{"type":"boolean","title":"Can Cancel"},"confirmation_in_progress":{"type":"boolean","title":"Confirmation In Progress"},"payment_url":{"type":"string","title":"Payment Url"},"qr_url":{"type":"string","title":"Qr Url"},"currency":{"type":"string","title":"Currency"},"chain":{"type":"string","title":"Chain"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["intent_id","amount_jpy","subtotal_jpy","tax_jpy","status","status_label","paid","can_reissue","can_cancel","confirmation_in_progress","payment_url","qr_url","currency","chain","expires_at","created_at"],"title":"PosAppQrCheckoutIntent","description":"QR会計の現場向け表示。tx_hash / contract / nonce / signature 等の\n技術情報・dev情報は **一切含めない**(PC用POSの移植をしない)。"},"PosAppQrCheckoutIntentResponse":{"properties":{"intent":{"$ref":"#/components/schemas/PosAppQrCheckoutIntent"}},"type":"object","required":["intent"],"title":"PosAppQrCheckoutIntentResponse"},"PosAppRefund":{"properties":{"refund_id":{"type":"string","format":"uuid","title":"Refund Id"},"source_type":{"type":"string","enum":["order","qr_checkout","manual","wallet_refund"],"title":"Source Type"},"source_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Id"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"currency":{"type":"string","title":"Currency"},"status":{"type":"string","title":"Status"},"status_label":{"type":"string","title":"Status Label"},"reason":{"type":"string","title":"Reason"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["refund_id","source_type","amount_jpy","currency","status","status_label","reason","created_at"],"title":"PosAppRefund","description":"返金1件の現場向け表示。tx_hash / recipient / token / chain などの\n技術情報や元会計のウォレット情報は **一切含めない**。"},"PosAppRefundConfigResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"currency":{"type":"string","title":"Currency","default":"JPY"},"reasons":{"items":{"$ref":"#/components/schemas/PosAppRefundReasonOption"},"type":"array","title":"Reasons"}},"type":"object","required":["store_id","reasons"],"title":"PosAppRefundConfigResponse","description":"返金フォームの初期値。理由は自由入力必須だが、定型理由を選択肢として返す。"},"PosAppRefundCreate":{"properties":{"source_type":{"type":"string","enum":["order","qr_checkout","manual"],"title":"Source Type"},"source_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Id"},"amount_jpy":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Jpy"},"reason":{"type":"string","maxLength":300,"minLength":1,"title":"Reason"},"reason_code":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Reason Code"},"note":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Note"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"}},"type":"object","required":["source_type","amount_jpy","reason","idempotency_key"],"title":"PosAppRefundCreate","description":"POS Mobile からの返金登録入力。\n\n返金理由(``reason``)は自由入力で必須。``reason_code`` は定型理由のコード(任意)。\n``source_type=manual`` は元会計に紐づかない現金返金で、必ず理由が必要。"},"PosAppRefundListResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"items":{"items":{"$ref":"#/components/schemas/PosAppRefund"},"type":"array","title":"Items"}},"type":"object","required":["store_id","items"],"title":"PosAppRefundListResponse"},"PosAppRefundReasonOption":{"properties":{"code":{"type":"string","title":"Code"},"label":{"type":"string","title":"Label"}},"type":"object","required":["code","label"],"title":"PosAppRefundReasonOption"},"PosAppRefundResponse":{"properties":{"refund":{"$ref":"#/components/schemas/PosAppRefund"}},"type":"object","required":["refund"],"title":"PosAppRefundResponse"},"PosAppRefundWalletOption":{"properties":{"store_wallet_address_id":{"type":"string","format":"uuid","title":"Store Wallet Address Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"wallet_masked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet Masked"},"is_default":{"type":"boolean","title":"Is Default","default":false},"connected":{"type":"boolean","title":"Connected","default":false}},"type":"object","required":["store_wallet_address_id"],"title":"PosAppRefundWalletOption","description":"旧クライアント互換の登録ウォレット表示（新フローでは常に空）。"},"PosAppRegisterCashPayment":{"properties":{"received_jpy":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Received Jpy"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Idempotency Key"},"order_items":{"anyOf":[{"items":{"$ref":"#/components/schemas/PosAppCheckoutItemQuantity"},"type":"array","maxItems":200,"minItems":1},{"type":"null"}],"title":"Order Items"},"order_item_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200,"minItems":1},{"type":"null"}],"title":"Order Item Ids"}},"type":"object","required":["received_jpy"],"title":"PosAppRegisterCashPayment","description":"現金会計入力。``received_jpy`` は預かり金。釣銭はサーバーが算出して返す\n(合計はサーバー権威。``received_jpy`` が合計未満ならエラー)。"},"PosAppRegisterCashResult":{"properties":{"order":{"$ref":"#/components/schemas/PosAppRegisterOrder"},"received_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Received Jpy"},"change_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Change Jpy"}},"type":"object","required":["order","received_jpy","change_jpy"],"title":"PosAppRegisterCashResult"},"PosAppRegisterMenuResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"currency":{"type":"string","title":"Currency","default":"JPY"},"categories":{"items":{"$ref":"#/components/schemas/PosAppMenuCategory"},"type":"array","title":"Categories"}},"type":"object","required":["store_id","categories"],"title":"PosAppRegisterMenuResponse"},"PosAppRegisterOrder":{"properties":{"order_id":{"type":"string","format":"uuid","title":"Order Id"},"display_number":{"type":"string","title":"Display Number"},"order_status":{"type":"string","title":"Order Status"},"order_status_label":{"type":"string","title":"Order Status Label"},"payment_status":{"type":"string","title":"Payment Status"},"payment_status_label":{"type":"string","title":"Payment Status Label"},"payment_method":{"type":"string","title":"Payment Method"},"payment_state":{"type":"string","title":"Payment State","default":"unpaid"},"active_payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Active Payment Intent Id"},"payment_intent_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Intent Status"},"can_cancel_order":{"type":"boolean","title":"Can Cancel Order","default":false},"can_reissue_qr":{"type":"boolean","title":"Can Reissue Qr","default":false},"can_change_payment_method":{"type":"boolean","title":"Can Change Payment Method","default":false},"can_mark_cash_paid":{"type":"boolean","title":"Can Mark Cash Paid","default":false},"blocked_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blocked Reason"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"items":{"items":{"$ref":"#/components/schemas/PosAppRegisterOrderItem"},"type":"array","title":"Items"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"}},"type":"object","required":["order_id","display_number","order_status","order_status_label","payment_status","payment_status_label","payment_method","subtotal_jpy","tax_jpy","total_jpy","items","created_at"],"title":"PosAppRegisterOrder","description":"商品レジ注文の現場向け表示。tx_hash / wallet / 監査情報は含めない。"},"PosAppRegisterOrderCreate":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PosAppRegisterOrderItemInput"},"type":"array","maxItems":100,"minItems":1,"title":"Items"},"customer_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Customer Name"}},"type":"object","required":["items"],"title":"PosAppRegisterOrderCreate","description":"商品レジの注文作成入力。金額は受け取らない(サーバーが商品マスタから再計算)。"},"PosAppRegisterOrderItem":{"properties":{"item_name":{"type":"string","title":"Item Name"},"qty":{"type":"integer","title":"Qty"},"unit_price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Unit Price Jpy"},"line_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Total Jpy"},"options":{"items":{"type":"string"},"type":"array","title":"Options","default":[]}},"type":"object","required":["item_name","qty","unit_price_jpy","line_total_jpy"],"title":"PosAppRegisterOrderItem"},"PosAppRegisterOrderItemInput":{"properties":{"menu_item_id":{"type":"string","format":"uuid","title":"Menu Item Id"},"qty":{"type":"integer","maximum":99.0,"minimum":1.0,"title":"Qty"},"selected_options":{"items":{"$ref":"#/components/schemas/PosAppRegisterSelectedOption"},"type":"array","title":"Selected Options"}},"type":"object","required":["menu_item_id","qty"],"title":"PosAppRegisterOrderItemInput"},"PosAppRegisterOrderResponse":{"properties":{"order":{"$ref":"#/components/schemas/PosAppRegisterOrder"}},"type":"object","required":["order"],"title":"PosAppRegisterOrderResponse"},"PosAppRegisterQrCreate":{"properties":{"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"},"order_items":{"anyOf":[{"items":{"$ref":"#/components/schemas/PosAppCheckoutItemQuantity"},"type":"array","maxItems":200,"minItems":1},{"type":"null"}],"title":"Order Items"},"order_item_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200,"minItems":1},{"type":"null"}],"title":"Order Item Ids"}},"type":"object","required":["idempotency_key"],"title":"PosAppRegisterQrCreate"},"PosAppRegisterSelectedOption":{"properties":{"group_id":{"type":"string","format":"uuid","title":"Group Id"},"option_item_id":{"type":"string","format":"uuid","title":"Option Item Id"}},"type":"object","required":["group_id","option_item_id"],"title":"PosAppRegisterSelectedOption"},"PosAppReservation":{"properties":{"reservation_id":{"type":"string","format":"uuid","title":"Reservation Id"},"reservation_number":{"type":"string","title":"Reservation Number"},"customer_name":{"type":"string","title":"Customer Name"},"customer_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Phone"},"party_size":{"type":"integer","title":"Party Size"},"reservation_type":{"type":"string","title":"Reservation Type"},"reservation_type_label":{"type":"string","title":"Reservation Type Label"},"service_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Name"},"offering_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offering Name"},"staff_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Staff Name"},"duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Minutes"},"reservation_date":{"type":"string","format":"date","title":"Reservation Date"},"start_time":{"type":"string","title":"Start Time"},"end_time":{"type":"string","title":"End Time"},"status":{"type":"string","title":"Status"},"status_label":{"type":"string","title":"Status Label"},"table_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Name"},"seat_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seat Type"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"staff_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Staff Note"},"cancel_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Reason"},"reminder_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reminder Scheduled At"},"reminder_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reminder Status"},"source":{"type":"string","title":"Source"},"is_today":{"type":"boolean","title":"Is Today"},"allowed_actions":{"items":{"type":"string"},"type":"array","title":"Allowed Actions"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["reservation_id","reservation_number","customer_name","party_size","reservation_type","reservation_type_label","reservation_date","start_time","end_time","status","status_label","source","is_today","allowed_actions","created_at","updated_at"],"title":"PosAppReservation","description":"予約1件の現場向け表示。来店対応に必要な氏名/電話/卓は出すが、\ncustomer_id / email / reservation_details_json / 監査情報は含めない。"},"PosAppReservationCreate":{"properties":{"customer_name":{"type":"string","maxLength":120,"minLength":1,"title":"Customer Name"},"customer_phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Customer Phone"},"reservation_date":{"type":"string","format":"date","title":"Reservation Date"},"start_time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","title":"Start Time"},"party_size":{"type":"integer","maximum":999.0,"minimum":1.0,"title":"Party Size"},"reservation_type":{"type":"string","enum":["general","salon"],"title":"Reservation Type"},"offering_id":{"type":"string","maxLength":64,"minLength":1,"title":"Offering Id"},"staff_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Staff Id"},"staff_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Staff Note"},"idempotency_key":{"type":"string","maxLength":128,"minLength":8,"title":"Idempotency Key"}},"type":"object","required":["customer_name","reservation_date","start_time","party_size","reservation_type","offering_id","idempotency_key"],"title":"PosAppReservationCreate"},"PosAppReservationCreateConfig":{"properties":{"can_create":{"type":"boolean","title":"Can Create"},"timezone":{"type":"string","title":"Timezone"},"open_time":{"type":"string","title":"Open Time"},"close_time":{"type":"string","title":"Close Time"},"slot_minutes":{"type":"integer","title":"Slot Minutes"},"min_lead_minutes":{"type":"integer","title":"Min Lead Minutes"},"max_days_ahead":{"type":"integer","title":"Max Days Ahead"},"require_phone":{"type":"boolean","title":"Require Phone"},"allow_note":{"type":"boolean","title":"Allow Note"},"max_party_size":{"type":"integer","title":"Max Party Size"},"offerings":{"items":{"$ref":"#/components/schemas/PosAppReservationOffering"},"type":"array","title":"Offerings"},"staff":{"items":{"$ref":"#/components/schemas/PosAppReservationStaffOption"},"type":"array","title":"Staff"}},"type":"object","required":["can_create","timezone","open_time","close_time","slot_minutes","min_lead_minutes","max_days_ahead","require_phone","allow_note","max_party_size","offerings","staff"],"title":"PosAppReservationCreateConfig"},"PosAppReservationDetailResponse":{"properties":{"reservation":{"$ref":"#/components/schemas/PosAppReservation"}},"type":"object","required":["reservation"],"title":"PosAppReservationDetailResponse"},"PosAppReservationListResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"role":{"type":"string","title":"Role"},"date":{"type":"string","format":"date","title":"Date"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"timezone":{"type":"string","title":"Timezone"},"reservations":{"items":{"$ref":"#/components/schemas/PosAppReservation"},"type":"array","title":"Reservations"},"pending_count":{"type":"integer","title":"Pending Count"},"today_count":{"type":"integer","title":"Today Count"}},"type":"object","required":["store_id","role","date","date_from","date_to","timezone","reservations","pending_count","today_count"],"title":"PosAppReservationListResponse"},"PosAppReservationOffering":{"properties":{"offering_id":{"type":"string","title":"Offering Id"},"title":{"type":"string","title":"Title"},"reservation_type":{"type":"string","enum":["general","salon"],"title":"Reservation Type"},"duration_minutes":{"type":"integer","title":"Duration Minutes"}},"type":"object","required":["offering_id","title","reservation_type","duration_minutes"],"title":"PosAppReservationOffering"},"PosAppReservationStaffOption":{"properties":{"staff_id":{"type":"string","format":"uuid","title":"Staff Id"},"display_name":{"type":"string","title":"Display Name"},"supported_service_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Supported Service Ids"}},"type":"object","required":["staff_id","display_name","supported_service_ids"],"title":"PosAppReservationStaffOption"},"PosAppReservationStatusUpdate":{"properties":{"action":{"type":"string","enum":["confirm","complete","cancel","no_show"],"title":"Action"},"cancel_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Cancel Reason"}},"type":"object","required":["action"],"title":"PosAppReservationStatusUpdate"},"PosAppSalesDeviceOption":{"properties":{"device_id":{"type":"string","format":"uuid","title":"Device Id"},"device_name":{"type":"string","title":"Device Name"},"status":{"type":"string","title":"Status"},"is_current":{"type":"boolean","title":"Is Current","default":false}},"type":"object","required":["device_id","device_name","status"],"title":"PosAppSalesDeviceOption"},"PosAppSalesSummaryResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"date":{"type":"string","format":"date","title":"Date"},"date_from":{"type":"string","format":"date","title":"Date From"},"date_to":{"type":"string","format":"date","title":"Date To"},"scope":{"type":"string","enum":["store","device","unattributed"],"title":"Scope"},"selected_device_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Selected Device Id"},"selected_device_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Device Name"},"can_select_device":{"type":"boolean","title":"Can Select Device","default":false},"available_devices":{"items":{"$ref":"#/components/schemas/PosAppSalesDeviceOption"},"type":"array","title":"Available Devices"},"currency":{"type":"string","title":"Currency","default":"JPY"},"gross_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Gross Sales Jpy"},"refund_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Refund Total Jpy"},"net_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Net Sales Jpy"},"cash_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cash Sales Jpy"},"qr_wallet_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Qr Wallet Sales Jpy"},"order_count":{"type":"integer","title":"Order Count"},"payment_count":{"type":"integer","title":"Payment Count"},"refund_count":{"type":"integer","title":"Refund Count"},"average_order_value_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Average Order Value Jpy"},"last_updated_at":{"type":"string","format":"date-time","title":"Last Updated At"}},"type":"object","required":["store_id","date","date_from","date_to","scope","gross_sales_jpy","refund_total_jpy","net_sales_jpy","cash_sales_jpy","qr_wallet_sales_jpy","order_count","payment_count","refund_count","average_order_value_jpy","last_updated_at"],"title":"PosAppSalesSummaryResponse","description":"端末認可済み売上概要。CSV/会計連携/詳細分析は含めない。\n返金は必ずマイナス反映する(net = gross - refund)。集計は AccountingEntry が真実の源。"},"PosAppStaffListResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"staff":{"items":{"$ref":"#/components/schemas/PosAppStaffMember"},"type":"array","title":"Staff"}},"type":"object","required":["store_id","staff"],"title":"PosAppStaffListResponse"},"PosAppStaffLoginRequest":{"properties":{"staff_id":{"type":"string","format":"uuid","title":"Staff Id"},"pin":{"type":"string","maxLength":6,"minLength":4,"pattern":"^\\d{4,6}$","title":"Pin"}},"type":"object","required":["staff_id","pin"],"title":"PosAppStaffLoginRequest"},"PosAppStaffLoginResponse":{"properties":{"staff":{"$ref":"#/components/schemas/PosAppStaffSession"},"staff_token":{"type":"string","title":"Staff Token"},"expires_in_seconds":{"type":"integer","title":"Expires In Seconds"},"idle_timeout_seconds":{"type":"integer","title":"Idle Timeout Seconds"}},"type":"object","required":["staff","staff_token","expires_in_seconds","idle_timeout_seconds"],"title":"PosAppStaffLoginResponse","description":"PIN ログイン成功。staff_token は端末トークンとは別の短命クレデンシャル。\n\n無操作タイムアウト(再PIN)はアプリ側が ``idle_timeout_seconds`` を見て担保し、\nサーバーは ``expires_in_seconds`` を絶対上限(バックストップ)として扱う。"},"PosAppStaffMember":{"properties":{"staff_id":{"type":"string","format":"uuid","title":"Staff Id"},"display_name":{"type":"string","title":"Display Name"},"role":{"type":"string","title":"Role"}},"type":"object","required":["staff_id","display_name","role"],"title":"PosAppStaffMember","description":"PIN ログイン候補の操作者。氏名と role のみ(email など PII は出さない)。"},"PosAppStaffSession":{"properties":{"staff_id":{"type":"string","format":"uuid","title":"Staff Id"},"display_name":{"type":"string","title":"Display Name"},"role":{"type":"string","title":"Role"}},"type":"object","required":["staff_id","display_name","role"],"title":"PosAppStaffSession"},"PosAppTableCashSettleRequest":{"properties":{"order_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":100},{"type":"null"}],"title":"Order Ids"}},"type":"object","title":"PosAppTableCashSettleRequest","description":"席の現金会計入力。金額は受け取らない(残額・対象注文の合計はサーバーが再計算)。\n\n``order_ids`` を渡すと「選んで会計(現金)」(指定注文だけを現金 paid にする。一部金額決済が\n進行中の席では曖昧になるため拒否)。None なら席の残額すべてを現金で確定する(ウォレット部分\n決済が入っていれば残額のみ現金記帳)。"},"PosAppTableCashSettleResult":{"properties":{"table_key":{"type":"string","title":"Table Key"},"cash_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cash Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"detail":{"$ref":"#/components/schemas/PosAppTableDetailResponse"}},"type":"object","required":["table_key","cash_jpy","total_jpy","detail"],"title":"PosAppTableCashSettleResult","description":"席の現金会計の結果。``cash_jpy`` は現金で受領した額、``total_jpy`` は対象合計。\n確定後の席状態は ``detail`` で返す(会計後は会計済み/空席に更新される)。"},"PosAppTableCheckoutCreate":{"properties":{"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"},"order_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":100},{"type":"null"}],"title":"Order Ids"}},"type":"object","required":["idempotency_key"],"title":"PosAppTableCheckoutCreate"},"PosAppTableDetailResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"type":"string","title":"Store Name","default":"店舗"},"role":{"type":"string","title":"Role"},"table_key":{"type":"string","title":"Table Key"},"name":{"type":"string","title":"Name"},"seat_type":{"type":"string","title":"Seat Type","default":"table"},"area_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Label"},"table_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Table Session Id"},"is_occupied":{"type":"boolean","title":"Is Occupied","default":false},"operational_state":{"type":"string","enum":["vacant","accepting","ordered","checkout"],"title":"Operational State","default":"vacant"},"remaining_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Remaining Jpy","default":"0"},"paid_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Paid Jpy","default":"0"},"payment_state":{"type":"string","enum":["idle","in_progress","partial"],"title":"Payment State","default":"idle"},"payment_state_label":{"type":"string","title":"Payment State Label","default":"会計前"},"can_add_order":{"type":"boolean","title":"Can Add Order","default":false},"can_checkout":{"type":"boolean","title":"Can Checkout","default":false},"orders":{"items":{"$ref":"#/components/schemas/PosAppTableOrder"},"type":"array","title":"Orders"},"all_you_can_eat":{"anyOf":[{"$ref":"#/components/schemas/AllYouCanEatStateResponse"},{"type":"null"}]},"all_you_can_eat_history":{"anyOf":[{"$ref":"#/components/schemas/AllYouCanEatHistoryResponse"},{"type":"null"}]}},"type":"object","required":["store_id","role","table_key","name","orders"],"title":"PosAppTableDetailResponse"},"PosAppTableListResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"role":{"type":"string","title":"Role"},"tables":{"items":{"$ref":"#/components/schemas/PosAppTableSummary"},"type":"array","title":"Tables"}},"type":"object","required":["store_id","role","tables"],"title":"PosAppTableListResponse"},"PosAppTableOrder":{"properties":{"order_id":{"type":"string","format":"uuid","title":"Order Id"},"display_number":{"type":"string","title":"Display Number"},"status":{"type":"string","title":"Status"},"status_label":{"type":"string","title":"Status Label"},"kitchen_status":{"type":"string","title":"Kitchen Status"},"kitchen_status_label":{"type":"string","title":"Kitchen Status Label"},"payment_status":{"type":"string","title":"Payment Status"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"elapsed_minutes":{"type":"integer","title":"Elapsed Minutes","default":0},"allowed_actions":{"items":{"type":"string"},"type":"array","title":"Allowed Actions"},"items":{"items":{"$ref":"#/components/schemas/PosAppTableOrderItem"},"type":"array","title":"Items"}},"type":"object","required":["order_id","display_number","status","status_label","kitchen_status","kitchen_status_label","payment_status","total_jpy","created_at","items"],"title":"PosAppTableOrder"},"PosAppTableOrderCreate":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PosAppRegisterOrderItemInput"},"type":"array","maxItems":100,"minItems":1,"title":"Items"}},"type":"object","required":["items"],"title":"PosAppTableOrderCreate","description":"席への追加注文入力。金額は受け取らない(サーバーが商品マスタから再計算)。"},"PosAppTableOrderItem":{"properties":{"order_id":{"type":"string","format":"uuid","title":"Order Id"},"item_id":{"type":"string","format":"uuid","title":"Item Id"},"item_name":{"type":"string","title":"Item Name"},"qty":{"type":"integer","title":"Qty"},"unit_price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Unit Price Jpy"},"line_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Total Jpy"},"options":{"items":{"type":"string"},"type":"array","title":"Options","default":[]},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"can_void":{"type":"boolean","title":"Can Void","default":false},"kitchen_status":{"type":"string","title":"Kitchen Status","default":"not_started"},"kitchen_status_label":{"type":"string","title":"Kitchen Status Label","default":"未調理"},"item_allowed_actions":{"items":{"type":"string"},"type":"array","title":"Item Allowed Actions"}},"type":"object","required":["order_id","item_id","item_name","qty","unit_price_jpy","line_total_jpy"],"title":"PosAppTableOrderItem","description":"席詳細の商品行。同一店舗の端末しか到達できないので取消に必要な item_id は出すが、\ntx_hash / wallet / 監査情報は含めない。"},"PosAppTableParticipationEmergencyResetResponse":{"properties":{"table_key":{"type":"string","title":"Table Key"},"qr_credential":{"type":"string","title":"Qr Credential"},"qr_url":{"type":"string","title":"Qr Url"},"qr_generation":{"type":"integer","title":"Qr Generation"},"passcode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Passcode"}},"type":"object","required":["table_key","qr_credential","qr_url","qr_generation"],"title":"PosAppTableParticipationEmergencyResetResponse"},"PosAppTableParticipationEndResponse":{"properties":{"table_key":{"type":"string","title":"Table Key"},"status":{"type":"string","title":"Status"}},"type":"object","required":["table_key","status"],"title":"PosAppTableParticipationEndResponse"},"PosAppTableParticipationPasscodeResponse":{"properties":{"table_key":{"type":"string","title":"Table Key"},"passcode":{"type":"string","title":"Passcode"},"generation":{"type":"integer","title":"Generation"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"}},"type":"object","required":["table_key","passcode","generation","issued_at"],"title":"PosAppTableParticipationPasscodeResponse"},"PosAppTableParticipationQrResponse":{"properties":{"table_key":{"type":"string","title":"Table Key"},"qr_credential":{"type":"string","title":"Qr Credential"},"qr_url":{"type":"string","title":"Qr Url"},"generation":{"type":"integer","title":"Generation"},"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At"}},"type":"object","required":["table_key","qr_credential","qr_url","generation"],"title":"PosAppTableParticipationQrResponse"},"PosAppTableParticipationStartResponse":{"properties":{"table_key":{"type":"string","title":"Table Key"},"table_session_id":{"type":"string","format":"uuid","title":"Table Session Id"},"status":{"type":"string","title":"Status"},"passcode_required":{"type":"boolean","title":"Passcode Required"},"passcode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Passcode"}},"type":"object","required":["table_key","table_session_id","status","passcode_required"],"title":"PosAppTableParticipationStartResponse"},"PosAppTableParticipationStatusResponse":{"properties":{"table_key":{"type":"string","title":"Table Key"},"active_session":{"type":"boolean","title":"Active Session"},"table_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Table Session Id"},"qr_issued":{"type":"boolean","title":"Qr Issued"},"qr_generation":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Qr Generation"},"passcode_setting_enabled":{"type":"boolean","title":"Passcode Setting Enabled"},"session_passcode_required":{"type":"boolean","title":"Session Passcode Required"},"passcode_issued":{"type":"boolean","title":"Passcode Issued"},"can_end":{"type":"boolean","title":"Can End"},"end_blocked_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Blocked Reason"},"end_blocked_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Blocked Message"},"has_unsettled_orders":{"type":"boolean","title":"Has Unsettled Orders"},"has_payment_in_progress":{"type":"boolean","title":"Has Payment In Progress"},"has_open_checkout_session":{"type":"boolean","title":"Has Open Checkout Session"}},"type":"object","required":["table_key","active_session","qr_issued","passcode_setting_enabled","session_passcode_required","passcode_issued","can_end","has_unsettled_orders","has_payment_in_progress","has_open_checkout_session"],"title":"PosAppTableParticipationStatusResponse","description":"POS Mobile向けの非秘密な席受付状態。"},"PosAppTablePaymentPlanCard":{"properties":{"slot_index":{"type":"integer","title":"Slot Index"},"intent":{"$ref":"#/components/schemas/PosAppQrCheckoutIntent"}},"type":"object","required":["slot_index","intent"],"title":"PosAppTablePaymentPlanCard","description":"支払いカード1枚。別URL・別QRを持ち、別々の利用者が同時に支払える。"},"PosAppTablePaymentPlanCreate":{"properties":{"idempotency_key":{"type":"string","maxLength":100,"minLength":1,"title":"Idempotency Key"},"plan_kind":{"type":"string","enum":["remaining","split_equal","split_custom"],"title":"Plan Kind"},"people":{"anyOf":[{"type":"integer","maximum":10.0,"minimum":2.0},{"type":"null"}],"title":"People"},"amounts_jpy":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":10},{"type":"null"}],"title":"Amounts Jpy"}},"type":"object","required":["idempotency_key","plan_kind"],"title":"PosAppTablePaymentPlanCreate","description":"席会計の支払い方式(Payment Plan)の切り替え入力。\n\n金額はサーバー権威。``split_equal`` は人数だけ、``split_custom`` は各カードの金額を\n受け取り、合計が残額と完全一致するかを backend で検証する(端数はサーバーが決める)。"},"PosAppTablePaymentPlanResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"table_key":{"type":"string","title":"Table Key"},"plan_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Kind"},"plan_generation":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Plan Generation"},"total_unpaid_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Unpaid Jpy"},"paid_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Paid Jpy"},"remaining_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Remaining Jpy"},"can_change":{"type":"boolean","title":"Can Change"},"blocked_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blocked Reason"},"blocked_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blocked Message"},"cards":{"items":{"$ref":"#/components/schemas/PosAppTablePaymentPlanCard"},"type":"array","title":"Cards"}},"type":"object","required":["store_id","table_key","total_unpaid_jpy","paid_jpy","remaining_jpy","can_change"],"title":"PosAppTablePaymentPlanResponse"},"PosAppTableSummary":{"properties":{"seat_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Seat Id"},"table_key":{"type":"string","title":"Table Key"},"name":{"type":"string","title":"Name"},"seat_type":{"type":"string","title":"Seat Type","default":"table"},"area_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Label"},"is_occupied":{"type":"boolean","title":"Is Occupied","default":false},"operational_state":{"type":"string","enum":["vacant","accepting","ordered","checkout"],"title":"Operational State","default":"vacant"},"active_session":{"type":"boolean","title":"Active Session","default":false},"order_count":{"type":"integer","title":"Order Count","default":0},"item_count":{"type":"integer","title":"Item Count","default":0},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy","default":"0"},"cooking_count":{"type":"integer","title":"Cooking Count","default":0},"ready_count":{"type":"integer","title":"Ready Count","default":0},"unserved_count":{"type":"integer","title":"Unserved Count","default":0},"has_unpaid":{"type":"boolean","title":"Has Unpaid","default":false},"payment_state":{"type":"string","enum":["idle","in_progress","partial"],"title":"Payment State","default":"idle"},"payment_state_label":{"type":"string","title":"Payment State Label","default":"会計前"}},"type":"object","required":["table_key","name"],"title":"PosAppTableSummary","description":"席1件の現場向け要約(席一覧カード)。技術情報・QR印刷・URLは含めない。"},"PosAppTableVoidRequest":{"properties":{"quantity":{"type":"integer","minimum":1.0,"title":"Quantity"},"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"}},"type":"object","required":["quantity","reason"],"title":"PosAppTableVoidRequest","description":"商品行取消入力。理由必須・部分数量対応(既存 void API と同じ形)。"},"PosAppTakeoutCheckoutQuoteRequest":{"properties":{"order_items":{"anyOf":[{"items":{"$ref":"#/components/schemas/PosAppCheckoutItemQuantity"},"type":"array","maxItems":200,"minItems":1},{"type":"null"}],"title":"Order Items"},"order_item_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200,"minItems":1},{"type":"null"}],"title":"Order Item Ids"}},"additionalProperties":false,"type":"object","title":"PosAppTakeoutCheckoutQuoteRequest"},"PosAppTakeoutCheckoutQuoteResponse":{"properties":{"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"item_count":{"type":"integer","title":"Item Count"},"quantity_count":{"type":"integer","title":"Quantity Count"}},"type":"object","required":["amount_jpy","item_count","quantity_count"],"title":"PosAppTakeoutCheckoutQuoteResponse"},"PosAppTakeoutOrderCreate":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PosAppRegisterOrderItemInput"},"type":"array","maxItems":100,"minItems":1,"title":"Items"},"customer_name":{"type":"string","maxLength":120,"minLength":1,"title":"Customer Name"},"requested_pickup_at":{"type":"string","format":"date-time","title":"Requested Pickup At"}},"type":"object","required":["items","customer_name","requested_pickup_at"],"title":"PosAppTakeoutOrderCreate","description":"電話受付など、POS Mobile から登録するテイクアウト注文。"},"PosAppWalletRefundAttemptCreate":{"properties":{"client_attempt_token":{"anyOf":[{"type":"string","maxLength":200,"minLength":8},{"type":"null"}],"title":"Client Attempt Token"}},"type":"object","title":"PosAppWalletRefundAttemptCreate"},"PosAppWalletRefundAttemptResponse":{"properties":{"attempt_id":{"type":"string","format":"uuid","title":"Attempt Id"},"attempt_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attempt Secret"},"status":{"type":"string","title":"Status"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"walletconnect_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Walletconnect Uri"},"wallet_app_identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet App Identifier"},"wallet_redirect_native":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet Redirect Native"},"signature_request_sent":{"type":"boolean","title":"Signature Request Sent","default":false},"refund_status":{"type":"string","title":"Refund Status"},"resumed":{"type":"boolean","title":"Resumed","default":false},"failure_reason_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Reason Display"}},"type":"object","required":["attempt_id","status","expires_at","refund_status"],"title":"PosAppWalletRefundAttemptResponse"},"PosAppWalletRefundCancelRequest":{"properties":{"reason":{"type":"string","maxLength":200,"title":"Reason","default":"店舗操作による取消"}},"type":"object","title":"PosAppWalletRefundCancelRequest"},"PosAppWalletRefundConnectionStatus":{"properties":{"registered":{"type":"boolean","title":"Registered"},"connected":{"type":"boolean","title":"Connected"},"wallet_masked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet Masked"}},"type":"object","required":["registered","connected"],"title":"PosAppWalletRefundConnectionStatus","description":"返金開始前に表示する店舗ウォレット接続ヒント。\n\n表示専用の参考情報であり、実際の接続アドレス照合は毎回 attempt 実行時に\n厳密に行う(このヒントが古くても不正な署名は発生しない)。"},"PosAppWalletRefundCreate":{"properties":{"code":{"type":"string","maxLength":300,"minLength":8,"title":"Code"},"amount_jpy":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Jpy"},"selection_mode":{"type":"string","enum":["items","amount"],"title":"Selection Mode","default":"amount"},"selected_items":{"items":{"$ref":"#/components/schemas/PosAppWalletRefundSelectedItem"},"type":"array","title":"Selected Items"},"reason":{"type":"string","maxLength":300,"minLength":1,"title":"Reason"},"reason_code":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Reason Code"},"note":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Note"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"}},"type":"object","required":["code","amount_jpy","reason","idempotency_key"],"title":"PosAppWalletRefundCreate","description":"返金の開始。金額はサーバーが元決済の返金可能残額で再検証する。\n\n``selection_mode='items'`` は元決済の商品から選ぶ方式、``'amount'`` は\n金額直接入力。どちらも必ず元決済に紐づく(元決済と無関係な送金はできない)。"},"PosAppWalletRefundDisconnectResponse":{"properties":{"disconnected":{"type":"boolean","title":"Disconnected"},"canceled_attempts":{"type":"integer","title":"Canceled Attempts"}},"type":"object","required":["disconnected","canceled_attempts"],"title":"PosAppWalletRefundDisconnectResponse"},"PosAppWalletRefundIntent":{"properties":{"refund_intent_id":{"type":"string","format":"uuid","title":"Refund Intent Id"},"status":{"type":"string","title":"Status"},"flow_status":{"type":"string","title":"Flow Status"},"status_label":{"type":"string","title":"Status Label"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"currency":{"type":"string","title":"Currency"},"token_symbol":{"type":"string","title":"Token Symbol"},"original_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Original Amount Jpy"},"refunded_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Refunded Amount Jpy"},"refundable_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Refundable Amount Jpy"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"recipient_wallet_masked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Wallet Masked"},"store_wallet_masked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Wallet Masked"},"reason":{"type":"string","title":"Reason"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"required_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Required Credits"},"available_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Available Credits"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"failure_reason_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Reason Display"},"refund_record_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Refund Record Id"}},"type":"object","required":["refund_intent_id","status","flow_status","status_label","amount_jpy","currency","token_symbol","original_amount_jpy","refunded_amount_jpy","refundable_amount_jpy","reason","required_credits","available_credits","expires_at","created_at"],"title":"PosAppWalletRefundIntent","description":"返金1件の現場向け表示。tx hash 全文・完全なウォレットアドレスは含めない。"},"PosAppWalletRefundItem":{"properties":{"order_item_id":{"type":"string","format":"uuid","title":"Order Item Id"},"item_name":{"type":"string","title":"Item Name"},"qty":{"type":"integer","title":"Qty"},"unit_price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Unit Price Jpy"},"line_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Total Jpy"},"options_summary":{"type":"string","title":"Options Summary","default":""}},"type":"object","required":["order_item_id","item_name","qty","unit_price_jpy","line_total_jpy"],"title":"PosAppWalletRefundItem","description":"元決済の商品1行(返金対象を「商品から選ぶ」ための表示 + 金額計算用)。"},"PosAppWalletRefundListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PosAppWalletRefundIntent"},"type":"array","title":"Items"}},"type":"object","title":"PosAppWalletRefundListResponse"},"PosAppWalletRefundResponse":{"properties":{"refund":{"$ref":"#/components/schemas/PosAppWalletRefundIntent"}},"type":"object","required":["refund"],"title":"PosAppWalletRefundResponse"},"PosAppWalletRefundScanRequest":{"properties":{"code":{"type":"string","maxLength":300,"minLength":8,"title":"Code"}},"type":"object","required":["code"],"title":"PosAppWalletRefundScanRequest","description":"返金QRの読み取り(プレビュー)。この時点では claim を消費しない。"},"PosAppWalletRefundSelectedItem":{"properties":{"order_item_id":{"type":"string","format":"uuid","title":"Order Item Id"},"qty":{"type":"integer","minimum":1.0,"title":"Qty"}},"type":"object","required":["order_item_id","qty"],"title":"PosAppWalletRefundSelectedItem"},"PosAppWalletRefundSource":{"properties":{"claim_id":{"type":"string","format":"uuid","title":"Claim Id"},"payment_intent_id":{"type":"string","format":"uuid","title":"Payment Intent Id"},"order_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Order Id"},"display_number":{"type":"string","title":"Display Number"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"original_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Original Amount Jpy"},"refunded_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Refunded Amount Jpy"},"in_flight_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"In Flight Amount Jpy"},"refundable_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Refundable Amount Jpy"},"currency":{"type":"string","title":"Currency"},"token_symbol":{"type":"string","title":"Token Symbol"},"recipient_wallet_masked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Wallet Masked"},"store_wallet_masked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Wallet Masked"},"claim_expires_at":{"type":"string","format":"date-time","title":"Claim Expires At"},"items":{"items":{"$ref":"#/components/schemas/PosAppWalletRefundItem"},"type":"array","title":"Items"},"reasons":{"items":{"$ref":"#/components/schemas/PosAppRefundReasonOption"},"type":"array","title":"Reasons"},"refund_fee_basis_points":{"type":"integer","title":"Refund Fee Basis Points","default":0},"estimated_required_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Estimated Required Credits","default":"0"},"available_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Available Credits","default":"0"},"refund_wallet_options":{"items":{"$ref":"#/components/schemas/PosAppRefundWalletOption"},"type":"array","title":"Refund Wallet Options"}},"type":"object","required":["claim_id","payment_intent_id","display_number","original_amount_jpy","refunded_amount_jpy","in_flight_amount_jpy","refundable_amount_jpy","currency","token_symbol","claim_expires_at"],"title":"PosAppWalletRefundSource","description":"返金QRから解決した元決済(サーバー権威)。ウォレットは必ずマスクして返す。"},"PosMobileMenuItem":{"properties":{"key":{"type":"string","title":"Key"},"screen_key":{"type":"string","title":"Screen Key"},"label":{"type":"string","title":"Label"},"group":{"type":"string","title":"Group"},"group_label":{"type":"string","title":"Group Label"}},"type":"object","required":["key","screen_key","label","group","group_label"],"title":"PosMobileMenuItem","description":"POS Mobile に表示する1メニュー項目(画面キー + 表示ラベル + グループ)。"},"PosMobileMenuResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"type":"string","title":"Store Name"},"store_operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Operation Type"},"role":{"type":"string","title":"Role"},"role_label":{"type":"string","title":"Role Label"},"tier":{"type":"string","enum":["owner","manager","staff"],"title":"Tier"},"tier_label":{"type":"string","title":"Tier Label"},"duty_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duty Label"},"default_screen":{"type":"string","title":"Default Screen"},"items":{"items":{"$ref":"#/components/schemas/PosMobileMenuItem"},"type":"array","title":"Items"}},"type":"object","required":["store_id","store_name","role","role_label","tier","tier_label","duty_label","default_screen","items"],"title":"PosMobileMenuResponse","description":"POS Mobile 起動後に表示する許可済みメニュー(``GET /v1/pos/devices/me/menu``)。\n\nbackend を真実の源にし、表示可否(店舗で有効 ∧ Mobile対応 ∧ role許可)を解決して返す。\nrole は表示上 3 ティア(owner/manager/staff)へ正規化する。"},"PosSalesReportResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"date_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"},"date_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"},"gross_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Gross Sales Jpy"},"refund_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Refund Total Jpy"},"cash_refund_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cash Refund Total Jpy"},"net_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Net Sales Jpy"},"order_count":{"type":"integer","title":"Order Count"},"refund_count":{"type":"integer","title":"Refund Count"},"average_order_value_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Average Order Value Jpy"},"tax_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Total Jpy"},"payment_method_breakdown":{"items":{"$ref":"#/components/schemas/SalesReportPaymentMethodRow"},"type":"array","title":"Payment Method Breakdown"},"by_day":{"items":{"$ref":"#/components/schemas/SalesReportPeriodRow"},"type":"array","title":"By Day"},"by_hour":{"items":{"$ref":"#/components/schemas/SalesReportPeriodRow"},"type":"array","title":"By Hour"},"by_category":{"items":{"$ref":"#/components/schemas/SalesReportCategoryRow"},"type":"array","title":"By Category"}},"type":"object","required":["store_id","date_from","date_to","gross_sales_jpy","refund_total_jpy","cash_refund_total_jpy","net_sales_jpy","order_count","refund_count","average_order_value_jpy","tax_total_jpy"],"title":"PosSalesReportResponse"},"PostalCodeLookupResponse":{"properties":{"postal_code":{"type":"string","title":"Postal Code"},"candidates":{"items":{"$ref":"#/components/schemas/AddressCandidate"},"type":"array","title":"Candidates"}},"type":"object","required":["postal_code","candidates"],"title":"PostalCodeLookupResponse"},"PrefectureItem":{"properties":{"prefecture_code":{"type":"string","title":"Prefecture Code"},"prefecture":{"type":"string","title":"Prefecture"}},"type":"object","required":["prefecture_code","prefecture"],"title":"PrefectureItem"},"PrefecturesResponse":{"properties":{"prefectures":{"items":{"$ref":"#/components/schemas/PrefectureItem"},"type":"array","title":"Prefectures"}},"type":"object","required":["prefectures"],"title":"PrefecturesResponse"},"PriceTierInput-Input":{"properties":{"key":{"type":"string","maxLength":40,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","title":"Key"},"label":{"type":"string","maxLength":80,"minLength":1,"title":"Label"},"price_jpy":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Price Jpy"}},"type":"object","required":["key","label","price_jpy"],"title":"PriceTierInput"},"PriceTierInput-Output":{"properties":{"key":{"type":"string","maxLength":40,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","title":"Key"},"label":{"type":"string","maxLength":80,"minLength":1,"title":"Label"},"price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Price Jpy"}},"type":"object","required":["key","label","price_jpy"],"title":"PriceTierInput"},"PricingPreviewRowSchema":{"properties":{"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"token_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Token Amount"},"token_amount_raw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Token Amount Raw"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["amount_jpy"],"title":"PricingPreviewRowSchema"},"ProductCreate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"slug":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{2,119}$"},{"type":"null"}],"title":"Slug"},"description":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Description"},"category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Category Id"},"tax_rate":{"anyOf":[{"type":"number","maximum":0.2,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Tax Rate","default":"0.10"},"images":{"items":{"$ref":"#/components/schemas/ProductImageInput"},"type":"array","maxItems":20,"title":"Images"},"hashtags":{"items":{"type":"string"},"type":"array","title":"Hashtags"},"seo":{"additionalProperties":true,"type":"object","title":"Seo"},"variants":{"items":{"$ref":"#/components/schemas/VariantCreate"},"type":"array","maxItems":100,"minItems":1,"title":"Variants"}},"type":"object","required":["title","variants"],"title":"ProductCreate"},"ProductImageCropRequest":{"properties":{"original_file_key":{"type":"string","maxLength":500,"minLength":1,"title":"Original File Key"},"x":{"type":"number","maximum":1.0,"minimum":0.0,"title":"X"},"y":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Y"},"width":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0,"title":"Width"},"height":{"type":"number","maximum":1.0,"exclusiveMinimum":0.0,"title":"Height"}},"type":"object","required":["original_file_key","x","y","width","height"],"title":"ProductImageCropRequest"},"ProductImageInput":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"url":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Url"},"file_key":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"File Key"},"original_file_key":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Original File Key"},"crop":{"additionalProperties":{"type":"number"},"type":"object","title":"Crop"},"alt":{"type":"string","maxLength":300,"title":"Alt","default":""},"content_type":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Content Type"},"width":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":1.0},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":1.0},{"type":"null"}],"title":"Height"},"size_bytes":{"anyOf":[{"type":"integer","maximum":5242880.0,"minimum":1.0},{"type":"null"}],"title":"Size Bytes"}},"type":"object","title":"ProductImageInput"},"ProductStatusRequest":{"properties":{"status":{"type":"string","enum":["draft","published","archived"],"title":"Status"},"firebase_id_token":{"anyOf":[{"type":"string","maxLength":10000,"minLength":20},{"type":"null"}],"title":"Firebase Id Token"}},"type":"object","required":["status"],"title":"ProductStatusRequest"},"ProductUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"slug":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{2,119}$"},{"type":"null"}],"title":"Slug"},"description":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Description"},"category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Category Id"},"tax_rate":{"anyOf":[{"type":"number","maximum":0.2,"minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Tax Rate"},"images":{"anyOf":[{"items":{"$ref":"#/components/schemas/ProductImageInput"},"type":"array","maxItems":20},{"type":"null"}],"title":"Images"},"hashtags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Hashtags"},"seo":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Seo"}},"type":"object","title":"ProductUpdate"},"PromoteWaitlistResponse":{"properties":{"promoted_applications":{"type":"integer","title":"Promoted Applications"},"remaining_capacity":{"type":"integer","title":"Remaining Capacity"}},"type":"object","required":["promoted_applications","remaining_capacity"],"title":"PromoteWaitlistResponse"},"PublicBusinessApplicationCreate":{"properties":{"application_type":{"type":"string","enum":["store","creator","food_truck","beauty","hotel","event","other"],"title":"Application Type"},"business_name":{"type":"string","maxLength":160,"minLength":1,"title":"Business Name"},"contact_name":{"type":"string","maxLength":120,"minLength":1,"title":"Contact Name"},"email":{"type":"string","format":"email","title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"industry":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Industry"},"requested_category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Requested Category Id"},"requested_detail_category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Requested Detail Category Id"},"requested_operation_type":{"anyOf":[{"type":"string","enum":["fixed","mobile"]},{"type":"null"}],"title":"Requested Operation Type"},"requested_store_kind":{"type":"string","enum":["full","payment_only"],"title":"Requested Store Kind"},"area_or_address":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Area Or Address"},"website_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Website Url"},"sns_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Sns Url"},"requested_features":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Requested Features"},"message":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Message"},"consent_checked":{"type":"boolean","title":"Consent Checked"},"privacy_policy_version":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Privacy Policy Version"},"agreed_documents":{"items":{"$ref":"#/components/schemas/LegalConsentDocumentInput"},"type":"array","maxItems":20,"title":"Agreed Documents"},"oauth_provider":{"anyOf":[{"type":"string","const":"google"},{"type":"null"}],"title":"Oauth Provider"},"oauth_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Oauth Email"},"oauth_verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Oauth Verified At"},"oauth_verification_token":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Oauth Verification Token"}},"additionalProperties":false,"type":"object","required":["application_type","business_name","contact_name","email","requested_store_kind","consent_checked"],"title":"PublicBusinessApplicationCreate"},"PublicBusinessApplicationOAuthVerifyRequest":{"properties":{"provider":{"type":"string","enum":["google","apple","facebook"],"title":"Provider"},"id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Id Token"}},"type":"object","required":["provider","id_token"],"title":"PublicBusinessApplicationOAuthVerifyRequest"},"PublicBusinessApplicationOAuthVerifyResponse":{"properties":{"provider":{"type":"string","title":"Provider"},"email":{"type":"string","format":"email","title":"Email"},"email_verified":{"type":"boolean","title":"Email Verified"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"verification_token":{"type":"string","title":"Verification Token"}},"type":"object","required":["provider","email","email_verified","verification_token"],"title":"PublicBusinessApplicationOAuthVerifyResponse"},"PublicBusinessApplicationResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"type":"string","enum":["pending_application","needs_more_info","approved","rejected"],"title":"Status"},"message":{"type":"string","title":"Message"}},"type":"object","required":["id","status","message"],"title":"PublicBusinessApplicationResponse"},"PublicEventMapAppearanceResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"store_name":{"type":"string","title":"Store Name"},"title":{"type":"string","title":"Title"},"location_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Name"},"area_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Code"},"area_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Label"},"event_area_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Area Name"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"effective_state":{"type":"string","title":"Effective State"},"map_x":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map X"},"map_y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map Y"},"map_pin_priority":{"type":"integer","title":"Map Pin Priority","default":0},"map_pin_label_visible":{"type":"boolean","title":"Map Pin Label Visible","default":false}},"type":"object","required":["id","store_id","store_slug","store_name","title","effective_state"],"title":"PublicEventMapAppearanceResponse"},"PublicEventMapDetailResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"public_slug":{"type":"string","title":"Public Slug"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"store_name":{"type":"string","title":"Store Name"},"effective_state":{"type":"string","title":"Effective State"},"area_codes":{"items":{"type":"string"},"type":"array","title":"Area Codes"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"event_map":{"$ref":"#/components/schemas/PublicStoreEventMapResponse"},"appearances":{"items":{"$ref":"#/components/schemas/PublicEventMapAppearanceResponse"},"type":"array","title":"Appearances"}},"type":"object","required":["id","public_slug","title","store_id","store_slug","store_name","effective_state","event_map"],"title":"PublicEventMapDetailResponse"},"PublicEventMapLayerResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"layer_type":{"type":"string","title":"Layer Type"},"name":{"type":"string","title":"Name"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"opacity":{"type":"number","title":"Opacity","default":1.0},"sort_order":{"type":"integer","title":"Sort Order","default":0}},"type":"object","required":["id","layer_type","name"],"title":"PublicEventMapLayerResponse"},"PublicEventMapListItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"public_slug":{"type":"string","title":"Public Slug"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"store_name":{"type":"string","title":"Store Name"},"effective_state":{"type":"string","title":"Effective State"},"area_codes":{"items":{"type":"string"},"type":"array","title":"Area Codes"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"event_map":{"$ref":"#/components/schemas/PublicStoreEventMapResponse"},"appearances":{"items":{"$ref":"#/components/schemas/PublicEventMapAppearanceResponse"},"type":"array","title":"Appearances"}},"type":"object","required":["id","public_slug","title","store_id","store_slug","store_name","effective_state","event_map"],"title":"PublicEventMapListItem"},"PublicEventMapListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PublicEventMapListItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"PublicEventMapListResponse"},"PublicEventMapPinResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"appearance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Appearance Id"},"pin_type":{"type":"string","title":"Pin Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"x":{"type":"number","title":"X"},"y":{"type":"number","title":"Y"},"priority":{"type":"integer","title":"Priority","default":0},"label_visible":{"type":"boolean","title":"Label Visible","default":false}},"type":"object","required":["id","pin_type","label","x","y"],"title":"PublicEventMapPinResponse"},"PublicEventMapResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"event_map_id":{"type":"string","title":"Event Map Id"},"name":{"type":"string","title":"Name"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"flattened_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flattened Image Url"},"flattened_generated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Flattened Generated At"},"flatten_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flatten Status"},"layers":{"items":{"$ref":"#/components/schemas/PublicEventMapLayerResponse"},"type":"array","title":"Layers"},"pins":{"items":{"$ref":"#/components/schemas/PublicEventMapPinResponse"},"type":"array","title":"Pins"}},"type":"object","required":["id","event_map_id","name"],"title":"PublicEventMapResponse"},"PublicLegacyTableTokenExchangeRequest":{"properties":{"table_session_token":{"type":"string","maxLength":120,"minLength":20,"title":"Table Session Token"},"device_identifier":{"type":"string","maxLength":200,"minLength":32,"title":"Device Identifier"}},"additionalProperties":false,"type":"object","required":["table_session_token","device_identifier"],"title":"PublicLegacyTableTokenExchangeRequest"},"PublicMarketplacePagination":{"properties":{"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"total":{"type":"integer","title":"Total"},"pages":{"type":"integer","title":"Pages"}},"additionalProperties":false,"type":"object","required":["page","page_size","total","pages"],"title":"PublicMarketplacePagination"},"PublicMarketplaceProduct":{"properties":{"title":{"type":"string","title":"Title"},"shop_name":{"type":"string","title":"Shop Name"},"shop_slug":{"type":"string","title":"Shop Slug"},"product_slug":{"type":"string","title":"Product Slug"},"product_path":{"type":"string","title":"Product Path"},"primary_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Image Url"},"price_jpy":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Price Jpy"},"price_varies":{"type":"boolean","title":"Price Varies"},"availability":{"type":"string","enum":["available","sold_out","temporarily_unavailable"],"title":"Availability"}},"additionalProperties":false,"type":"object","required":["title","shop_name","shop_slug","product_slug","product_path","primary_image_url","price_jpy","price_varies","availability"],"title":"PublicMarketplaceProduct"},"PublicMarketplaceResponse":{"properties":{"products":{"items":{"$ref":"#/components/schemas/PublicMarketplaceProduct"},"type":"array","title":"Products"},"pagination":{"$ref":"#/components/schemas/PublicMarketplacePagination"}},"additionalProperties":false,"type":"object","required":["products","pagination"],"title":"PublicMarketplaceResponse"},"PublicMenuCategoryResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"sort_order":{"type":"integer","title":"Sort Order"},"items":{"items":{"$ref":"#/components/schemas/PublicMenuItemResponse"},"type":"array","title":"Items"}},"type":"object","required":["id","name","sort_order","items"],"title":"PublicMenuCategoryResponse"},"PublicMenuItemOptionGroupResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"required":{"type":"boolean","title":"Required"},"min_select":{"type":"integer","title":"Min Select"},"max_select":{"type":"integer","title":"Max Select"},"sort_order":{"type":"integer","title":"Sort Order"},"items":{"items":{"$ref":"#/components/schemas/PublicMenuItemOptionItemResponse"},"type":"array","title":"Items"}},"type":"object","required":["id","name","required","min_select","max_select","sort_order"],"title":"PublicMenuItemOptionGroupResponse"},"PublicMenuItemOptionItemResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"price_delta_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Price Delta Jpy"},"is_default":{"type":"boolean","title":"Is Default"},"is_sold_out":{"type":"boolean","title":"Is Sold Out"},"sort_order":{"type":"integer","title":"Sort Order"}},"type":"object","required":["id","name","price_delta_jpy","is_default","is_sold_out","sort_order"],"title":"PublicMenuItemOptionItemResponse"},"PublicMenuItemResponse":{"properties":{"id":{"type":"string","title":"Id"},"category_id":{"type":"string","title":"Category Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Price Jpy"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"tax_included":{"type":"boolean","title":"Tax Included","default":false},"price_including_tax_jpy":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Price Including Tax Jpy"},"tax_category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tax Category"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"mobile_display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mobile Display Name"},"mobile_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mobile Description"},"mobile_badge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mobile Badge"},"is_featured":{"type":"boolean","title":"Is Featured"},"is_sold_out":{"type":"boolean","title":"Is Sold Out"},"stock_tracking_enabled":{"type":"boolean","title":"Stock Tracking Enabled","default":false},"stock_quantity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stock Quantity"},"auto_sold_out_enabled":{"type":"boolean","title":"Auto Sold Out Enabled","default":true},"low_stock_threshold":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Low Stock Threshold"},"sold_out_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sold Out Reason"},"mobile_sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mobile Sort Order"},"sort_order":{"type":"integer","title":"Sort Order"},"option_groups":{"items":{"$ref":"#/components/schemas/PublicMenuItemOptionGroupResponse"},"type":"array","title":"Option Groups"}},"type":"object","required":["id","category_id","name","description","price_jpy","tax_rate","image_url","mobile_display_name","mobile_description","mobile_badge","is_featured","is_sold_out","mobile_sort_order","sort_order"],"title":"PublicMenuItemResponse"},"PublicMobileOrderSettingsResponse":{"properties":{"is_public":{"type":"boolean","title":"Is Public"},"accepting_orders":{"type":"boolean","title":"Accepting Orders"},"business_hours_mode":{"type":"string","title":"Business Hours Mode"},"timezone":{"type":"string","title":"Timezone"},"business_hours_enabled":{"type":"boolean","title":"Business Hours Enabled"},"weekly_hours_json":{"anyOf":[{"additionalProperties":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Weekly Hours Json"},"manual_open_override":{"type":"boolean","title":"Manual Open Override"},"manual_close_override":{"type":"boolean","title":"Manual Close Override"},"auto_stop_enabled":{"type":"boolean","title":"Auto Stop Enabled"},"is_open_now":{"type":"boolean","title":"Is Open Now"},"open_status":{"type":"string","title":"Open Status"},"order_notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Notice"},"payment_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Note"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["is_public","accepting_orders","business_hours_mode","timezone","business_hours_enabled","weekly_hours_json","manual_open_override","manual_close_override","auto_stop_enabled","is_open_now","open_status","order_notice","payment_note","updated_at"],"title":"PublicMobileOrderSettingsResponse"},"PublicOrderItemInput":{"properties":{"menu_item_id":{"type":"string","format":"uuid","title":"Menu Item Id"},"qty":{"type":"integer","minimum":1.0,"title":"Qty"},"selected_options":{"items":{"$ref":"#/components/schemas/PublicSelectedOptionInput"},"type":"array","title":"Selected Options"}},"additionalProperties":false,"type":"object","required":["menu_item_id","qty"],"title":"PublicOrderItemInput"},"PublicOrderPaymentHandoffResponse":{"properties":{"payment_required":{"type":"boolean","title":"Payment Required"},"payment_method":{"type":"string","title":"Payment Method"},"payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Payment Intent Id"},"payment_intent_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Intent Status"}},"type":"object","required":["payment_required","payment_method"],"title":"PublicOrderPaymentHandoffResponse"},"PublicOrderQuoteItemResponse":{"properties":{"menu_item_id":{"type":"string","format":"uuid","title":"Menu Item Id"},"name":{"type":"string","title":"Name"},"qty":{"type":"integer","title":"Qty"},"unit_price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Unit Price Jpy"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"tax_included":{"type":"boolean","title":"Tax Included","default":false},"line_subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Subtotal Jpy"},"line_tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Tax Jpy"},"line_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Total Jpy"},"options_snapshot":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Options Snapshot"},"order_item_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Order Item Id"},"payment_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Status"},"locked":{"type":"boolean","title":"Locked","default":false},"paid_quantity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Paid Quantity"},"selectable_quantity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Selectable Quantity"},"remaining_amount_jpy":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Remaining Amount Jpy"},"pricing_class":{"type":"string","enum":["standard","included","surcharge"],"title":"Pricing Class","default":"standard"}},"type":"object","required":["menu_item_id","name","qty","unit_price_jpy","tax_rate","line_subtotal_jpy","line_tax_jpy","line_total_jpy"],"title":"PublicOrderQuoteItemResponse"},"PublicOrderQuoteRequest":{"properties":{"fulfillment_type":{"type":"string","enum":["dine_in","takeout"],"title":"Fulfillment Type"},"items":{"items":{"$ref":"#/components/schemas/PublicOrderItemInput"},"type":"array","minItems":1,"title":"Items"}},"additionalProperties":false,"type":"object","required":["fulfillment_type","items"],"title":"PublicOrderQuoteRequest"},"PublicOrderQuoteResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"currency":{"type":"string","title":"Currency","default":"JPY"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"items":{"items":{"$ref":"#/components/schemas/PublicOrderQuoteItemResponse"},"type":"array","title":"Items"},"tax_lines":{"items":{"$ref":"#/components/schemas/PublicOrderTaxLineResponse"},"type":"array","title":"Tax Lines"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"}},"type":"object","required":["store_id","store_slug","fulfillment_type","expires_at","items","tax_lines","subtotal_jpy","tax_jpy","total_jpy"],"title":"PublicOrderQuoteResponse"},"PublicOrderSubmitRequest":{"properties":{"fulfillment_type":{"type":"string","enum":["dine_in","takeout"],"title":"Fulfillment Type"},"items":{"items":{"$ref":"#/components/schemas/PublicOrderItemInput"},"type":"array","minItems":1,"title":"Items"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"},"customer_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Customer Name"},"guest_contact_email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Guest Contact Email"},"guest_contact_phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Guest Contact Phone"},"table_number":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Table Number"},"table_session_token":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Table Session Token"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["fulfillment_type","items","idempotency_key"],"title":"PublicOrderSubmitRequest"},"PublicOrderSubmitResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"public_access_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Access Token"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"order_status":{"type":"string","title":"Order Status"},"payment_status":{"type":"string","title":"Payment Status"},"kitchen_status":{"type":"string","title":"Kitchen Status"},"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"order_source":{"type":"string","title":"Order Source"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"pickup_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Code"},"customer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Name"},"guest_contact_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guest Contact Email"},"guest_contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guest Contact Phone"},"table_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Number"},"table_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Table Session Id"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"items":{"items":{"$ref":"#/components/schemas/PublicOrderQuoteItemResponse"},"type":"array","title":"Items"},"tax_lines":{"items":{"$ref":"#/components/schemas/PublicOrderTaxLineResponse"},"type":"array","title":"Tax Lines"},"payment":{"$ref":"#/components/schemas/PublicOrderPaymentHandoffResponse"}},"type":"object","required":["id","store_id","store_slug","order_status","payment_status","kitchen_status","fulfillment_type","order_source","subtotal_jpy","tax_jpy","total_jpy","expires_at","pickup_code","customer_name","guest_contact_email","guest_contact_phone","table_number","note","items","tax_lines","payment"],"title":"PublicOrderSubmitResponse"},"PublicOrderTaxLineResponse":{"properties":{"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"taxable_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Taxable Amount Jpy"},"tax_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Amount Jpy"}},"type":"object","required":["fulfillment_type","tax_rate","taxable_amount_jpy","tax_amount_jpy"],"title":"PublicOrderTaxLineResponse"},"PublicPaymentInstructions":{"properties":{"payment_method":{"type":"string","title":"Payment Method"},"network":{"type":"string","title":"Network"},"message":{"type":"string","title":"Message"}},"type":"object","required":["payment_method","network","message"],"title":"PublicPaymentInstructions"},"PublicPaymentIntentCreate":{"properties":{"expected_from_address":{"anyOf":[{"type":"string","maxLength":42,"minLength":42},{"type":"null"}],"title":"Expected From Address"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"},"public_access_token":{"type":"string","maxLength":200,"minLength":1,"title":"Public Access Token"}},"type":"object","required":["idempotency_key","public_access_token"],"title":"PublicPaymentIntentCreate"},"PublicPaymentIntentDetailResponse":{"properties":{"payment_intent_id":{"type":"string","format":"uuid","title":"Payment Intent Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"type":"string","title":"Store Name"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"is_static_checkout":{"type":"boolean","title":"Is Static Checkout","default":false},"token_symbol":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Symbol"},"token_decimals":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Token Decimals"},"token_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Token Amount"},"token_amount_raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Amount Raw"},"usdc_payment_fee_percent":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Usdc Payment Fee Percent"},"usdc_payment_fee_jpy_equivalent":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Usdc Payment Fee Jpy Equivalent"},"conversion_fee_percent":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Conversion Fee Percent"},"conversion_fee_jpy_equivalent":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Conversion Fee Jpy Equivalent"},"conversion_rate_jpy_per_token":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Conversion Rate Jpy Per Token"},"conversion_rate_fetched_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Conversion Rate Fetched At"},"conversion_base_token_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Conversion Base Token Amount"},"conversion_fee_token_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Conversion Fee Token Amount"},"token_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Address"},"chain_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chain Id"},"recipient_wallet_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Wallet Address"},"status":{"type":"string","enum":["requires_token_selection","requires_payment","pending_confirmation","succeeded","failed","expired","manual_review","canceled"],"title":"Status"},"ended_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ended Reason"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"public_access_token":{"type":"string","title":"Public Access Token"},"submit_tx_url":{"type":"string","title":"Submit Tx Url"},"status_url":{"type":"string","title":"Status Url"},"app_url":{"type":"string","title":"App Url"},"web_url":{"type":"string","title":"Web Url"},"eip681_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eip681 Url"},"available_tokens":{"items":{"$ref":"#/components/schemas/PaymentTokenOptionResponse"},"type":"array","title":"Available Tokens"},"hosted_checkout":{"anyOf":[{"$ref":"#/components/schemas/HostedCheckoutReturnResponse"},{"type":"null"}]},"walletconnect_eip3009_available":{"type":"boolean","title":"Walletconnect Eip3009 Available","default":false},"all_you_can_eat":{"anyOf":[{"$ref":"#/components/schemas/PublicTableAllYouCanEatContext"},{"type":"null"}]}},"type":"object","required":["payment_intent_id","store_id","store_name","amount_jpy","status","expires_at","public_access_token","submit_tx_url","status_url","app_url","web_url"],"title":"PublicPaymentIntentDetailResponse"},"PublicPaymentIntentEip3009Relay":{"properties":{"from":{"type":"string","maxLength":42,"minLength":42,"title":"From"},"valid_after":{"type":"integer","minimum":0.0,"title":"Valid After"},"valid_before":{"type":"integer","exclusiveMinimum":0.0,"title":"Valid Before"},"nonce":{"type":"string","maxLength":66,"minLength":66,"title":"Nonce"},"signature":{"type":"string","maxLength":132,"minLength":132,"title":"Signature"},"public_access_token":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Public Access Token"}},"type":"object","required":["from","valid_after","valid_before","nonce","signature"],"title":"PublicPaymentIntentEip3009Relay"},"PublicPaymentIntentPayerUpdate":{"properties":{"payer_address":{"type":"string","maxLength":42,"minLength":42,"title":"Payer Address"},"public_access_token":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Public Access Token"}},"type":"object","required":["payer_address"],"title":"PublicPaymentIntentPayerUpdate"},"PublicPaymentIntentResponse":{"properties":{"order":{"$ref":"#/components/schemas/PublicPaymentOrderSummary"},"payment_intent":{"$ref":"#/components/schemas/PublicPaymentIntentSummary"},"instructions":{"$ref":"#/components/schemas/PublicPaymentInstructions"}},"type":"object","required":["order","payment_intent","instructions"],"title":"PublicPaymentIntentResponse"},"PublicPaymentIntentSelectToken":{"properties":{"token_symbol":{"type":"string","maxLength":20,"minLength":1,"title":"Token Symbol"},"public_access_token":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Public Access Token"}},"type":"object","required":["token_symbol"],"title":"PublicPaymentIntentSelectToken","description":"顧客が /p 支払い画面で支払い通貨(JPYC/USDC)を選ぶ(顧客側通貨選択 Phase 1)。\n\ntoken_symbol だけを受け取り、chain_id / token_address / 受取ウォレット / token_amount_raw は\nすべて backend が registry と店舗ウォレット・有効 FX レートから確定する(frontend に計算\nさせない)。amount_jpy は intent 作成時に固定済みでここでは変えない。"},"PublicPaymentIntentSubmitTx":{"properties":{"tx_hash":{"type":"string","maxLength":66,"minLength":1,"title":"Tx Hash"},"public_access_token":{"type":"string","maxLength":200,"minLength":1,"title":"Public Access Token"}},"type":"object","required":["tx_hash","public_access_token"],"title":"PublicPaymentIntentSubmitTx"},"PublicPaymentIntentSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"type":"string","enum":["requires_token_selection","requires_payment","pending_confirmation","succeeded","failed","expired","manual_review","canceled"],"title":"Status"},"amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"token_symbol":{"type":"string","title":"Token Symbol","default":"JPYC"},"token_decimals":{"type":"integer","title":"Token Decimals","default":18},"token_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Token Amount"},"token_amount_raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Amount Raw"},"recipient_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Address"},"expected_from_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected From Address"},"chain_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chain Id"},"token_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Address"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"payment_source":{"type":"string","title":"Payment Source"},"tx_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Hash"}},"type":"object","required":["id","status","amount","amount_jpy","expires_at","payment_source"],"title":"PublicPaymentIntentSummary"},"PublicPaymentIntentWalletConnectAttemptCreate":{"properties":{"public_access_token":{"type":"string","maxLength":200,"minLength":1,"title":"Public Access Token"},"wallet_address":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Wallet Address"},"wallet_link_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Wallet Link Id"},"client_attempt_token":{"anyOf":[{"type":"string","maxLength":200,"minLength":32},{"type":"null"}],"title":"Client Attempt Token"},"wallet_session_resume_token":{"anyOf":[{"type":"string","maxLength":200,"minLength":32},{"type":"null"}],"title":"Wallet Session Resume Token"},"supersede_active_attempt":{"type":"boolean","title":"Supersede Active Attempt","default":false}},"type":"object","required":["public_access_token"],"title":"PublicPaymentIntentWalletConnectAttemptCreate"},"PublicPaymentIntentWalletConnectAttemptResponse":{"properties":{"attempt_id":{"type":"string","format":"uuid","title":"Attempt Id"},"attempt_secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attempt Secret"},"status":{"type":"string","title":"Status"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"walletconnect_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Walletconnect Uri"},"wallet_app_identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet App Identifier"},"wallet_redirect_native":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet Redirect Native"},"wallet_redirect_universal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet Redirect Universal"},"signature_request_sent":{"type":"boolean","title":"Signature Request Sent","default":false},"failure_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Code"},"payment_status":{"type":"string","title":"Payment Status"},"resumed":{"type":"boolean","title":"Resumed","default":false}},"type":"object","required":["attempt_id","status","expires_at","payment_status"],"title":"PublicPaymentIntentWalletConnectAttemptResponse"},"PublicPaymentOrderItemSummary":{"properties":{"name":{"type":"string","title":"Name"},"quantity":{"type":"integer","title":"Quantity"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"}},"type":"object","required":["name","quantity","subtotal_jpy"],"title":"PublicPaymentOrderItemSummary"},"PublicPaymentOrderSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"payment_status":{"type":"string","title":"Payment Status"},"order_status":{"type":"string","title":"Order Status"},"kitchen_status":{"type":"string","title":"Kitchen Status"},"table_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Number"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","payment_status","order_status","kitchen_status","total_jpy","expires_at","updated_at"],"title":"PublicPaymentOrderSummary"},"PublicPaymentStatusResponse":{"properties":{"order":{"$ref":"#/components/schemas/PublicPaymentOrderSummary"},"payment_intent":{"anyOf":[{"$ref":"#/components/schemas/PublicPaymentIntentSummary"},{"type":"null"}]},"items":{"items":{"$ref":"#/components/schemas/PublicPaymentOrderItemSummary"},"type":"array","title":"Items","default":[]}},"type":"object","required":["order","payment_intent"],"title":"PublicPaymentStatusResponse"},"PublicProductInquiryCreate":{"properties":{"business_name":{"type":"string","maxLength":160,"minLength":1,"title":"Business Name"},"contact_name":{"type":"string","maxLength":120,"minLength":1,"title":"Contact Name"},"email":{"type":"string","format":"email","title":"Email"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"category":{"type":"string","enum":["pre_introduction","industry","multiple_stores","payments","features","ec_new_site","ec_existing_spay","other"],"title":"Category"},"message":{"type":"string","maxLength":2000,"minLength":10,"title":"Message"},"consent_checked":{"type":"boolean","title":"Consent Checked"},"agreed_documents":{"items":{"$ref":"#/components/schemas/LegalConsentDocumentInput"},"type":"array","maxItems":20,"minItems":1,"title":"Agreed Documents"}},"additionalProperties":false,"type":"object","required":["business_name","contact_name","email","category","message","consent_checked","agreed_documents"],"title":"PublicProductInquiryCreate"},"PublicProductInquiryResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"message":{"type":"string","title":"Message"}},"type":"object","required":["id","message"],"title":"PublicProductInquiryResponse"},"PublicReceiptItemResponse":{"properties":{"item_name":{"type":"string","title":"Item Name"},"qty":{"type":"integer","title":"Qty"},"unit_price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Unit Price Jpy"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"line_subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Subtotal Jpy"},"line_tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Tax Jpy"},"line_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Total Jpy"},"sort_order":{"type":"integer","title":"Sort Order"},"options_snapshot":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Options Snapshot"}},"type":"object","required":["item_name","qty","unit_price_jpy","tax_rate","line_subtotal_jpy","line_tax_jpy","line_total_jpy","sort_order"],"title":"PublicReceiptItemResponse"},"PublicReceiptResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"order_id":{"type":"string","format":"uuid","title":"Order Id"},"receipt_type":{"type":"string","title":"Receipt Type"},"refund_record_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Refund Record Id"},"receipt_number":{"type":"string","title":"Receipt Number"},"status":{"type":"string","title":"Status"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"order_source":{"type":"string","title":"Order Source"},"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"payment_method":{"type":"string","title":"Payment Method"},"currency":{"type":"string","title":"Currency"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"customer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Name"},"store_display_name":{"type":"string","title":"Store Display Name"},"store_business_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Business Name"},"store_tax_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Tax Id"},"store_address_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Address Text"},"jpyc_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Jpyc Amount"},"jpyc_amount_jpy":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Jpyc Amount Jpy"},"chain_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chain Id"},"token_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Address"},"tx_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Hash"},"recipient_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Address"},"expected_from_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected From Address"},"confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Confirmed At"},"items":{"items":{"$ref":"#/components/schemas/PublicReceiptItemResponse"},"type":"array","title":"Items","default":[]},"tax_lines":{"items":{"$ref":"#/components/schemas/PublicReceiptTaxLineResponse"},"type":"array","title":"Tax Lines","default":[]}},"type":"object","required":["id","order_id","receipt_type","refund_record_id","receipt_number","status","issued_at","order_source","fulfillment_type","payment_method","currency","subtotal_jpy","tax_jpy","total_jpy","paid_at","customer_name","store_display_name","store_business_name","store_tax_id","store_address_text","jpyc_amount","jpyc_amount_jpy","chain_id","token_address","tx_hash","recipient_address","expected_from_address","confirmed_at"],"title":"PublicReceiptResponse"},"PublicReceiptTaxLineResponse":{"properties":{"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"taxable_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Taxable Amount Jpy"},"tax_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Amount Jpy"}},"type":"object","required":["fulfillment_type","tax_rate","taxable_amount_jpy","tax_amount_jpy"],"title":"PublicReceiptTaxLineResponse"},"PublicRefundReceiptSummaryResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"order_id":{"type":"string","format":"uuid","title":"Order Id"},"status":{"type":"string","title":"Status"},"refund_type":{"type":"string","title":"Refund Type"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"currency":{"type":"string","title":"Currency"},"reason":{"type":"string","title":"Reason"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"},"receipt_id":{"type":"string","format":"uuid","title":"Receipt Id"},"receipt_number":{"type":"string","title":"Receipt Number"},"receipt_issued_at":{"type":"string","format":"date-time","title":"Receipt Issued At"}},"type":"object","required":["id","order_id","status","refund_type","amount_jpy","currency","reason","completed_at","receipt_id","receipt_number","receipt_issued_at"],"title":"PublicRefundReceiptSummaryResponse"},"PublicSelectedOptionInput":{"properties":{"group_id":{"type":"string","format":"uuid","title":"Group Id"},"option_item_id":{"type":"string","format":"uuid","title":"Option Item Id"}},"additionalProperties":false,"type":"object","required":["group_id","option_item_id"],"title":"PublicSelectedOptionInput"},"PublicStoreAppearanceResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"location_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Longitude"},"area_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Code"},"area_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Label"},"event_area_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Area Name"},"event_map_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Map Id"},"event_area_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Area Id"},"map_x":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map X"},"map_y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map Y"},"map_pin_priority":{"type":"integer","title":"Map Pin Priority","default":0},"map_pin_label_visible":{"type":"boolean","title":"Map Pin Label Visible","default":false},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"effective_state":{"type":"string","title":"Effective State"},"visible_on_map":{"type":"boolean","title":"Visible On Map","default":true},"visible_on_store_lp":{"type":"boolean","title":"Visible On Store Lp","default":true},"accepts_mobile_order":{"type":"boolean","title":"Accepts Mobile Order","default":false},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"event_map":{"anyOf":[{"$ref":"#/components/schemas/PublicStoreEventMapResponse"},{"type":"null"}]}},"type":"object","required":["id","title","effective_state"],"title":"PublicStoreAppearanceResponse"},"PublicStoreArticleResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Name"},"title":{"type":"string","title":"Title"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"body":{"type":"string","title":"Body"},"cover_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cover Image Url"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","title","summary","body","cover_image_url","published_at","created_at"],"title":"PublicStoreArticleResponse","description":"Public/mobile shape — only public articles, ordered by published_at desc."},"PublicStoreCategoryResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id"},"code":{"type":"string","title":"Code"},"display_name":{"type":"string","title":"Display Name"},"search_group":{"type":"string","title":"Search Group"},"card_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Label"},"icon_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Key"},"level":{"type":"integer","title":"Level"},"sort_order":{"type":"integer","title":"Sort Order"},"available_for_application":{"type":"boolean","title":"Available For Application"}},"type":"object","required":["id","parent_id","code","display_name","search_group","card_label","icon_key","level","sort_order","available_for_application"],"title":"PublicStoreCategoryResponse","description":"LP申請・顧客面に返す、運営ポリシーの内部値を除いた分類投影。"},"PublicStoreCouponResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"coupon_type":{"type":"string","enum":["amount_off","percent_off","free_item","notice"],"title":"Coupon Type"},"discount_value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Discount Value"},"min_order_amount_jpy":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Order Amount Jpy"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terms"},"auto_discount":{"type":"boolean","const":false,"title":"Auto Discount","default":false},"presentation_required":{"type":"boolean","const":true,"title":"Presentation Required","default":true}},"type":"object","required":["id","title","description","coupon_type","discount_value","min_order_amount_jpy","starts_at","ends_at","terms"],"title":"PublicStoreCouponResponse","description":"Public/mobile shape — only public + within active period are returned.\n\n`auto_discount=false` is hardcoded to make the no-auto-discount invariant\nexplicit on the wire. Customers must present the coupon to store staff."},"PublicStoreEventMapLayerResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"layer_type":{"type":"string","title":"Layer Type"},"name":{"type":"string","title":"Name"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"opacity":{"type":"number","title":"Opacity","default":1.0},"sort_order":{"type":"integer","title":"Sort Order","default":0}},"type":"object","required":["id","layer_type","name"],"title":"PublicStoreEventMapLayerResponse"},"PublicStoreEventMapPinResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"appearance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Appearance Id"},"pin_type":{"type":"string","title":"Pin Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"x":{"type":"number","title":"X"},"y":{"type":"number","title":"Y"},"priority":{"type":"integer","title":"Priority","default":0},"label_visible":{"type":"boolean","title":"Label Visible","default":false}},"type":"object","required":["id","pin_type","label","x","y"],"title":"PublicStoreEventMapPinResponse"},"PublicStoreEventMapResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"event_map_id":{"type":"string","title":"Event Map Id"},"name":{"type":"string","title":"Name"},"public_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Slug"},"public_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Title"},"public_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Description"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"flattened_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flattened Image Url"},"flattened_generated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Flattened Generated At"},"flatten_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flatten Status"},"layers":{"items":{"$ref":"#/components/schemas/PublicStoreEventMapLayerResponse"},"type":"array","title":"Layers"},"pins":{"items":{"$ref":"#/components/schemas/PublicStoreEventMapPinResponse"},"type":"array","title":"Pins"}},"type":"object","required":["id","event_map_id","name"],"title":"PublicStoreEventMapResponse"},"PublicStoreImageResponse":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"url":{"type":"string","title":"Url"},"original_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Url"},"original_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mime Type"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"original_width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Original Width"},"original_height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Original Height"},"original_size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Original Size Bytes"},"sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sort Order"},"file_exists":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"File Exists"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"dataUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataurl"},"cropX":{"type":"number","title":"Cropx","default":50},"cropY":{"type":"number","title":"Cropy","default":50},"zoom":{"type":"number","title":"Zoom","default":1},"createdAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Createdat"}},"type":"object","required":["url"],"title":"PublicStoreImageResponse"},"PublicStoreMenuResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"categories":{"items":{"$ref":"#/components/schemas/PublicMenuCategoryResponse"},"type":"array","title":"Categories"}},"type":"object","required":["store_id","categories"],"title":"PublicStoreMenuResponse"},"PublicStoreParkingLotResponse":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"spaces":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Spaces"},"addressGuide":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Addressguide"},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Longitude"},"sortOrder":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sortorder"},"isActive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isactive","default":true},"walkingMinutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Walkingminutes"},"feeType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feetype"},"heightLimit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heightlimit"},"largeVehicleOk":{"type":"boolean","title":"Largevehicleok","default":false},"keiOnly":{"type":"boolean","title":"Keionly","default":false},"rainyDayRecommended":{"type":"boolean","title":"Rainydayrecommended","default":false},"mapUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mapurl"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","title":"PublicStoreParkingLotResponse"},"PublicStoreParkingResponse":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"lots":{"items":{"$ref":"#/components/schemas/PublicStoreParkingLotResponse"},"type":"array","title":"Lots"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"summary":{"type":"string","title":"Summary"}},"type":"object","required":["enabled","lots","summary"],"title":"PublicStoreParkingResponse"},"PublicStoreResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"category_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category Label"},"search_group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Group"},"status":{"type":"string","title":"Status"},"visibility_scope":{"type":"string","enum":["public","test"],"title":"Visibility Scope","default":"public"},"store_operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Operation Type"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"prefecture":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prefecture"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"address_line1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line2"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Longitude"},"appearance_effective_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appearance Effective State"},"appearance_starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Appearance Starts At"},"appearance_ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Appearance Ends At"},"appearance_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appearance Title"},"location_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Name"},"current_appearance":{"anyOf":[{"$ref":"#/components/schemas/PublicStoreAppearanceResponse"},{"type":"null"}]},"upcoming_appearances":{"items":{"$ref":"#/components/schemas/PublicStoreAppearanceResponse"},"type":"array","title":"Upcoming Appearances"},"business_hours":{"items":{"type":"string"},"type":"array","title":"Business Hours"},"regular_holiday":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Regular Holiday"},"social_links":{"items":{"type":"string"},"type":"array","title":"Social Links"},"payment_methods":{"items":{"type":"string"},"type":"array","title":"Payment Methods"},"payment_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Note"},"parking":{"$ref":"#/components/schemas/PublicStoreParkingResponse"},"amenities":{"items":{"type":"string"},"type":"array","title":"Amenities"},"amenities_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amenities Note"},"hero_image":{"anyOf":[{"$ref":"#/components/schemas/PublicStoreImageResponse"},{"type":"null"}]},"gallery_images":{"items":{"$ref":"#/components/schemas/PublicStoreImageResponse"},"type":"array","title":"Gallery Images"},"videos":{"items":{"$ref":"#/components/schemas/app__modules__lp__schemas__PublicStoreVideoResponse"},"type":"array","title":"Videos"},"follower_count":{"type":"integer","title":"Follower Count","default":0},"rating_avg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating Avg"},"review_count":{"type":"integer","title":"Review Count","default":0},"lp_title":{"type":"string","title":"Lp Title"},"lp_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lp Description"},"seo_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Title"},"seo_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Description"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"mobile_order":{"$ref":"#/components/schemas/PublicMobileOrderSettingsResponse"},"waiting":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Waiting"}},"type":"object","required":["id","slug","name","description","category","status","phone","postal_code","prefecture","city","address_line1","address_line2","address","latitude","longitude","business_hours","regular_holiday","social_links","payment_methods","payment_note","parking","amenities","amenities_note","hero_image","gallery_images","videos","lp_title","lp_description","seo_title","seo_description","published_at","mobile_order"],"title":"PublicStoreResponse"},"PublicStoreReviewAuthorResponse":{"properties":{"masked_name":{"type":"string","title":"Masked Name"}},"type":"object","required":["masked_name"],"title":"PublicStoreReviewAuthorResponse"},"PublicStoreReviewListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PublicStoreReviewResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"rating_avg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating Avg"}},"type":"object","required":["items","total"],"title":"PublicStoreReviewListResponse"},"PublicStoreReviewResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"rating":{"type":"integer","title":"Rating"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment"},"body":{"type":"string","title":"Body","default":""},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"verified_payment":{"type":"boolean","title":"Verified Payment","default":true},"author":{"$ref":"#/components/schemas/PublicStoreReviewAuthorResponse"}},"type":"object","required":["id","store_id","rating","author"],"title":"PublicStoreReviewResponse"},"PublicStoreStatsResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"follower_count":{"type":"integer","title":"Follower Count"}},"type":"object","required":["store_id","follower_count"],"title":"PublicStoreStatsResponse"},"PublicSystemStatusResponse":{"properties":{"maintenance_enabled":{"type":"boolean","title":"Maintenance Enabled"},"maintenance_title":{"type":"string","title":"Maintenance Title"},"maintenance_message":{"type":"string","title":"Maintenance Message"},"maintenance_starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Maintenance Starts At"},"maintenance_ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Maintenance Ends At"}},"type":"object","required":["maintenance_enabled","maintenance_title","maintenance_message","maintenance_starts_at","maintenance_ends_at"],"title":"PublicSystemStatusResponse","description":"全フロントが起動時/復帰時に叩く公開 status。PII は含めない。"},"PublicTableAllYouCanEatContext":{"properties":{"plan_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Name"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"remaining_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining Seconds"},"last_order_remaining_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Order Remaining Seconds"},"item_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Item Limit"},"item_count":{"type":"integer","title":"Item Count","default":0},"max_unserved_items":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Unserved Items"},"unserved_items":{"type":"integer","title":"Unserved Items","default":0},"item_pricing":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Item Pricing"},"option_pricing":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Option Pricing"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"server_now":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Server Now"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"plan_duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Plan Duration Minutes"},"granted_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Granted Minutes"},"checkout_behavior":{"anyOf":[{"type":"string","enum":["ends_on_full_settlement","continues_on_partial_settlement","already_ended"]},{"type":"null"}],"title":"Checkout Behavior"},"warning_code":{"anyOf":[{"type":"string","enum":["active_all_you_can_eat_will_end","active_all_you_can_eat_will_continue","all_you_can_eat_already_ended"]},{"type":"null"}],"title":"Warning Code"},"ended_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ended Message"}},"type":"object","title":"PublicTableAllYouCanEatContext"},"PublicTableCheckoutCreate":{"properties":{"table_session_token":{"type":"string","maxLength":120,"minLength":1,"title":"Table Session Token"},"expected_from_address":{"anyOf":[{"type":"string","maxLength":42,"minLength":42},{"type":"null"}],"title":"Expected From Address"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"},"amount_jpy":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Amount Jpy"},"order_item_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200,"minItems":1},{"type":"null"}],"title":"Order Item Ids"},"order_items":{"anyOf":[{"items":{"$ref":"#/components/schemas/PublicTableCheckoutItemQuantity"},"type":"array","maxItems":200,"minItems":1},{"type":"null"}],"title":"Order Items"}},"additionalProperties":false,"type":"object","required":["table_session_token","idempotency_key"],"title":"PublicTableCheckoutCreate","description":"顧客のスマホからの席会計。table_session_token で席を認証する。\n\n``amount_jpy`` を省略すると残額全部を支払う。指定すると任意金額(1円以上・残額以下)を\n支払う(Phase 2)。残額・会計対象合計はサーバー側で再計算するため、指定金額もサーバーで\n再検証する(クライアント金額は信用しない)。"},"PublicTableCheckoutItemQuantity":{"properties":{"order_item_id":{"type":"string","format":"uuid","title":"Order Item Id"},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity"}},"additionalProperties":false,"type":"object","required":["order_item_id","quantity"],"title":"PublicTableCheckoutItemQuantity","description":"商品を「個数単位」で選んで支払うときの1行(``order_item_id`` × 今回支払う数量)。\n\n金額は送らせない。``quantity`` は未会計かつ未確保の残数量以内であることをサーバーが\n行ロック下で検証し、超過は拒否する。"},"PublicTableEntryResolveResponse":{"properties":{"store_slug":{"type":"string","title":"Store Slug"},"table_id":{"type":"string","title":"Table Id"},"session_token":{"type":"string","title":"Session Token"},"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["store_slug","table_id","session_token","status"],"title":"PublicTableEntryResolveResponse"},"PublicTableJoinResponse":{"properties":{"entry_code":{"type":"string","title":"Entry Code"},"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["entry_code","status"],"title":"PublicTableJoinResponse","description":"印刷QR(固定 /join URL)アクセス時の応答。会計単位の入場コードのみを返す\n\n(store_id/table_id 等は含めない。呼び出し元は server-to-server の /join ページで、\nそのままブラウザを /m/t/{entry_code} へ誘導するのに entry_code だけあれば足りる)。"},"PublicTableOrderItemSafeResponse":{"properties":{"name":{"type":"string","title":"Name"},"qty":{"type":"integer","title":"Qty"},"unit_price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Unit Price Jpy"},"line_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Total Jpy"},"options_snapshot":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Options Snapshot"}},"type":"object","required":["name","qty","unit_price_jpy","line_total_jpy"],"title":"PublicTableOrderItemSafeResponse"},"PublicTableOrderListResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"table_number":{"type":"string","title":"Table Number"},"table_session_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Session Token"},"table_session_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Session Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"order_access_consumed":{"type":"boolean","title":"Order Access Consumed","default":false},"orders":{"items":{"$ref":"#/components/schemas/PublicOrderSubmitResponse"},"type":"array","title":"Orders"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"paid_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Paid Jpy","default":"0"},"remaining_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Remaining Jpy","default":"0"},"payment_in_progress":{"type":"boolean","title":"Payment In Progress","default":false},"payment_hold_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Payment Hold Expires At"}},"type":"object","required":["store_id","store_slug","table_number","orders","subtotal_jpy","tax_jpy","total_jpy"],"title":"PublicTableOrderListResponse"},"PublicTableOrderSafeResponse":{"properties":{"order_status":{"type":"string","title":"Order Status"},"payment_status":{"type":"string","title":"Payment Status"},"kitchen_status":{"type":"string","title":"Kitchen Status"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"items":{"items":{"$ref":"#/components/schemas/PublicTableOrderItemSafeResponse"},"type":"array","title":"Items"}},"type":"object","required":["order_status","payment_status","kitchen_status","subtotal_jpy","tax_jpy","total_jpy","items"],"title":"PublicTableOrderSafeResponse"},"PublicTableOrdersSafeResponse":{"properties":{"table_label":{"type":"string","title":"Table Label"},"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"order_access_consumed":{"type":"boolean","title":"Order Access Consumed","default":false},"orders":{"items":{"$ref":"#/components/schemas/PublicTableOrderSafeResponse"},"type":"array","title":"Orders"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"}},"type":"object","required":["table_label","status","orders","subtotal_jpy","tax_jpy","total_jpy"],"title":"PublicTableOrdersSafeResponse"},"PublicTableParticipantAccessResponse":{"properties":{"participant_access":{"type":"string","title":"Participant Access"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"status":{"type":"string","const":"ready","title":"Status","default":"ready"}},"type":"object","required":["participant_access","expires_at"],"title":"PublicTableParticipantAccessResponse","description":"Raw access is an issuance response only; it must be no-store at HTTP level."},"PublicTableParticipationRequest":{"properties":{"session_entry_code":{"type":"string","maxLength":200,"minLength":20,"title":"Session Entry Code"},"device_identifier":{"type":"string","maxLength":200,"minLength":32,"title":"Device Identifier"},"passcode":{"anyOf":[{"type":"string","maxLength":6,"minLength":4},{"type":"null"}],"title":"Passcode"}},"additionalProperties":false,"type":"object","required":["session_entry_code","device_identifier"],"title":"PublicTableParticipationRequest"},"PublicTableParticipationResolveResponse":{"properties":{"store_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Slug"},"table_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Ref"},"seat_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seat Label"},"status":{"type":"string","enum":["ready","staff_start_required","unavailable","order_completed"],"title":"Status"},"passcode_required":{"type":"boolean","title":"Passcode Required","default":false},"session_entry_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Entry Code"},"participant_access_valid":{"type":"boolean","title":"Participant Access Valid","default":false},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["status"],"title":"PublicTableParticipationResolveResponse","description":"Seat-entry exchange and exact-session projection without database IDs."},"PublicTableSessionRequest":{"properties":{"table_session_token":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Table Session Token"}},"additionalProperties":false,"type":"object","title":"PublicTableSessionRequest"},"PublicTableSessionResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"table_id":{"type":"string","title":"Table Id"},"session_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"},"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["store_id","store_slug","table_id","status"],"title":"PublicTableSessionResponse"},"PublicTableSplitQuoteResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"table_number":{"type":"string","title":"Table Number"},"table_session_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Session Token"},"table_session_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Session Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"remaining_jpy":{"type":"integer","title":"Remaining Jpy"},"people":{"type":"integer","title":"People"},"shares":{"items":{"type":"integer"},"type":"array","title":"Shares"}},"type":"object","required":["store_id","store_slug","table_number","remaining_jpy","people","shares"],"title":"PublicTableSplitQuoteResponse","description":"割り勘候補(サーバー計算)。残額を人数で等分し、余りは先頭から1円ずつ配分する。\n\nクライアントは金額計算をしない。各 share をそのまま Phase 2 の部分支払い(amount_jpy)に渡す。"},"PublicTakeoutCheckoutRequest":{"properties":{"pickup_at":{"type":"string","format":"date-time","title":"Pickup At"},"items":{"items":{"$ref":"#/components/schemas/OrderCreateItem"},"type":"array","maxItems":100,"minItems":1,"title":"Items"},"recipient_name":{"type":"string","maxLength":120,"minLength":1,"title":"Recipient Name"},"phone_number":{"type":"string","maxLength":40,"minLength":8,"title":"Phone Number"},"allergy_status":{"type":"string","enum":["none","present"],"title":"Allergy Status"},"allergy_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Allergy Note"},"customer_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Customer Note"},"idempotency_key":{"type":"string","maxLength":120,"minLength":8,"title":"Idempotency Key"},"final_confirmation_accepted":{"type":"boolean","title":"Final Confirmation Accepted"},"alcohol_age_confirmed":{"type":"boolean","title":"Alcohol Age Confirmed","default":false}},"type":"object","required":["pickup_at","items","recipient_name","phone_number","allergy_status","idempotency_key","final_confirmation_accepted"],"title":"PublicTakeoutCheckoutRequest"},"PublicTakeoutQuoteRequest":{"properties":{"pickup_at":{"type":"string","format":"date-time","title":"Pickup At"},"items":{"items":{"$ref":"#/components/schemas/OrderCreateItem"},"type":"array","maxItems":100,"minItems":1,"title":"Items"}},"type":"object","required":["pickup_at","items"],"title":"PublicTakeoutQuoteRequest"},"PublicTakeoutQuoteResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TakeoutQuoteItemResponse"},"type":"array","title":"Items"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"cancellation_policy":{"type":"string","title":"Cancellation Policy"},"commercial_transaction_url":{"type":"string","title":"Commercial Transaction Url"}},"type":"object","required":["items","subtotal_jpy","tax_jpy","total_jpy","expires_at","cancellation_policy","commercial_transaction_url"],"title":"PublicTakeoutQuoteResponse"},"PushDeviceTokenDisableRequest":{"properties":{"token":{"type":"string","maxLength":500,"minLength":1,"title":"Token"}},"type":"object","required":["token"],"title":"PushDeviceTokenDisableRequest"},"PushDeviceTokenRegisterRequest":{"properties":{"token":{"type":"string","maxLength":500,"minLength":1,"title":"Token"},"platform":{"type":"string","pattern":"^(ios|android|web|unknown)$","title":"Platform","default":"unknown"},"provider":{"type":"string","pattern":"^(expo|fcm)$","title":"Provider","default":"expo"},"device_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Device Id"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"type":"object","required":["token"],"title":"PushDeviceTokenRegisterRequest"},"PushDeviceTokenResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"},"platform":{"type":"string","title":"Platform"},"provider":{"type":"string","title":"Provider"},"token":{"type":"string","title":"Token"},"enabled":{"type":"boolean","title":"Enabled"},"last_seen_at":{"type":"string","format":"date-time","title":"Last Seen At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","platform","provider","token","enabled","last_seen_at","created_at","updated_at"],"title":"PushDeviceTokenResponse"},"QrTokenResponse":{"properties":{"ticket_id":{"type":"string","format":"uuid","title":"Ticket Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id"},"admission_number":{"type":"integer","title":"Admission Number"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"qr_token":{"type":"string","title":"Qr Token"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["ticket_id","event_id","admission_number","payload","qr_token","expires_at"],"title":"QrTokenResponse"},"QuickCashCheckoutRequest":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"amount_jpy":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Jpy"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Tax Rate"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"},"customer_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Customer Name"},"memo":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Memo"}},"type":"object","required":["store_id","amount_jpy","tax_rate","idempotency_key"],"title":"QuickCashCheckoutRequest","description":"商品明細なしの簡易会計を現金で確定する入力。金額は税込。"},"QuickQrPaymentIntentCreate":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"amount_jpy":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Jpy"},"expected_from_address":{"anyOf":[{"type":"string","maxLength":42,"minLength":42},{"type":"null"}],"title":"Expected From Address"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"},"customer_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Customer Name"},"defer_token_selection":{"type":"boolean","title":"Defer Token Selection","default":false},"tax_rate":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Tax Rate"},"token_symbol":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Token Symbol"},"token_address":{"anyOf":[{"type":"string","maxLength":42,"minLength":42},{"type":"null"}],"title":"Token Address"},"chain_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chain Id"}},"type":"object","required":["store_id","amount_jpy","idempotency_key"],"title":"QuickQrPaymentIntentCreate"},"RankingActivationRequest":{"properties":{"version":{"type":"string","title":"Version"}},"type":"object","required":["version"],"title":"RankingActivationRequest"},"RankingConfigurationListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/RankingConfigurationResponse"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"RankingConfigurationListResponse"},"RankingConfigurationResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"ranking_key":{"type":"string","title":"Ranking Key"},"version":{"type":"string","title":"Version"},"status":{"type":"string","enum":["shadow","active","retired"],"title":"Status"},"weights_json":{"additionalProperties":true,"type":"object","title":"Weights Json"},"priors_json":{"additionalProperties":true,"type":"object","title":"Priors Json"},"freshness_half_life_hours":{"type":"number","title":"Freshness Half Life Hours"},"exploration_quota":{"type":"number","title":"Exploration Quota"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"activated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Activated At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","ranking_key","version","status","weights_json","priors_json","freshness_half_life_hours","exploration_quota","notes","activated_at","created_at"],"title":"RankingConfigurationResponse"},"RankingShadowDiagnosticsResponse":{"properties":{"total_runs":{"type":"integer","title":"Total Runs"},"latest_created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Latest Created At"},"average_top_five_overlap":{"type":"number","title":"Average Top Five Overlap"}},"type":"object","required":["total_runs","latest_created_at","average_top_five_overlap"],"title":"RankingShadowDiagnosticsResponse"},"ReceiptConfirmationRequest":{"properties":{"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"type":"object","title":"ReceiptConfirmationRequest"},"ReceiptEmailDeliveryResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"receipt_id":{"type":"string","format":"uuid","title":"Receipt Id"},"order_id":{"type":"string","format":"uuid","title":"Order Id"},"recipient_email":{"type":"string","format":"email","title":"Recipient Email"},"subject":{"type":"string","title":"Subject"},"status":{"type":"string","title":"Status"},"provider":{"type":"string","title":"Provider"},"provider_message_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Message Id"},"sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sent At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","receipt_id","order_id","recipient_email","subject","status","provider","provider_message_id","sent_at","created_at"],"title":"ReceiptEmailDeliveryResponse"},"ReceiptEmailRequest":{"properties":{"recipient_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Recipient Email"}},"type":"object","title":"ReceiptEmailRequest"},"ReceiptItemResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"receipt_id":{"type":"string","format":"uuid","title":"Receipt Id"},"order_item_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Order Item Id"},"item_name":{"type":"string","title":"Item Name"},"qty":{"type":"integer","title":"Qty"},"unit_price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Unit Price Jpy"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"line_subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Subtotal Jpy"},"line_tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Tax Jpy"},"line_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Total Jpy"},"sort_order":{"type":"integer","title":"Sort Order"},"options_snapshot":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Options Snapshot"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","receipt_id","order_item_id","item_name","qty","unit_price_jpy","tax_rate","line_subtotal_jpy","line_tax_jpy","line_total_jpy","sort_order","created_at"],"title":"ReceiptItemResponse"},"ReceiptResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"order_id":{"type":"string","format":"uuid","title":"Order Id"},"payment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Payment Id"},"payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Payment Intent Id"},"receipt_type":{"type":"string","title":"Receipt Type"},"refund_record_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Refund Record Id"},"receipt_number":{"type":"string","title":"Receipt Number"},"status":{"type":"string","title":"Status"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"voided_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Voided At"},"void_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Void Reason"},"reissued_from_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Reissued From Receipt Id"},"order_source":{"type":"string","title":"Order Source"},"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"payment_method":{"type":"string","title":"Payment Method"},"currency":{"type":"string","title":"Currency"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"customer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Name"},"guest_contact_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guest Contact Email"},"store_display_name":{"type":"string","title":"Store Display Name"},"store_business_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Business Name"},"store_tax_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Tax Id"},"store_address_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Address Text"},"jpyc_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Jpyc Amount"},"jpyc_amount_jpy":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Jpyc Amount Jpy"},"chain_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chain Id"},"token_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Address"},"tx_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Hash"},"recipient_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Address"},"expected_from_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected From Address"},"confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Confirmed At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"items":{"items":{"$ref":"#/components/schemas/ReceiptItemResponse"},"type":"array","title":"Items","default":[]},"tax_lines":{"items":{"$ref":"#/components/schemas/ReceiptTaxLineResponse"},"type":"array","title":"Tax Lines","default":[]}},"type":"object","required":["id","store_id","order_id","payment_id","payment_intent_id","receipt_type","refund_record_id","receipt_number","status","issued_at","voided_at","void_reason","reissued_from_receipt_id","order_source","fulfillment_type","payment_method","currency","subtotal_jpy","tax_jpy","total_jpy","paid_at","customer_name","guest_contact_email","store_display_name","store_business_name","store_tax_id","store_address_text","jpyc_amount","jpyc_amount_jpy","chain_id","token_address","tx_hash","recipient_address","expected_from_address","confirmed_at","created_at","updated_at"],"title":"ReceiptResponse"},"ReceiptTaxLineResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"receipt_id":{"type":"string","format":"uuid","title":"Receipt Id"},"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"taxable_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Taxable Amount Jpy"},"tax_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Amount Jpy"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","receipt_id","fulfillment_type","tax_rate","taxable_amount_jpy","tax_amount_jpy","created_at"],"title":"ReceiptTaxLineResponse"},"ReceiptVoidRequest":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason"}},"type":"object","required":["reason"],"title":"ReceiptVoidRequest"},"RefundConfigResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"currency":{"type":"string","title":"Currency","default":"JPY"},"reasons":{"items":{"$ref":"#/components/schemas/RefundReasonOption"},"type":"array","title":"Reasons"}},"type":"object","required":["store_id","reasons"],"title":"RefundConfigResponse","description":"返金フォームの初期値(定型理由)。理由は自由入力で必須。"},"RefundCreateRequest":{"properties":{"amount_jpy":{"type":"integer","minimum":1.0,"title":"Amount Jpy"},"reason":{"type":"string","maxLength":500,"minLength":1,"title":"Reason"},"idempotency_key":{"type":"string","maxLength":160,"minLength":8,"title":"Idempotency Key"},"restock":{"type":"boolean","title":"Restock","default":false}},"type":"object","required":["amount_jpy","reason","idempotency_key"],"title":"RefundCreateRequest"},"RefundCreditRateResponse":{"properties":{"fee_basis_points":{"type":"integer","title":"Fee Basis Points"},"minimum_fee_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Minimum Fee Credits"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"consumption_basis":{"type":"string","title":"Consumption Basis","default":"Refund Credits are a separate refund-feature usage fee; the refunded funds move on-chain from the store wallet to the original payer wallet"}},"type":"object","required":["fee_basis_points","minimum_fee_credits","updated_at"],"title":"RefundCreditRateResponse","description":"返金機能の利用料として消費する Credits の料率(全店舗共通・既定 0%)。\n\n``StandardRateResponse``(通常決済)とは別エンドポイント・別フィールドで、\nどちらか一方の変更がもう一方に影響することはない。"},"RefundCreditRateUpdate":{"properties":{"fee_basis_points":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Fee Basis Points","description":"返金額に対する Credits 利用率(basis points, 50=0.5%)。既定 0=0%"},"minimum_fee_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Minimum Fee Credits","description":"1 返金あたりの最低消費 Credits(既定 0)"},"reason":{"type":"string","maxLength":2000,"minLength":1,"title":"Reason","description":"変更理由(監査ログに記録)"}},"type":"object","required":["fee_basis_points","minimum_fee_credits","reason"],"title":"RefundCreditRateUpdate"},"RefundQrResponse":{"properties":{"claimId":{"type":"string","title":"Claimid"},"code":{"type":"string","title":"Code"},"expiresAt":{"type":"string","title":"Expiresat"},"storeName":{"type":"string","title":"Storename"},"amountJpy":{"type":"string","title":"Amountjpy"},"refundableJpy":{"type":"string","title":"Refundablejpy"},"walletDisplay":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Walletdisplay"},"status":{"type":"string","title":"Status"}},"type":"object","required":["claimId","code","expiresAt","storeName","amountJpy","refundableJpy","status"],"title":"RefundQrResponse"},"RefundQrStatusResponse":{"properties":{"claimId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Claimid"},"status":{"type":"string","title":"Status"},"claimStatus":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Claimstatus"},"expiresAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expiresat"},"completedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completedat"}},"type":"object","required":["claimId","status"],"title":"RefundQrStatusResponse"},"RefundReasonOption":{"properties":{"code":{"type":"string","title":"Code"},"label":{"type":"string","title":"Label"}},"type":"object","required":["code","label"],"title":"RefundReasonOption"},"RefundRecordCancelRequest":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason"}},"type":"object","required":["reason"],"title":"RefundRecordCancelRequest"},"RefundRecordCompleteRequest":{"properties":{"evidence_type":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Evidence Type"},"evidence_reference":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Evidence Reference"},"tx_hash":{"anyOf":[{"type":"string","maxLength":66},{"type":"null"}],"title":"Tx Hash"},"recipient_address":{"anyOf":[{"type":"string","maxLength":42},{"type":"null"}],"title":"Recipient Address"},"operator_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Operator Note"}},"type":"object","title":"RefundRecordCompleteRequest"},"RefundRecordCreateRequest":{"properties":{"amount_jpy":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Jpy"},"refund_type":{"type":"string","enum":["full","partial","overpayment","goodwill"],"title":"Refund Type","default":"partial"},"refund_method":{"type":"string","enum":["cash","crypto_manual","manual"],"title":"Refund Method","default":"cash"},"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason"},"operator_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Operator Note"},"evidence_type":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Evidence Type"},"evidence_reference":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Evidence Reference"},"tx_hash":{"anyOf":[{"type":"string","maxLength":66},{"type":"null"}],"title":"Tx Hash"},"recipient_address":{"anyOf":[{"type":"string","maxLength":42},{"type":"null"}],"title":"Recipient Address"}},"type":"object","required":["amount_jpy","reason"],"title":"RefundRecordCreateRequest"},"RefundRecordResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"order_id":{"type":"string","format":"uuid","title":"Order Id"},"payment_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Payment Id"},"payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Payment Intent Id"},"original_receipt_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Original Receipt Id"},"status":{"type":"string","title":"Status"},"refund_method":{"type":"string","title":"Refund Method"},"refund_type":{"type":"string","title":"Refund Type"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"currency":{"type":"string","title":"Currency"},"reason":{"type":"string","title":"Reason"},"operator_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operator Note"},"evidence_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Type"},"evidence_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Reference"},"tx_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Hash"},"chain_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chain Id"},"token_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Address"},"recipient_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Address"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"canceled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Canceled At"},"created_by_actor_type":{"type":"string","title":"Created By Actor Type"},"created_by_actor_id":{"type":"string","format":"uuid","title":"Created By Actor Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","order_id","payment_id","payment_intent_id","original_receipt_id","status","refund_method","refund_type","amount_jpy","currency","reason","operator_note","evidence_type","evidence_reference","tx_hash","chain_id","token_address","recipient_address","completed_at","canceled_at","created_by_actor_type","created_by_actor_id","created_at","updated_at"],"title":"RefundRecordResponse"},"RegisteredDeviceItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"device_name":{"type":"string","title":"Device Name"},"device_public_id":{"type":"string","title":"Device Public Id"},"role":{"type":"string","title":"Role"},"status":{"type":"string","enum":["active","revoked"],"title":"Status"},"paired_at":{"type":"string","format":"date-time","title":"Paired At"},"last_seen_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Seen At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"paired_by_store_member_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Paired By Store Member Id"},"app_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Version"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"},"mobile_feature_grants":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Mobile Feature Grants"}},"type":"object","required":["id","device_name","device_public_id","role","status","paired_at","last_seen_at","revoked_at","paired_by_store_member_id","app_version","platform"],"title":"RegisteredDeviceItem"},"RegisteredDeviceListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/RegisteredDeviceItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"RegisteredDeviceListResponse"},"RegrantSessionRequest":{"properties":{"table_number":{"anyOf":[{"type":"string","maxLength":40,"minLength":1},{"type":"null"}],"title":"Table Number"},"granted_seconds":{"anyOf":[{"type":"integer","maximum":86400.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Granted Seconds"},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["idempotency_key"],"title":"RegrantSessionRequest"},"RegrantSessionResponse":{"properties":{"source_session_id":{"type":"string","format":"uuid","title":"Source Session Id"},"new_session":{"$ref":"#/components/schemas/SessionResponse"},"new_table_session_id":{"type":"string","format":"uuid","title":"New Table Session Id"},"entry_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entry Code"},"qr_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Qr Url"},"granted_seconds":{"type":"integer","title":"Granted Seconds"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"}},"type":"object","required":["source_session_id","new_session","new_table_session_id","granted_seconds","ends_at"],"title":"RegrantSessionResponse"},"RelatedMobileStoreAppearanceSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"location_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"status":{"type":"string","title":"Status"},"effective_state":{"anyOf":[{"type":"string","enum":["upcoming","active","ended","hidden","cancelled"]},{"type":"null"}],"title":"Effective State"},"visible_on_map":{"type":"boolean","title":"Visible On Map"},"visible_on_store_lp":{"type":"boolean","title":"Visible On Store Lp"}},"type":"object","required":["id","title","status","visible_on_map","visible_on_store_lp"],"title":"RelatedMobileStoreAppearanceSummary"},"RelatedMobileStorePluginSummary":{"properties":{"product_register":{"type":"boolean","title":"Product Register","default":false},"qr_checkout":{"type":"boolean","title":"Qr Checkout","default":false},"mobile_store":{"type":"boolean","title":"Mobile Store","default":false},"mobile_order":{"type":"boolean","title":"Mobile Order","default":false}},"type":"object","title":"RelatedMobileStorePluginSummary"},"RelatedMobileStoreSummary":{"properties":{"store":{"$ref":"#/components/schemas/StoreResponse"},"plugin_summary":{"$ref":"#/components/schemas/RelatedMobileStorePluginSummary"},"menu_item_count":{"type":"integer","title":"Menu Item Count"},"can_copy_menu":{"type":"boolean","title":"Can Copy Menu"},"menu_copy_status":{"type":"string","enum":["empty","has_items","unknown"],"title":"Menu Copy Status"},"today_or_upcoming_appearance":{"anyOf":[{"$ref":"#/components/schemas/RelatedMobileStoreAppearanceSummary"},{"type":"null"}]}},"type":"object","required":["store","plugin_summary","menu_item_count","can_copy_menu","menu_copy_status"],"title":"RelatedMobileStoreSummary"},"RelatedMobileStoresResponse":{"properties":{"source_store":{"$ref":"#/components/schemas/StoreResponse"},"related_mobile_stores":{"items":{"$ref":"#/components/schemas/RelatedMobileStoreSummary"},"type":"array","title":"Related Mobile Stores"}},"type":"object","required":["source_store","related_mobile_stores"],"title":"RelatedMobileStoresResponse"},"ReservationActionRequest":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Reason"}},"type":"object","title":"ReservationActionRequest"},"ReservationAvailabilityImpactReservation":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"reservation_number":{"type":"string","title":"Reservation Number"},"reservation_date":{"type":"string","format":"date","title":"Reservation Date"},"start_time":{"type":"string","format":"time","title":"Start Time"},"party_size":{"type":"integer","title":"Party Size"}},"type":"object","required":["id","reservation_number","reservation_date","start_time","party_size"],"title":"ReservationAvailabilityImpactReservation"},"ReservationAvailabilityImpactResponse":{"properties":{"affected_count":{"type":"integer","title":"Affected Count"},"reservations":{"items":{"$ref":"#/components/schemas/ReservationAvailabilityImpactReservation"},"type":"array","title":"Reservations"}},"type":"object","required":["affected_count","reservations"],"title":"ReservationAvailabilityImpactResponse"},"ReservationAvailabilityOverrideCreate":{"properties":{"scope_type":{"type":"string","enum":["date","date_range","weekly"],"title":"Scope Type"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"weekday":{"anyOf":[{"type":"integer","maximum":6.0,"minimum":0.0},{"type":"null"}],"title":"Weekday"},"start_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"End Time"},"action":{"type":"string","enum":["open","stop","limit"],"title":"Action"},"max_groups":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":1.0},{"type":"null"}],"title":"Max Groups"},"max_guests":{"anyOf":[{"type":"integer","maximum":9999.0,"minimum":1.0},{"type":"null"}],"title":"Max Guests"},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"},"internal_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Internal Note"},"targets":{"items":{"$ref":"#/components/schemas/ReservationAvailabilityTargetInput"},"type":"array","maxItems":200,"title":"Targets"}},"type":"object","required":["scope_type","action"],"title":"ReservationAvailabilityOverrideCreate"},"ReservationAvailabilityOverrideResponse":{"properties":{"scope_type":{"type":"string","enum":["date","date_range","weekly"],"title":"Scope Type"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"weekday":{"anyOf":[{"type":"integer","maximum":6.0,"minimum":0.0},{"type":"null"}],"title":"Weekday"},"start_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"End Time"},"action":{"type":"string","enum":["open","stop","limit"],"title":"Action"},"max_groups":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":1.0},{"type":"null"}],"title":"Max Groups"},"max_guests":{"anyOf":[{"type":"integer","maximum":9999.0,"minimum":1.0},{"type":"null"}],"title":"Max Guests"},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"},"internal_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Internal Note"},"targets":{"items":{"$ref":"#/components/schemas/ReservationAvailabilityOverrideTargetResponse"},"type":"array","title":"Targets"},"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"version":{"type":"integer","title":"Version"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["scope_type","action","targets","id","store_id","version","created_at","updated_at"],"title":"ReservationAvailabilityOverrideResponse"},"ReservationAvailabilityOverrideTargetResponse":{"properties":{"target_type":{"type":"string","enum":["reservation_plan","salon_service","seat_only","all_you_can_eat_plan"],"title":"Target Type"},"target_id":{"type":"string","maxLength":64,"minLength":1,"title":"Target Id"},"id":{"type":"string","format":"uuid","title":"Id"}},"type":"object","required":["target_type","target_id","id"],"title":"ReservationAvailabilityOverrideTargetResponse"},"ReservationAvailabilityOverrideUpdate":{"properties":{"scope_type":{"type":"string","enum":["date","date_range","weekly"],"title":"Scope Type"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"weekday":{"anyOf":[{"type":"integer","maximum":6.0,"minimum":0.0},{"type":"null"}],"title":"Weekday"},"start_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"End Time"},"action":{"type":"string","enum":["open","stop","limit"],"title":"Action"},"max_groups":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":1.0},{"type":"null"}],"title":"Max Groups"},"max_guests":{"anyOf":[{"type":"integer","maximum":9999.0,"minimum":1.0},{"type":"null"}],"title":"Max Guests"},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"},"internal_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Internal Note"},"targets":{"items":{"$ref":"#/components/schemas/ReservationAvailabilityTargetInput"},"type":"array","maxItems":200,"title":"Targets"},"version":{"type":"integer","minimum":1.0,"title":"Version"}},"type":"object","required":["scope_type","action","version"],"title":"ReservationAvailabilityOverrideUpdate"},"ReservationAvailabilityResponse":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"reservation_type":{"type":"string","enum":["general","salon"],"title":"Reservation Type"},"party_size":{"type":"integer","title":"Party Size"},"offering_ids":{"items":{"type":"string"},"type":"array","title":"Offering Ids"},"slots":{"items":{"$ref":"#/components/schemas/ReservationAvailabilitySlotResponse"},"type":"array","title":"Slots"}},"type":"object","required":["date","reservation_type","party_size","offering_ids","slots"],"title":"ReservationAvailabilityResponse"},"ReservationAvailabilitySlotResponse":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"start_time":{"type":"string","format":"time","title":"Start Time"},"end_time":{"type":"string","format":"time","title":"End Time"},"status":{"type":"string","enum":["open","limited","closed"],"title":"Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"source":{"type":"string","enum":["business_hours","reservation_settings","date_override","slot_override","offering_rule","inventory"],"title":"Source"},"remaining_groups":{"type":"integer","title":"Remaining Groups"},"remaining_guests":{"type":"integer","title":"Remaining Guests"},"bookable_offering_ids":{"items":{"type":"string"},"type":"array","title":"Bookable Offering Ids"},"offering_count":{"type":"integer","title":"Offering Count"},"bookable":{"type":"boolean","title":"Bookable"},"manual_stop":{"type":"boolean","title":"Manual Stop","default":false},"capacity_full":{"type":"boolean","title":"Capacity Full","default":false}},"type":"object","required":["date","start_time","end_time","status","source","remaining_groups","remaining_guests","bookable_offering_ids","offering_count","bookable"],"title":"ReservationAvailabilitySlotResponse"},"ReservationAvailabilityTargetInput":{"properties":{"target_type":{"type":"string","enum":["reservation_plan","salon_service","seat_only","all_you_can_eat_plan"],"title":"Target Type"},"target_id":{"type":"string","maxLength":64,"minLength":1,"title":"Target Id"}},"type":"object","required":["target_type","target_id"],"title":"ReservationAvailabilityTargetInput"},"ReservationPartySizeChange":{"properties":{"party_size":{"type":"integer","maximum":999.0,"minimum":1.0,"title":"Party Size"}},"type":"object","required":["party_size"],"title":"ReservationPartySizeChange"},"ReservationPaymentIntentCreate":{"properties":{"payer_wallet_address":{"anyOf":[{"type":"string","maxLength":42},{"type":"null"}],"title":"Payer Wallet Address"}},"type":"object","title":"ReservationPaymentIntentCreate","description":"Optional fields the customer may pin at creation time.\n\nPhase 1: caller may pre-bind the payer wallet here, or later via the\npayer-wallet PATCH endpoint."},"ReservationPaymentIntentPayerWalletUpdate":{"properties":{"payer_wallet_address":{"type":"string","maxLength":42,"minLength":42,"title":"Payer Wallet Address"}},"type":"object","required":["payer_wallet_address"],"title":"ReservationPaymentIntentPayerWalletUpdate"},"ReservationPaymentIntentResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"reservation_quote_id":{"type":"string","format":"uuid","title":"Reservation Quote Id"},"reservation_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Reservation Id"},"customer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Customer Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"token_symbol":{"type":"string","const":"JPYC","title":"Token Symbol"},"token_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Token Amount"},"token_decimals":{"type":"integer","title":"Token Decimals"},"token_address":{"type":"string","title":"Token Address"},"chain_id":{"type":"integer","title":"Chain Id"},"payer_wallet_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payer Wallet Address"},"store_wallet_address":{"type":"string","title":"Store Wallet Address"},"tx_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Hash"},"status":{"type":"string","enum":["requires_payment","pending_confirmation","succeeded","failed","manual_review","expired"],"title":"Status"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"submitted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Submitted At"},"confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Confirmed At"},"failure_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","reservation_quote_id","reservation_id","customer_id","store_id","amount_jpy","token_symbol","token_amount","token_decimals","token_address","chain_id","payer_wallet_address","store_wallet_address","tx_hash","status","expires_at","submitted_at","confirmed_at","failure_reason","created_at","updated_at"],"title":"ReservationPaymentIntentResponse"},"ReservationPaymentIntentSubmitTx":{"properties":{"tx_hash":{"type":"string","maxLength":66,"minLength":66,"title":"Tx Hash"}},"type":"object","required":["tx_hash"],"title":"ReservationPaymentIntentSubmitTx"},"ReservationPaymentIntentSubmitTxResponse":{"properties":{"payment_intent":{"$ref":"#/components/schemas/ReservationPaymentIntentResponse"},"validation":{"$ref":"#/components/schemas/ReservationPaymentValidationSummary"}},"type":"object","required":["payment_intent","validation"],"title":"ReservationPaymentIntentSubmitTxResponse"},"ReservationPaymentValidationSummary":{"properties":{"code":{"type":"string","title":"Code"},"severity":{"type":"string","title":"Severity"},"message":{"type":"string","title":"Message"},"confirmations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Confirmations"},"required_confirmations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Required Confirmations"}},"type":"object","required":["code","severity","message"],"title":"ReservationPaymentValidationSummary"},"ReservationPlanCoverImage":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"url":{"type":"string","title":"Url"},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"},"alt_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alt Text"}},"type":"object","required":["id","url","width","height"],"title":"ReservationPlanCoverImage"},"ReservationPlanCreate":{"properties":{"kind":{"type":"string","enum":["seat_only","lunch_course","dinner_course","all_you_can_eat","all_you_can_drink","all_you_can_eat_drink","other"],"title":"Kind","default":"seat_only"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"duration_minutes":{"anyOf":[{"type":"integer","maximum":1440.0,"minimum":15.0},{"type":"null"}],"title":"Duration Minutes"},"price_jpy":{"anyOf":[{"type":"integer","maximum":99999999.0,"minimum":0.0},{"type":"null"}],"title":"Price Jpy"},"discount_price_jpy":{"anyOf":[{"type":"integer","maximum":99999999.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Discount Price Jpy"},"price_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Price Label"},"price_unit":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Price Unit"},"min_party_size":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":1.0},{"type":"null"}],"title":"Min Party Size"},"max_party_size":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":1.0},{"type":"null"}],"title":"Max Party Size"},"allowed_weekdays":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":7},{"type":"null"}],"title":"Allowed Weekdays"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"time_windows":{"anyOf":[{"items":{"$ref":"#/components/schemas/ReservationPlanTimeWindow"},"type":"array","maxItems":20},{"type":"null"}],"title":"Time Windows"},"is_visible":{"type":"boolean","title":"Is Visible","default":true},"booking_enabled":{"type":"boolean","title":"Booking Enabled","default":true},"sort_order":{"type":"integer","maximum":9999.0,"minimum":0.0,"title":"Sort Order","default":0}},"type":"object","required":["title"],"title":"ReservationPlanCreate"},"ReservationPlanResponse":{"properties":{"kind":{"type":"string","enum":["seat_only","lunch_course","dinner_course","all_you_can_eat","all_you_can_drink","all_you_can_eat_drink","other"],"title":"Kind","default":"seat_only"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"duration_minutes":{"anyOf":[{"type":"integer","maximum":1440.0,"minimum":15.0},{"type":"null"}],"title":"Duration Minutes"},"price_jpy":{"anyOf":[{"type":"integer","maximum":99999999.0,"minimum":0.0},{"type":"null"}],"title":"Price Jpy"},"discount_price_jpy":{"anyOf":[{"type":"integer","maximum":99999999.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Discount Price Jpy"},"price_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Price Label"},"price_unit":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Price Unit"},"min_party_size":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":1.0},{"type":"null"}],"title":"Min Party Size"},"max_party_size":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":1.0},{"type":"null"}],"title":"Max Party Size"},"allowed_weekdays":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":7},{"type":"null"}],"title":"Allowed Weekdays"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"time_windows":{"anyOf":[{"items":{"$ref":"#/components/schemas/ReservationPlanTimeWindow"},"type":"array","maxItems":20},{"type":"null"}],"title":"Time Windows"},"is_visible":{"type":"boolean","title":"Is Visible","default":true},"booking_enabled":{"type":"boolean","title":"Booking Enabled","default":true},"sort_order":{"type":"integer","maximum":9999.0,"minimum":0.0,"title":"Sort Order","default":0},"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"cover_image":{"anyOf":[{"$ref":"#/components/schemas/ReservationPlanCoverImage"},{"type":"null"}]}},"type":"object","required":["title","id","store_id","created_at","updated_at"],"title":"ReservationPlanResponse"},"ReservationPlanTimeWindow":{"properties":{"start":{"type":"string","format":"time","title":"Start"},"end":{"type":"string","format":"time","title":"End"}},"type":"object","required":["start","end"],"title":"ReservationPlanTimeWindow"},"ReservationPlanUpdate":{"properties":{"kind":{"anyOf":[{"type":"string","enum":["seat_only","lunch_course","dinner_course","all_you_can_eat","all_you_can_drink","all_you_can_eat_drink","other"]},{"type":"null"}],"title":"Kind"},"title":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"duration_minutes":{"anyOf":[{"type":"integer","maximum":1440.0,"minimum":15.0},{"type":"null"}],"title":"Duration Minutes"},"price_jpy":{"anyOf":[{"type":"integer","maximum":99999999.0,"minimum":0.0},{"type":"null"}],"title":"Price Jpy"},"discount_price_jpy":{"anyOf":[{"type":"integer","maximum":99999999.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Discount Price Jpy"},"price_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Price Label"},"price_unit":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Price Unit"},"min_party_size":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":1.0},{"type":"null"}],"title":"Min Party Size"},"max_party_size":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":1.0},{"type":"null"}],"title":"Max Party Size"},"allowed_weekdays":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":7},{"type":"null"}],"title":"Allowed Weekdays"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"},"time_windows":{"anyOf":[{"items":{"$ref":"#/components/schemas/ReservationPlanTimeWindow"},"type":"array","maxItems":20},{"type":"null"}],"title":"Time Windows"},"is_visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Visible"},"booking_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Booking Enabled"},"sort_order":{"anyOf":[{"type":"integer","maximum":9999.0,"minimum":0.0},{"type":"null"}],"title":"Sort Order"}},"type":"object","title":"ReservationPlanUpdate"},"ReservationQuoteHotelInput":{"properties":{"reservation_type":{"type":"string","const":"hotel","title":"Reservation Type","default":"hotel"},"room_id":{"type":"string","format":"uuid","title":"Room Id"},"check_in_date":{"type":"string","format":"date","title":"Check In Date"},"check_out_date":{"type":"string","format":"date","title":"Check Out Date"},"number_of_guests":{"type":"integer","maximum":999.0,"minimum":1.0,"title":"Number Of Guests"}},"type":"object","required":["room_id","check_in_date","check_out_date","number_of_guests"],"title":"ReservationQuoteHotelInput","description":"Phase 1: hotel quote only."},"ReservationQuoteResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"reservation_type":{"type":"string","enum":["hotel","salon","general"],"title":"Reservation Type"},"room_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Room Id"},"service_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Service Id"},"staff_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Staff Id"},"check_in_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Check In Date"},"check_out_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Check Out Date"},"reservation_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Reservation Date"},"start_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"End Time"},"number_of_guests":{"type":"integer","title":"Number Of Guests"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"token_symbol":{"type":"string","const":"JPYC","title":"Token Symbol"},"token_address":{"type":"string","title":"Token Address"},"token_decimals":{"type":"integer","title":"Token Decimals"},"chain_id":{"type":"integer","title":"Chain Id"},"quote_status":{"type":"string","enum":["active","expired","consumed","cancelled"],"title":"Quote Status"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"price_snapshot_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Price Snapshot Json"},"store_wallet_ready":{"type":"boolean","title":"Store Wallet Ready"}},"type":"object","required":["id","store_id","reservation_type","room_id","service_id","staff_id","check_in_date","check_out_date","reservation_date","start_time","end_time","number_of_guests","subtotal_jpy","tax_jpy","total_jpy","token_symbol","token_address","token_decimals","chain_id","quote_status","expires_at","created_at","price_snapshot_json","store_wallet_ready"],"title":"ReservationQuoteResponse"},"ReservationSlotResponse":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"start_time":{"type":"string","format":"time","title":"Start Time"},"end_time":{"type":"string","format":"time","title":"End Time"},"capacity":{"type":"integer","title":"Capacity"},"reserved_count":{"type":"integer","title":"Reserved Count"},"remaining":{"type":"integer","title":"Remaining"},"available":{"type":"boolean","title":"Available"},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"is_too_soon":{"type":"boolean","title":"Is Too Soon","default":false},"closed_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closed Reason"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"},"opens_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Opens At"},"bookable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Bookable"},"availability_status":{"anyOf":[{"type":"string","enum":["bookable","unavailable"]},{"type":"null"}],"title":"Availability Status"}},"type":"object","required":["date","start_time","end_time","capacity","reserved_count","remaining","available"],"title":"ReservationSlotResponse"},"ReviewAuthorResponse":{"properties":{"maskedName":{"type":"string","title":"Maskedname"},"customerId":{"type":"string","format":"uuid","title":"Customerid"}},"type":"object","required":["maskedName","customerId"],"title":"ReviewAuthorResponse"},"ReviewCreateRequest":{"properties":{"rating":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Rating"},"body":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Body"},"comment":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Comment"}},"type":"object","required":["rating"],"title":"ReviewCreateRequest"},"ReviewEligibilityResponse":{"properties":{"eligible":{"type":"boolean","title":"Eligible"},"reason":{"type":"string","enum":["paid_order","no_paid_order","no_session","already_reviewed","store_not_found","not_paid","refunded","own_store","not_found","not_customer_payment"],"title":"Reason"},"alreadyReviewed":{"type":"boolean","title":"Alreadyreviewed"},"reviewId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Reviewid"}},"type":"object","required":["eligible","reason","alreadyReviewed"],"title":"ReviewEligibilityResponse"},"ReviewListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ReviewResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"ratingAvg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ratingavg"}},"type":"object","required":["items","total"],"title":"ReviewListResponse"},"ReviewResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"storeId":{"type":"string","format":"uuid","title":"Storeid"},"rating":{"type":"integer","title":"Rating"},"body":{"type":"string","title":"Body","default":""},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment"},"status":{"type":"string","enum":["published","hidden_by_moderation","hidden_by_owner","deleted"],"title":"Status"},"paidAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paidat"},"verifiedPayment":{"type":"boolean","title":"Verifiedpayment","default":false},"createdAt":{"type":"string","format":"date-time","title":"Createdat"},"publishedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Publishedat"},"editedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Editedat"},"author":{"$ref":"#/components/schemas/ReviewAuthorResponse"},"isMine":{"type":"boolean","title":"Ismine","default":false}},"type":"object","required":["id","storeId","rating","status","createdAt","author"],"title":"ReviewResponse"},"ReviewUpdateRequest":{"properties":{"rating":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Rating"},"body":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Body"},"comment":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Comment"}},"type":"object","title":"ReviewUpdateRequest"},"SalesReportCategoryRow":{"properties":{"category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Category Id"},"category_name":{"type":"string","title":"Category Name"},"gross_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Gross Sales Jpy"},"order_count":{"type":"integer","title":"Order Count"}},"type":"object","required":["category_id","category_name","gross_sales_jpy","order_count"],"title":"SalesReportCategoryRow"},"SalesReportPaymentMethodRow":{"properties":{"payment_method":{"type":"string","title":"Payment Method"},"currency":{"type":"string","title":"Currency"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"received_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Received Amount"},"gross_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Gross Sales Jpy"},"refund_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Refund Total Jpy"},"net_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Net Sales Jpy"},"order_count":{"type":"integer","title":"Order Count"}},"type":"object","required":["payment_method","currency","amount_jpy","received_amount","gross_sales_jpy","refund_total_jpy","net_sales_jpy","order_count"],"title":"SalesReportPaymentMethodRow"},"SalesReportPeriodRow":{"properties":{"period":{"type":"string","title":"Period"},"gross_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Gross Sales Jpy"},"refund_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Refund Total Jpy"},"net_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Net Sales Jpy"},"order_count":{"type":"integer","title":"Order Count"},"refund_count":{"type":"integer","title":"Refund Count"}},"type":"object","required":["period","gross_sales_jpy","refund_total_jpy","net_sales_jpy","order_count","refund_count"],"title":"SalesReportPeriodRow"},"SalonCapacityRuleInput":{"properties":{"weekday":{"type":"integer","maximum":6.0,"minimum":0.0,"title":"Weekday"},"start_time":{"type":"string","format":"time","title":"Start Time"},"end_time":{"type":"string","format":"time","title":"End Time"},"capacity":{"type":"integer","maximum":999.0,"minimum":1.0,"title":"Capacity"},"enabled":{"type":"boolean","title":"Enabled","default":true},"sort_order":{"type":"integer","maximum":999.0,"minimum":0.0,"title":"Sort Order","default":0}},"type":"object","required":["weekday","start_time","end_time","capacity"],"title":"SalonCapacityRuleInput"},"SalonCapacityRuleResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"weekday":{"type":"integer","title":"Weekday"},"start_time":{"type":"string","format":"time","title":"Start Time"},"end_time":{"type":"string","format":"time","title":"End Time"},"capacity":{"type":"integer","title":"Capacity"},"enabled":{"type":"boolean","title":"Enabled"},"sort_order":{"type":"integer","title":"Sort Order"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","weekday","start_time","end_time","capacity","enabled","sort_order","created_at","updated_at"],"title":"SalonCapacityRuleResponse"},"SalonCapacityRulesReplace":{"properties":{"rules":{"items":{"$ref":"#/components/schemas/SalonCapacityRuleInput"},"type":"array","maxItems":200,"title":"Rules"}},"type":"object","title":"SalonCapacityRulesReplace"},"SalonReservationDetailInput":{"properties":{"service_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Service Id"},"staff_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Staff Id"}},"type":"object","title":"SalonReservationDetailInput"},"SalonServiceCreate":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"price_jpy":{"type":"integer","maximum":9999999.0,"minimum":0.0,"title":"Price Jpy"},"duration_minutes":{"type":"integer","maximum":480.0,"minimum":15.0,"title":"Duration Minutes"},"buffer_before_minutes":{"type":"integer","maximum":240.0,"minimum":0.0,"title":"Buffer Before Minutes","default":0},"buffer_after_minutes":{"type":"integer","maximum":240.0,"minimum":0.0,"title":"Buffer After Minutes","default":0},"is_visible":{"type":"boolean","title":"Is Visible","default":true},"booking_enabled":{"type":"boolean","title":"Booking Enabled","default":true},"sort_order":{"type":"integer","title":"Sort Order","default":0}},"type":"object","required":["name","price_jpy","duration_minutes"],"title":"SalonServiceCreate"},"SalonServiceResponse":{"properties":{"name":{"type":"string","maxLength":160,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"price_jpy":{"type":"integer","maximum":9999999.0,"minimum":0.0,"title":"Price Jpy"},"duration_minutes":{"type":"integer","maximum":480.0,"minimum":15.0,"title":"Duration Minutes"},"buffer_before_minutes":{"type":"integer","maximum":240.0,"minimum":0.0,"title":"Buffer Before Minutes","default":0},"buffer_after_minutes":{"type":"integer","maximum":240.0,"minimum":0.0,"title":"Buffer After Minutes","default":0},"is_visible":{"type":"boolean","title":"Is Visible","default":true},"booking_enabled":{"type":"boolean","title":"Booking Enabled","default":true},"sort_order":{"type":"integer","title":"Sort Order","default":0},"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["name","price_jpy","duration_minutes","id","store_id","created_at","updated_at"],"title":"SalonServiceResponse"},"SalonServiceUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"price_jpy":{"anyOf":[{"type":"integer","maximum":9999999.0,"minimum":0.0},{"type":"null"}],"title":"Price Jpy"},"duration_minutes":{"anyOf":[{"type":"integer","maximum":480.0,"minimum":15.0},{"type":"null"}],"title":"Duration Minutes"},"buffer_before_minutes":{"anyOf":[{"type":"integer","maximum":240.0,"minimum":0.0},{"type":"null"}],"title":"Buffer Before Minutes"},"buffer_after_minutes":{"anyOf":[{"type":"integer","maximum":240.0,"minimum":0.0},{"type":"null"}],"title":"Buffer After Minutes"},"is_visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Visible"},"booking_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Booking Enabled"},"sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sort Order"}},"type":"object","title":"SalonServiceUpdate"},"SalonStaffCreate":{"properties":{"display_name":{"type":"string","maxLength":160,"minLength":1,"title":"Display Name"},"role_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Role Label"},"is_visible":{"type":"boolean","title":"Is Visible","default":true},"working_days_json":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":7},{"type":"null"}],"title":"Working Days Json"},"start_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"End Time"},"booking_enabled":{"type":"boolean","title":"Booking Enabled","default":true},"supported_service_ids_json":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Supported Service Ids Json"},"sort_order":{"type":"integer","title":"Sort Order","default":0}},"type":"object","required":["display_name"],"title":"SalonStaffCreate"},"SalonStaffResponse":{"properties":{"display_name":{"type":"string","maxLength":160,"minLength":1,"title":"Display Name"},"role_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Role Label"},"is_visible":{"type":"boolean","title":"Is Visible","default":true},"working_days_json":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":7},{"type":"null"}],"title":"Working Days Json"},"start_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"End Time"},"booking_enabled":{"type":"boolean","title":"Booking Enabled","default":true},"supported_service_ids_json":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Supported Service Ids Json"},"sort_order":{"type":"integer","title":"Sort Order","default":0},"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["display_name","id","store_id","created_at","updated_at"],"title":"SalonStaffResponse"},"SalonStaffUpdate":{"properties":{"display_name":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Display Name"},"role_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Role Label"},"is_visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Visible"},"working_days_json":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":7},{"type":"null"}],"title":"Working Days Json"},"start_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Start Time"},"end_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"End Time"},"booking_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Booking Enabled"},"supported_service_ids_json":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Supported Service Ids Json"},"sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sort Order"}},"type":"object","title":"SalonStaffUpdate"},"SandboxSimulateRequest":{"properties":{"outcome":{"type":"string","enum":["succeeded","failed","expired"],"title":"Outcome","description":"疑似的に反映する結果。"},"sandbox_token":{"type":"string","maxLength":69,"minLength":69,"pattern":"^sbx1_[0-9a-f]{64}$","title":"Sandbox Token"}},"type":"object","required":["outcome","sandbox_token"],"title":"SandboxSimulateRequest"},"SandboxSimulateResponse":{"properties":{"status":{"type":"string","title":"Status"},"payment_status":{"type":"string","title":"Payment Status"},"livemode":{"type":"boolean","const":false,"title":"Livemode","default":false}},"type":"object","required":["status","payment_status"],"title":"SandboxSimulateResponse"},"ScanLogResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id"},"ticket_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Ticket Id"},"scanner_staff_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scanner Staff Id"},"gate_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gate Name"},"result":{"type":"string","title":"Result"},"admission_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Admission Number"},"qr_kid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Qr Kid"},"qr_nonce":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Qr Nonce"},"scanned_at":{"type":"string","format":"date-time","title":"Scanned At"},"client_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Client Time"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"raw_payload_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raw Payload Hash"}},"type":"object","required":["id","event_id","ticket_id","scanner_staff_id","gate_name","result","admission_number","qr_kid","qr_nonce","scanned_at","client_time","error_code","raw_payload_hash"],"title":"ScanLogResponse"},"ScanRequest":{"properties":{"qr_token":{"type":"string","minLength":10,"title":"Qr Token"},"gate_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Gate Name"},"client_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Client Time"}},"type":"object","required":["qr_token"],"title":"ScanRequest"},"ScanResponse":{"properties":{"result":{"type":"string","title":"Result"},"admission_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Admission Number"},"ticket_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticket Id"}},"type":"object","required":["result"],"title":"ScanResponse"},"ScannerPublicKeysResponse":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id"},"keys":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Keys"}},"type":"object","required":["event_id","keys"],"title":"ScannerPublicKeysResponse"},"ServiceHealth":{"properties":{"status":{"type":"string","title":"Status"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"}},"type":"object","required":["status"],"title":"ServiceHealth"},"ServiceInvoiceIssuerResponse":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"contact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact"},"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number"},"registration_number_configured":{"type":"boolean","title":"Registration Number Configured"}},"type":"object","required":["registration_number_configured"],"title":"ServiceInvoiceIssuerResponse"},"ServiceInvoiceLineResponse":{"properties":{"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"transaction_type":{"type":"string","title":"Transaction Type"},"description":{"type":"string","title":"Description"},"source_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Id"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"tax_exclusive_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Exclusive Jpy"},"tax_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Amount Jpy"},"tax_inclusive_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Inclusive Jpy"}},"type":"object","required":["occurred_at","transaction_type","description","tax_rate","tax_exclusive_jpy","tax_amount_jpy","tax_inclusive_jpy"],"title":"ServiceInvoiceLineResponse"},"ServiceInvoiceStatementResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"period_start":{"type":"string","format":"date-time","title":"Period Start"},"period_end":{"type":"string","format":"date-time","title":"Period End"},"currency":{"type":"string","title":"Currency","default":"JPY"},"issuer":{"$ref":"#/components/schemas/ServiceInvoiceIssuerResponse"},"lines":{"items":{"$ref":"#/components/schemas/ServiceInvoiceLineResponse"},"type":"array","title":"Lines"},"tax_exclusive_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Exclusive Total Jpy"},"tax_amount_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Amount Total Jpy"},"tax_inclusive_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Inclusive Total Jpy"},"note":{"type":"string","title":"Note"}},"type":"object","required":["store_id","period_start","period_end","issuer","lines","tax_exclusive_total_jpy","tax_amount_total_jpy","tax_inclusive_total_jpy","note"],"title":"ServiceInvoiceStatementResponse"},"SessionResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"table_session_id":{"type":"string","format":"uuid","title":"Table Session Id"},"plan_id":{"type":"string","format":"uuid","title":"Plan Id"},"people_count":{"type":"integer","title":"People Count"},"people_breakdown":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"People Breakdown"},"status":{"type":"string","title":"Status"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"last_order_at":{"type":"string","format":"date-time","title":"Last Order At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"manually_ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Manually Ended At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"ended_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ended Reason"},"remaining_seconds_at_end":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining Seconds At End"},"granted_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Granted Seconds"},"grant_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Grant Source"},"supersedes_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supersedes Session Id"},"start_order_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Start Order Id"}},"type":"object","required":["id","table_session_id","plan_id","people_count","status","started_at","last_order_at","ends_at","manually_ended_at"],"title":"SessionResponse"},"ShipmentUpdateRequest":{"properties":{"status":{"type":"string","enum":["shipped","delivered"],"title":"Status"},"carrier":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Carrier"},"tracking_number":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Tracking Number"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"}},"type":"object","required":["status"],"title":"ShipmentUpdateRequest"},"ShippingProfileRequest":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"processing_days":{"type":"integer","maximum":60.0,"minimum":0.0,"title":"Processing Days","default":3},"free_shipping_threshold_jpy":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Free Shipping Threshold Jpy"},"pickup_enabled":{"type":"boolean","title":"Pickup Enabled","default":false},"regional_rates":{"additionalProperties":{"type":"integer"},"type":"object","title":"Regional Rates"}},"type":"object","required":["name"],"title":"ShippingProfileRequest"},"SoukaiAuthExchangeRequest":{"properties":{"id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Id Token"},"client_kind":{"type":"string","maxLength":40,"minLength":1,"title":"Client Kind","default":"unknown"}},"type":"object","required":["id_token"],"title":"SoukaiAuthExchangeRequest"},"SoukaiAuthExchangeResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"soukai_user_id":{"type":"string","format":"uuid","title":"Soukai User Id"}},"type":"object","required":["access_token","expires_at","soukai_user_id"],"title":"SoukaiAuthExchangeResponse"},"SoukaiAuthLogoutResponse":{"properties":{"revoked":{"type":"boolean","title":"Revoked"}},"type":"object","required":["revoked"],"title":"SoukaiAuthLogoutResponse"},"SoukaiAuthMeResponse":{"properties":{"user":{"$ref":"#/components/schemas/SoukaiUserStateResponse"},"session":{"$ref":"#/components/schemas/SoukaiSessionStateResponse"},"customer":{"anyOf":[{"$ref":"#/components/schemas/CustomerIdentityStateResponse"},{"type":"null"}]},"store_memberships":{"items":{"$ref":"#/components/schemas/StoreMembershipIdentityStateResponse"},"type":"array","title":"Store Memberships"},"admin":{"anyOf":[{"$ref":"#/components/schemas/AdminIdentityStateResponse"},{"type":"null"}]},"has_verified_phone":{"type":"boolean","title":"Has Verified Phone"}},"type":"object","required":["user","session","customer","store_memberships","admin","has_verified_phone"],"title":"SoukaiAuthMeResponse"},"SoukaiSessionStateResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"client_kind":{"type":"string","title":"Client Kind"},"auth_time":{"type":"string","format":"date-time","title":"Auth Time"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["id","client_kind","auth_time","expires_at"],"title":"SoukaiSessionStateResponse"},"SoukaiUserStateResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"type":"string","title":"Status"},"last_authenticated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Authenticated At"}},"type":"object","required":["id","status","last_authenticated_at"],"title":"SoukaiUserStateResponse"},"SpayEnvironmentResponse":{"properties":{"runtime_mode":{"type":"string","enum":["test","live"],"title":"Runtime Mode"},"livemode":{"type":"boolean","title":"Livemode"},"embed_api_enabled":{"type":"boolean","title":"Embed Api Enabled"},"webhook_worker_enabled":{"type":"boolean","title":"Webhook Worker Enabled"},"api_base_url":{"type":"string","title":"Api Base Url"},"payment_base_url":{"type":"string","title":"Payment Base Url"},"api_version":{"type":"string","title":"Api Version"}},"type":"object","required":["runtime_mode","livemode","embed_api_enabled","webhook_worker_enabled","api_base_url","payment_base_url","api_version"],"title":"SpayEnvironmentResponse"},"SponsoredStoreDiscoveryResponse":{"properties":{"surface_snapshot_id":{"type":"string","format":"uuid","title":"Surface Snapshot Id"},"natural_items":{"items":{"$ref":"#/components/schemas/StoreDiscoverySearchItem"},"type":"array","title":"Natural Items"},"sponsored_item":{"anyOf":[{"$ref":"#/components/schemas/SponsoredStoreItem"},{"type":"null"}]},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["surface_snapshot_id","natural_items","sponsored_item","expires_at"],"title":"SponsoredStoreDiscoveryResponse"},"SponsoredStoreItem":{"properties":{"delivery_id":{"type":"string","format":"uuid","title":"Delivery Id"},"delivery_token":{"type":"string","title":"Delivery Token"},"label":{"type":"string","const":"スポンサー","title":"Label","default":"スポンサー"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"distance_m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Distance M"},"is_open_now":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Open Now"}},"type":"object","required":["delivery_id","delivery_token","store_id","name","slug"],"title":"SponsoredStoreItem"},"StaffAcceptInviteFirebaseRequest":{"properties":{"id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Id Token"}},"type":"object","required":["id_token"],"title":"StaffAcceptInviteFirebaseRequest","description":"Initial invitation binding only; verified email is never a later auth key."},"StaffAcceptInviteGoogleRequest":{"properties":{"id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Id Token"}},"type":"object","required":["id_token"],"title":"StaffAcceptInviteGoogleRequest"},"StaffAcceptInviteRequest":{"properties":{"token":{"type":"string","minLength":16,"title":"Token"},"password":{"type":"string","minLength":8,"title":"Password"},"display_name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Display Name"}},"type":"object","required":["token","password"],"title":"StaffAcceptInviteRequest"},"StaffDelegationExchangeRequest":{"properties":{"code":{"type":"string","title":"Code"}},"type":"object","required":["code"],"title":"StaffDelegationExchangeRequest"},"StaffFirebaseIdTokenLoginRequest":{"properties":{"id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Id Token"},"store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"},"last_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Last Store Id"}},"type":"object","required":["id_token"],"title":"StaffFirebaseIdTokenLoginRequest","description":"A Firebase ID token is accepted only at the staff-session exchange boundary."},"StaffFirebaseSessionResponse":{"properties":{"custom_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Custom Token"}},"type":"object","required":["custom_token"],"title":"StaffFirebaseSessionResponse","description":"One-time browser reconnect credential for the current linked staff UID."},"StaffInviteInfoResponse":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"display_name":{"type":"string","title":"Display Name"},"role":{"type":"string","title":"Role"},"status":{"type":"string","title":"Status"},"store_name":{"type":"string","title":"Store Name"},"store_slug":{"type":"string","title":"Store Slug"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["email","display_name","role","status","store_name","store_slug"],"title":"StaffInviteInfoResponse"},"StaffJoinRequest":{"properties":{"join_code":{"type":"string","maxLength":12,"minLength":6,"title":"Join Code"},"email":{"type":"string","format":"email","title":"Email"},"display_name":{"type":"string","maxLength":120,"minLength":1,"title":"Display Name"},"requested_role":{"type":"string","maxLength":20,"minLength":1,"title":"Requested Role","default":"cashier"},"password":{"type":"string","minLength":8,"title":"Password"}},"type":"object","required":["join_code","email","display_name","password"],"title":"StaffJoinRequest"},"StaffJoinRequestResponse":{"properties":{"ok":{"type":"boolean","title":"Ok","default":true},"store_name":{"type":"string","title":"Store Name"},"status":{"type":"string","title":"Status","default":"pending"}},"type":"object","required":["store_name"],"title":"StaffJoinRequestResponse"},"StaffLoginRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","minLength":1,"title":"Password"},"store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},"type":"object","required":["email","password"],"title":"StaffLoginRequest"},"StaffLoginStartRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","minLength":1,"title":"Password"},"last_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Last Store Id"}},"type":"object","required":["email","password"],"title":"StaffLoginStartRequest"},"StaffManageableStoreResponse":{"properties":{"store":{"$ref":"#/components/schemas/StaffStoreResponse"},"role":{"type":"string","title":"Role"}},"type":"object","required":["store","role"],"title":"StaffManageableStoreResponse"},"StaffManageableStoresResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StaffManageableStoreResponse"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"StaffManageableStoresResponse"},"StaffMeResponse":{"properties":{"membership":{"$ref":"#/components/schemas/StaffMembershipResponse"},"store":{"$ref":"#/components/schemas/StaffStoreResponse"},"last_login_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Login At"}},"type":"object","required":["membership","store"],"title":"StaffMeResponse"},"StaffMembershipResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"email":{"type":"string","format":"email","title":"Email"},"display_name":{"type":"string","title":"Display Name"},"role":{"type":"string","title":"Role"},"status":{"type":"string","title":"Status"},"has_password":{"type":"boolean","title":"Has Password","default":true},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"accepted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Accepted At"},"last_login_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Login At"}},"type":"object","required":["id","store_id","email","display_name","role","status","created_at","updated_at"],"title":"StaffMembershipResponse"},"StaffOAuthIdTokenLoginRequest":{"properties":{"id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Id Token"},"store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"},"last_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Last Store Id"}},"type":"object","required":["id_token"],"title":"StaffOAuthIdTokenLoginRequest"},"StaffOAuthProviderResponse":{"properties":{"provider":{"type":"string","title":"Provider"},"label":{"type":"string","title":"Label"},"status":{"type":"string","title":"Status"},"enabled":{"type":"boolean","title":"Enabled"},"message":{"type":"string","title":"Message"}},"type":"object","required":["provider","label","status","enabled","message"],"title":"StaffOAuthProviderResponse"},"StaffOAuthProvidersResponse":{"properties":{"providers":{"items":{"$ref":"#/components/schemas/StaffOAuthProviderResponse"},"type":"array","title":"Providers"}},"type":"object","required":["providers"],"title":"StaffOAuthProvidersResponse"},"StaffOAuthVerifiedEmailResponse":{"properties":{"provider":{"type":"string","title":"Provider"},"email":{"type":"string","format":"email","title":"Email"},"email_verified":{"type":"boolean","title":"Email Verified"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"}},"type":"object","required":["provider","email","email_verified"],"title":"StaffOAuthVerifiedEmailResponse"},"StaffPasswordResetConfirmRequest":{"properties":{"token":{"type":"string","minLength":16,"title":"Token"},"password":{"type":"string","minLength":8,"title":"Password"}},"type":"object","required":["token","password"],"title":"StaffPasswordResetConfirmRequest"},"StaffPasswordResetRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"}},"type":"object","required":["email"],"title":"StaffPasswordResetRequest"},"StaffPasswordResetRequestResponse":{"properties":{"ok":{"type":"boolean","title":"Ok","default":true}},"type":"object","title":"StaffPasswordResetRequestResponse"},"StaffStoreResponse":{"properties":{"store_kind":{"type":"string","title":"Store Kind","default":"full"},"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"status":{"type":"string","title":"Status"},"store_operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Operation Type"},"store_publication_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Publication Mode"},"parent_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Store Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","name","slug","category","status"],"title":"StaffStoreResponse"},"StaffStoreSwitchRequest":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"}},"type":"object","required":["store_id"],"title":"StaffStoreSwitchRequest"},"StaffVerifiedPhoneSyncRequest":{"properties":{"id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Id Token"}},"type":"object","required":["id_token"],"title":"StaffVerifiedPhoneSyncRequest","description":"Fresh Firebase token for an SMS-gated operation; never contains an OTP."},"StaffVerifiedPhoneSyncResponse":{"properties":{"verified":{"type":"boolean","title":"Verified"},"phone_masked":{"type":"string","title":"Phone Masked"},"observed_at":{"type":"string","format":"date-time","title":"Observed At"},"fresh_until":{"type":"string","format":"date-time","title":"Fresh Until"}},"type":"object","required":["verified","phone_masked","observed_at","fresh_until"],"title":"StaffVerifiedPhoneSyncResponse"},"StandardRateResponse":{"properties":{"fee_schedule_id":{"type":"string","format":"uuid","title":"Fee Schedule Id"},"fee_basis_points":{"type":"integer","title":"Fee Basis Points"},"minimum_fee_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Minimum Fee Credits"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"consumption_basis":{"type":"string","title":"Consumption Basis","default":"Credits consumption is amount(percent)-based SaaS usage; funds are non-custodial"}},"type":"object","required":["fee_schedule_id","fee_basis_points","minimum_fee_credits","updated_at"],"title":"StandardRateResponse","description":"全 standard 店舗に適用されるグローバル標準料率。\n\n現行の正式仕様は ``fee_basis_points=20`` / ``minimum_fee_credits=2`` =\n「決済金額の0.2%・最低2 Credits」。"},"StandardRateUpdate":{"properties":{"fee_basis_points":{"type":"integer","minimum":0.0,"title":"Fee Basis Points","description":"決済額に対する Credits 利用率(basis points, 50=0.5%)。0 = 金額によらない固定課金"},"minimum_fee_credits":{"anyOf":[{"type":"number","minimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Minimum Fee Credits","description":"1 決済あたりの最低消費 Credits。率が 0 のときは 1 決済あたりの固定消費額になる"},"reason":{"type":"string","maxLength":2000,"minLength":1,"title":"Reason","description":"変更理由(監査ログに記録)"}},"type":"object","required":["fee_basis_points","minimum_fee_credits","reason"],"title":"StandardRateUpdate"},"StartSessionRequest":{"properties":{"table_session_id":{"type":"string","format":"uuid","title":"Table Session Id"},"plan_id":{"type":"string","format":"uuid","title":"Plan Id"},"people_count":{"anyOf":[{"type":"integer","maximum":100.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"People Count"},"people_breakdown":{"items":{"$ref":"#/components/schemas/PeopleBreakdownInput"},"type":"array","maxItems":20,"title":"People Breakdown"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"},"granted_minutes":{"anyOf":[{"type":"integer","maximum":1440.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Granted Minutes"},"grant_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Grant Reason"}},"additionalProperties":false,"type":"object","required":["table_session_id","plan_id","idempotency_key"],"title":"StartSessionRequest"},"StaticCheckoutConfirmRequest":{"properties":{"amount_jpy":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Jpy"},"client_confirm_token":{"type":"string","maxLength":200,"minLength":8,"title":"Client Confirm Token"},"supersede_payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supersede Payment Intent Id"},"superseded_public_access_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Superseded Public Access Token"}},"type":"object","required":["amount_jpy","client_confirm_token"],"title":"StaticCheckoutConfirmRequest"},"StaticCheckoutConfirmResponse":{"properties":{"payment_intent_id":{"type":"string","format":"uuid","title":"Payment Intent Id"},"public_access_token":{"type":"string","title":"Public Access Token"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"web_url":{"type":"string","title":"Web Url"},"app_url":{"type":"string","title":"App Url"}},"type":"object","required":["payment_intent_id","public_access_token","amount_jpy","web_url","app_url"],"title":"StaticCheckoutConfirmResponse"},"StaticCheckoutQrCreate":{"properties":{"label":{"type":"string","maxLength":80,"title":"Label"},"max_amount_jpy":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max Amount Jpy"}},"type":"object","required":["label"],"title":"StaticCheckoutQrCreate"},"StaticCheckoutQrIssued":{"properties":{"credential":{"$ref":"#/components/schemas/StaticCheckoutQrSummary"},"qr_credential":{"type":"string","title":"Qr Credential"},"qr_url":{"type":"string","title":"Qr Url"}},"type":"object","required":["credential","qr_credential","qr_url"],"title":"StaticCheckoutQrIssued","description":"発行・再発行・再表示で返す、掲示物として印刷できる QR の中身。\n\n平文 credential は保存していない。再表示は表示専用 ciphertext を店舗管理者の\n認証下で復号したもので、公開経路からは取得できない。"},"StaticCheckoutQrSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"label":{"type":"string","title":"Label"},"generation":{"type":"integer","title":"Generation"},"max_amount_jpy":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max Amount Jpy"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"}},"type":"object","required":["id","label","generation","max_amount_jpy","issued_at","revoked_at"],"title":"StaticCheckoutQrSummary"},"StaticCheckoutQrUpdate":{"properties":{"label":{"type":"string","maxLength":80,"title":"Label"},"max_amount_jpy":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max Amount Jpy"}},"type":"object","required":["label"],"title":"StaticCheckoutQrUpdate"},"StaticCheckoutResolveResponse":{"properties":{"status":{"type":"string","title":"Status"},"store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Name"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"min_amount_jpy":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Min Amount Jpy"},"max_amount_jpy":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Max Amount Jpy"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["status"],"title":"StaticCheckoutResolveResponse","description":"固定QR を読み取った直後の店舗確認情報。内部 ID を一切含めない。"},"StaticCheckoutSalesResponse":{"properties":{"date_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"},"date_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"},"rows":{"items":{"$ref":"#/components/schemas/StaticCheckoutSalesRow"},"type":"array","title":"Rows"}},"type":"object","required":["date_from","date_to","rows"],"title":"StaticCheckoutSalesResponse"},"StaticCheckoutSalesRow":{"properties":{"credential_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Credential Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"generation":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Generation"},"revoked":{"type":"boolean","title":"Revoked"},"payment_count":{"type":"integer","title":"Payment Count"},"gross_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Gross Sales Jpy"},"refund_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Refund Amount Jpy"},"net_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Net Sales Jpy"}},"type":"object","required":["credential_id","label","generation","revoked","payment_count","gross_sales_jpy","refund_amount_jpy","net_sales_jpy"],"title":"StaticCheckoutSalesRow"},"StoreAppearanceAnalysisItem":{"properties":{"appearance_id":{"type":"string","format":"uuid","title":"Appearance Id"},"status":{"type":"string","enum":["available","unavailable"],"title":"Status","default":"available"},"order_count":{"type":"integer","title":"Order Count","default":0},"paid_order_count":{"type":"integer","title":"Paid Order Count","default":0},"gross_sales_amount_jpy":{"type":"integer","title":"Gross Sales Amount Jpy","default":0},"sales_amount_jpy":{"type":"integer","title":"Sales Amount Jpy","default":0},"average_order_amount_jpy":{"type":"integer","title":"Average Order Amount Jpy","default":0},"note":{"type":"string","title":"Note","default":"orders are linked through orders.appearance_id"}},"type":"object","required":["appearance_id"],"title":"StoreAppearanceAnalysisItem"},"StoreAppearanceAnalysisResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StoreAppearanceAnalysisItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"StoreAppearanceAnalysisResponse"},"StoreAppearanceCreate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"location_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Location Name"},"address":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Address"},"latitude":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Longitude"},"area_code":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Area Code"},"area_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Area Label"},"event_area_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Event Area Name"},"event_map_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Event Map Id"},"event_area_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Event Area Id"},"map_x":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map X"},"map_y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map Y"},"map_pin_priority":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Map Pin Priority","default":0},"map_pin_label_visible":{"type":"boolean","title":"Map Pin Label Visible","default":false},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"order_accepting_starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Order Accepting Starts At"},"order_accepting_ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Order Accepting Ends At"},"status":{"type":"string","enum":["draft","scheduled","cancelled"],"title":"Status","default":"draft"},"visible_on_map":{"type":"boolean","title":"Visible On Map","default":true},"visible_on_store_lp":{"type":"boolean","title":"Visible On Store Lp","default":true},"accepts_mobile_order":{"type":"boolean","title":"Accepts Mobile Order","default":false},"notify_followers":{"type":"boolean","title":"Notify Followers","default":false},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Notes"}},"type":"object","required":["title"],"title":"StoreAppearanceCreate"},"StoreAppearanceLiveLocationUpdate":{"properties":{"latitude":{"type":"number","maximum":90.0,"minimum":-90.0,"title":"Latitude"},"longitude":{"type":"number","maximum":180.0,"minimum":-180.0,"title":"Longitude"},"captured_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Captured At"}},"type":"object","required":["latitude","longitude"],"title":"StoreAppearanceLiveLocationUpdate"},"StoreAppearanceNotificationCandidate":{"properties":{"appearance_id":{"type":"string","format":"uuid","title":"Appearance Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"title":{"type":"string","title":"Title"},"notification_type":{"type":"string","enum":["7d","1d","start","cancel"],"title":"Notification Type"},"scheduled_for":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Scheduled For"},"status":{"type":"string","enum":["pending","mock"],"title":"Status","default":"pending"},"follower_target_status":{"type":"string","enum":["available","todo"],"title":"Follower Target Status","default":"available"},"follower_count":{"type":"integer","title":"Follower Count","default":0},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["appearance_id","store_id","title","notification_type"],"title":"StoreAppearanceNotificationCandidate"},"StoreAppearanceNotificationOutboxItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"appearance_id":{"type":"string","format":"uuid","title":"Appearance Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"notification_type":{"type":"string","enum":["7d","1d","start","cancel"],"title":"Notification Type"},"status":{"type":"string","enum":["pending","dry_run","sent","skipped","failed"],"title":"Status"},"title":{"type":"string","title":"Title"},"body":{"type":"string","title":"Body"},"scheduled_for":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Scheduled For"},"follower_count":{"type":"integer","title":"Follower Count","default":0},"skipped_count":{"type":"integer","title":"Skipped Count","default":0},"attempt_count":{"type":"integer","title":"Attempt Count","default":0},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"retry_after":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Retry After"},"sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sent At"},"failed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Failed At"},"send_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Send Mode"},"provider_message_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Message Id"},"token_count":{"type":"integer","title":"Token Count","default":0},"retry_count":{"type":"integer","title":"Retry Count","default":0},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"next_retry_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Retry At"}},"type":"object","required":["id","appearance_id","store_id","notification_type","status","title","body"],"title":"StoreAppearanceNotificationOutboxItem"},"StoreAppearanceNotificationSendResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StoreAppearanceNotificationOutboxItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"StoreAppearanceNotificationSendResponse"},"StoreAppearanceNotificationsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StoreAppearanceNotificationCandidate"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"StoreAppearanceNotificationsResponse"},"StoreAppearanceResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"title":{"type":"string","title":"Title"},"location_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Longitude"},"area_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Code"},"area_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Label"},"event_area_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Area Name"},"event_map_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Map Id"},"event_area_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Area Id"},"map_x":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map X"},"map_y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map Y"},"map_pin_priority":{"type":"integer","title":"Map Pin Priority","default":0},"map_pin_label_visible":{"type":"boolean","title":"Map Pin Label Visible","default":false},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"order_accepting_starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Order Accepting Starts At"},"order_accepting_ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Order Accepting Ends At"},"status":{"type":"string","title":"Status"},"effective_state":{"anyOf":[{"type":"string","enum":["upcoming","active","ended","hidden","cancelled"]},{"type":"null"}],"title":"Effective State"},"visible_on_map":{"type":"boolean","title":"Visible On Map"},"visible_on_store_lp":{"type":"boolean","title":"Visible On Store Lp"},"accepts_mobile_order":{"type":"boolean","title":"Accepts Mobile Order"},"notify_followers":{"type":"boolean","title":"Notify Followers","default":false},"notify_7d_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Notify 7D Sent At"},"notify_1d_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Notify 1D Sent At"},"notify_start_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Notify Start Sent At"},"notify_cancel_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Notify Cancel Sent At"},"last_live_latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Last Live Latitude"},"last_live_longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Last Live Longitude"},"last_live_location_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Live Location At"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"image_file_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image File Key"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"created_by_staff_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By Staff Id"},"cancelled_by_admin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cancelled By Admin Id"},"cancelled_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancelled Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"}},"type":"object","required":["id","store_id","title","status","visible_on_map","visible_on_store_lp","accepts_mobile_order","created_at","updated_at"],"title":"StoreAppearanceResponse"},"StoreAppearanceUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"location_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Location Name"},"address":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Address"},"latitude":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Longitude"},"area_code":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Area Code"},"area_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Area Label"},"event_area_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Event Area Name"},"event_map_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Event Map Id"},"event_area_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Event Area Id"},"map_x":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map X"},"map_y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map Y"},"map_pin_priority":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Map Pin Priority"},"map_pin_label_visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Map Pin Label Visible"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"order_accepting_starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Order Accepting Starts At"},"order_accepting_ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Order Accepting Ends At"},"status":{"anyOf":[{"type":"string","enum":["draft","scheduled","cancelled"]},{"type":"null"}],"title":"Status"},"visible_on_map":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Visible On Map"},"visible_on_store_lp":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Visible On Store Lp"},"accepts_mobile_order":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Mobile Order"},"notify_followers":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Followers"},"notify_7d_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Notify 7D Sent At"},"notify_1d_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Notify 1D Sent At"},"notify_start_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Notify Start Sent At"},"notify_cancel_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Notify Cancel Sent At"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Notes"},"cancelled_reason":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Cancelled Reason"}},"type":"object","title":"StoreAppearanceUpdate"},"StoreAppearancesResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StoreAppearanceResponse"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"StoreAppearancesResponse"},"StoreArticleCreate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"summary":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Summary"},"body":{"type":"string","maxLength":20000,"minLength":1,"title":"Body"},"cover_image_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Cover Image Url"},"status":{"type":"string","enum":["draft","public","private","archived"],"title":"Status","default":"draft"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"}},"type":"object","required":["title","body"],"title":"StoreArticleCreate"},"StoreArticleResponse":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"summary":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Summary"},"body":{"type":"string","maxLength":20000,"minLength":1,"title":"Body"},"cover_image_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Cover Image Url"},"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"status":{"type":"string","enum":["draft","public","private","archived"],"title":"Status"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["title","body","id","store_id","status","published_at","created_at","updated_at"],"title":"StoreArticleResponse"},"StoreArticleUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"summary":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Summary"},"body":{"anyOf":[{"type":"string","maxLength":20000,"minLength":1},{"type":"null"}],"title":"Body"},"cover_image_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Cover Image Url"},"status":{"anyOf":[{"type":"string","enum":["draft","public","private","archived"]},{"type":"null"}],"title":"Status"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"}},"type":"object","title":"StoreArticleUpdate"},"StoreBusinessHourExceptionBase":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"ranges_json":{"anyOf":[{"items":{"$ref":"#/components/schemas/StoreBusinessHourExceptionRange"},"type":"array","maxItems":16},{"type":"null"}],"title":"Ranges Json"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"},"public_note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Public Note"},"public_title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Public Title"},"image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Url"},"image_file_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Image File Key"},"location_preset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Location Preset Id"},"visible_on_map":{"type":"boolean","title":"Visible On Map","default":true},"visible_on_store_lp":{"type":"boolean","title":"Visible On Store Lp","default":true},"priority":{"type":"integer","minimum":0.0,"title":"Priority","default":0}},"type":"object","required":["date"],"title":"StoreBusinessHourExceptionBase"},"StoreBusinessHourExceptionImageResponse":{"properties":{"image_url":{"type":"string","title":"Image Url"},"image_file_key":{"type":"string","title":"Image File Key"}},"type":"object","required":["image_url","image_file_key"],"title":"StoreBusinessHourExceptionImageResponse"},"StoreBusinessHourExceptionRange":{"properties":{"start_minute":{"type":"integer","maximum":1440.0,"minimum":0.0,"title":"Start Minute"},"end_minute":{"type":"integer","maximum":2880.0,"minimum":0.0,"title":"End Minute"},"service_type":{"type":"string","enum":["store","dine_in","takeout","reservation"],"title":"Service Type","default":"store"},"last_order_minute":{"anyOf":[{"type":"integer","maximum":2880.0,"minimum":0.0},{"type":"null"}],"title":"Last Order Minute"}},"type":"object","required":["start_minute","end_minute"],"title":"StoreBusinessHourExceptionRange"},"StoreBusinessHourExceptionResponse":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"ranges_json":{"anyOf":[{"items":{"$ref":"#/components/schemas/StoreBusinessHourExceptionRange"},"type":"array","maxItems":16},{"type":"null"}],"title":"Ranges Json"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"},"public_note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Public Note"},"public_title":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Public Title"},"image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Url"},"image_file_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Image File Key"},"location_preset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Location Preset Id"},"visible_on_map":{"type":"boolean","title":"Visible On Map","default":true},"visible_on_store_lp":{"type":"boolean","title":"Visible On Store Lp","default":true},"priority":{"type":"integer","minimum":0.0,"title":"Priority","default":0},"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"location_public_name_snapshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Public Name Snapshot"},"location_address_snapshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Address Snapshot"},"location_latitude_snapshot":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Location Latitude Snapshot"},"location_longitude_snapshot":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Location Longitude Snapshot"},"location_prefecture_snapshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Prefecture Snapshot"},"location_city_snapshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location City Snapshot"},"location_ward_snapshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Ward Snapshot"},"location_area_label_snapshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Area Label Snapshot"},"location_landmark_snapshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Landmark Snapshot"},"location_map_url_snapshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Map Url Snapshot"},"location_image_url_snapshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Image Url Snapshot"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["date","id","store_id","created_at","updated_at"],"title":"StoreBusinessHourExceptionResponse"},"StoreBusinessHourRangeBase":{"properties":{"start_minute":{"type":"integer","maximum":1440.0,"minimum":0.0,"title":"Start Minute"},"end_minute":{"type":"integer","maximum":2880.0,"minimum":0.0,"title":"End Minute"},"service_type":{"type":"string","enum":["store","dine_in","takeout","reservation"],"title":"Service Type","default":"store"},"last_order_minute":{"anyOf":[{"type":"integer","maximum":2880.0,"minimum":0.0},{"type":"null"}],"title":"Last Order Minute"}},"type":"object","required":["start_minute","end_minute"],"title":"StoreBusinessHourRangeBase"},"StoreBusinessHourRangeResponse":{"properties":{"start_minute":{"type":"integer","maximum":1440.0,"minimum":0.0,"title":"Start Minute"},"end_minute":{"type":"integer","maximum":2880.0,"minimum":0.0,"title":"End Minute"},"service_type":{"type":"string","enum":["store","dine_in","takeout","reservation"],"title":"Service Type","default":"store"},"last_order_minute":{"anyOf":[{"type":"integer","maximum":2880.0,"minimum":0.0},{"type":"null"}],"title":"Last Order Minute"},"id":{"type":"string","format":"uuid","title":"Id"},"rule_id":{"type":"string","format":"uuid","title":"Rule Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["start_minute","end_minute","id","rule_id","created_at","updated_at"],"title":"StoreBusinessHourRangeResponse"},"StoreBusinessHourRuleResponse":{"properties":{"rule_type":{"type":"string","enum":["weekly","nth_weekday","monthly_dates","holiday"],"title":"Rule Type"},"weekday":{"anyOf":[{"type":"integer","maximum":6.0,"minimum":0.0},{"type":"null"}],"title":"Weekday"},"nth":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Nth"},"month_day":{"anyOf":[{"type":"integer","maximum":31.0,"minimum":1.0},{"type":"null"}],"title":"Month Day"},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"priority":{"type":"integer","title":"Priority","default":100},"effective_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective From"},"effective_until":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective Until"},"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"ranges":{"items":{"$ref":"#/components/schemas/StoreBusinessHourRangeResponse"},"type":"array","title":"Ranges"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["rule_type","id","store_id","created_at","updated_at"],"title":"StoreBusinessHourRuleResponse"},"StoreBusinessHourRuleUpsert":{"properties":{"rule_type":{"type":"string","enum":["weekly","nth_weekday","monthly_dates","holiday"],"title":"Rule Type"},"weekday":{"anyOf":[{"type":"integer","maximum":6.0,"minimum":0.0},{"type":"null"}],"title":"Weekday"},"nth":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Nth"},"month_day":{"anyOf":[{"type":"integer","maximum":31.0,"minimum":1.0},{"type":"null"}],"title":"Month Day"},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"priority":{"type":"integer","title":"Priority","default":100},"effective_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective From"},"effective_until":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective Until"},"ranges":{"items":{"$ref":"#/components/schemas/StoreBusinessHourRangeBase"},"type":"array","maxItems":16,"title":"Ranges"}},"type":"object","required":["rule_type"],"title":"StoreBusinessHourRuleUpsert"},"StoreBusinessHoursProfileBase":{"properties":{"timezone":{"type":"string","maxLength":64,"title":"Timezone","default":"Asia/Tokyo"},"enabled":{"type":"boolean","title":"Enabled","default":false},"display_note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Display Note"},"temporary_status":{"type":"string","enum":["normal","open_override","closed_override","hours_override","paused"],"title":"Temporary Status","default":"normal"},"temporary_status_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Temporary Status Until"},"temporary_status_note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Temporary Status Note"}},"type":"object","title":"StoreBusinessHoursProfileBase"},"StoreBusinessHoursProfileResponse":{"properties":{"timezone":{"type":"string","maxLength":64,"title":"Timezone","default":"Asia/Tokyo"},"enabled":{"type":"boolean","title":"Enabled","default":false},"display_note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Display Note"},"temporary_status":{"type":"string","enum":["normal","open_override","closed_override","hours_override","paused"],"title":"Temporary Status","default":"normal"},"temporary_status_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Temporary Status Until"},"temporary_status_note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Temporary Status Note"},"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","created_at","updated_at"],"title":"StoreBusinessHoursProfileResponse"},"StoreBusinessHoursResponse":{"properties":{"profile":{"$ref":"#/components/schemas/StoreBusinessHoursProfileResponse"},"rules":{"items":{"$ref":"#/components/schemas/StoreBusinessHourRuleResponse"},"type":"array","title":"Rules"},"exceptions":{"items":{"$ref":"#/components/schemas/StoreBusinessHourExceptionResponse"},"type":"array","title":"Exceptions"}},"type":"object","required":["profile"],"title":"StoreBusinessHoursResponse"},"StoreBusinessHoursUpdate":{"properties":{"profile":{"$ref":"#/components/schemas/StoreBusinessHoursProfileBase"},"rules":{"items":{"$ref":"#/components/schemas/StoreBusinessHourRuleUpsert"},"type":"array","maxItems":120,"title":"Rules"},"exceptions":{"items":{"$ref":"#/components/schemas/StoreBusinessHourExceptionBase"},"type":"array","maxItems":240,"title":"Exceptions"}},"type":"object","title":"StoreBusinessHoursUpdate"},"StoreCategoryAssignmentResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"category_id":{"type":"string","format":"uuid","title":"Category Id"},"role":{"type":"string","title":"Role"},"source":{"type":"string","title":"Source"},"approved_by_admin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Approved By Admin Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"category":{"anyOf":[{"$ref":"#/components/schemas/StoreCategoryResponse"},{"type":"null"}]}},"type":"object","required":["id","store_id","category_id","role","source","approved_by_admin_id","created_at","updated_at"],"title":"StoreCategoryAssignmentResponse"},"StoreCategoryCreate":{"properties":{"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id"},"code":{"type":"string","maxLength":120,"minLength":1,"pattern":"^[a-z0-9][a-z0-9._-]*$","title":"Code"},"display_name":{"type":"string","maxLength":120,"minLength":1,"title":"Display Name"},"legacy_category":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Legacy Category"},"search_group":{"type":"string","maxLength":80,"minLength":1,"title":"Search Group"},"card_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Card Label"},"icon_key":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Icon Key"},"level":{"type":"integer","maximum":3.0,"minimum":1.0,"title":"Level","default":1},"status":{"type":"string","enum":["active","deprecated","hidden"],"title":"Status","default":"active"},"sort_order":{"type":"integer","minimum":0.0,"title":"Sort Order","default":0},"available_for_application":{"type":"boolean","title":"Available For Application","default":true},"default_map_listing":{"type":"boolean","title":"Default Map Listing","default":true},"default_search_listing":{"type":"boolean","title":"Default Search Listing","default":true},"default_lp_access":{"type":"string","enum":["public","direct_link","none"],"title":"Default Lp Access","default":"public"},"default_payment_capability":{"type":"string","enum":["enabled","review_required","disabled","suspended"],"title":"Default Payment Capability","default":"enabled"},"review_requirement":{"type":"string","enum":["standard","enhanced","prohibited"],"title":"Review Requirement","default":"standard"},"minimum_age":{"anyOf":[{"type":"integer","maximum":120.0,"minimum":0.0},{"type":"null"}],"title":"Minimum Age"}},"additionalProperties":false,"type":"object","required":["code","display_name","search_group"],"title":"StoreCategoryCreate"},"StoreCategoryResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id"},"replacement_category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Replacement Category Id"},"code":{"type":"string","title":"Code"},"display_name":{"type":"string","title":"Display Name"},"legacy_category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legacy Category"},"search_group":{"type":"string","title":"Search Group"},"card_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Label"},"icon_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Key"},"level":{"type":"integer","title":"Level"},"status":{"type":"string","title":"Status"},"sort_order":{"type":"integer","title":"Sort Order"},"available_for_application":{"type":"boolean","title":"Available For Application"},"default_map_listing":{"type":"boolean","title":"Default Map Listing"},"default_search_listing":{"type":"boolean","title":"Default Search Listing"},"default_lp_access":{"type":"string","title":"Default Lp Access"},"default_payment_capability":{"type":"string","title":"Default Payment Capability"},"review_requirement":{"type":"string","title":"Review Requirement"},"minimum_age":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Minimum Age"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","parent_id","replacement_category_id","code","display_name","legacy_category","search_group","card_label","icon_key","level","status","sort_order","available_for_application","default_map_listing","default_search_listing","default_lp_access","default_payment_capability","review_requirement","minimum_age","created_at","updated_at"],"title":"StoreCategoryResponse"},"StoreCategoryUpdate":{"properties":{"parent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Id"},"replacement_category_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Replacement Category Id"},"display_name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Display Name"},"legacy_category":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Legacy Category"},"search_group":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Search Group"},"card_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Card Label"},"icon_key":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Icon Key"},"level":{"anyOf":[{"type":"integer","maximum":3.0,"minimum":1.0},{"type":"null"}],"title":"Level"},"status":{"anyOf":[{"type":"string","enum":["active","deprecated","hidden"]},{"type":"null"}],"title":"Status"},"sort_order":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Sort Order"},"available_for_application":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Available For Application"},"default_map_listing":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Default Map Listing"},"default_search_listing":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Default Search Listing"},"default_lp_access":{"anyOf":[{"type":"string","enum":["public","direct_link","none"]},{"type":"null"}],"title":"Default Lp Access"},"default_payment_capability":{"anyOf":[{"type":"string","enum":["enabled","review_required","disabled","suspended"]},{"type":"null"}],"title":"Default Payment Capability"},"review_requirement":{"anyOf":[{"type":"string","enum":["standard","enhanced","prohibited"]},{"type":"null"}],"title":"Review Requirement"},"minimum_age":{"anyOf":[{"type":"integer","maximum":120.0,"minimum":0.0},{"type":"null"}],"title":"Minimum Age"}},"additionalProperties":false,"type":"object","title":"StoreCategoryUpdate"},"StoreChatCustomerSummary":{"properties":{"id":{"type":"string","title":"Id"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"primary_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Email"}},"type":"object","required":["id"],"title":"StoreChatCustomerSummary"},"StoreChatMessageCreate":{"properties":{"body":{"type":"string","maxLength":1000,"minLength":1,"title":"Body"}},"type":"object","required":["body"],"title":"StoreChatMessageCreate"},"StoreChatMessageResponse":{"properties":{"id":{"type":"string","title":"Id"},"thread_id":{"type":"string","title":"Thread Id"},"sender_type":{"type":"string","enum":["customer","store_staff"],"title":"Sender Type"},"sender_customer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sender Customer Id"},"sender_staff_member_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sender Staff Member Id"},"body":{"type":"string","title":"Body"},"created_at":{"type":"string","title":"Created At"},"read_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Read At"}},"type":"object","required":["id","thread_id","sender_type","body","created_at"],"title":"StoreChatMessageResponse"},"StoreChatStatusUpdate":{"properties":{"status":{"type":"string","enum":["open","closed"],"title":"Status"}},"type":"object","required":["status"],"title":"StoreChatStatusUpdate"},"StoreChatStoreSummary":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","slug","name"],"title":"StoreChatStoreSummary"},"StoreChatSupportAccessRequest":{"properties":{"purpose":{"type":"string","enum":["support_request","fraud_investigation","abuse_report","legal_request"],"title":"Purpose"},"case_reference":{"type":"string","maxLength":200,"minLength":3,"title":"Case Reference"},"reason":{"type":"string","maxLength":1000,"minLength":10,"title":"Reason"}},"type":"object","required":["purpose","case_reference","reason"],"title":"StoreChatSupportAccessRequest"},"StoreChatThreadDetailResponse":{"properties":{"thread":{"$ref":"#/components/schemas/StoreChatThreadResponse"},"messages":{"items":{"$ref":"#/components/schemas/StoreChatMessageResponse"},"type":"array","title":"Messages"}},"type":"object","required":["thread"],"title":"StoreChatThreadDetailResponse"},"StoreChatThreadResponse":{"properties":{"id":{"type":"string","title":"Id"},"store_id":{"type":"string","title":"Store Id"},"customer_id":{"type":"string","title":"Customer Id"},"customer":{"anyOf":[{"$ref":"#/components/schemas/StoreChatCustomerSummary"},{"type":"null"}]},"store":{"anyOf":[{"$ref":"#/components/schemas/StoreChatStoreSummary"},{"type":"null"}]},"status":{"type":"string","enum":["open","closed"],"title":"Status"},"last_message_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Message At"},"last_message_preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Message Preview"},"customer_unread_count":{"type":"integer","title":"Customer Unread Count"},"store_unread_count":{"type":"integer","title":"Store Unread Count"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","store_id","customer_id","status","customer_unread_count","store_unread_count","created_at","updated_at"],"title":"StoreChatThreadResponse"},"StoreClassificationUpdate":{"properties":{"primary_category_id":{"type":"string","format":"uuid","title":"Primary Category Id"},"secondary_category_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":3,"title":"Secondary Category Ids"},"store_kind":{"anyOf":[{"type":"string","enum":["full","payment_only"]},{"type":"null"}],"title":"Store Kind"}},"additionalProperties":false,"type":"object","required":["primary_category_id"],"title":"StoreClassificationUpdate"},"StoreCommercialTransactionDisclosureResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"store_name":{"type":"string","title":"Store Name"},"legal_business_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Business Name"},"representative_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Representative Name"},"sales_responsible_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sales Responsible Name"},"contact_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Email"},"contact_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Phone"},"contact_phone_override":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Phone Override"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"address_override":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Override"},"contact_hours":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Hours"},"sales_price_notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sales Price Notice"},"additional_fees":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Additional Fees"},"payment_timing_and_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Timing And Method"},"delivery_timing":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Timing"},"cancellation_returns_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancellation Returns Policy"},"application_validity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Validity"},"alcohol_license_notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alcohol License Notice"},"complete":{"type":"boolean","title":"Complete"},"missing_fields":{"items":{"type":"string"},"type":"array","title":"Missing Fields"},"permanent_url":{"type":"string","title":"Permanent Url"},"confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Confirmed At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["store_id","store_slug","store_name","complete","permanent_url"],"title":"StoreCommercialTransactionDisclosureResponse"},"StoreCommercialTransactionDisclosureUpdate":{"properties":{"legal_business_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Legal Business Name"},"representative_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Representative Name"},"sales_responsible_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Sales Responsible Name"},"contact_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Contact Email"},"contact_phone_override":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Contact Phone Override"},"address_override":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Address Override"},"contact_hours":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Contact Hours"},"sales_price_notice":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Sales Price Notice"},"additional_fees":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Additional Fees"},"payment_timing_and_method":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Payment Timing And Method"},"delivery_timing":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Delivery Timing"},"cancellation_returns_policy":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Cancellation Returns Policy"},"application_validity":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Application Validity"},"alcohol_license_notice":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Alcohol License Notice"},"confirm_complete":{"type":"boolean","title":"Confirm Complete","default":false}},"type":"object","title":"StoreCommercialTransactionDisclosureUpdate"},"StoreCouponCreate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"coupon_type":{"type":"string","enum":["amount_off","percent_off","free_item","notice"],"title":"Coupon Type"},"discount_value":{"anyOf":[{"type":"integer","maximum":10000000.0,"minimum":0.0},{"type":"null"}],"title":"Discount Value"},"min_order_amount_jpy":{"anyOf":[{"type":"integer","maximum":10000000.0,"minimum":0.0},{"type":"null"}],"title":"Min Order Amount Jpy"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"usage_limit_total":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":1.0},{"type":"null"}],"title":"Usage Limit Total"},"usage_limit_per_customer":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":1.0},{"type":"null"}],"title":"Usage Limit Per Customer"},"terms":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Terms"},"status":{"type":"string","enum":["draft","public","private","expired","archived"],"title":"Status","default":"draft"}},"type":"object","required":["title","coupon_type"],"title":"StoreCouponCreate"},"StoreCouponResponse":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"coupon_type":{"type":"string","enum":["amount_off","percent_off","free_item","notice"],"title":"Coupon Type"},"discount_value":{"anyOf":[{"type":"integer","maximum":10000000.0,"minimum":0.0},{"type":"null"}],"title":"Discount Value"},"min_order_amount_jpy":{"anyOf":[{"type":"integer","maximum":10000000.0,"minimum":0.0},{"type":"null"}],"title":"Min Order Amount Jpy"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"usage_limit_total":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":1.0},{"type":"null"}],"title":"Usage Limit Total"},"usage_limit_per_customer":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":1.0},{"type":"null"}],"title":"Usage Limit Per Customer"},"terms":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Terms"},"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"status":{"type":"string","enum":["draft","public","private","expired","archived"],"title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["title","coupon_type","id","store_id","status","created_at","updated_at"],"title":"StoreCouponResponse"},"StoreCouponUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"coupon_type":{"anyOf":[{"type":"string","enum":["amount_off","percent_off","free_item","notice"]},{"type":"null"}],"title":"Coupon Type"},"discount_value":{"anyOf":[{"type":"integer","maximum":10000000.0,"minimum":0.0},{"type":"null"}],"title":"Discount Value"},"min_order_amount_jpy":{"anyOf":[{"type":"integer","maximum":10000000.0,"minimum":0.0},{"type":"null"}],"title":"Min Order Amount Jpy"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"usage_limit_total":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":1.0},{"type":"null"}],"title":"Usage Limit Total"},"usage_limit_per_customer":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":1.0},{"type":"null"}],"title":"Usage Limit Per Customer"},"terms":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Terms"},"status":{"anyOf":[{"type":"string","enum":["draft","public","private","expired","archived"]},{"type":"null"}],"title":"Status"}},"type":"object","title":"StoreCouponUpdate"},"StoreCreate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"slug":{"type":"string","maxLength":120,"minLength":1,"title":"Slug"},"store_kind":{"type":"string","enum":["full","payment_only"],"title":"Store Kind","default":"full"},"category":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Category"},"status":{"type":"string","enum":["draft","published","suspended"],"title":"Status","default":"draft"},"store_operation_type":{"anyOf":[{"type":"string","enum":["fixed","mobile","event","online"]},{"type":"null"}],"title":"Store Operation Type","default":"fixed"},"store_publication_mode":{"anyOf":[{"type":"string","enum":["always","scheduled","manual"]},{"type":"null"}],"title":"Store Publication Mode","default":"always"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"postal_code":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Postal Code"},"prefecture_code":{"anyOf":[{"type":"string","maxLength":2},{"type":"null"}],"title":"Prefecture Code"},"prefecture":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Prefecture"},"city_code":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"City Code"},"city":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"City"},"ward":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Ward"},"area_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Area Label"},"address_line1":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Address Line2"},"latitude":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Longitude"}},"type":"object","required":["name","slug"],"title":"StoreCreate"},"StoreCreditFeeItem":{"properties":{"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Payment Intent Id"},"order_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Order Id"},"checkout_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Checkout Session Id"},"amount_jpy":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Amount Jpy"},"consumed_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Consumed Credits"},"fee_basis_points":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fee Basis Points"},"minimum_fee_credits":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Minimum Fee Credits"},"calculation_basis":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calculation Basis"},"payment_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Source"},"metadata_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata Json"}},"type":"object","required":["occurred_at","payment_intent_id","order_id","checkout_session_id","amount_jpy","consumed_credits","fee_basis_points","minimum_fee_credits","calculation_basis","payment_source"],"title":"StoreCreditFeeItem","description":"決済 1 件ごとの Credits 消費明細。"},"StoreCreditFeeSummary":{"properties":{"today_consumed_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Today Consumed Credits"},"month_consumed_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Month Consumed Credits"},"period_consumed_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Period Consumed Credits"},"today_count":{"type":"integer","title":"Today Count"},"month_count":{"type":"integer","title":"Month Count"},"period_count":{"type":"integer","title":"Period Count"},"billing_mode":{"type":"string","title":"Billing Mode"},"is_enterprise":{"type":"boolean","title":"Is Enterprise"},"currency_basis":{"type":"string","title":"Currency Basis"}},"type":"object","required":["today_consumed_credits","month_consumed_credits","period_consumed_credits","today_count","month_count","period_count","billing_mode","is_enterprise","currency_basis"],"title":"StoreCreditFeeSummary"},"StoreCreditFeesResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"period_start":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Period Start"},"period_end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Period End"},"summary":{"$ref":"#/components/schemas/StoreCreditFeeSummary"},"items":{"items":{"$ref":"#/components/schemas/StoreCreditFeeItem"},"type":"array","title":"Items"},"enterprise_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Enterprise Message"},"refund_note":{"type":"string","title":"Refund Note"}},"type":"object","required":["store_id","period_start","period_end","summary","refund_note"],"title":"StoreCreditFeesResponse"},"StoreDiscoveryItem":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"follower_count":{"type":"integer","title":"Follower Count"},"active_coupon_count":{"type":"integer","title":"Active Coupon Count"},"public_video_count":{"type":"integer","title":"Public Video Count"},"article_count":{"type":"integer","title":"Article Count"},"recent_payment_count":{"type":"integer","title":"Recent Payment Count"},"discovery_score":{"type":"integer","title":"Discovery Score"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"review_count":{"type":"integer","title":"Review Count","default":0},"review_average":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Review Average"},"is_new_store":{"type":"boolean","title":"Is New Store","default":false},"visibility_scope":{"type":"string","enum":["public","test"],"title":"Visibility Scope","default":"public"}},"type":"object","required":["store_id","name","slug","follower_count","active_coupon_count","public_video_count","article_count","recent_payment_count","discovery_score","updated_at"],"title":"StoreDiscoveryItem"},"StoreDiscoverySearchItem":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"follower_count":{"type":"integer","title":"Follower Count"},"active_coupon_count":{"type":"integer","title":"Active Coupon Count"},"public_video_count":{"type":"integer","title":"Public Video Count"},"article_count":{"type":"integer","title":"Article Count"},"recent_payment_count":{"type":"integer","title":"Recent Payment Count"},"discovery_score":{"type":"integer","title":"Discovery Score"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"review_count":{"type":"integer","title":"Review Count","default":0},"review_average":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Review Average"},"is_new_store":{"type":"boolean","title":"Is New Store","default":false},"visibility_scope":{"type":"string","enum":["public","test"],"title":"Visibility Scope","default":"public"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"category_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category Label"},"industry":{"type":"string","title":"Industry","default":"other"},"operation_type":{"type":"string","title":"Operation Type","default":"fixed"},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Longitude"},"kind":{"type":"string","enum":["store","appearance"],"title":"Kind","default":"store"},"appearance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Appearance Id"},"parent_store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Store Name"},"appearance_effective_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appearance Effective State"},"appearance_starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Appearance Starts At"},"appearance_ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Appearance Ends At"},"appearance_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appearance Title"},"appearance_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appearance Image Url"},"location_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Name"},"distance_m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Distance M"},"is_open_now":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Open Now"},"open_status":{"type":"string","title":"Open Status","default":"unknown"},"today_business_hours":{"items":{"type":"string"},"type":"array","title":"Today Business Hours"},"today_business_hours_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Today Business Hours Label"},"second_store_status_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Second Store Status Label"},"next_special_day_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Special Day Label"},"accepts_jpyc":{"type":"boolean","title":"Accepts Jpyc"},"accepts_usdc":{"type":"boolean","title":"Accepts Usdc"},"accepts_usdt":{"type":"boolean","title":"Accepts Usdt"},"accepts_onsite_qr":{"type":"boolean","title":"Accepts Onsite Qr"}},"type":"object","required":["store_id","name","slug","follower_count","active_coupon_count","public_video_count","article_count","recent_payment_count","discovery_score","updated_at","is_open_now","accepts_jpyc","accepts_usdc","accepts_usdt","accepts_onsite_qr"],"title":"StoreDiscoverySearchItem"},"StoreEligiblePayment":{"properties":{"source_type":{"type":"string","const":"order","title":"Source Type","default":"order"},"source_id":{"type":"string","format":"uuid","title":"Source Id"},"display_number":{"type":"string","title":"Display Number"},"order_type_label":{"type":"string","title":"Order Type Label"},"customer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Name"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"refundable_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Refundable Jpy"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["source_id","display_number","order_type_label","total_jpy","refundable_jpy","created_at"],"title":"StoreEligiblePayment","description":"返金対象に選べる支払い済みの会計1件(店舗責任者向け要約)。"},"StoreEligiblePaymentsResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"items":{"items":{"$ref":"#/components/schemas/StoreEligiblePayment"},"type":"array","title":"Items"}},"type":"object","required":["store_id","items"],"title":"StoreEligiblePaymentsResponse"},"StoreEventMapCreate":{"properties":{"event_map_id":{"type":"string","maxLength":120,"minLength":1,"title":"Event Map Id"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"public_slug":{"anyOf":[{"type":"string","maxLength":80,"minLength":3,"pattern":"^[a-z0-9][a-z0-9-]{1,78}[a-z0-9]$"},{"type":"null"}],"title":"Public Slug"},"is_public":{"type":"boolean","title":"Is Public","default":false},"public_title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Public Title"},"public_description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Public Description"},"image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Url"},"image_file_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Image File Key"},"width":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Height"},"flattened_image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Flattened Image Url"},"flattened_image_file_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Flattened Image File Key"},"flattened_generated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Flattened Generated At"}},"type":"object","required":["event_map_id","name"],"title":"StoreEventMapCreate"},"StoreEventMapFlattenProcessResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StoreEventMapFlattenResponse"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"StoreEventMapFlattenProcessResponse"},"StoreEventMapFlattenResponse":{"properties":{"flattened_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flattened Image Url"},"flattened_image_file_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flattened Image File Key"},"flattened_generated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Flattened Generated At"},"flatten_status":{"anyOf":[{"type":"string","enum":["clean","pending","processing","failed"]},{"type":"string"}],"title":"Flatten Status","default":"pending"},"flatten_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flatten Error"},"flatten_version":{"type":"integer","title":"Flatten Version","default":0},"skipped_layers":{"items":{"type":"string"},"type":"array","title":"Skipped Layers"},"warnings":{"items":{"type":"string"},"type":"array","title":"Warnings"},"warning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warning"}},"type":"object","title":"StoreEventMapFlattenResponse"},"StoreEventMapLayerCreate":{"properties":{"layer_type":{"type":"string","enum":["background","roads","booths","stages","parking","toilets","sponsor","custom"],"title":"Layer Type","default":"custom"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Url"},"image_file_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Image File Key"},"width":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Height"},"opacity":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Opacity","default":1.0},"visible":{"type":"boolean","title":"Visible","default":true},"sort_order":{"type":"integer","maximum":999.0,"minimum":0.0,"title":"Sort Order","default":0}},"type":"object","required":["name"],"title":"StoreEventMapLayerCreate"},"StoreEventMapLayerResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"event_map_record_id":{"type":"string","format":"uuid","title":"Event Map Record Id"},"layer_type":{"type":"string","title":"Layer Type"},"name":{"type":"string","title":"Name"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"image_file_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image File Key"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"opacity":{"type":"number","title":"Opacity"},"visible":{"type":"boolean","title":"Visible"},"sort_order":{"type":"integer","title":"Sort Order"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","event_map_record_id","layer_type","name","opacity","visible","sort_order","created_at","updated_at"],"title":"StoreEventMapLayerResponse"},"StoreEventMapLayerUpdate":{"properties":{"layer_type":{"anyOf":[{"type":"string","enum":["background","roads","booths","stages","parking","toilets","sponsor","custom"]},{"type":"null"}],"title":"Layer Type"},"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Url"},"image_file_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Image File Key"},"width":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Height"},"opacity":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Opacity"},"visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Visible"},"sort_order":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":0.0},{"type":"null"}],"title":"Sort Order"}},"type":"object","title":"StoreEventMapLayerUpdate"},"StoreEventMapLayersResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StoreEventMapLayerResponse"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"StoreEventMapLayersResponse"},"StoreEventMapPinCreate":{"properties":{"appearance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Appearance Id"},"pin_type":{"type":"string","enum":["store","pr","stage","parking","toilet","entrance","info","custom"],"title":"Pin Type","default":"custom"},"label":{"type":"string","maxLength":200,"minLength":1,"title":"Label"},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Icon"},"x":{"type":"number","maximum":100.0,"minimum":0.0,"title":"X"},"y":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Y"},"priority":{"type":"integer","maximum":999.0,"minimum":0.0,"title":"Priority","default":0},"label_visible":{"type":"boolean","title":"Label Visible","default":false},"visible":{"type":"boolean","title":"Visible","default":true},"active":{"type":"boolean","title":"Active","default":true}},"type":"object","required":["label","x","y"],"title":"StoreEventMapPinCreate"},"StoreEventMapPinResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"event_map_record_id":{"type":"string","format":"uuid","title":"Event Map Record Id"},"appearance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Appearance Id"},"pin_type":{"type":"string","title":"Pin Type"},"label":{"type":"string","title":"Label"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"x":{"type":"number","title":"X"},"y":{"type":"number","title":"Y"},"priority":{"type":"integer","title":"Priority"},"label_visible":{"type":"boolean","title":"Label Visible"},"visible":{"type":"boolean","title":"Visible"},"active":{"type":"boolean","title":"Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","event_map_record_id","pin_type","label","x","y","priority","label_visible","visible","active","created_at","updated_at"],"title":"StoreEventMapPinResponse"},"StoreEventMapPinUpdate":{"properties":{"appearance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Appearance Id"},"pin_type":{"anyOf":[{"type":"string","enum":["store","pr","stage","parking","toilet","entrance","info","custom"]},{"type":"null"}],"title":"Pin Type"},"label":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Label"},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Icon"},"x":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"X"},"y":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Y"},"priority":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":0.0},{"type":"null"}],"title":"Priority"},"label_visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Label Visible"},"visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Visible"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"}},"type":"object","title":"StoreEventMapPinUpdate"},"StoreEventMapPinsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StoreEventMapPinResponse"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"StoreEventMapPinsResponse"},"StoreEventMapResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Store Id"},"event_map_id":{"type":"string","title":"Event Map Id"},"name":{"type":"string","title":"Name"},"public_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Slug"},"is_public":{"type":"boolean","title":"Is Public","default":false},"public_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Title"},"public_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Description"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"unpublished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Unpublished At"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"image_file_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image File Key"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"flattened_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flattened Image Url"},"flattened_image_file_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flattened Image File Key"},"flattened_generated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Flattened Generated At"},"flatten_status":{"anyOf":[{"type":"string","enum":["clean","pending","processing","failed"]},{"type":"string"}],"title":"Flatten Status","default":"pending"},"flatten_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Flatten Error"},"flatten_requested_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Flatten Requested At"},"flatten_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Flatten Started At"},"flatten_version":{"type":"integer","title":"Flatten Version","default":0},"flatten_retry_count":{"type":"integer","title":"Flatten Retry Count","default":0},"flatten_next_retry_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Flatten Next Retry At"},"layers":{"items":{"$ref":"#/components/schemas/StoreEventMapLayerResponse"},"type":"array","title":"Layers"},"pins":{"items":{"$ref":"#/components/schemas/StoreEventMapPinResponse"},"type":"array","title":"Pins"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","event_map_id","name","created_at","updated_at"],"title":"StoreEventMapResponse"},"StoreEventMapUpdate":{"properties":{"event_map_id":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Event Map Id"},"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"public_slug":{"anyOf":[{"type":"string","maxLength":80,"minLength":3,"pattern":"^[a-z0-9][a-z0-9-]{1,78}[a-z0-9]$"},{"type":"null"}],"title":"Public Slug"},"is_public":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Public"},"public_title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Public Title"},"public_description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Public Description"},"image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Url"},"image_file_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Image File Key"},"width":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Height"},"flattened_image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Flattened Image Url"},"flattened_image_file_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Flattened Image File Key"},"flattened_generated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Flattened Generated At"}},"type":"object","title":"StoreEventMapUpdate"},"StoreEventMapsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StoreEventMapResponse"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"StoreEventMapsResponse"},"StoreFacilityCode":{"type":"string","enum":["all_seats_non_smoking","smoking_allowed","smoking_room","wifi","power_outlet","parking","private_room","barrier_free"]},"StoreFollowRequest":{"properties":{"wallet_address":{"anyOf":[{"type":"string","maxLength":42},{"type":"null"}],"title":"Wallet Address"}},"type":"object","title":"StoreFollowRequest"},"StoreFollowResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"follower_count":{"type":"integer","title":"Follower Count"},"following":{"type":"boolean","title":"Following"},"notification_enabled":{"type":"boolean","title":"Notification Enabled","default":true},"appearance_notifications_enabled":{"type":"boolean","title":"Appearance Notifications Enabled","default":true},"post_notifications_enabled":{"type":"boolean","title":"Post Notifications Enabled","default":true}},"type":"object","required":["store_id","follower_count","following"],"title":"StoreFollowResponse"},"StoreFollowSettingsUpdate":{"properties":{"notification_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notification Enabled"},"appearance_notifications_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Appearance Notifications Enabled"},"post_notifications_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Post Notifications Enabled"}},"additionalProperties":false,"type":"object","title":"StoreFollowSettingsUpdate"},"StoreFollowerSummaryResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"follower_count":{"type":"integer","title":"Follower Count"},"active_count":{"type":"integer","title":"Active Count"},"unfollowed_count":{"type":"integer","title":"Unfollowed Count"}},"type":"object","required":["store_id","follower_count","active_count","unfollowed_count"],"title":"StoreFollowerSummaryResponse"},"StoreJoinApproval":{"properties":{"role":{"anyOf":[{"type":"string","enum":["owner","manager","staff","cashier","kitchen","ready_staff","viewer"]},{"type":"null"}],"title":"Role"}},"type":"object","title":"StoreJoinApproval"},"StoreJoinCodeResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"type":"string","title":"Store Name"},"join_code":{"type":"string","title":"Join Code"},"join_code_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Join Code Updated At"}},"type":"object","required":["store_id","store_name","join_code"],"title":"StoreJoinCodeResponse"},"StoreListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StoreResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"}},"type":"object","required":["items","total","limit","offset"],"title":"StoreListResponse"},"StoreLocationPresetCreate":{"properties":{"internal_label":{"type":"string","maxLength":120,"minLength":1,"title":"Internal Label"},"public_name":{"type":"string","maxLength":200,"minLength":1,"title":"Public Name"},"postal_code":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Postal Code"},"prefecture_code":{"anyOf":[{"type":"string","maxLength":2},{"type":"null"}],"title":"Prefecture Code"},"prefecture":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Prefecture"},"city_code":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"City Code"},"city":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"City"},"ward":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Ward"},"area_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Area Label"},"address_line1":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Address Line2"},"latitude":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Longitude"},"landmark":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Landmark"},"map_url":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Map Url"},"image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Url"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"},"sort_order":{"type":"integer","minimum":0.0,"title":"Sort Order","default":0},"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","required":["internal_label","public_name"],"title":"StoreLocationPresetCreate"},"StoreLocationPresetResponse":{"properties":{"internal_label":{"type":"string","maxLength":120,"minLength":1,"title":"Internal Label"},"public_name":{"type":"string","maxLength":200,"minLength":1,"title":"Public Name"},"postal_code":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Postal Code"},"prefecture_code":{"anyOf":[{"type":"string","maxLength":2},{"type":"null"}],"title":"Prefecture Code"},"prefecture":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Prefecture"},"city_code":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"City Code"},"city":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"City"},"ward":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Ward"},"area_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Area Label"},"address_line1":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Address Line2"},"latitude":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Longitude"},"landmark":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Landmark"},"map_url":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Map Url"},"image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Url"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"},"sort_order":{"type":"integer","minimum":0.0,"title":"Sort Order","default":0},"is_active":{"type":"boolean","title":"Is Active","default":true},"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"}},"type":"object","required":["internal_label","public_name","id","store_id","created_at","updated_at"],"title":"StoreLocationPresetResponse"},"StoreLocationPresetUpdate":{"properties":{"internal_label":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Internal Label"},"public_name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Public Name"},"postal_code":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Postal Code"},"prefecture_code":{"anyOf":[{"type":"string","maxLength":2},{"type":"null"}],"title":"Prefecture Code"},"prefecture":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Prefecture"},"city_code":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"City Code"},"city":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"City"},"ward":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Ward"},"area_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Area Label"},"address_line1":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Address Line2"},"latitude":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Longitude"},"landmark":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Landmark"},"map_url":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Map Url"},"image_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Image Url"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"},"sort_order":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Sort Order"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"StoreLocationPresetUpdate"},"StoreLpPageResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"type":"string","title":"Status"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"seo_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Title"},"seo_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seo Description"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","title","description","status","published_at","seo_title","seo_description","created_at","updated_at"],"title":"StoreLpPageResponse"},"StoreLpPageUpsert":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"seo_title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Seo Title"},"seo_description":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Seo Description"}},"type":"object","required":["title"],"title":"StoreLpPageUpsert"},"StoreMemberCreate":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"display_name":{"type":"string","maxLength":120,"minLength":1,"title":"Display Name"},"role":{"type":"string","enum":["owner","manager","staff","cashier","kitchen","ready_staff","viewer"],"title":"Role"}},"type":"object","required":["email","display_name","role"],"title":"StoreMemberCreate"},"StoreMemberResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"email":{"type":"string","format":"email","title":"Email"},"display_name":{"type":"string","title":"Display Name"},"role":{"type":"string","title":"Role"},"status":{"type":"string","title":"Status"},"pos_pin_set_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Pos Pin Set At"},"invite_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invite Path"},"invite_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invite Token"},"invite_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invite Expires At"},"invite_email_last_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invite Email Last Sent At"},"invite_email_last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invite Email Last Error"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"pos_pin_set":{"type":"boolean","title":"Pos Pin Set","readOnly":true}},"type":"object","required":["id","store_id","email","display_name","role","status","created_at","updated_at","pos_pin_set"],"title":"StoreMemberResponse"},"StoreMemberUpdate":{"properties":{"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email"},"display_name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Display Name"},"role":{"anyOf":[{"type":"string","enum":["owner","manager","staff","cashier","kitchen","ready_staff","viewer"]},{"type":"null"}],"title":"Role"},"status":{"anyOf":[{"type":"string","enum":["pending","invited","active","suspended","canceled"]},{"type":"null"}],"title":"Status"}},"type":"object","title":"StoreMemberUpdate"},"StoreMembershipIdentityStateResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"role":{"type":"string","title":"Role"},"status":{"type":"string","title":"Status"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"}},"type":"object","required":["id","store_id","role","status","deleted_at"],"title":"StoreMembershipIdentityStateResponse"},"StoreMobileOrderSettingsResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"is_public":{"type":"boolean","title":"Is Public"},"accepting_orders":{"type":"boolean","title":"Accepting Orders"},"business_hours_mode":{"type":"string","title":"Business Hours Mode"},"timezone":{"type":"string","title":"Timezone"},"business_hours_enabled":{"type":"boolean","title":"Business Hours Enabled"},"weekly_hours_json":{"anyOf":[{"additionalProperties":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Weekly Hours Json"},"manual_open_override":{"type":"boolean","title":"Manual Open Override"},"manual_close_override":{"type":"boolean","title":"Manual Close Override"},"auto_stop_enabled":{"type":"boolean","title":"Auto Stop Enabled"},"participation_passcode_enabled":{"type":"boolean","title":"Participation Passcode Enabled"},"participation_passcode_digits":{"type":"integer","enum":[4,6],"title":"Participation Passcode Digits"},"participation_passcode_auto_issue":{"type":"boolean","title":"Participation Passcode Auto Issue"},"participation_guide_ticket_auto_print":{"type":"boolean","title":"Participation Guide Ticket Auto Print"},"order_notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Notice"},"payment_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Note"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","is_public","accepting_orders","business_hours_mode","timezone","business_hours_enabled","weekly_hours_json","manual_open_override","manual_close_override","auto_stop_enabled","participation_passcode_enabled","participation_passcode_digits","participation_passcode_auto_issue","participation_guide_ticket_auto_print","order_notice","payment_note","created_at","updated_at"],"title":"StoreMobileOrderSettingsResponse"},"StoreMobileOrderSettingsUpdate":{"properties":{"is_public":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Public"},"accepting_orders":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepting Orders"},"business_hours_mode":{"anyOf":[{"type":"string","enum":["store_hours","always_open","manual"]},{"type":"null"}],"title":"Business Hours Mode"},"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone"},"business_hours_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Business Hours Enabled"},"weekly_hours_json":{"anyOf":[{"additionalProperties":{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Weekly Hours Json"},"manual_open_override":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Manual Open Override"},"manual_close_override":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Manual Close Override"},"auto_stop_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Stop Enabled"},"participation_passcode_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Participation Passcode Enabled"},"participation_passcode_digits":{"anyOf":[{"type":"integer","enum":[4,6]},{"type":"null"}],"title":"Participation Passcode Digits"},"participation_passcode_auto_issue":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Participation Passcode Auto Issue"},"participation_guide_ticket_auto_print":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Participation Guide Ticket Auto Print"},"order_notice":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Order Notice"},"payment_note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Payment Note"}},"type":"object","title":"StoreMobileOrderSettingsUpdate"},"StoreOperatorAttachmentResponse":{"properties":{"id":{"type":"string","title":"Id"},"thread_id":{"type":"string","title":"Thread Id"},"message_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Id"},"store_id":{"type":"string","title":"Store Id"},"file_key":{"type":"string","title":"File Key"},"original_filename":{"type":"string","title":"Original Filename"},"mime_type":{"type":"string","title":"Mime Type"},"size_bytes":{"type":"integer","title":"Size Bytes"},"checksum":{"type":"string","title":"Checksum"},"scan_status":{"type":"string","enum":["pending","scanning","safe","rejected","infected","scan_failed"],"title":"Scan Status"},"scan_checked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scan Checked At"},"scan_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scan Error"},"scanned_by_admin_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scanned By Admin Id"},"storage_backend":{"type":"string","title":"Storage Backend"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","thread_id","store_id","file_key","original_filename","mime_type","size_bytes","checksum","scan_status","storage_backend","created_at","updated_at"],"title":"StoreOperatorAttachmentResponse"},"StoreOperatorInboxItem":{"properties":{"thread_id":{"type":"string","title":"Thread Id"},"store_id":{"type":"string","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"store_name":{"type":"string","title":"Store Name"},"status":{"type":"string","enum":["in_progress","responding","waiting","done"],"title":"Status"},"unread_count":{"type":"integer","title":"Unread Count"},"last_message_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Message At"},"last_message_preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Message Preview"},"updated_at":{"type":"string","title":"Updated At"},"attachment_count":{"type":"integer","title":"Attachment Count"},"pending_count":{"type":"integer","title":"Pending Count"},"scan_failed_count":{"type":"integer","title":"Scan Failed Count"},"infected_count":{"type":"integer","title":"Infected Count"},"rejected_count":{"type":"integer","title":"Rejected Count"},"needs_review_count":{"type":"integer","title":"Needs Review Count"},"action_required_count":{"type":"integer","title":"Action Required Count","default":0},"pending_scan_count":{"type":"integer","title":"Pending Scan Count","default":0},"ticket_action_count":{"type":"integer","title":"Ticket Action Count","default":0},"overdue_count":{"type":"integer","title":"Overdue Count","default":0},"action_required":{"type":"boolean","title":"Action Required","default":false},"action_reasons":{"items":{"type":"string"},"type":"array","title":"Action Reasons"},"overdue":{"type":"boolean","title":"Overdue","default":false},"due_in_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Due In Days"},"needs_file_review":{"type":"boolean","title":"Needs File Review","default":false},"latest_actor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Actor"},"latest_message_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Message At"}},"type":"object","required":["thread_id","store_id","store_slug","store_name","status","unread_count","updated_at","attachment_count","pending_count","scan_failed_count","infected_count","rejected_count","needs_review_count"],"title":"StoreOperatorInboxItem"},"StoreOperatorInboxResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StoreOperatorInboxItem"},"type":"array","title":"Items"}},"type":"object","title":"StoreOperatorInboxResponse"},"StoreOperatorMessageCreate":{"properties":{"body":{"type":"string","maxLength":4000,"title":"Body","default":""},"attachment_ids":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Attachment Ids"}},"type":"object","title":"StoreOperatorMessageCreate"},"StoreOperatorMessageResponse":{"properties":{"id":{"type":"string","title":"Id"},"thread_id":{"type":"string","title":"Thread Id"},"sender_type":{"type":"string","enum":["store_staff","soukai_admin"],"title":"Sender Type"},"sender_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sender Id"},"body":{"type":"string","title":"Body"},"message_type":{"type":"string","enum":["text","file","ticket_event","delivery_event","credit_event","system"],"title":"Message Type","default":"text"},"event_type":{"anyOf":[{"type":"string","enum":["attachment_uploaded","ticket_created","ticket_status_changed","delivery_added","revision_requested","credit_estimate_proposed","ticket_completed"]},{"type":"null"}],"title":"Event Type"},"metadata_json":{"additionalProperties":true,"type":"object","title":"Metadata Json"},"attachments":{"items":{"$ref":"#/components/schemas/StoreOperatorAttachmentResponse"},"type":"array","title":"Attachments"},"created_at":{"type":"string","title":"Created At"},"read_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Read At"}},"type":"object","required":["id","thread_id","sender_type","body","created_at"],"title":"StoreOperatorMessageResponse"},"StoreOperatorStatusUpdate":{"properties":{"status":{"type":"string","enum":["in_progress","responding","waiting","done"],"title":"Status"}},"type":"object","required":["status"],"title":"StoreOperatorStatusUpdate"},"StoreOperatorThreadDetailResponse":{"properties":{"thread":{"$ref":"#/components/schemas/StoreOperatorThreadResponse"},"messages":{"items":{"$ref":"#/components/schemas/StoreOperatorMessageResponse"},"type":"array","title":"Messages"},"pending_attachments":{"items":{"$ref":"#/components/schemas/StoreOperatorAttachmentResponse"},"type":"array","title":"Pending Attachments"}},"type":"object","required":["thread"],"title":"StoreOperatorThreadDetailResponse"},"StoreOperatorThreadResponse":{"properties":{"id":{"type":"string","title":"Id"},"store_id":{"type":"string","title":"Store Id"},"status":{"type":"string","enum":["in_progress","responding","waiting","done"],"title":"Status"},"last_message_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Message At"},"last_message_preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Message Preview"},"store_unread_count":{"type":"integer","title":"Store Unread Count"},"soukai_unread_count":{"type":"integer","title":"Soukai Unread Count"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","store_id","status","store_unread_count","soukai_unread_count","created_at","updated_at"],"title":"StoreOperatorThreadResponse"},"StoreOperatorTicketCreate":{"properties":{"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"description":{"type":"string","maxLength":4000,"minLength":1,"title":"Description"},"category":{"type":"string","enum":["video_edit","lp_update","menu_update","image_replace","product_photo","ad_creative","other"],"title":"Category","default":"other"},"priority":{"type":"string","enum":["low","normal","high","urgent"],"title":"Priority","default":"normal"},"message_ids":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Message Ids"},"attachment_ids":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Attachment Ids"}},"type":"object","required":["title","description"],"title":"StoreOperatorTicketCreate"},"StoreOperatorTicketCreditEstimateApprove":{"properties":{"approved":{"type":"boolean","title":"Approved","default":true}},"type":"object","title":"StoreOperatorTicketCreditEstimateApprove"},"StoreOperatorTicketCreditEstimateCreate":{"properties":{"estimated_credits":{"type":"integer","maximum":1000000.0,"minimum":0.0,"title":"Estimated Credits"},"reason":{"type":"string","maxLength":4000,"minLength":1,"title":"Reason"},"status":{"type":"string","enum":["draft","proposed"],"title":"Status","default":"draft"}},"type":"object","required":["estimated_credits","reason"],"title":"StoreOperatorTicketCreditEstimateCreate"},"StoreOperatorTicketCreditEstimateResponse":{"properties":{"id":{"type":"string","title":"Id"},"ticket_id":{"type":"string","title":"Ticket Id"},"store_id":{"type":"string","title":"Store Id"},"estimated_credits":{"type":"integer","title":"Estimated Credits"},"reason":{"type":"string","title":"Reason"},"status":{"type":"string","enum":["draft","proposed","approved","consumed","cancelled"],"title":"Status"},"created_by_admin_id":{"type":"string","title":"Created By Admin Id"},"approved_by_staff_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved By Staff Id"},"approved_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved At"},"consumed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consumed At"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["id","ticket_id","store_id","estimated_credits","reason","status","created_by_admin_id","created_at","updated_at"],"title":"StoreOperatorTicketCreditEstimateResponse"},"StoreOperatorTicketCreditEstimateUpdate":{"properties":{"estimated_credits":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":0.0},{"type":"null"}],"title":"Estimated Credits"},"reason":{"anyOf":[{"type":"string","maxLength":4000,"minLength":1},{"type":"null"}],"title":"Reason"},"status":{"anyOf":[{"type":"string","enum":["draft","proposed","cancelled"]},{"type":"null"}],"title":"Status"}},"type":"object","title":"StoreOperatorTicketCreditEstimateUpdate"},"StoreOperatorTicketDeliveryReview":{"properties":{"action":{"type":"string","enum":["approve","request_revision"],"title":"Action"},"comment":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Comment"}},"type":"object","required":["action"],"title":"StoreOperatorTicketDeliveryReview"},"StoreOperatorTicketDeliveryVersionResponse":{"properties":{"id":{"type":"string","title":"Id"},"ticket_id":{"type":"string","title":"Ticket Id"},"version_number":{"type":"integer","title":"Version Number"},"delivery_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Note"},"created_by_admin_id":{"type":"string","title":"Created By Admin Id"},"created_at":{"type":"string","title":"Created At"},"attachment_ids":{"items":{"type":"string"},"type":"array","title":"Attachment Ids"},"attachments":{"items":{"$ref":"#/components/schemas/StoreOperatorAttachmentResponse"},"type":"array","title":"Attachments"},"safe_count":{"type":"integer","title":"Safe Count","default":0}},"type":"object","required":["id","ticket_id","version_number","created_by_admin_id","created_at"],"title":"StoreOperatorTicketDeliveryVersionResponse"},"StoreOperatorTicketListItem":{"properties":{"id":{"type":"string","title":"Id"},"store_id":{"type":"string","title":"Store Id"},"thread_id":{"type":"string","title":"Thread Id"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"category":{"type":"string","enum":["video_edit","lp_update","menu_update","image_replace","product_photo","ad_creative","other"],"title":"Category"},"status":{"type":"string","enum":["open","assigned","in_progress","waiting_store","delivered","completed","closed"],"title":"Status"},"priority":{"type":"string","enum":["low","normal","high","urgent"],"title":"Priority"},"requested_by_staff_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested By Staff Id"},"assigned_admin_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned Admin Id"},"assigned_admin_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned Admin Name"},"due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due Date"},"delivered_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivered At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"closed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closed At"},"delivery_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Note"},"store_review_status":{"anyOf":[{"type":"string","enum":["approved","revision_requested"]},{"type":"null"}],"title":"Store Review Status"},"store_review_comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Review Comment"},"store_reviewed_by_staff_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Reviewed By Staff Id"},"store_reviewed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Reviewed At"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"message_ids":{"items":{"type":"string"},"type":"array","title":"Message Ids"},"attachment_ids":{"items":{"type":"string"},"type":"array","title":"Attachment Ids"},"delivery_attachment_ids":{"items":{"type":"string"},"type":"array","title":"Delivery Attachment Ids"},"delivery_attachments":{"items":{"$ref":"#/components/schemas/StoreOperatorAttachmentResponse"},"type":"array","title":"Delivery Attachments"},"attachment_count":{"type":"integer","title":"Attachment Count","default":0},"needs_review_count":{"type":"integer","title":"Needs Review Count","default":0},"delivery_attachment_count":{"type":"integer","title":"Delivery Attachment Count","default":0},"delivery_safe_count":{"type":"integer","title":"Delivery Safe Count","default":0},"delivery_versions":{"items":{"$ref":"#/components/schemas/StoreOperatorTicketDeliveryVersionResponse"},"type":"array","title":"Delivery Versions"},"latest_delivery_version_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Latest Delivery Version Number"},"action_required":{"type":"boolean","title":"Action Required","default":false},"action_reasons":{"items":{"type":"string"},"type":"array","title":"Action Reasons"},"overdue":{"type":"boolean","title":"Overdue","default":false},"due_in_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Due In Days"},"needs_file_review":{"type":"boolean","title":"Needs File Review","default":false},"latest_actor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Actor"},"latest_message_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Message At"},"credit_estimates":{"items":{"$ref":"#/components/schemas/StoreOperatorTicketCreditEstimateResponse"},"type":"array","title":"Credit Estimates"},"store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Name"},"store_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Slug"}},"type":"object","required":["id","store_id","thread_id","title","description","category","status","priority","created_at","updated_at"],"title":"StoreOperatorTicketListItem"},"StoreOperatorTicketListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StoreOperatorTicketListItem"},"type":"array","title":"Items"}},"type":"object","title":"StoreOperatorTicketListResponse"},"StoreOperatorTicketResponse":{"properties":{"id":{"type":"string","title":"Id"},"store_id":{"type":"string","title":"Store Id"},"thread_id":{"type":"string","title":"Thread Id"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"category":{"type":"string","enum":["video_edit","lp_update","menu_update","image_replace","product_photo","ad_creative","other"],"title":"Category"},"status":{"type":"string","enum":["open","assigned","in_progress","waiting_store","delivered","completed","closed"],"title":"Status"},"priority":{"type":"string","enum":["low","normal","high","urgent"],"title":"Priority"},"requested_by_staff_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested By Staff Id"},"assigned_admin_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned Admin Id"},"assigned_admin_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned Admin Name"},"due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due Date"},"delivered_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivered At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"closed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closed At"},"delivery_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Note"},"store_review_status":{"anyOf":[{"type":"string","enum":["approved","revision_requested"]},{"type":"null"}],"title":"Store Review Status"},"store_review_comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Review Comment"},"store_reviewed_by_staff_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Reviewed By Staff Id"},"store_reviewed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Reviewed At"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"message_ids":{"items":{"type":"string"},"type":"array","title":"Message Ids"},"attachment_ids":{"items":{"type":"string"},"type":"array","title":"Attachment Ids"},"delivery_attachment_ids":{"items":{"type":"string"},"type":"array","title":"Delivery Attachment Ids"},"delivery_attachments":{"items":{"$ref":"#/components/schemas/StoreOperatorAttachmentResponse"},"type":"array","title":"Delivery Attachments"},"attachment_count":{"type":"integer","title":"Attachment Count","default":0},"needs_review_count":{"type":"integer","title":"Needs Review Count","default":0},"delivery_attachment_count":{"type":"integer","title":"Delivery Attachment Count","default":0},"delivery_safe_count":{"type":"integer","title":"Delivery Safe Count","default":0},"delivery_versions":{"items":{"$ref":"#/components/schemas/StoreOperatorTicketDeliveryVersionResponse"},"type":"array","title":"Delivery Versions"},"latest_delivery_version_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Latest Delivery Version Number"},"action_required":{"type":"boolean","title":"Action Required","default":false},"action_reasons":{"items":{"type":"string"},"type":"array","title":"Action Reasons"},"overdue":{"type":"boolean","title":"Overdue","default":false},"due_in_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Due In Days"},"needs_file_review":{"type":"boolean","title":"Needs File Review","default":false},"latest_actor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Actor"},"latest_message_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Message At"},"credit_estimates":{"items":{"$ref":"#/components/schemas/StoreOperatorTicketCreditEstimateResponse"},"type":"array","title":"Credit Estimates"}},"type":"object","required":["id","store_id","thread_id","title","description","category","status","priority","created_at","updated_at"],"title":"StoreOperatorTicketResponse"},"StoreOperatorTicketUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":4000,"minLength":1},{"type":"null"}],"title":"Description"},"category":{"anyOf":[{"type":"string","enum":["video_edit","lp_update","menu_update","image_replace","product_photo","ad_creative","other"]},{"type":"null"}],"title":"Category"},"priority":{"anyOf":[{"type":"string","enum":["low","normal","high","urgent"]},{"type":"null"}],"title":"Priority"},"status":{"anyOf":[{"type":"string","enum":["open","assigned","in_progress","waiting_store","delivered","completed","closed"]},{"type":"null"}],"title":"Status"},"assigned_admin_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned Admin Id"},"due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due Date"},"delivered_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivered At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"closed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closed At"}},"type":"object","title":"StoreOperatorTicketUpdate"},"StoreParkingLot":{"properties":{"id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Description"},"spaces":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":0.0},{"type":"null"}],"title":"Spaces"},"addressGuide":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Addressguide"},"latitude":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Longitude"},"sortOrder":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":0.0},{"type":"null"}],"title":"Sortorder"},"isActive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isactive","default":true},"walkingMinutes":{"anyOf":[{"type":"integer","maximum":120.0,"minimum":0.0},{"type":"null"}],"title":"Walkingminutes"},"feeType":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Feetype"},"heightLimit":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Heightlimit"},"largeVehicleOk":{"type":"boolean","title":"Largevehicleok","default":false},"keiOnly":{"type":"boolean","title":"Keionly","default":false},"rainyDayRecommended":{"type":"boolean","title":"Rainydayrecommended","default":false},"mapUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Mapurl"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"type":"object","title":"StoreParkingLot"},"StorePaymentSettingsResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"requested_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Requested Store Id"},"effective_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Effective Store Id"},"inherited_from_parent":{"type":"boolean","title":"Inherited From Parent","default":false},"parent_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Store Id"},"parent_store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Store Name"},"effective_store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Effective Store Name"},"parent_unavailable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Unavailable Reason"},"payment_capability":{"anyOf":[{"type":"string","enum":["enabled","review_required","disabled","suspended"]},{"type":"null"}],"title":"Payment Capability"},"accepts_jpyc":{"type":"boolean","title":"Accepts Jpyc"},"active_wallet_address_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Active Wallet Address Id"},"payment_expires_in_seconds":{"type":"integer","title":"Payment Expires In Seconds"},"status":{"type":"string","title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["store_id","accepts_jpyc","active_wallet_address_id","payment_expires_in_seconds","status","created_at","updated_at"],"title":"StorePaymentSettingsResponse"},"StorePaymentSettingsUpdate":{"properties":{"accepts_jpyc":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepts Jpyc"},"active_wallet_address_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Active Wallet Address Id"},"payment_expires_in_seconds":{"anyOf":[{"type":"integer","maximum":86400.0,"minimum":60.0},{"type":"null"}],"title":"Payment Expires In Seconds"},"status":{"anyOf":[{"type":"string","enum":["active","disabled"]},{"type":"null"}],"title":"Status"}},"type":"object","title":"StorePaymentSettingsUpdate"},"StorePluginGrantInput":{"properties":{"plugin_key":{"type":"string","maxLength":80,"minLength":1,"title":"Plugin Key"},"status":{"type":"string","pattern":"^(granted|revoked)$","title":"Status"},"reason":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Reason"}},"type":"object","required":["plugin_key","status"],"title":"StorePluginGrantInput"},"StorePluginGrantResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"plugin_key":{"type":"string","title":"Plugin Key"},"granted_by_admin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Granted By Admin Id"},"status":{"type":"string","title":"Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"granted_at":{"type":"string","format":"date-time","title":"Granted At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","plugin_key","status","granted_at","created_at","updated_at"],"title":"StorePluginGrantResponse"},"StorePluginGrantsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StorePluginGrantResponse"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"StorePluginGrantsResponse"},"StorePluginGrantsUpdate":{"properties":{"grants":{"items":{"$ref":"#/components/schemas/StorePluginGrantInput"},"type":"array","maxItems":50,"title":"Grants"}},"type":"object","title":"StorePluginGrantsUpdate"},"StorePluginSettingInput":{"properties":{"plugin_key":{"type":"string","maxLength":80,"minLength":1,"title":"Plugin Key"},"enabled":{"type":"boolean","title":"Enabled"},"customer_visible":{"type":"boolean","title":"Customer Visible","default":false},"setup_status":{"type":"string","pattern":"^(not_started|incomplete|ready)$","title":"Setup Status","default":"not_started"},"source":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Source"},"sort_order":{"type":"integer","maximum":999.0,"minimum":0.0,"title":"Sort Order","default":0}},"type":"object","required":["plugin_key","enabled"],"title":"StorePluginSettingInput"},"StorePluginSettingResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"plugin_key":{"type":"string","title":"Plugin Key"},"enabled":{"type":"boolean","title":"Enabled"},"customer_visible":{"type":"boolean","title":"Customer Visible"},"setup_status":{"type":"string","title":"Setup Status"},"source":{"type":"string","title":"Source"},"sort_order":{"type":"integer","title":"Sort Order"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"unpublished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Unpublished At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","plugin_key","enabled","customer_visible","setup_status","source","sort_order","created_at","updated_at"],"title":"StorePluginSettingResponse"},"StorePluginSettingsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StorePluginSettingResponse"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"StorePluginSettingsResponse"},"StorePluginSettingsUpdate":{"properties":{"plugins":{"items":{"$ref":"#/components/schemas/StorePluginSettingInput"},"type":"array","maxItems":50,"title":"Plugins"}},"type":"object","title":"StorePluginSettingsUpdate"},"StorePublicProfileAmenities":{"properties":{"facilityCodes":{"items":{"$ref":"#/components/schemas/StoreFacilityCode"},"type":"array","maxItems":8,"title":"Facilitycodes"},"wifi":{"type":"boolean","title":"Wifi","default":false},"powerOutlet":{"type":"boolean","title":"Poweroutlet","default":false},"smokingPolicy":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Smokingpolicy"},"privateRoom":{"type":"boolean","title":"Privateroom","default":false},"counterSeat":{"type":"boolean","title":"Counterseat","default":false},"terrace":{"type":"boolean","title":"Terrace","default":false},"petFriendly":{"type":"boolean","title":"Petfriendly","default":false},"childFriendly":{"type":"boolean","title":"Childfriendly","default":false},"strollerFriendly":{"type":"boolean","title":"Strollerfriendly","default":false},"wheelchairAccessible":{"type":"boolean","title":"Wheelchairaccessible","default":false},"englishSupported":{"type":"boolean","title":"Englishsupported","default":false},"reservationAvailable":{"type":"boolean","title":"Reservationavailable","default":false},"takeoutAvailable":{"type":"boolean","title":"Takeoutavailable","default":false},"deliveryAvailable":{"type":"boolean","title":"Deliveryavailable","default":false},"privateParty":{"type":"boolean","title":"Privateparty","default":false},"allergyConsultation":{"type":"boolean","title":"Allergyconsultation","default":false},"birthdaySupport":{"type":"boolean","title":"Birthdaysupport","default":false},"surpriseSupport":{"type":"boolean","title":"Surprisesupport","default":false},"nearStation":{"type":"boolean","title":"Nearstation","default":false},"lateNight":{"type":"boolean","title":"Latenight","default":false},"rainyDayFriendly":{"type":"boolean","title":"Rainydayfriendly","default":false},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"}},"type":"object","title":"StorePublicProfileAmenities"},"StorePublicProfileImage":{"properties":{"id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"url":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Url"},"original_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Original Url"},"original_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Original Name"},"mime_type":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Mime Type"},"width":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Height"},"size_bytes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Size Bytes"},"original_width":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Original Width"},"original_height":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Original Height"},"original_size_bytes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Original Size Bytes"},"sort_order":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Sort Order"},"file_exists":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"File Exists"},"created_at":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Created At"},"dataUrl":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Dataurl"},"cropX":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Cropx","default":50},"cropY":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Cropy","default":50},"zoom":{"type":"number","maximum":3.0,"minimum":1.0,"title":"Zoom","default":1},"createdAt":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Createdat"}},"type":"object","title":"StorePublicProfileImage"},"StorePublicProfileParking":{"properties":{"enabled":{"type":"boolean","title":"Enabled","default":false},"lots":{"items":{"$ref":"#/components/schemas/StoreParkingLot"},"type":"array","maxItems":3,"title":"Lots"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"}},"type":"object","title":"StorePublicProfileParking"},"StorePublicProfileResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"business_hours_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Hours Text"},"regular_holiday":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Regular Holiday"},"website_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Url"},"instagram_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instagram Url"},"x_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X Url"},"line_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line Url"},"payment_methods_json":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Payment Methods Json"},"payment_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Note"},"parking_json":{"anyOf":[{"$ref":"#/components/schemas/StorePublicProfileParking"},{"type":"null"}]},"amenities_json":{"anyOf":[{"$ref":"#/components/schemas/StorePublicProfileAmenities"},{"type":"null"}]},"search_tags":{"items":{"type":"string"},"type":"array","title":"Search Tags"},"hero_image_json":{"anyOf":[{"$ref":"#/components/schemas/StorePublicProfileImage"},{"type":"null"}]},"gallery_images_json":{"anyOf":[{"items":{"$ref":"#/components/schemas/StorePublicProfileImage"},"type":"array"},{"type":"null"}],"title":"Gallery Images Json"},"videos_json":{"anyOf":[{"items":{"$ref":"#/components/schemas/StorePublicProfileVideo"},"type":"array"},{"type":"null"}],"title":"Videos Json"},"simple_menu_json":{"anyOf":[{"items":{"$ref":"#/components/schemas/StorePublicProfileSimpleMenuItem"},"type":"array"},{"type":"null"}],"title":"Simple Menu Json"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","business_hours_text","regular_holiday","website_url","instagram_url","x_url","line_url","payment_methods_json","payment_note","parking_json","amenities_json","hero_image_json","gallery_images_json","videos_json","simple_menu_json","created_at","updated_at"],"title":"StorePublicProfileResponse"},"StorePublicProfileSimpleMenuItem":{"properties":{"id":{"type":"string","maxLength":120,"minLength":1,"title":"Id"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"price_jpy":{"type":"integer","maximum":9999999.0,"minimum":0.0,"title":"Price Jpy"},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Description"},"image":{"anyOf":[{"$ref":"#/components/schemas/StorePublicProfileImage"},{"type":"null"}]},"sort_order":{"type":"integer","minimum":0.0,"title":"Sort Order","default":0},"created_at":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","name","price_jpy"],"title":"StorePublicProfileSimpleMenuItem"},"StorePublicProfileUpdate":{"properties":{"business_hours_text":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Business Hours Text"},"regular_holiday":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Regular Holiday"},"website_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Website Url"},"instagram_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Instagram Url"},"x_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"X Url"},"line_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Line Url"},"payment_methods_json":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Payment Methods Json"},"payment_note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Payment Note"},"parking_json":{"anyOf":[{"$ref":"#/components/schemas/StorePublicProfileParking"},{"type":"null"}]},"amenities_json":{"anyOf":[{"$ref":"#/components/schemas/StorePublicProfileAmenities"},{"type":"null"}]},"search_tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Search Tags"},"hero_image_json":{"anyOf":[{"$ref":"#/components/schemas/StorePublicProfileImage"},{"type":"null"}]},"gallery_images_json":{"anyOf":[{"items":{"$ref":"#/components/schemas/StorePublicProfileImage"},"type":"array","maxItems":20},{"type":"null"}],"title":"Gallery Images Json"},"videos_json":{"anyOf":[{"items":{"$ref":"#/components/schemas/StorePublicProfileVideo"},"type":"array","maxItems":10},{"type":"null"}],"title":"Videos Json"},"simple_menu_json":{"anyOf":[{"items":{"$ref":"#/components/schemas/StorePublicProfileSimpleMenuItem"},"type":"array","maxItems":30},{"type":"null"}],"title":"Simple Menu Json"}},"type":"object","title":"StorePublicProfileUpdate"},"StorePublicProfileVideo":{"properties":{"id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Id"},"url":{"type":"string","maxLength":2000,"minLength":1,"title":"Url"},"thumbnail_url":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Thumbnail Url"},"original_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Original Name"},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"mime_type":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Mime Type"},"codec":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Codec"},"duration_seconds":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Duration Seconds"},"width":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Height"},"size_bytes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Size Bytes"},"sort_order":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Sort Order"},"created_at":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Created At"},"isFixed":{"type":"boolean","title":"Isfixed","default":false},"isVisible":{"type":"boolean","title":"Isvisible","default":true},"createdAt":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Createdat"}},"type":"object","required":["url"],"title":"StorePublicProfileVideo"},"StorePublicationReadinessResponse":{"properties":{"publication_applicable":{"type":"boolean","title":"Publication Applicable","default":true},"is_published":{"type":"boolean","title":"Is Published"},"has_active_wallet":{"type":"boolean","title":"Has Active Wallet"},"has_basic_profile":{"type":"boolean","title":"Has Basic Profile"},"has_lp_page":{"type":"boolean","title":"Has Lp Page"},"lp_published":{"type":"boolean","title":"Lp Published"},"ready_to_publish":{"type":"boolean","title":"Ready To Publish"},"missing_items":{"items":{"type":"string"},"type":"array","title":"Missing Items"}},"type":"object","required":["is_published","has_active_wallet","has_basic_profile","has_lp_page","lp_published","ready_to_publish","missing_items"],"title":"StorePublicationReadinessResponse"},"StoreRefundCreateRequest":{"properties":{"source_type":{"type":"string","enum":["order","manual"],"title":"Source Type"},"source_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Id"},"amount_jpy":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Jpy"},"reason":{"type":"string","maxLength":300,"minLength":1,"title":"Reason"},"reason_code":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Reason Code"},"note":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Note"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"}},"type":"object","required":["source_type","amount_jpy","reason","idempotency_key"],"title":"StoreRefundCreateRequest","description":"Web POS(店舗責任者/manager)からの即時現金返金入力。\n\n``reason`` は自由入力で必須、``reason_code`` は定型理由のコード(任意)。\n``source_type=manual`` は元会計に紐づかない現金返金。オンチェーン送金はしない。"},"StoreRefundListResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"items":{"items":{"$ref":"#/components/schemas/StoreRefundSummary"},"type":"array","title":"Items"}},"type":"object","required":["store_id","items"],"title":"StoreRefundListResponse"},"StoreRefundResponse":{"properties":{"refund":{"$ref":"#/components/schemas/StoreRefundSummary"}},"type":"object","required":["refund"],"title":"StoreRefundResponse"},"StoreRefundSummary":{"properties":{"refund_id":{"type":"string","format":"uuid","title":"Refund Id"},"source_type":{"type":"string","title":"Source Type"},"source_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Source Id"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"currency":{"type":"string","title":"Currency"},"status":{"type":"string","title":"Status"},"status_label":{"type":"string","title":"Status Label"},"reason":{"type":"string","title":"Reason"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["refund_id","source_type","amount_jpy","currency","status","status_label","reason","created_at"],"title":"StoreRefundSummary","description":"返金1件の店舗責任者向け表示。tx_hash / recipient / token / chain などの\n技術情報やウォレット情報は含めない(PII 最小)。"},"StoreReservationCreate":{"properties":{"customer_name":{"type":"string","maxLength":120,"minLength":1,"title":"Customer Name"},"customer_phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Customer Phone"},"customer_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Customer Email"},"reservation_type":{"type":"string","enum":["general","salon","hotel"],"title":"Reservation Type","default":"general"},"reservation_date":{"type":"string","format":"date","title":"Reservation Date"},"start_time":{"type":"string","format":"time","title":"Start Time"},"duration_minutes":{"anyOf":[{"type":"integer","maximum":480.0,"minimum":15.0},{"type":"null"}],"title":"Duration Minutes"},"end_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"End Time"},"party_size":{"type":"integer","maximum":999.0,"minimum":1.0,"title":"Party Size"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"},"staff_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Staff Note"},"cancel_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Cancel Reason"},"preferred_seat_type":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Preferred Seat Type"},"reservation_details_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Reservation Details Json"},"table_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Table Name"},"purpose":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Purpose"},"status":{"anyOf":[{"type":"string","enum":["pending","confirmed","arrived","cancelled","completed","no_show"]},{"type":"null"}],"title":"Status"},"source":{"type":"string","enum":["mobile","pos","admin"],"title":"Source","default":"pos"},"reservation_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Reservation Plan Id"},"offering_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Offering Id"}},"type":"object","required":["customer_name","reservation_date","start_time","party_size"],"title":"StoreReservationCreate"},"StoreReservationReschedule":{"properties":{"reservation_date":{"type":"string","format":"date","title":"Reservation Date"},"start_time":{"type":"string","format":"time","title":"Start Time"}},"type":"object","required":["reservation_date","start_time"],"title":"StoreReservationReschedule","description":"店舗側の予約日時変更。party_size は変更しない(salon は常に1名)。"},"StoreReservationResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"customer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Customer Id"},"reservation_number":{"type":"string","title":"Reservation Number"},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"},"customer_name":{"type":"string","title":"Customer Name"},"customer_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Phone"},"customer_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Email"},"reservation_type":{"type":"string","enum":["general","salon","hotel"],"title":"Reservation Type"},"reservation_date":{"type":"string","format":"date","title":"Reservation Date"},"start_time":{"type":"string","format":"time","title":"Start Time"},"end_time":{"type":"string","format":"time","title":"End Time"},"end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End At"},"party_size":{"type":"integer","title":"Party Size"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"staff_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Staff Note"},"cancel_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Reason"},"cancel_policy_snapshot_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Cancel Policy Snapshot Json"},"cancelled_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancelled By"},"cancelled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cancelled At"},"confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Confirmed At"},"arrived_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Arrived At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"reminder_scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reminder Scheduled At"},"reminder_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reminder Sent At"},"reminder_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reminder Status"},"reminder_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reminder Error"},"preferred_seat_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preferred Seat Type"},"reservation_details_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Reservation Details Json"},"table_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Table Name"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"status":{"type":"string","enum":["pending","confirmed","arrived","cancelled","completed","no_show"],"title":"Status"},"source":{"type":"string","enum":["mobile","pos","admin"],"title":"Source"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","customer_id","reservation_number","customer_name","customer_phone","customer_email","reservation_type","reservation_date","start_time","end_time","party_size","note","staff_note","cancel_reason","cancelled_at","confirmed_at","completed_at","preferred_seat_type","reservation_details_json","table_name","purpose","status","source","created_at","updated_at"],"title":"StoreReservationResponse"},"StoreReservationSettingsResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"enabled":{"type":"boolean","title":"Enabled"},"accepting_mobile_reservations":{"type":"boolean","title":"Accepting Mobile Reservations"},"auto_confirm":{"type":"boolean","title":"Auto Confirm"},"timezone":{"type":"string","title":"Timezone"},"open_time":{"type":"string","format":"time","title":"Open Time"},"close_time":{"type":"string","format":"time","title":"Close Time"},"slot_minutes":{"type":"integer","title":"Slot Minutes"},"default_duration_minutes":{"type":"integer","title":"Default Duration Minutes"},"booking_open_days_before":{"type":"integer","title":"Booking Open Days Before"},"min_lead_minutes":{"type":"integer","title":"Min Lead Minutes"},"max_days_ahead":{"type":"integer","title":"Max Days Ahead"},"capacity_per_slot":{"type":"integer","title":"Capacity Per Slot"},"max_guests_per_slot":{"type":"integer","title":"Max Guests Per Slot"},"max_party_size":{"type":"integer","title":"Max Party Size"},"future_reservation_limit":{"type":"integer","title":"Future Reservation Limit"},"salon_capacity_per_slot":{"type":"integer","title":"Salon Capacity Per Slot"},"cancel_deadline_hours":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cancel Deadline Hours"},"reminder_hours_before":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reminder Hours Before"},"inherit_business_hours":{"type":"boolean","title":"Inherit Business Hours"},"require_phone":{"type":"boolean","title":"Require Phone"},"allow_note":{"type":"boolean","title":"Allow Note"},"weekdays_json":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Weekdays Json"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","enabled","accepting_mobile_reservations","auto_confirm","timezone","open_time","close_time","slot_minutes","default_duration_minutes","booking_open_days_before","min_lead_minutes","max_days_ahead","capacity_per_slot","max_guests_per_slot","max_party_size","future_reservation_limit","salon_capacity_per_slot","cancel_deadline_hours","reminder_hours_before","inherit_business_hours","require_phone","allow_note","weekdays_json","created_at","updated_at"],"title":"StoreReservationSettingsResponse"},"StoreReservationSettingsUpdate":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"accepting_mobile_reservations":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepting Mobile Reservations"},"auto_confirm":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Confirm"},"timezone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Timezone"},"open_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Open Time"},"close_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Close Time"},"slot_minutes":{"anyOf":[{"type":"integer","enum":[15,30,60]},{"type":"null"}],"title":"Slot Minutes"},"default_duration_minutes":{"anyOf":[{"type":"integer","maximum":480.0,"minimum":15.0},{"type":"null"}],"title":"Default Duration Minutes"},"booking_open_days_before":{"anyOf":[{"type":"integer","maximum":180.0,"minimum":0.0},{"type":"null"}],"title":"Booking Open Days Before"},"min_lead_minutes":{"anyOf":[{"type":"integer","maximum":10080.0,"minimum":0.0},{"type":"null"}],"title":"Min Lead Minutes"},"max_days_ahead":{"anyOf":[{"type":"integer","maximum":180.0,"minimum":1.0},{"type":"null"}],"title":"Max Days Ahead"},"capacity_per_slot":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":1.0},{"type":"null"}],"title":"Capacity Per Slot"},"max_guests_per_slot":{"anyOf":[{"type":"integer","maximum":9999.0,"minimum":1.0},{"type":"null"}],"title":"Max Guests Per Slot"},"max_party_size":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":1.0},{"type":"null"}],"title":"Max Party Size"},"future_reservation_limit":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Future Reservation Limit"},"salon_capacity_per_slot":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":1.0},{"type":"null"}],"title":"Salon Capacity Per Slot"},"cancel_deadline_hours":{"anyOf":[{"type":"integer","maximum":720.0,"minimum":0.0},{"type":"null"}],"title":"Cancel Deadline Hours"},"reminder_hours_before":{"anyOf":[{"type":"integer","maximum":720.0,"minimum":0.0},{"type":"null"}],"title":"Reminder Hours Before"},"inherit_business_hours":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Inherit Business Hours"},"require_phone":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Phone"},"allow_note":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Note"},"weekdays_json":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":7},{"type":"null"}],"title":"Weekdays Json"}},"type":"object","title":"StoreReservationSettingsUpdate"},"StoreReservationSummaryResponse":{"properties":{"pending_count":{"type":"integer","title":"Pending Count"},"pending_general_count":{"type":"integer","title":"Pending General Count"},"pending_salon_count":{"type":"integer","title":"Pending Salon Count"},"pending_hotel_count":{"type":"integer","title":"Pending Hotel Count"},"today_count":{"type":"integer","title":"Today Count"},"next_pending_reservation_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Pending Reservation At"}},"type":"object","required":["pending_count","pending_general_count","pending_salon_count","pending_hotel_count","today_count"],"title":"StoreReservationSummaryResponse"},"StoreReservationUpdate":{"properties":{"customer_name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Customer Name"},"customer_phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Customer Phone"},"customer_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Customer Email"},"reservation_type":{"anyOf":[{"type":"string","enum":["general","salon","hotel"]},{"type":"null"}],"title":"Reservation Type"},"reservation_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Reservation Date"},"start_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"Start Time"},"duration_minutes":{"anyOf":[{"type":"integer","maximum":480.0,"minimum":15.0},{"type":"null"}],"title":"Duration Minutes"},"end_time":{"anyOf":[{"type":"string","format":"time"},{"type":"null"}],"title":"End Time"},"party_size":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":1.0},{"type":"null"}],"title":"Party Size"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"},"staff_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Staff Note"},"cancel_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Cancel Reason"},"cancelled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cancelled At"},"confirmed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Confirmed At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"preferred_seat_type":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Preferred Seat Type"},"reservation_details_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Reservation Details Json"},"table_name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Table Name"},"purpose":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Purpose"},"status":{"anyOf":[{"type":"string","enum":["pending","confirmed","arrived","cancelled","completed","no_show"]},{"type":"null"}],"title":"Status"}},"type":"object","title":"StoreReservationUpdate"},"StoreResourceCreate":{"properties":{"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"description":{"type":"string","maxLength":2000,"minLength":1,"title":"Description"},"category":{"type":"string","enum":["spay","soukai_pos","announcement","campaign","other"],"title":"Category"},"audience":{"type":"string","enum":["all","spay","full","payment_only"],"title":"Audience","default":"all"},"print_instructions":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Print Instructions"},"sort_order":{"type":"integer","maximum":100000.0,"minimum":0.0,"title":"Sort Order","default":0}},"type":"object","required":["title","description","category"],"title":"StoreResourceCreate"},"StoreResourceFileResponse":{"properties":{"format":{"type":"string","enum":["pdf","png"],"title":"Format"},"filename":{"type":"string","title":"Filename"},"mime_type":{"type":"string","title":"Mime Type"},"size_bytes":{"type":"integer","title":"Size Bytes"},"pixel_width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pixel Width"},"pixel_height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pixel Height"},"dpi_x":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Dpi X"},"dpi_y":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Dpi Y"},"page_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Count"},"page_width_mm":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Page Width Mm"},"page_height_mm":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Page Height Mm"},"pages_same_size":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pages Same Size"},"download_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Download Url"}},"type":"object","required":["format","filename","mime_type","size_bytes"],"title":"StoreResourceFileResponse"},"StoreResourceResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"},"category":{"type":"string","enum":["spay","soukai_pos","announcement","campaign","other"],"title":"Category"},"audience":{"type":"string","enum":["all","spay","full","payment_only"],"title":"Audience"},"print_instructions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Print Instructions"},"preview_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preview Url"},"preview_filename":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preview Filename"},"preview_width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Preview Width"},"preview_height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Preview Height"},"preview_size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Preview Size Bytes"},"sort_order":{"type":"integer","title":"Sort Order"},"is_published":{"type":"boolean","title":"Is Published"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"variants":{"items":{"$ref":"#/components/schemas/StoreResourceVariantResponse"},"type":"array","title":"Variants"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","title","description","category","audience","print_instructions","preview_url","preview_filename","preview_width","preview_height","preview_size_bytes","sort_order","is_published","published_at","variants","created_at","updated_at"],"title":"StoreResourceResponse"},"StoreResourceUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Description"},"category":{"anyOf":[{"type":"string","enum":["spay","soukai_pos","announcement","campaign","other"]},{"type":"null"}],"title":"Category"},"audience":{"anyOf":[{"type":"string","enum":["all","spay","full","payment_only"]},{"type":"null"}],"title":"Audience"},"print_instructions":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Print Instructions"},"sort_order":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Sort Order"},"is_published":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Published"}},"type":"object","title":"StoreResourceUpdate"},"StoreResourceVariantCreate":{"properties":{"width_mm":{"anyOf":[{"type":"number","maximum":2000.0,"exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,6}|(?=[\\d.]{1,9}0*$)\\d{0,6}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Width Mm"},"height_mm":{"anyOf":[{"type":"number","maximum":2000.0,"exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,6}|(?=[\\d.]{1,9}0*$)\\d{0,6}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Height Mm"},"sort_order":{"type":"integer","maximum":100000.0,"minimum":0.0,"title":"Sort Order","default":0}},"type":"object","title":"StoreResourceVariantCreate"},"StoreResourceVariantResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"width_mm":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Width Mm"},"height_mm":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Height Mm"},"sort_order":{"type":"integer","title":"Sort Order"},"pdf":{"anyOf":[{"$ref":"#/components/schemas/StoreResourceFileResponse"},{"type":"null"}]},"png":{"anyOf":[{"$ref":"#/components/schemas/StoreResourceFileResponse"},{"type":"null"}]},"pdf_size_matches_variant":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pdf Size Matches Variant"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","width_mm","height_mm","sort_order","pdf","png","pdf_size_matches_variant","created_at","updated_at"],"title":"StoreResourceVariantResponse"},"StoreResourceVariantUpdate":{"properties":{"width_mm":{"anyOf":[{"type":"number","maximum":2000.0,"exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,6}|(?=[\\d.]{1,9}0*$)\\d{0,6}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Width Mm"},"height_mm":{"anyOf":[{"type":"number","maximum":2000.0,"exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,6}|(?=[\\d.]{1,9}0*$)\\d{0,6}\\.\\d{0,2}0*$)"},{"type":"null"}],"title":"Height Mm"},"sort_order":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Sort Order"}},"type":"object","title":"StoreResourceVariantUpdate"},"StoreResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"store_kind":{"type":"string","title":"Store Kind","default":"full"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"status":{"type":"string","title":"Status"},"visibility_scope":{"type":"string","enum":["private","test","public"],"title":"Visibility Scope","default":"public"},"store_operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Operation Type"},"store_publication_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Publication Mode"},"parent_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Store Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"prefecture_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prefecture Code"},"prefecture":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prefecture"},"city_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City Code"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"ward":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ward"},"area_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Label"},"address_line1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line2"},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Longitude"},"join_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Join Code"},"join_code_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Join Code Updated At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"status_label":{"type":"string","title":"Status Label","readOnly":true}},"type":"object","required":["id","name","slug","category","status","created_at","updated_at","status_label"],"title":"StoreResponse"},"StoreSalesOrderItem":{"properties":{"order_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Order Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"order_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Number"},"customer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Name"},"fulfillment_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fulfillment Type"},"payment_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method"},"order_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Source"},"order_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Status"},"channel":{"type":"string","title":"Channel"},"gross_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Gross Sales Jpy"},"taxable_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Taxable Amount Jpy"},"tax_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Amount Jpy"},"net_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Net Sales Jpy"},"refund_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Refund Amount Jpy"},"payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Payment Intent Id"},"checkout_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Checkout Session Id"},"consumed_credits":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Consumed Credits"},"fee_basis_points":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fee Basis Points"},"credit_fee_shared":{"type":"boolean","title":"Credit Fee Shared"},"pos_device_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Pos Device Id"},"pos_device_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pos Device Name"},"static_checkout_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Static Checkout Label"},"accounting_source_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accounting Source Type"},"accounting_source_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accounting Source Label"}},"type":"object","required":["order_id","created_at","order_number","customer_name","fulfillment_type","payment_method","order_source","order_status","channel","gross_sales_jpy","taxable_amount_jpy","tax_amount_jpy","net_sales_jpy","refund_amount_jpy","payment_intent_id","checkout_session_id","consumed_credits","fee_basis_points","credit_fee_shared"],"title":"StoreSalesOrderItem","description":"注文 1 件に集約した売上明細。"},"StoreSalesOrdersResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"date_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"},"date_to":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"},"summary":{"$ref":"#/components/schemas/StoreSalesOrdersSummary"},"items":{"items":{"$ref":"#/components/schemas/StoreSalesOrderItem"},"type":"array","title":"Items"},"truncated":{"type":"boolean","title":"Truncated","default":false}},"type":"object","required":["store_id","date_from","date_to","summary"],"title":"StoreSalesOrdersResponse"},"StoreSalesOrdersSummary":{"properties":{"order_count":{"type":"integer","title":"Order Count"},"gross_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Gross Sales Jpy"},"taxable_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Taxable Amount Jpy"},"tax_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Amount Jpy"},"refund_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Refund Amount Jpy"},"net_sales_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Net Sales Jpy"},"consumed_credits_total":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Consumed Credits Total"},"consumed_credits_intent_count":{"type":"integer","title":"Consumed Credits Intent Count"},"device_breakdown":{"items":{"$ref":"#/components/schemas/DeviceSalesBreakdown"},"type":"array","title":"Device Breakdown"}},"type":"object","required":["order_count","gross_sales_jpy","taxable_amount_jpy","tax_amount_jpy","refund_amount_jpy","net_sales_jpy","consumed_credits_total","consumed_credits_intent_count"],"title":"StoreSalesOrdersSummary"},"StoreSeatCreate":{"properties":{"seat_key":{"type":"string","maxLength":40,"minLength":1,"title":"Seat Key"},"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"seat_type":{"type":"string","enum":["table","counter","terrace","private_room","tatami","other"],"title":"Seat Type","default":"table"},"area_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Area Label"},"sort_order":{"type":"integer","title":"Sort Order","default":0}},"additionalProperties":false,"type":"object","required":["seat_key","name"],"title":"StoreSeatCreate"},"StoreSeatResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"seat_key":{"type":"string","title":"Seat Key"},"name":{"type":"string","title":"Name"},"seat_type":{"type":"string","enum":["table","counter","terrace","private_room","tatami","other"],"title":"Seat Type"},"area_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Label"},"sort_order":{"type":"integer","title":"Sort Order"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","seat_key","name","seat_type","area_label","sort_order","is_active","created_at","updated_at"],"title":"StoreSeatResponse"},"StoreSeatUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Name"},"seat_type":{"anyOf":[{"type":"string","enum":["table","counter","terrace","private_room","tatami","other"]},{"type":"null"}],"title":"Seat Type"},"area_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Area Label"},"sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sort Order"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"additionalProperties":false,"type":"object","title":"StoreSeatUpdate"},"StoreStaffAuditLogItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"action":{"type":"string","title":"Action"},"actor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Name"},"target_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Target Email"},"before":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Before"},"after":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"After"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","action","created_at"],"title":"StoreStaffAuditLogItem"},"StoreStaffAuditLogListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StoreStaffAuditLogItem"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"StoreStaffAuditLogListResponse"},"StoreStaffInviteResendRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"StoreStaffInviteResendRequest"},"StoreStaffPinSetRequest":{"properties":{"pin":{"type":"string","maxLength":6,"minLength":4,"pattern":"^\\d{4,6}$","title":"Pin"}},"type":"object","required":["pin"],"title":"StoreStaffPinSetRequest"},"StoreStoryCreate":{"properties":{"media_type":{"type":"string","enum":["image","video"],"title":"Media Type"},"media_url":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Media Url"},"file_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"File Key"},"thumbnail_url":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Thumbnail Url"},"caption":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Caption"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"status":{"type":"string","enum":["draft","public","archived"],"title":"Status","default":"draft"}},"type":"object","required":["media_type"],"title":"StoreStoryCreate"},"StoreStoryResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"media_type":{"type":"string","enum":["image","video"],"title":"Media Type"},"media_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Media Url"},"file_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Key"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Caption"},"status":{"type":"string","enum":["draft","public","archived"],"title":"Status"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","media_type","media_url","file_key","thumbnail_url","caption","status","starts_at","expires_at","created_at","updated_at"],"title":"StoreStoryResponse"},"StoreStoryUpdate":{"properties":{"media_type":{"anyOf":[{"type":"string","enum":["image","video"]},{"type":"null"}],"title":"Media Type"},"media_url":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Media Url"},"file_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"File Key"},"thumbnail_url":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Thumbnail Url"},"caption":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Caption"},"status":{"anyOf":[{"type":"string","enum":["draft","public","archived"]},{"type":"null"}],"title":"Status"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","title":"StoreStoryUpdate"},"StoreStoryViewResponse":{"properties":{"story_id":{"type":"string","format":"uuid","title":"Story Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"viewed":{"type":"boolean","const":true,"title":"Viewed","default":true},"viewed_at":{"type":"string","format":"date-time","title":"Viewed At"}},"type":"object","required":["story_id","store_id","viewed_at"],"title":"StoreStoryViewResponse"},"StoreTaxSettingsResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"effective_tax_rates":{"items":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},"type":"array","title":"Effective Tax Rates"},"default_standard_tax_rate":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Default Standard Tax Rate"},"default_reduced_tax_rate":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Default Reduced Tax Rate"},"default_takeout_tax_rate":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Default Takeout Tax Rate"},"allow_item_override":{"type":"boolean","title":"Allow Item Override"},"apply_takeout_tax_rate":{"type":"boolean","title":"Apply Takeout Tax Rate"},"apply_takeout_price":{"type":"boolean","title":"Apply Takeout Price"},"takeout_price_policy":{"type":"string","enum":["recalculate_from_net","keep_gross_total","dedicated_takeout_price"],"title":"Takeout Price Policy"},"qr_checkout_tax_rates":{"items":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},"type":"array","title":"Qr Checkout Tax Rates"},"qr_checkout_default_tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Qr Checkout Default Tax Rate"},"tax_rate_effective_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Tax Rate Effective From"}},"type":"object","required":["store_id","effective_tax_rates","default_standard_tax_rate","default_reduced_tax_rate","default_takeout_tax_rate","allow_item_override","apply_takeout_tax_rate","apply_takeout_price","takeout_price_policy","qr_checkout_tax_rates","qr_checkout_default_tax_rate","tax_rate_effective_from"],"title":"StoreTaxSettingsResponse"},"StoreTaxSettingsUpdate":{"properties":{"effective_tax_rates":{"anyOf":[{"items":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}]},"type":"array"},{"type":"null"}],"title":"Effective Tax Rates"},"default_standard_tax_rate":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Default Standard Tax Rate"},"default_reduced_tax_rate":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Default Reduced Tax Rate"},"default_takeout_tax_rate":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Default Takeout Tax Rate"},"allow_item_override":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Item Override"},"apply_takeout_tax_rate":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Apply Takeout Tax Rate"},"apply_takeout_price":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Apply Takeout Price"},"takeout_price_policy":{"anyOf":[{"type":"string","enum":["recalculate_from_net","keep_gross_total","dedicated_takeout_price"]},{"type":"null"}],"title":"Takeout Price Policy"},"qr_checkout_tax_rates":{"anyOf":[{"items":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}]},"type":"array"},{"type":"null"}],"title":"Qr Checkout Tax Rates"},"qr_checkout_default_tax_rate":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Qr Checkout Default Tax Rate"},"tax_rate_effective_from":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Tax Rate Effective From"}},"additionalProperties":false,"type":"object","title":"StoreTaxSettingsUpdate"},"StoreUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"slug":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Slug"},"category":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Category"},"status":{"anyOf":[{"type":"string","enum":["draft","published","suspended"]},{"type":"null"}],"title":"Status"},"store_operation_type":{"anyOf":[{"type":"string","enum":["fixed","mobile","event","online"]},{"type":"null"}],"title":"Store Operation Type"},"store_publication_mode":{"anyOf":[{"type":"string","enum":["always","scheduled","manual"]},{"type":"null"}],"title":"Store Publication Mode"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"phone":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Phone"},"postal_code":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Postal Code"},"prefecture_code":{"anyOf":[{"type":"string","maxLength":2},{"type":"null"}],"title":"Prefecture Code"},"prefecture":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Prefecture"},"city_code":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"title":"City Code"},"city":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"City"},"ward":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Ward"},"area_label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Area Label"},"address_line1":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Address Line1"},"address_line2":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Address Line2"},"latitude":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Longitude"}},"type":"object","title":"StoreUpdate"},"StoreUsageEventItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"customer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Customer Id"},"wallet_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet Address"},"payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Payment Intent Id"},"order_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Order Id"},"source_type":{"type":"string","title":"Source Type"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"token_symbol":{"type":"string","title":"Token Symbol"},"token_address":{"type":"string","title":"Token Address"},"chain_id":{"type":"integer","title":"Chain Id"},"tx_hash":{"type":"string","title":"Tx Hash"},"used_at":{"type":"string","format":"date-time","title":"Used At"}},"type":"object","required":["id","store_id","source_type","amount_jpy","token_symbol","token_address","chain_id","tx_hash","used_at"],"title":"StoreUsageEventItem"},"StoreUsageIdentitySummary":{"properties":{"customer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Customer Id"},"wallet_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet Address"},"payment_count":{"type":"integer","title":"Payment Count"},"total_paid_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Paid Jpy"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"restaurant_visit_count":{"type":"integer","title":"Restaurant Visit Count"},"salon_visit_count":{"type":"integer","title":"Salon Visit Count"},"sento_visit_count":{"type":"integer","title":"Sento Visit Count"},"takeout_count":{"type":"integer","title":"Takeout Count"},"mobile_order_count":{"type":"integer","title":"Mobile Order Count"},"retail_purchase_count":{"type":"integer","title":"Retail Purchase Count"},"hotel_onsite_stay_count":{"type":"integer","title":"Hotel Onsite Stay Count"}},"type":"object","required":["payment_count","total_paid_jpy","restaurant_visit_count","salon_visit_count","sento_visit_count","takeout_count","mobile_order_count","retail_purchase_count","hotel_onsite_stay_count"],"title":"StoreUsageIdentitySummary"},"StoreUsageSourceBreakdown":{"properties":{"source_type":{"type":"string","title":"Source Type"},"payment_count":{"type":"integer","title":"Payment Count"},"total_paid_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Paid Jpy"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"}},"type":"object","required":["source_type","payment_count","total_paid_jpy"],"title":"StoreUsageSourceBreakdown"},"StoreUsageSummaryResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"source_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Type"},"total_qr_payment_count":{"type":"integer","title":"Total Qr Payment Count"},"total_paid_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Paid Jpy"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"source_breakdown":{"items":{"$ref":"#/components/schemas/StoreUsageSourceBreakdown"},"type":"array","title":"Source Breakdown"},"identities":{"items":{"$ref":"#/components/schemas/StoreUsageIdentitySummary"},"type":"array","title":"Identities"},"events":{"items":{"$ref":"#/components/schemas/StoreUsageEventItem"},"type":"array","title":"Events"}},"type":"object","required":["store_id","total_qr_payment_count","total_paid_jpy","source_breakdown","identities","events"],"title":"StoreUsageSummaryResponse"},"StoreVideoBoardResponse":{"properties":{"fixed":{"items":{"$ref":"#/components/schemas/StoreVideoResponse"},"type":"array","title":"Fixed"},"scheduled":{"items":{"$ref":"#/components/schemas/StoreVideoResponse"},"type":"array","title":"Scheduled"},"stock":{"items":{"$ref":"#/components/schemas/StoreVideoResponse"},"type":"array","title":"Stock"},"fixed_remaining_slots":{"type":"integer","title":"Fixed Remaining Slots"},"scheduled_remaining_slots":{"type":"integer","title":"Scheduled Remaining Slots"},"stock_remaining_slots":{"type":"integer","title":"Stock Remaining Slots"}},"type":"object","required":["fixed","scheduled","stock","fixed_remaining_slots","scheduled_remaining_slots","stock_remaining_slots"],"title":"StoreVideoBoardResponse","description":"Admin view: each section gives its current items plus how many slots are left."},"StoreVideoCreate":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"search_tags":{"items":{"type":"string"},"type":"array","title":"Search Tags"},"thumbnail_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Thumbnail Url"},"upload_file_key":{"type":"string","maxLength":500,"minLength":1,"title":"Upload File Key"},"upload_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Upload Id"},"thumbnail_file_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Thumbnail File Key"},"thumbnail_mime_type":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Thumbnail Mime Type"},"thumbnail_size_bytes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Thumbnail Size Bytes"},"thumbnail_timestamp_seconds":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Thumbnail Timestamp Seconds"},"upload_mime_type":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Upload Mime Type"},"upload_size_bytes":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Upload Size Bytes"},"upload_original_filename":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Upload Original Filename"},"upload_duration_seconds":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Upload Duration Seconds"},"upload_original_width":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Upload Original Width"},"upload_original_height":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Upload Original Height"},"upload_display_width":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Upload Display Width"},"upload_display_height":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Upload Display Height"},"upload_rotation_degrees":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Upload Rotation Degrees"},"upload_aspect_ratio":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Upload Aspect Ratio"},"section":{"type":"string","enum":["fixed","scheduled","stock"],"title":"Section","default":"stock"},"status":{"type":"string","enum":["draft","public","private","archived"],"title":"Status","default":"draft"},"sort_order":{"type":"integer","maximum":99.0,"minimum":0.0,"title":"Sort Order","default":0},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"}},"additionalProperties":false,"type":"object","required":["title","upload_file_key"],"title":"StoreVideoCreate"},"StoreVideoEventCreate":{"properties":{"client_event_id":{"type":"string","maxLength":120,"minLength":1,"title":"Client Event Id"},"modal_session_id":{"type":"string","maxLength":120,"minLength":1,"title":"Modal Session Id"},"anonymous_session_id":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Anonymous Session Id"},"event_type":{"type":"string","enum":["impression","play_start","replay_start","engaged_view","complete","skip","watch_time","share_tap"],"title":"Event Type"},"watch_ms":{"anyOf":[{"type":"integer","maximum":86400000.0,"minimum":0.0},{"type":"null"}],"title":"Watch Ms"},"position_ms":{"anyOf":[{"type":"integer","maximum":86400000.0,"minimum":0.0},{"type":"null"}],"title":"Position Ms"},"duration_ms":{"anyOf":[{"type":"integer","maximum":86400000.0,"minimum":0.0},{"type":"null"}],"title":"Duration Ms"},"loop_index":{"anyOf":[{"type":"integer","maximum":10000.0,"minimum":0.0},{"type":"null"}],"title":"Loop Index"},"source":{"type":"string","enum":["feed","store_detail"],"title":"Source"},"app_platform":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"App Platform"},"app_version":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"App Version"}},"additionalProperties":false,"type":"object","required":["client_event_id","modal_session_id","event_type","source"],"title":"StoreVideoEventCreate"},"StoreVideoEventIngestResponse":{"properties":{"ok":{"type":"boolean","const":true,"title":"Ok","default":true}},"type":"object","title":"StoreVideoEventIngestResponse"},"StoreVideoMoveSection":{"properties":{"section":{"type":"string","enum":["fixed","scheduled","stock"],"title":"Section"},"sort_order":{"anyOf":[{"type":"integer","maximum":99.0,"minimum":0.0},{"type":"null"}],"title":"Sort Order"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"}},"type":"object","required":["section"],"title":"StoreVideoMoveSection"},"StoreVideoReorderItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"sort_order":{"type":"integer","maximum":99.0,"minimum":0.0,"title":"Sort Order"}},"type":"object","required":["id","sort_order"],"title":"StoreVideoReorderItem"},"StoreVideoReorderRequest":{"properties":{"section":{"type":"string","enum":["fixed","scheduled","stock"],"title":"Section"},"items":{"items":{"$ref":"#/components/schemas/StoreVideoReorderItem"},"type":"array","maxItems":10,"minItems":1,"title":"Items"}},"type":"object","required":["section","items"],"title":"StoreVideoReorderRequest"},"StoreVideoResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"search_tags":{"items":{"type":"string"},"type":"array","title":"Search Tags"},"video_url":{"type":"string","title":"Video Url"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"media_file_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Media File Key"},"media_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Media Url"},"media_mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Media Mime Type"},"media_size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Media Size Bytes"},"thumbnail_file_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail File Key"},"thumbnail_mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Mime Type"},"thumbnail_size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Thumbnail Size Bytes"},"thumbnail_candidates_status":{"type":"string","enum":["pending","processing","ready","failed"],"title":"Thumbnail Candidates Status","default":"pending"},"thumbnail_candidates_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Candidates Error"},"selected_thumbnail_timestamp_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Selected Thumbnail Timestamp Seconds"},"thumbnail_source":{"type":"string","enum":["auto_frame","selected_frame","manual_upload"],"title":"Thumbnail Source","default":"auto_frame"},"processing_status":{"type":"string","enum":["queued","processing","ready","failed"],"title":"Processing Status"},"original_filename":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Filename"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"},"original_width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Original Width"},"original_height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Original Height"},"display_width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Width"},"display_height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Height"},"rotation_degrees":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rotation Degrees"},"aspect_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Aspect Ratio"},"file_size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"File Size Bytes"},"processed_file_size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Processed File Size Bytes"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"section":{"type":"string","enum":["fixed","scheduled","stock"],"title":"Section"},"status":{"type":"string","enum":["draft","public","private","archived"],"title":"Status"},"sort_order":{"type":"integer","title":"Sort Order"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"processed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Processed At"}},"type":"object","required":["id","store_id","title","video_url","processing_status","section","status","sort_order","starts_at","ends_at","created_at","updated_at"],"title":"StoreVideoResponse"},"StoreVideoThumbnailCandidate":{"properties":{"file_key":{"type":"string","title":"File Key"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"timestamp_seconds":{"type":"number","title":"Timestamp Seconds"},"label":{"type":"string","title":"Label"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"}},"type":"object","required":["file_key","timestamp_seconds","label"],"title":"StoreVideoThumbnailCandidate"},"StoreVideoThumbnailCandidatesResponse":{"properties":{"video_id":{"type":"string","format":"uuid","title":"Video Id"},"status":{"type":"string","enum":["pending","processing","ready","failed"],"title":"Status"},"candidates":{"items":{"$ref":"#/components/schemas/StoreVideoThumbnailCandidate"},"type":"array","title":"Candidates"},"selected_thumbnail_file_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selected Thumbnail File Key"},"selected_thumbnail_timestamp_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Selected Thumbnail Timestamp Seconds"},"thumbnail_source":{"type":"string","enum":["auto_frame","selected_frame","manual_upload"],"title":"Thumbnail Source","default":"auto_frame"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["video_id","status","candidates"],"title":"StoreVideoThumbnailCandidatesResponse"},"StoreVideoThumbnailGenerateAtRequest":{"properties":{"timestamp_seconds":{"type":"number","minimum":0.0,"title":"Timestamp Seconds"}},"additionalProperties":false,"type":"object","required":["timestamp_seconds"],"title":"StoreVideoThumbnailGenerateAtRequest"},"StoreVideoThumbnailGenerateAtResponse":{"properties":{"candidate":{"$ref":"#/components/schemas/StoreVideoThumbnailCandidate"},"thumbnail_file_key":{"type":"string","title":"Thumbnail File Key"},"thumbnail_url":{"type":"string","title":"Thumbnail Url"},"selected_thumbnail_timestamp_seconds":{"type":"number","title":"Selected Thumbnail Timestamp Seconds"},"thumbnail_source":{"type":"string","enum":["auto_frame","selected_frame","manual_upload"],"title":"Thumbnail Source","default":"selected_frame"}},"type":"object","required":["candidate","thumbnail_file_key","thumbnail_url","selected_thumbnail_timestamp_seconds"],"title":"StoreVideoThumbnailGenerateAtResponse"},"StoreVideoThumbnailSelectRequest":{"properties":{"candidate_key":{"type":"string","maxLength":500,"minLength":1,"title":"Candidate Key"},"timestamp_seconds":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Timestamp Seconds"}},"additionalProperties":false,"type":"object","required":["candidate_key"],"title":"StoreVideoThumbnailSelectRequest"},"StoreVideoThumbnailSelectResponse":{"properties":{"thumbnail_file_key":{"type":"string","title":"Thumbnail File Key"},"thumbnail_url":{"type":"string","title":"Thumbnail Url"},"selected_thumbnail_timestamp_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Selected Thumbnail Timestamp Seconds"},"thumbnail_source":{"type":"string","enum":["auto_frame","selected_frame","manual_upload"],"title":"Thumbnail Source","default":"selected_frame"}},"type":"object","required":["thumbnail_file_key","thumbnail_url"],"title":"StoreVideoThumbnailSelectResponse"},"StoreVideoUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"search_tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Search Tags"},"thumbnail_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Thumbnail Url"},"thumbnail_file_key":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Thumbnail File Key"},"thumbnail_mime_type":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Thumbnail Mime Type"},"thumbnail_size_bytes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Thumbnail Size Bytes"},"thumbnail_source":{"anyOf":[{"type":"string","enum":["auto_frame","selected_frame","manual_upload"]},{"type":"null"}],"title":"Thumbnail Source"},"status":{"anyOf":[{"type":"string","enum":["draft","public","private","archived"]},{"type":"null"}],"title":"Status"},"sort_order":{"anyOf":[{"type":"integer","maximum":99.0,"minimum":0.0},{"type":"null"}],"title":"Sort Order"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"}},"additionalProperties":false,"type":"object","title":"StoreVideoUpdate"},"StoreVideoUploadResponse":{"properties":{"upload_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Upload Id"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"file_key":{"type":"string","title":"File Key"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"mime_type":{"type":"string","title":"Mime Type"},"size_bytes":{"type":"integer","title":"Size Bytes"},"original_filename":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Filename"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"},"original_width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Original Width"},"original_height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Original Height"},"display_width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Width"},"display_height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Height"},"rotation_degrees":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rotation Degrees"},"aspect_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Aspect Ratio"},"file_size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"File Size Bytes"}},"type":"object","required":["file_key","mime_type","size_bytes"],"title":"StoreVideoUploadResponse"},"StoreVisibilityPolicyResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"map_listing_override":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Map Listing Override"},"search_listing_override":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Search Listing Override"},"lp_access_override":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lp Access Override"},"payment_capability_override":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Capability Override"},"minimum_age_override":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Minimum Age Override"},"review_status":{"type":"string","title":"Review Status"},"override_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Reason"},"overridden_by_admin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Overridden By Admin Id"},"reviewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reviewed At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["store_id","map_listing_override","search_listing_override","lp_access_override","payment_capability_override","minimum_age_override","review_status","override_reason","overridden_by_admin_id","reviewed_at","created_at","updated_at"],"title":"StoreVisibilityPolicyResponse"},"StoreVisibilityPolicyUpdate":{"properties":{"map_listing_override":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Map Listing Override"},"search_listing_override":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Search Listing Override"},"lp_access_override":{"anyOf":[{"type":"string","enum":["public","direct_link","none"]},{"type":"null"}],"title":"Lp Access Override"},"payment_capability_override":{"anyOf":[{"type":"string","enum":["enabled","review_required","disabled","suspended"]},{"type":"null"}],"title":"Payment Capability Override"},"minimum_age_override":{"anyOf":[{"type":"integer","maximum":120.0,"minimum":0.0},{"type":"null"}],"title":"Minimum Age Override"},"review_status":{"anyOf":[{"type":"string","enum":["pending","approved","needs_more_info","rejected"]},{"type":"null"}],"title":"Review Status"},"override_reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Override Reason"}},"additionalProperties":false,"type":"object","title":"StoreVisibilityPolicyUpdate"},"StoreVisibilityScopeResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"visibility_scope":{"type":"string","enum":["private","test","public"],"title":"Visibility Scope"},"visibility_scope_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility Scope Note"},"visibility_scope_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Visibility Scope Updated At"},"visibility_scope_updated_by_admin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Visibility Scope Updated By Admin Id"}},"type":"object","required":["store_id","visibility_scope"],"title":"StoreVisibilityScopeResponse"},"StoreVisibilityScopeUpdateRequest":{"properties":{"visibility_scope":{"type":"string","enum":["private","test","public"],"title":"Visibility Scope"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"}},"type":"object","required":["visibility_scope"],"title":"StoreVisibilityScopeUpdateRequest"},"StoreWaitingResponse":{"properties":{"settings":{"$ref":"#/components/schemas/StoreWaitingSettingResponse"},"status":{"$ref":"#/components/schemas/StoreWaitingStatusResponse"},"public_preview":{"anyOf":[{},{"type":"null"}],"title":"Public Preview"}},"type":"object","required":["settings","status"],"title":"StoreWaitingResponse"},"StoreWaitingSettingResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"enabled":{"type":"boolean","title":"Enabled"},"customer_visible":{"type":"boolean","title":"Customer Visible"},"mode":{"type":"string","title":"Mode"},"display_policy":{"type":"string","title":"Display Policy"},"default_expire_minutes":{"type":"integer","title":"Default Expire Minutes"},"show_last_updated_at":{"type":"boolean","title":"Show Last Updated At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","store_id","enabled","customer_visible","mode","display_policy","default_expire_minutes","show_last_updated_at","created_at","updated_at"],"title":"StoreWaitingSettingResponse"},"StoreWaitingSettingsUpdate":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"customer_visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Customer Visible"},"mode":{"anyOf":[{"type":"string","pattern":"^(manual_wait_time|party_count|ticket_number|disabled)$"},{"type":"null"}],"title":"Mode"},"display_policy":{"anyOf":[{"type":"string","pattern":"^(always_until_updated|expires_at|short_window)$"},{"type":"null"}],"title":"Display Policy"},"default_expire_minutes":{"anyOf":[{"type":"integer","maximum":1440.0,"minimum":0.0},{"type":"null"}],"title":"Default Expire Minutes"},"show_last_updated_at":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Show Last Updated At"}},"type":"object","title":"StoreWaitingSettingsUpdate"},"StoreWaitingStatusResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"status":{"type":"string","title":"Status"},"wait_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Wait Minutes"},"waiting_parties":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Waiting Parties"},"current_ticket_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Ticket Number"},"last_ticket_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Ticket Number"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"visible_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Visible Until"},"updated_by_staff_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Updated By Staff Id"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","store_id","status","updated_at","created_at"],"title":"StoreWaitingStatusResponse"},"StoreWaitingStatusUpdate":{"properties":{"status":{"type":"string","pattern":"^(available|short_wait|waiting|busy|paused|closed|ask_staff)$","title":"Status"},"wait_minutes":{"anyOf":[{"type":"integer","maximum":1440.0,"minimum":0.0},{"type":"null"}],"title":"Wait Minutes"},"waiting_parties":{"anyOf":[{"type":"integer","maximum":999.0,"minimum":0.0},{"type":"null"}],"title":"Waiting Parties"},"current_ticket_number":{"anyOf":[{"type":"integer","maximum":999999.0,"minimum":0.0},{"type":"null"}],"title":"Current Ticket Number"},"last_ticket_number":{"anyOf":[{"type":"integer","maximum":999999.0,"minimum":0.0},{"type":"null"}],"title":"Last Ticket Number"},"message":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Message"},"visible_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Visible Until"}},"type":"object","required":["status"],"title":"StoreWaitingStatusUpdate"},"StoreWalletAddressCreate":{"properties":{"wallet_address":{"type":"string","maxLength":42,"minLength":42,"title":"Wallet Address"},"label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Label"},"confirmed_wallet_ownership":{"type":"boolean","title":"Confirmed Wallet Ownership","default":false},"current_password":{"anyOf":[{"type":"string","maxLength":512,"minLength":1},{"type":"null"}],"title":"Current Password"},"reauth_acknowledged":{"type":"boolean","title":"Reauth Acknowledged","default":false},"change_reason":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Change Reason"},"token_symbol":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Token Symbol"},"token_address":{"anyOf":[{"type":"string","maxLength":42,"minLength":42},{"type":"null"}],"title":"Token Address"},"chain_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chain Id"},"intended_purpose":{"type":"string","enum":["receive","refund"],"title":"Intended Purpose","default":"receive"}},"type":"object","required":["wallet_address"],"title":"StoreWalletAddressCreate"},"StoreWalletAddressResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"chain_id":{"type":"integer","title":"Chain Id"},"token_address":{"type":"string","title":"Token Address"},"wallet_address":{"type":"string","title":"Wallet Address"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"status":{"type":"string","title":"Status"},"purpose":{"type":"string","title":"Purpose","default":"receive"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"requested_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Requested Store Id"},"effective_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Effective Store Id"},"inherited_from_parent":{"type":"boolean","title":"Inherited From Parent","default":false},"parent_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Store Id"},"parent_store_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Store Name"}},"type":"object","required":["id","store_id","chain_id","token_address","wallet_address","label","status","created_at","updated_at"],"title":"StoreWalletAddressResponse"},"StoreWalletAddressUpdate":{"properties":{"label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Label"},"status":{"anyOf":[{"type":"string","enum":["pending_review","active","rejected","disabled"]},{"type":"null"}],"title":"Status"}},"type":"object","title":"StoreWalletAddressUpdate"},"StoreWalletRefundPurposeUpdate":{"properties":{"refund_enabled":{"type":"boolean","title":"Refund Enabled"}},"type":"object","required":["refund_enabled"],"title":"StoreWalletRefundPurposeUpdate","description":"owner/manager が返金許可の可否だけを切り替える(status のsuper-admin審査とは別枠)。"},"StripeCheckoutSessionCreate":{"properties":{"purchase_credits":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Purchase Credits"},"plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Id"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"}},"type":"object","required":["idempotency_key"],"title":"StripeCheckoutSessionCreate"},"StripeCreditPurchaseResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"status":{"type":"string","title":"Status"},"purchase_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Purchase Credits"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"currency":{"type":"string","title":"Currency"},"checkout_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checkout Url"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"succeeded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Succeeded At"},"failure_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Failure Reason"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","store_id","status","purchase_credits","amount_jpy","currency","expires_at","created_at"],"title":"StripeCreditPurchaseResponse"},"StripeCreditsAvailabilityResponse":{"properties":{"configured":{"type":"boolean","title":"Configured"},"first_purchase_available":{"type":"boolean","title":"First Purchase Available"},"eligible":{"type":"boolean","title":"Eligible"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"effective_store_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Effective Store Id"},"inherited_from_parent":{"type":"boolean","title":"Inherited From Parent","default":false},"min_purchase_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Min Purchase Credits"},"max_purchase_credits":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Max Purchase Credits"}},"type":"object","required":["configured","first_purchase_available","eligible","min_purchase_credits","max_purchase_credits"],"title":"StripeCreditsAvailabilityResponse","description":"Stripe 購入導線の出し分けに使う backend 権威の状態。\n\n``eligible`` が false の理由は ``reason`` で機械可読に返し、frontend は\n自分で初回判定をしない。"},"TableCashSettleRequest":{"properties":{"table_number":{"type":"string","maxLength":40,"minLength":1,"title":"Table Number"}},"additionalProperties":false,"type":"object","required":["table_number"],"title":"TableCashSettleRequest"},"TableCashSettleResponse":{"properties":{"table_number":{"type":"string","title":"Table Number"},"table_session_id":{"type":"string","format":"uuid","title":"Table Session Id"},"paid_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Paid Jpy"},"cash_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Cash Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"}},"type":"object","required":["table_number","table_session_id","paid_jpy","cash_jpy","total_jpy"],"title":"TableCashSettleResponse"},"TableCheckoutProgressItem":{"properties":{"table_key":{"type":"string","title":"Table Key"},"table_session_id":{"type":"string","format":"uuid","title":"Table Session Id"},"total_unpaid_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Unpaid Jpy"},"paid_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Paid Jpy"},"remaining_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Remaining Jpy"},"payment_in_progress":{"type":"boolean","title":"Payment In Progress","default":false},"partial_in_effect":{"type":"boolean","title":"Partial In Effect","default":false},"all_you_can_eat":{"anyOf":[{"$ref":"#/components/schemas/AllYouCanEatStateResponse"},{"type":"null"}]}},"type":"object","required":["table_key","table_session_id","total_unpaid_jpy","paid_jpy","remaining_jpy"],"title":"TableCheckoutProgressItem","description":"席(table_key)ごとの会計進捗。POS席QRタブの残額表示の権威ソース。\n\n``remaining_jpy`` = ``total_unpaid_jpy`` − ``paid_jpy``(成功済み部分決済)。\n``partial_in_effect`` が True のとき、その席は部分金額決済が進行中で「選んで会計」を禁止し、\n残額は現金会計(cash-settle)または残額会計(お客様端末)で消す。"},"TableCheckoutProgressResponse":{"properties":{"tables":{"items":{"$ref":"#/components/schemas/TableCheckoutProgressItem"},"type":"array","title":"Tables"}},"type":"object","required":["tables"],"title":"TableCheckoutProgressResponse"},"TableParticipationEmergencyResetResponse":{"properties":{"table_number":{"type":"string","title":"Table Number"},"qr_credential":{"type":"string","title":"Qr Credential"},"qr_generation":{"type":"integer","title":"Qr Generation"},"passcode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Passcode"},"passcode_generation":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Passcode Generation"}},"type":"object","required":["table_number","qr_credential","qr_generation"],"title":"TableParticipationEmergencyResetResponse"},"TableParticipationPasscodeResponse":{"properties":{"table_number":{"type":"string","title":"Table Number"},"passcode":{"type":"string","title":"Passcode"},"generation":{"type":"integer","title":"Generation"},"issued_at":{"type":"string","format":"date-time","title":"Issued At"}},"type":"object","required":["table_number","passcode","generation","issued_at"],"title":"TableParticipationPasscodeResponse"},"TableParticipationQrReissueResponse":{"properties":{"table_number":{"type":"string","title":"Table Number"},"qr_credential":{"type":"string","title":"Qr Credential"},"generation":{"type":"integer","title":"Generation"},"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At"}},"type":"object","required":["table_number","qr_credential","generation"],"title":"TableParticipationQrReissueResponse"},"TableParticipationSessionRequest":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"table_number":{"type":"string","maxLength":40,"minLength":1,"title":"Table Number"}},"additionalProperties":false,"type":"object","required":["store_id","table_number"],"title":"TableParticipationSessionRequest"},"TableParticipationStartResponse":{"properties":{"table_number":{"type":"string","title":"Table Number"},"table_session_id":{"type":"string","format":"uuid","title":"Table Session Id"},"status":{"type":"string","title":"Status"},"passcode_required":{"type":"boolean","title":"Passcode Required"},"passcode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Passcode"}},"type":"object","required":["table_number","table_session_id","status","passcode_required"],"title":"TableParticipationStartResponse"},"TableParticipationStatusResponse":{"properties":{"table_number":{"type":"string","title":"Table Number"},"qr_issued":{"type":"boolean","title":"Qr Issued"},"qr_generation":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Qr Generation"},"qr_issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Qr Issued At"},"active_session":{"type":"boolean","title":"Active Session"},"passcode_required":{"type":"boolean","title":"Passcode Required"},"passcode_issued":{"type":"boolean","title":"Passcode Issued"},"table_session_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Table Session Id"},"all_you_can_eat":{"anyOf":[{"$ref":"#/components/schemas/AllYouCanEatStateResponse"},{"type":"null"}]},"all_you_can_eat_history":{"anyOf":[{"$ref":"#/components/schemas/AllYouCanEatHistoryResponse"},{"type":"null"}]}},"type":"object","required":["table_number","qr_issued","active_session","passcode_required","passcode_issued"],"title":"TableParticipationStatusResponse","description":"Safe per-seat participation state for the POS list.\n\nThis deliberately excludes the QR credential, passcode, and participant\naccess token. Those values remain available only through their existing\nauthenticated, no-store display endpoints."},"TableRemainingCheckoutRequest":{"properties":{"table_number":{"type":"string","maxLength":40,"minLength":1,"title":"Table Number"},"expected_from_address":{"type":"string","maxLength":42,"minLength":42,"title":"Expected From Address"},"idempotency_key":{"type":"string","maxLength":120,"minLength":1,"title":"Idempotency Key"}},"additionalProperties":false,"type":"object","required":["table_number","expected_from_address","idempotency_key"],"title":"TableRemainingCheckoutRequest","description":"POSから席の残額分のQR会計(payment intent)を1本発行する。\n\n金額はサーバーが ``remaining_jpy`` を再計算して使う(クライアント金額は受け取らない)。\n部分金額決済が進行中(例: 500円中250円ウォレット決済済み)の席でも、残額250円分のQRを\n累積会計セッションに紐づけて発行する。残額が成功すれば席の全注文が paid になる。"},"TableSessionResetRequest":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"table_number":{"type":"string","title":"Table Number"}},"type":"object","required":["store_id","table_number"],"title":"TableSessionResetRequest"},"TableSessionResetResponse":{"properties":{"table_number":{"type":"string","title":"Table Number"},"status":{"type":"string","title":"Status"}},"type":"object","required":["table_number","status"],"title":"TableSessionResetResponse"},"TakeoutAvailabilityResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_name":{"type":"string","title":"Store Name"},"available":{"type":"boolean","title":"Available"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"earliest_pickup_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Earliest Pickup At"},"advance_order_days":{"type":"integer","title":"Advance Order Days","default":0},"pickup_location_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Location Note"},"order_notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Notice"},"timezone":{"type":"string","title":"Timezone","default":"Asia/Tokyo"}},"type":"object","required":["store_id","store_name","available"],"title":"TakeoutAvailabilityResponse"},"TakeoutCartUpdate":{"properties":{"version":{"type":"integer","minimum":1.0,"title":"Version"},"items":{"items":{"$ref":"#/components/schemas/OrderCreateItem"},"type":"array","maxItems":100,"title":"Items"}},"type":"object","required":["version"],"title":"TakeoutCartUpdate"},"TakeoutCheckoutRequest":{"properties":{"version":{"type":"integer","minimum":1.0,"title":"Version"},"idempotency_key":{"type":"string","maxLength":120,"minLength":8,"title":"Idempotency Key"},"final_confirmation_accepted":{"type":"boolean","title":"Final Confirmation Accepted"},"alcohol_age_confirmed":{"type":"boolean","title":"Alcohol Age Confirmed","default":false}},"type":"object","required":["version","idempotency_key","final_confirmation_accepted"],"title":"TakeoutCheckoutRequest"},"TakeoutCheckoutResponse":{"properties":{"session":{"$ref":"#/components/schemas/TakeoutSessionResponse"},"order_id":{"type":"string","format":"uuid","title":"Order Id"},"payment_intent_id":{"type":"string","format":"uuid","title":"Payment Intent Id"},"app_payment_path":{"type":"string","title":"App Payment Path"},"web_payment_url":{"type":"string","title":"Web Payment Url"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["session","order_id","payment_intent_id","app_payment_path","web_payment_url","expires_at"],"title":"TakeoutCheckoutResponse"},"TakeoutConditionsUpdate":{"properties":{"version":{"type":"integer","minimum":1.0,"title":"Version"},"pickup_option_id":{"type":"string","maxLength":255,"minLength":20,"title":"Pickup Option Id"},"recipient_name":{"type":"string","maxLength":120,"minLength":1,"title":"Recipient Name"},"phone_number":{"type":"string","maxLength":40,"minLength":8,"title":"Phone Number"},"allergy_status":{"type":"string","enum":["none","present"],"title":"Allergy Status"},"allergy_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Allergy Note"},"customer_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Customer Note"}},"type":"object","required":["version","pickup_option_id","recipient_name","phone_number","allergy_status"],"title":"TakeoutConditionsUpdate"},"TakeoutHourRange":{"properties":{"start_minute":{"type":"integer","maximum":1440.0,"minimum":0.0,"title":"Start Minute"},"end_minute":{"type":"integer","maximum":2880.0,"minimum":1.0,"title":"End Minute"},"last_order_minute":{"anyOf":[{"type":"integer","maximum":2880.0,"minimum":0.0},{"type":"null"}],"title":"Last Order Minute"}},"type":"object","required":["start_minute","end_minute"],"title":"TakeoutHourRange"},"TakeoutMenuItemResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"display_price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Display Price Jpy"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"price_includes_tax":{"type":"boolean","title":"Price Includes Tax","default":true},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"preparation_minutes":{"type":"integer","title":"Preparation Minutes"},"available":{"type":"boolean","title":"Available"},"is_alcohol":{"type":"boolean","title":"Is Alcohol","default":false},"unavailable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unavailable Reason"},"option_groups":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Option Groups"}},"type":"object","required":["id","name","display_price_jpy","tax_rate","preparation_minutes","available"],"title":"TakeoutMenuItemResponse"},"TakeoutOptionOverrides":{"properties":{"disabled_group_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Disabled Group Ids"},"disabled_option_item_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Disabled Option Item Ids"}},"type":"object","title":"TakeoutOptionOverrides","description":"Per-item takeout restriction over the shared option groups (Phase B).\n\nLists the option groups / option items that are NOT offered for takeout while\nthe dine-in option master is untouched. Empty lists (or a null overrides\nobject) mean \"all options usable for takeout\". The order validator removes the\ndisabled groups/items from the effective option set before checking\nrequired / min_select / max_select, so a takeout-disabled item can never be\nordered nor satisfy a required group."},"TakeoutPaidCancellationRequest":{"properties":{"reason":{"type":"string","maxLength":1000,"minLength":3,"title":"Reason"},"refund_method":{"type":"string","enum":["cash","bank_transfer","support_chat","existing_refund"],"title":"Refund Method"},"operator_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Operator Note"}},"type":"object","required":["reason","refund_method"],"title":"TakeoutPaidCancellationRequest"},"TakeoutPaidCancellationResponse":{"properties":{"order_id":{"type":"string","format":"uuid","title":"Order Id"},"status":{"type":"string","title":"Status"},"refund_record_id":{"type":"string","format":"uuid","title":"Refund Record Id"},"chat_thread_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Chat Thread Id"},"guidance":{"type":"string","title":"Guidance"}},"type":"object","required":["order_id","status","refund_record_id","guidance"],"title":"TakeoutPaidCancellationResponse"},"TakeoutQuoteItemResponse":{"properties":{"menu_item_id":{"type":"string","format":"uuid","title":"Menu Item Id"},"name":{"type":"string","title":"Name"},"qty":{"type":"integer","title":"Qty"},"unit_price_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Unit Price Jpy"},"line_tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Tax Jpy"},"line_total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Line Total Jpy"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"is_alcohol":{"type":"boolean","title":"Is Alcohol","default":false}},"type":"object","required":["menu_item_id","name","qty","unit_price_jpy","line_tax_jpy","line_total_jpy","tax_rate"],"title":"TakeoutQuoteItemResponse"},"TakeoutQuoteResponse":{"properties":{"session":{"$ref":"#/components/schemas/TakeoutSessionResponse"},"items":{"items":{"$ref":"#/components/schemas/TakeoutQuoteItemResponse"},"type":"array","title":"Items"},"subtotal_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Subtotal Jpy"},"tax_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Jpy"},"total_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Total Jpy"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"cancellation_policy":{"type":"string","title":"Cancellation Policy"},"commercial_transaction_url":{"type":"string","title":"Commercial Transaction Url"}},"type":"object","required":["session","items","subtotal_jpy","tax_jpy","total_jpy","expires_at","cancellation_policy","commercial_transaction_url"],"title":"TakeoutQuoteResponse"},"TakeoutRefundCompleteRequest":{"properties":{"evidence_reference":{"type":"string","maxLength":200,"minLength":3,"title":"Evidence Reference"},"operator_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Operator Note"}},"type":"object","required":["evidence_reference"],"title":"TakeoutRefundCompleteRequest"},"TakeoutRefundCompleteResponse":{"properties":{"order_id":{"type":"string","format":"uuid","title":"Order Id"},"refund_record_id":{"type":"string","format":"uuid","title":"Refund Record Id"},"status":{"type":"string","title":"Status"},"completed_at":{"type":"string","format":"date-time","title":"Completed At"}},"type":"object","required":["order_id","refund_record_id","status","completed_at"],"title":"TakeoutRefundCompleteResponse"},"TakeoutSessionResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"state":{"type":"string","title":"State"},"version":{"type":"integer","title":"Version"},"pickup_business_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Pickup Business Date"},"pickup_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Pickup At"},"pickup_option_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Option Id"},"timezone":{"type":"string","title":"Timezone"},"recipient_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Name"},"phone_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone Number"},"phone_verified":{"type":"boolean","title":"Phone Verified","default":false},"allergy_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allergy Status"},"allergy_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Allergy Note"},"customer_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Note"},"cart":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Cart"},"quote":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Quote"},"quote_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Quote Expires At"},"order_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Order Id"},"payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Payment Intent Id"},"payment_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Status"},"has_irreversible_transfer":{"type":"boolean","title":"Has Irreversible Transfer","default":false},"can_abandon":{"type":"boolean","title":"Can Abandon","default":false},"last_checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Checked At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["id","store_id","state","version","timezone","expires_at"],"title":"TakeoutSessionResponse"},"TakeoutSettingsResponse":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"accepting_orders":{"type":"boolean","title":"Accepting Orders"},"temporarily_paused":{"type":"boolean","title":"Temporarily Paused"},"minimum_pickup_minutes":{"type":"integer","title":"Minimum Pickup Minutes"},"pickup_interval_minutes":{"type":"integer","title":"Pickup Interval Minutes"},"max_orders_per_slot":{"type":"integer","title":"Max Orders Per Slot"},"advance_order_days":{"type":"integer","title":"Advance Order Days"},"same_day_cutoff_minutes":{"type":"integer","title":"Same Day Cutoff Minutes"},"pickup_location_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pickup Location Note"},"order_notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Notice"},"cancellation_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancellation Policy"},"legal_disclosure_complete":{"type":"boolean","title":"Legal Disclosure Complete","default":false},"legal_disclosure_missing_fields":{"items":{"type":"string"},"type":"array","title":"Legal Disclosure Missing Fields"},"commercial_transaction_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commercial Transaction Url"},"timezone":{"type":"string","title":"Timezone"},"business_hours_configured":{"type":"boolean","title":"Business Hours Configured"},"weekly_hours":{"items":{"$ref":"#/components/schemas/TakeoutWeeklyHours"},"type":"array","title":"Weekly Hours"}},"type":"object","required":["store_id","accepting_orders","temporarily_paused","minimum_pickup_minutes","pickup_interval_minutes","max_orders_per_slot","advance_order_days","same_day_cutoff_minutes","timezone","business_hours_configured"],"title":"TakeoutSettingsResponse"},"TakeoutSettingsUpdate":{"properties":{"accepting_orders":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepting Orders"},"temporarily_paused":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Temporarily Paused"},"minimum_pickup_minutes":{"anyOf":[{"type":"integer","maximum":1440.0,"minimum":1.0},{"type":"null"}],"title":"Minimum Pickup Minutes"},"pickup_interval_minutes":{"anyOf":[{"type":"integer","enum":[10,15,30]},{"type":"null"}],"title":"Pickup Interval Minutes"},"max_orders_per_slot":{"anyOf":[{"type":"integer","maximum":1000.0,"minimum":1.0},{"type":"null"}],"title":"Max Orders Per Slot"},"advance_order_days":{"anyOf":[{"type":"integer","maximum":31.0,"minimum":0.0},{"type":"null"}],"title":"Advance Order Days"},"same_day_cutoff_minutes":{"anyOf":[{"type":"integer","maximum":1440.0,"minimum":0.0},{"type":"null"}],"title":"Same Day Cutoff Minutes"},"pickup_location_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Pickup Location Note"},"order_notice":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Order Notice"},"cancellation_policy":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Cancellation Policy"},"timezone":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Timezone"},"weekly_hours":{"anyOf":[{"items":{"$ref":"#/components/schemas/TakeoutWeeklyHours"},"type":"array","maxItems":7},{"type":"null"}],"title":"Weekly Hours"}},"type":"object","title":"TakeoutSettingsUpdate"},"TakeoutWeeklyHours":{"properties":{"weekday":{"type":"integer","maximum":6.0,"minimum":0.0,"title":"Weekday"},"is_closed":{"type":"boolean","title":"Is Closed","default":false},"ranges":{"items":{"$ref":"#/components/schemas/TakeoutHourRange"},"type":"array","maxItems":4,"title":"Ranges"}},"type":"object","required":["weekday"],"title":"TakeoutWeeklyHours"},"TaxLineResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"order_id":{"type":"string","format":"uuid","title":"Order Id"},"fulfillment_type":{"type":"string","title":"Fulfillment Type"},"tax_rate":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Rate"},"taxable_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Taxable Amount Jpy"},"tax_amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Tax Amount Jpy"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","order_id","fulfillment_type","tax_rate","taxable_amount_jpy","tax_amount_jpy","created_at"],"title":"TaxLineResponse"},"ThemeRequest":{"properties":{"template_key":{"type":"string","enum":["template-01","template-02","template-03","template-04","template-05"],"title":"Template Key"},"settings":{"additionalProperties":true,"type":"object","title":"Settings"},"sections":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":30,"title":"Sections"}},"type":"object","required":["template_key"],"title":"ThemeRequest"},"TicketResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"customer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Customer Id"},"ticket_type_id":{"type":"string","format":"uuid","title":"Ticket Type Id"},"admission_number":{"type":"integer","title":"Admission Number"},"status":{"type":"string","title":"Status"},"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Used At"}},"type":"object","required":["id","event_id","application_id","customer_id","ticket_type_id","admission_number","status","issued_at","paid_at","used_at"],"title":"TicketResponse"},"TicketTypeCreate":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"price_jpy":{"type":"integer","minimum":0.0,"title":"Price Jpy","default":0},"capacity":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Capacity"},"sort_order":{"type":"integer","title":"Sort Order","default":0},"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","required":["name"],"title":"TicketTypeCreate"},"TicketTypeResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id"},"name":{"type":"string","title":"Name"},"price_jpy":{"type":"integer","title":"Price Jpy"},"capacity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Capacity"},"sort_order":{"type":"integer","title":"Sort Order"},"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["id","event_id","name","price_jpy","capacity","sort_order","is_active"],"title":"TicketTypeResponse"},"TicketTypeUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Name"},"price_jpy":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Price Jpy"},"capacity":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Capacity"},"sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sort Order"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","title":"TicketTypeUpdate"},"TokenMarkupUpdateRequest":{"properties":{"chain_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Chain Id"},"markup_bps":{"type":"integer","maximum":1000.0,"minimum":0.0,"title":"Markup Bps","description":"為替上乗せ率(basis points, 150=1.5%)"},"reason":{"type":"string","maxLength":200,"minLength":4,"title":"Reason","description":"変更理由(監査ログに記録)"}},"type":"object","required":["chain_id","markup_bps","reason"],"title":"TokenMarkupUpdateRequest","description":"トークン単位の為替上乗せ率(markup)の更新(super admin)。\n\n上乗せは為替変動リスク調整のための値で、Credits(``fee_schedules``)とは別系統。\n0 も正式な設定値として許可する。"},"TokenPricingBlock":{"properties":{"symbol":{"type":"string","title":"Symbol"},"display_name":{"type":"string","title":"Display Name"},"enabled":{"type":"boolean","title":"Enabled"},"chain_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chain Id"},"token_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Address"},"decimals":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Decimals"},"network":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Network"},"supports_eip3009":{"type":"boolean","title":"Supports Eip3009"},"markup_bps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Markup Bps"},"jpy_per_token":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Jpy Per Token"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"markup_source":{"anyOf":[{"type":"string","enum":["default","configured"]},{"type":"null"}],"title":"Markup Source"},"markup_editable":{"type":"boolean","title":"Markup Editable","default":false},"preview":{"items":{"$ref":"#/components/schemas/PricingPreviewRowSchema"},"type":"array","title":"Preview"}},"type":"object","required":["symbol","display_name","enabled","supports_eip3009"],"title":"TokenPricingBlock"},"TokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"}},"type":"object","required":["access_token"],"title":"TokenResponse"},"TxExpectationResponse":{"properties":{"chain_id":{"type":"integer","title":"Chain Id"},"token_address":{"type":"string","title":"Token Address"},"sender_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sender Address"},"recipient_address":{"type":"string","title":"Recipient Address"},"amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["chain_id","token_address","sender_address","recipient_address","amount","expires_at"],"title":"TxExpectationResponse"},"TxObservationResponse":{"properties":{"chain_id":{"type":"integer","title":"Chain Id"},"tx_hash":{"type":"string","title":"Tx Hash"},"block_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Block Number"},"from_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Address"},"to_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To Address"},"receipt_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Receipt Status"},"method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Method"},"decoded_recipient":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decoded Recipient"},"decoded_amount":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Decoded Amount"},"confirmations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Confirmations"}},"type":"object","required":["chain_id","tx_hash"],"title":"TxObservationResponse"},"UserAddressCreate":{"properties":{"recipient_name":{"type":"string","maxLength":120,"minLength":1,"title":"Recipient Name"},"postal_code":{"type":"string","pattern":"^[0-9]{3}-?[0-9]{4}$","title":"Postal Code"},"prefecture_code":{"type":"string","pattern":"^[0-9]{2}$","title":"Prefecture Code"},"prefecture":{"type":"string","maxLength":80,"minLength":1,"title":"Prefecture"},"city_code":{"anyOf":[{"type":"string","pattern":"^[0-9]{5}$"},{"type":"null"}],"title":"City Code"},"city":{"type":"string","maxLength":120,"minLength":1,"title":"City"},"ward":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Ward"},"line1":{"type":"string","maxLength":255,"minLength":1,"title":"Line1"},"line2":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Line2"},"phone":{"type":"string","maxLength":40,"minLength":8,"title":"Phone"},"address_type":{"type":"string","enum":["account_primary","saved_destination"],"title":"Address Type"},"label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Label"},"is_default_shipping":{"type":"boolean","title":"Is Default Shipping","default":false}},"type":"object","required":["recipient_name","postal_code","prefecture_code","prefecture","city","line1","phone","address_type"],"title":"UserAddressCreate"},"UserAddressResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"address_type":{"type":"string","title":"Address Type"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"recipient_name":{"type":"string","title":"Recipient Name"},"postal_code":{"type":"string","title":"Postal Code"},"prefecture_code":{"type":"string","title":"Prefecture Code"},"prefecture":{"type":"string","title":"Prefecture"},"city_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City Code"},"city":{"type":"string","title":"City"},"ward":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ward"},"line1":{"type":"string","title":"Line1"},"line2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line2"},"phone":{"type":"string","title":"Phone"},"is_default_shipping":{"type":"boolean","title":"Is Default Shipping"},"version":{"type":"integer","title":"Version"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","address_type","label","recipient_name","postal_code","prefecture_code","prefecture","city_code","city","ward","line1","line2","phone","is_default_shipping","version","created_at","updated_at"],"title":"UserAddressResponse"},"UserAddressUpdate":{"properties":{"recipient_name":{"type":"string","maxLength":120,"minLength":1,"title":"Recipient Name"},"postal_code":{"type":"string","pattern":"^[0-9]{3}-?[0-9]{4}$","title":"Postal Code"},"prefecture_code":{"type":"string","pattern":"^[0-9]{2}$","title":"Prefecture Code"},"prefecture":{"type":"string","maxLength":80,"minLength":1,"title":"Prefecture"},"city_code":{"anyOf":[{"type":"string","pattern":"^[0-9]{5}$"},{"type":"null"}],"title":"City Code"},"city":{"type":"string","maxLength":120,"minLength":1,"title":"City"},"ward":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Ward"},"line1":{"type":"string","maxLength":255,"minLength":1,"title":"Line1"},"line2":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Line2"},"phone":{"type":"string","maxLength":40,"minLength":8,"title":"Phone"},"address_type":{"type":"string","enum":["account_primary","saved_destination"],"title":"Address Type"},"label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Label"},"is_default_shipping":{"type":"boolean","title":"Is Default Shipping","default":false},"version":{"type":"integer","minimum":1.0,"title":"Version"}},"type":"object","required":["recipient_name","postal_code","prefecture_code","prefecture","city","line1","phone","address_type","version"],"title":"UserAddressUpdate"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VariantCreate":{"properties":{"sku":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Sku"},"title":{"type":"string","maxLength":160,"minLength":1,"title":"Title"},"options":{"additionalProperties":true,"type":"object","title":"Options"},"price_jpy":{"type":"integer","maximum":100000000.0,"minimum":0.0,"title":"Price Jpy"},"compare_at_price_jpy":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Compare At Price Jpy"},"weight_grams":{"type":"integer","maximum":1000000.0,"minimum":0.0,"title":"Weight Grams","default":0},"shipping_class":{"type":"string","maxLength":60,"title":"Shipping Class","default":"standard"},"stock":{"type":"integer","maximum":100000000.0,"minimum":0.0,"title":"Stock","default":0}},"type":"object","required":["title","price_jpy"],"title":"VariantCreate"},"VariantUpdate":{"properties":{"sku":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Sku"},"title":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Title"},"options":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Options"},"price_jpy":{"anyOf":[{"type":"integer","maximum":100000000.0,"minimum":0.0},{"type":"null"}],"title":"Price Jpy"},"compare_at_price_jpy":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Compare At Price Jpy"},"weight_grams":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":0.0},{"type":"null"}],"title":"Weight Grams"},"shipping_class":{"anyOf":[{"type":"string","maxLength":60,"minLength":1},{"type":"null"}],"title":"Shipping Class"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"}},"type":"object","title":"VariantUpdate"},"VideoHistoryEventResponse":{"properties":{"video_id":{"type":"string","format":"uuid","title":"Video Id"},"watch_count":{"type":"integer","title":"Watch Count"},"last_watched_at":{"type":"string","format":"date-time","title":"Last Watched At"}},"type":"object","required":["video_id","watch_count","last_watched_at"],"title":"VideoHistoryEventResponse"},"VideoJobActionResponse":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"accepted":{"type":"boolean","title":"Accepted"},"state":{"type":"string","title":"State"}},"type":"object","required":["request_id","accepted","state"],"title":"VideoJobActionResponse"},"VideoJobClaimRequest":{"properties":{"worker_id":{"type":"string","maxLength":120,"minLength":1,"title":"Worker Id"},"request_id":{"type":"string","format":"uuid","title":"Request Id"}},"additionalProperties":false,"type":"object","required":["worker_id","request_id"],"title":"VideoJobClaimRequest"},"VideoJobClaimResponse":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"job":{"anyOf":[{"$ref":"#/components/schemas/VideoJobPayload"},{"type":"null"}]}},"type":"object","required":["request_id"],"title":"VideoJobClaimResponse"},"VideoJobCompleteRequest":{"properties":{"video_id":{"type":"string","format":"uuid","title":"Video Id"},"worker_id":{"type":"string","maxLength":120,"minLength":1,"title":"Worker Id"},"lease_token":{"type":"string","maxLength":64,"minLength":32,"title":"Lease Token"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"uploaded_object_keys":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Uploaded Object Keys"},"processed_file_key":{"type":"string","maxLength":500,"minLength":1,"title":"Processed File Key"},"processed_size_bytes":{"type":"integer","minimum":1.0,"title":"Processed Size Bytes"},"thumbnail_file_key":{"type":"string","maxLength":500,"minLength":1,"title":"Thumbnail File Key"},"thumbnail_size_bytes":{"type":"integer","minimum":1.0,"title":"Thumbnail Size Bytes"},"thumbnail_source":{"type":"string","enum":["auto_frame","selected_frame","manual_upload"],"title":"Thumbnail Source"},"selected_thumbnail_timestamp_seconds":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Selected Thumbnail Timestamp Seconds"},"thumbnail_candidates":{"items":{"$ref":"#/components/schemas/VideoThumbnailResult"},"type":"array","maxItems":10,"title":"Thumbnail Candidates"},"thumbnail_candidates_error":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Thumbnail Candidates Error"},"duration_seconds":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Duration Seconds"},"original_width":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Original Width"},"original_height":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Original Height"},"rotation_degrees":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rotation Degrees"}},"additionalProperties":false,"type":"object","required":["video_id","worker_id","lease_token","request_id","processed_file_key","processed_size_bytes","thumbnail_file_key","thumbnail_size_bytes","thumbnail_source","thumbnail_candidates"],"title":"VideoJobCompleteRequest"},"VideoJobFailRequest":{"properties":{"video_id":{"type":"string","format":"uuid","title":"Video Id"},"worker_id":{"type":"string","maxLength":120,"minLength":1,"title":"Worker Id"},"lease_token":{"type":"string","maxLength":64,"minLength":32,"title":"Lease Token"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"uploaded_object_keys":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Uploaded Object Keys"},"error_code":{"type":"string","maxLength":80,"minLength":1,"title":"Error Code"},"error_message":{"type":"string","maxLength":500,"minLength":1,"title":"Error Message"}},"additionalProperties":false,"type":"object","required":["video_id","worker_id","lease_token","request_id","error_code","error_message"],"title":"VideoJobFailRequest"},"VideoJobLeaseRequest":{"properties":{"video_id":{"type":"string","format":"uuid","title":"Video Id"},"worker_id":{"type":"string","maxLength":120,"minLength":1,"title":"Worker Id"},"lease_token":{"type":"string","maxLength":64,"minLength":32,"title":"Lease Token"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"uploaded_object_keys":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Uploaded Object Keys"}},"additionalProperties":false,"type":"object","required":["video_id","worker_id","lease_token","request_id"],"title":"VideoJobLeaseRequest"},"VideoJobPayload":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"video_id":{"type":"string","format":"uuid","title":"Video Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"worker_id":{"type":"string","title":"Worker Id"},"lease_token":{"type":"string","title":"Lease Token"},"original_download_url":{"type":"string","title":"Original Download Url"},"original_filename":{"type":"string","title":"Original Filename"},"original_mime_type":{"type":"string","title":"Original Mime Type"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"},"selected_thumbnail_timestamp_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Selected Thumbnail Timestamp Seconds"},"thumbnail_file_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail File Key"},"thumbnail_source":{"type":"string","title":"Thumbnail Source"},"thumbnail_download_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Download Url"}},"type":"object","required":["request_id","video_id","store_id","worker_id","lease_token","original_download_url","original_filename","original_mime_type","thumbnail_source"],"title":"VideoJobPayload"},"VideoJobUploadRequest":{"properties":{"video_id":{"type":"string","format":"uuid","title":"Video Id"},"worker_id":{"type":"string","maxLength":120,"minLength":1,"title":"Worker Id"},"lease_token":{"type":"string","maxLength":64,"minLength":32,"title":"Lease Token"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"uploaded_object_keys":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Uploaded Object Keys"},"kind":{"type":"string","enum":["processed","thumbnail"],"title":"Kind"},"slot":{"type":"string","maxLength":80,"minLength":1,"pattern":"^(processed|selected|candidate-[0-9])$","title":"Slot"}},"additionalProperties":false,"type":"object","required":["video_id","worker_id","lease_token","request_id","kind","slot"],"title":"VideoJobUploadRequest"},"VideoJobUploadResponse":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"object_key":{"type":"string","title":"Object Key"},"upload_url":{"type":"string","title":"Upload Url"},"content_type":{"type":"string","title":"Content Type"}},"type":"object","required":["request_id","object_key","upload_url","content_type"],"title":"VideoJobUploadResponse"},"VideoLikeStateResponse":{"properties":{"video_id":{"type":"string","format":"uuid","title":"Video Id"},"liked":{"type":"boolean","title":"Liked"},"like_count":{"type":"integer","title":"Like Count"}},"type":"object","required":["video_id","liked","like_count"],"title":"VideoLikeStateResponse"},"VideoSaveStateResponse":{"properties":{"video_id":{"type":"string","format":"uuid","title":"Video Id"},"saved":{"type":"boolean","title":"Saved"}},"type":"object","required":["video_id","saved"],"title":"VideoSaveStateResponse"},"VideoThumbnailResult":{"properties":{"file_key":{"type":"string","maxLength":500,"minLength":1,"title":"File Key"},"timestamp_seconds":{"type":"number","minimum":0.0,"title":"Timestamp Seconds"},"label":{"type":"string","maxLength":40,"minLength":1,"title":"Label"},"width":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Height"},"size_bytes":{"type":"integer","minimum":1.0,"title":"Size Bytes"}},"additionalProperties":false,"type":"object","required":["file_key","timestamp_seconds","label","size_bytes"],"title":"VideoThumbnailResult"},"VirtualMapAppearanceItem":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"store_name":{"type":"string","title":"Store Name"},"appearance_id":{"type":"string","format":"uuid","title":"Appearance Id"},"title":{"type":"string","title":"Title"},"effective_state":{"type":"string","enum":["upcoming","active"],"title":"Effective State"},"starts_at":{"type":"string","format":"date-time","title":"Starts At"},"ends_at":{"type":"string","format":"date-time","title":"Ends At"},"location_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"latitude":{"type":"number","title":"Latitude"},"longitude":{"type":"number","title":"Longitude"},"area_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Code"},"area_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area Label"},"event_area_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Area Name"},"event_map_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Map Id"},"event_area_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Area Id"},"map_x":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map X"},"map_y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Map Y"},"map_pin_priority":{"type":"integer","title":"Map Pin Priority","default":0},"map_pin_label_visible":{"type":"boolean","title":"Map Pin Label Visible","default":false},"event_map":{"anyOf":[{"$ref":"#/components/schemas/PublicEventMapResponse"},{"type":"null"}]}},"type":"object","required":["store_id","store_slug","store_name","appearance_id","title","effective_state","starts_at","ends_at","latitude","longitude"],"title":"VirtualMapAppearanceItem"},"VirtualMapResponse":{"properties":{"appearances":{"items":{"$ref":"#/components/schemas/VirtualMapAppearanceItem"},"type":"array","title":"Appearances"},"followed_stores":{"items":{"$ref":"#/components/schemas/VirtualMapStoreItem"},"type":"array","title":"Followed Stores"}},"type":"object","required":["appearances","followed_stores"],"title":"VirtualMapResponse"},"VirtualMapStoreItem":{"properties":{"store_id":{"type":"string","format":"uuid","title":"Store Id"},"store_slug":{"type":"string","title":"Store Slug"},"store_name":{"type":"string","title":"Store Name"},"store_operation_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Store Operation Type"},"follower_count":{"type":"integer","title":"Follower Count"},"following":{"type":"boolean","title":"Following","default":false}},"type":"object","required":["store_id","store_slug","store_name","follower_count"],"title":"VirtualMapStoreItem"},"WaitlistEntryResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id"},"lottery_round_id":{"type":"string","format":"uuid","title":"Lottery Round Id"},"application_id":{"type":"string","format":"uuid","title":"Application Id"},"waitlist_rank":{"type":"integer","title":"Waitlist Rank"},"requested_quantity":{"type":"integer","title":"Requested Quantity"},"status":{"type":"string","title":"Status"},"promoted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Promoted At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["id","event_id","lottery_round_id","application_id","waitlist_rank","requested_quantity","status","promoted_at","expires_at"],"title":"WaitlistEntryResponse"},"WebhookDeliveryAttemptResponse":{"properties":{"attempt_id":{"type":"string","format":"uuid","title":"Attempt Id"},"attempt_number":{"type":"integer","title":"Attempt Number"},"response_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Response Status"},"outcome":{"type":"string","title":"Outcome"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"retryable":{"type":"boolean","title":"Retryable"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["attempt_id","attempt_number","response_status","outcome","error_code","error_message","retryable","created_at"],"title":"WebhookDeliveryAttemptResponse"},"WebhookDeliveryListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/WebhookDeliveryResponse"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"WebhookDeliveryListResponse"},"WebhookDeliveryResponse":{"properties":{"delivery_id":{"type":"string","format":"uuid","title":"Delivery Id"},"event_type":{"type":"string","title":"Event Type"},"status":{"type":"string","title":"Status"},"attempts":{"type":"integer","title":"Attempts"},"next_attempt_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Attempt At"},"delivered_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Delivered At"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"response_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Response Status"},"checkout_id":{"type":"string","format":"uuid","title":"Checkout Id"},"external_order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Order Id"},"livemode":{"type":"boolean","title":"Livemode"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"payload_summary":{"additionalProperties":true,"type":"object","title":"Payload Summary"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"attempt_history":{"items":{"$ref":"#/components/schemas/WebhookDeliveryAttemptResponse"},"type":"array","title":"Attempt History"}},"type":"object","required":["delivery_id","event_type","status","attempts","next_attempt_at","delivered_at","last_error","response_status","checkout_id","external_order_id","livemode","created_at","payload_summary","payload"],"title":"WebhookDeliveryResponse","description":"webhook 配信ログ 1 行(管理画面の配信ログ表示用 / Step 4B Part A)。\n\n``payload_summary`` は一覧向けの抜粋、``payload`` は詳細を開いたときの完全な送信本文。\n在庫について: これは「決済が成立した」通知の記録であり、SOUKAI は外部ECの在庫を持たない。"},"WebhookEndpointCreatedResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"type":"string","title":"Status"},"mode":{"type":"string","title":"Mode"},"url":{"type":"string","title":"Url"},"signing_secret":{"type":"string","title":"Signing Secret"},"verification_token":{"type":"string","title":"Verification Token"}},"type":"object","required":["id","status","mode","url","signing_secret","verification_token"],"title":"WebhookEndpointCreatedResponse"},"WebhookEndpointRequest":{"properties":{"mode":{"type":"string","enum":["test","live"],"title":"Mode"},"url":{"type":"string","maxLength":1000,"minLength":12,"title":"Url"},"firebase_id_token":{"type":"string","maxLength":10000,"minLength":20,"title":"Firebase Id Token"}},"type":"object","required":["mode","url","firebase_id_token"],"title":"WebhookEndpointRequest"},"WebhookVerifyRequest":{"properties":{"verification_token":{"type":"string","maxLength":200,"minLength":32,"title":"Verification Token"}},"type":"object","required":["verification_token"],"title":"WebhookVerifyRequest"},"app__modules__cryptopay_checkout__schemas__CheckoutResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"store_id":{"type":"string","format":"uuid","title":"Store Id"},"livemode":{"type":"boolean","title":"Livemode"},"environment":{"type":"string","enum":["test","live"],"title":"Environment"},"api_version":{"type":"string","title":"Api Version"},"status":{"type":"string","title":"Status"},"amount_jpy":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Amount Jpy"},"currency":{"type":"string","title":"Currency"},"external_order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Order Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"order_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Order Id"},"payment_intent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Payment Intent Id"},"checkout_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checkout Url"},"qr_payload":{"type":"string","title":"Qr Payload"},"recovery_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recovery Url"},"payment_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Status"},"payment_attempt_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Attempt Status"},"cancellation_state":{"type":"string","enum":["cancelable","confirmation_in_progress","finalized"],"title":"Cancellation State"},"idempotency_version":{"type":"string","title":"Idempotency Version"},"idempotency_key_fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key Fingerprint"},"success_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Success Url"},"cancel_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Url"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"line_items":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Line Items"},"custom_metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Custom Metadata"},"return_fields":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Return Fields"},"allowed_origins":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Allowed Origins"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","store_id","livemode","environment","api_version","status","amount_jpy","currency","external_order_id","description","order_id","payment_intent_id","checkout_url","qr_payload","recovery_url","payment_status","payment_attempt_status","cancellation_state","idempotency_version","idempotency_key_fingerprint","success_url","cancel_url","webhook_url","line_items","custom_metadata","return_fields","allowed_origins","paid_at","expires_at","created_at"],"title":"CheckoutResponse","description":"checkout の作成 / 取得レスポンス。\n\n``checkout_url`` は EC の redirect/popup 先、``qr_payload`` は POS/レジ端末が\nQRコード化する正準値。MVP では同じ hosted checkout URL を返す。"},"app__modules__ec__schemas__CheckoutResponse":{"properties":{"order_id":{"type":"string","format":"uuid","title":"Order Id"},"order_number":{"type":"string","title":"Order Number"},"order_access_token":{"type":"string","title":"Order Access Token"},"payment_provider":{"type":"string","title":"Payment Provider"},"payment_status":{"type":"string","title":"Payment Status"},"total_jpy":{"type":"integer","title":"Total Jpy"},"payment_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Url"},"stripe_disabled_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Disabled Reason"}},"type":"object","required":["order_id","order_number","order_access_token","payment_provider","payment_status","total_jpy"],"title":"CheckoutResponse"},"app__modules__lp__schemas__PublicStoreVideoResponse":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"url":{"type":"string","title":"Url"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"original_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Name"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"mime_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mime Type"},"codec":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Codec"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sort Order"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["url"],"title":"PublicStoreVideoResponse"},"app__modules__store_official_content__schemas__PublicStoreVideoResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"search_tags":{"items":{"type":"string"},"type":"array","title":"Search Tags"},"video_url":{"type":"string","title":"Video Url"},"thumbnail_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail Url"},"media_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Media Url"},"thumbnail_file_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail File Key"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"},"display_width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Width"},"display_height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Height"},"aspect_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Aspect Ratio"},"view_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"View Count"},"share_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Share Count"},"section":{"type":"string","enum":["fixed","scheduled"],"title":"Section"},"sort_order":{"type":"integer","title":"Sort Order"},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Starts At"},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ends At"}},"type":"object","required":["id","title","description","video_url","thumbnail_url","section","sort_order","starts_at","ends_at"],"title":"PublicStoreVideoResponse","description":"Public/mobile shape — never exposes stock, draft, private, or archived."}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}