{"openapi":"3.1.0","info":{"title":"Kenko AI (Bookee) — white-label booking engine API (Bowmark)","version":"e833508f87ff","description":"Kenko AI / Bookee studio booking widgets (yoga, pilates, aerial): find a studio, read its class schedule, pricing and instructors, and (signed in) book, waitlist and cancel classes.\n\nEvery function Bowmark has for Kenko AI (Bookee) — white-label booking engine (gokenko.com) as one HTTP call. Each runs on Bowmark's infrastructure with the same billing, rules and response envelope as `POST /v1/run`. The whole API: https://api.bowmark.ai/openapi.json. Guide: https://bowmark.ai/docs/api.","contact":{"email":"support@bowmark.ai","url":"https://bowmark.ai/docs/api"}},"servers":[{"url":"https://api.bowmark.ai"}],"security":[{"bearer":[]},{"apiKeyHeader":[]}],"paths":{"/v1/sites/kenko/findStudio":{"post":{"operationId":"findStudio","summary":"Reads a Bookee/Kenko studio's own record by its url_prefix (the <prefix>.onbookee.com subdomain, e.g.","description":"Reads a Bookee/Kenko studio's own record by its url_prefix (the <prefix>.onbookee.com subdomain, e.g. \"vrv3studioscom\"): name, website, and every region (with the regionId the other reads take) and center address.\n\nCalls `bowmark.providers.kenko.findStudio`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoStudio>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urlPrefix":{"type":"string","description":"TypeScript: `string`"}},"required":["urlPrefix"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/listClasses":{"post":{"operationId":"listClasses","summary":"Lists a studio's class catalogue — the class types it teaches, not dated sessions.","description":"Lists a studio's class catalogue — the class types it teaches, not dated sessions. Takes { urlPrefix, regionId } from findStudio.\n\nCalls `bowmark.providers.kenko.listClasses`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoClass[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"studio":{"$ref":"#/components/schemas/KenkoStudioRef","description":"TypeScript: `KenkoStudioRef`"}},"required":["studio"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/listInstructors":{"post":{"operationId":"listInstructors","summary":"Lists a studio's instructors with photo, bio and the center ids each teaches at.","description":"Lists a studio's instructors with photo, bio and the center ids each teaches at. Takes { urlPrefix, regionId } from findStudio.\n\nCalls `bowmark.providers.kenko.listInstructors`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoInstructor[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"studio":{"$ref":"#/components/schemas/KenkoStudioRef","description":"TypeScript: `KenkoStudioRef`"}},"required":["studio"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/listScheduleFilters":{"post":{"operationId":"listScheduleFilters","summary":"The schedule page's own filter options — facilities/rooms, class types and instructors — composed from the studio's facilities, classes and trainers reads.","description":"The schedule page's own filter options — facilities/rooms, class types and instructors — composed from the studio's facilities, classes and trainers reads. Takes { urlPrefix, regionId } from findStudio.\n\nCalls `bowmark.providers.kenko.listScheduleFilters`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoScheduleFilters>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"studio":{"$ref":"#/components/schemas/KenkoStudioRef","description":"TypeScript: `KenkoStudioRef`"}},"required":["studio"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/getClassSpots":{"post":{"operationId":"getClassSpots","summary":"Live availability: every session on one day (date \"YYYY-MM-DD\", today if omitted) with capacity, booked, spots left, waitlist, room and instructors.","description":"Live availability: every session on one day (date \"YYYY-MM-DD\", today if omitted) with capacity, booked, spots left, waitlist, room and instructors. Pass classId to keep one class. Loads the schedule in a browser (~10-20 s).\n\nCalls `bowmark.providers.kenko.getClassSpots`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoSession[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"$ref":"#/components/schemas/KenkoSessionQuery","description":"TypeScript: `KenkoSessionQuery`"}},"required":["query"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/getClass":{"post":{"operationId":"getClass","summary":"One class's description, level, credits and price, plus its sessions that day — read off the schedule, so pass a date the class runs.","description":"One class's description, level, credits and price, plus its sessions that day — read off the schedule, so pass a date the class runs. classId comes from listClasses or getClassSpots. Loads the schedule in a browser.\n\nCalls `bowmark.providers.kenko.getClass`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoClassDetail>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"$ref":"#/components/schemas/KenkoClassQuery","description":"TypeScript: `KenkoClassQuery`"}},"required":["query"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/listPricing":{"post":{"operationId":"listPricing","summary":"Lists the studio's pricing plans and class packages (intro offers, memberships, drop-in packs), each with its price, credits and group.","description":"Lists the studio's pricing plans and class packages (intro offers, memberships, drop-in packs), each with its price, credits and group. Takes { urlPrefix, regionId, centerId } — centerId comes from findStudio's regions[].centers[].id. Loads the pricing page in a browser.\n\nCalls `bowmark.providers.kenko.listPricing`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoPricingOption[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"center":{"$ref":"#/components/schemas/KenkoCenterRef","description":"TypeScript: `KenkoCenterRef`"}},"required":["center"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/listGiftCards":{"post":{"operationId":"listGiftCards","summary":"Lists the studio's gift card denominations.","description":"Lists the studio's gift card denominations. Takes { urlPrefix, regionId, centerId } — centerId comes from findStudio's regions[].centers[].id. Loads the pricing page in a browser.\n\nCalls `bowmark.providers.kenko.listGiftCards`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoGiftCard[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"center":{"$ref":"#/components/schemas/KenkoCenterRef","description":"TypeScript: `KenkoCenterRef`"}},"required":["center"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/listAppointmentTypes":{"post":{"operationId":"listAppointmentTypes","summary":"Lists the studio's bookable appointment types (private sessions, consultations) with price, credits, duration, facility and instructor names.","description":"Lists the studio's bookable appointment types (private sessions, consultations) with price, credits, duration, facility and instructor names. Takes { urlPrefix, regionId, centerId } — centerId comes from findStudio's regions[].centers[].id. No browser.\n\nCalls `bowmark.providers.kenko.listAppointmentTypes`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoAppointmentType[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"center":{"$ref":"#/components/schemas/KenkoCenterRef","description":"TypeScript: `KenkoCenterRef`"}},"required":["center"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/getAppointmentAvailability":{"post":{"operationId":"getAppointmentAvailability","summary":"Live slot availability for one appointment type at one facility, on one day (date \"YYYY-MM-DD\", today if omitted).","description":"Live slot availability for one appointment type at one facility, on one day (date \"YYYY-MM-DD\", today if omitted). appointmentId and facilityId come from listAppointmentTypes (its id and facilities[]). Loads the appointment's own booking page in a browser (~10-20s).\n\nCalls `bowmark.providers.kenko.getAppointmentAvailability`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoAppointmentSlot[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"$ref":"#/components/schemas/KenkoAppointmentSlotQuery","description":"TypeScript: `KenkoAppointmentSlotQuery`"}},"required":["query"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/listProducts":{"post":{"operationId":"listProducts","summary":"Lists the studio's retail products (apparel, gear, gift items), each with its variants, price and live inventory at centerId.","description":"Lists the studio's retail products (apparel, gear, gift items), each with its variants, price and live inventory at centerId. Takes { urlPrefix, regionId, centerId } — centerId comes from findStudio's regions[].centers[].id. Loads the products page in a browser.\n\nCalls `bowmark.providers.kenko.listProducts`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoProduct[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"center":{"$ref":"#/components/schemas/KenkoCenterRef","description":"TypeScript: `KenkoCenterRef`"}},"required":["center"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/getMyProfile":{"post":{"operationId":"getMyProfile","summary":"The signed-in member's own profile at a Bookee/Kenko studio (name, email, phone, plus the site's full record in raw).","description":"The signed-in member's own profile at a Bookee/Kenko studio (name, email, phone, plus the site's full record in raw). Needs the caller signed in to the studio's booking page. Takes { urlPrefix, regionId } from findStudio.\n\nCalls `bowmark.providers.kenko.getMyProfile`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoMyProfile>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"studio":{"$ref":"#/components/schemas/KenkoStudioRef","description":"TypeScript: `KenkoStudioRef`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["studio"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/updateMyProfile":{"post":{"operationId":"updateMyProfile","summary":"Changes the signed-in member's own name, email or phone at a Bookee/Kenko studio and returns the saved profile.","description":"Changes the signed-in member's own name, email or phone at a Bookee/Kenko studio and returns the saved profile. Pass only the fields to change. Needs the caller signed in. Takes { urlPrefix, regionId, centerId } from findStudio.\n\nCalls `bowmark.providers.kenko.updateMyProfile`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoMyProfile>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"changes":{"$ref":"#/components/schemas/KenkoProfileUpdate","description":"TypeScript: `KenkoProfileUpdate`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["changes"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/cancelBooking":{"post":{"operationId":"cancelBooking","summary":"Cancels one of the signed-in member's class bookings (eventId and bookingId from listMyBookings' raw record).","description":"Cancels one of the signed-in member's class bookings (eventId and bookingId from listMyBookings' raw record). The studio's own late-cancel policy applies. Needs the caller signed in. Takes { urlPrefix, regionId } from findStudio.\n\nCalls `bowmark.providers.kenko.cancelBooking`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoWriteResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"booking":{"$ref":"#/components/schemas/KenkoCancelBookingArgs","description":"TypeScript: `KenkoCancelBookingArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["booking"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/cancelMembership":{"post":{"operationId":"cancelMembership","summary":"Cancels one of the signed-in member's memberships (membershipId from listMyMemberships), at the end of the current period by default or when: \"immediately\".","description":"Cancels one of the signed-in member's memberships (membershipId from listMyMemberships), at the end of the current period by default or when: \"immediately\". reason is the studio's reason key or \"other - <your words>\". Needs the caller signed in. Takes { urlPrefix, regionId, centerId } from findStudio.\n\nCalls `bowmark.providers.kenko.cancelMembership`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoWriteResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cancel":{"$ref":"#/components/schemas/KenkoCancelMembershipArgs","description":"TypeScript: `KenkoCancelMembershipArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["cancel"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/pauseMembership":{"post":{"operationId":"pauseMembership","summary":"Pauses one of the signed-in member's memberships (membershipId from listMyMemberships) from startsOn to endsOn, both YYYY-MM-DD.","description":"Pauses one of the signed-in member's memberships (membershipId from listMyMemberships) from startsOn to endsOn, both YYYY-MM-DD. The studio's own pause limits apply. Needs the caller signed in. Takes { urlPrefix, regionId, centerId } from findStudio.\n\nCalls `bowmark.providers.kenko.pauseMembership`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoWriteResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"pause":{"$ref":"#/components/schemas/KenkoPauseMembershipArgs","description":"TypeScript: `KenkoPauseMembershipArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["pause"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/listMyBookings":{"post":{"operationId":"listMyBookings","summary":"The signed-in member's own bookings at a studio, type \"upcoming\" (default) or \"past\", one page at a time (page, default 1).","description":"The signed-in member's own bookings at a studio, type \"upcoming\" (default) or \"past\", one page at a time (page, default 1). Needs the caller signed in. Takes { urlPrefix, regionId } from findStudio.\n\nCalls `bowmark.providers.kenko.listMyBookings`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoAccountRow[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"$ref":"#/components/schemas/KenkoBookingsQuery","description":"TypeScript: `KenkoBookingsQuery`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["query"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/listMyMemberships":{"post":{"operationId":"listMyMemberships","summary":"The signed-in member's own memberships and class packs at a studio.","description":"The signed-in member's own memberships and class packs at a studio. Needs the caller signed in. Takes { urlPrefix, regionId } from findStudio.\n\nCalls `bowmark.providers.kenko.listMyMemberships`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoAccountRow[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"studio":{"$ref":"#/components/schemas/KenkoStudioRef","description":"TypeScript: `KenkoStudioRef`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["studio"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/kenko/listMyPurchases":{"post":{"operationId":"listMyPurchases","summary":"The signed-in member's own purchase/payment history at a studio.","description":"The signed-in member's own purchase/payment history at a studio. Needs the caller signed in. Takes { urlPrefix, regionId } from findStudio.\n\nCalls `bowmark.providers.kenko.listMyPurchases`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<KenkoAccountRow[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"studio":{"$ref":"#/components/schemas/KenkoStudioRef","description":"TypeScript: `KenkoStudioRef`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["studio"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}}},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Your Bowmark API key."},"apiKeyHeader":{"type":"apiKey","in":"header","name":"X-Bowmark-Key"}},"responses":{"NotFound":{"description":"No such site or function.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}},"schemas":{"RunEnvelope":{"type":"object","description":"What a run returns. `status` says whether the SCRIPT succeeded. A script that threw or paused for a login is still HTTP 200. Branch on `status`, not on the HTTP code.","required":["ok","status","result","logs","error","ms"],"properties":{"runId":{"type":"string","description":"Stable id for this run. Quote it in a support or `report` message."},"ok":{"type":"boolean","description":"False only when the run produced nothing usable."},"status":{"type":"string","enum":["ok","error","partial","needs_user"],"description":"`partial`: the result is real but some calls failed (see `incomplete`); `ok` stays true. `needs_user`: a person must sign in to a site first. Relay `meta.handoff.url` to them, then run again."},"egress":{"type":"string","enum":["default","link"],"description":"The egress the run was given, present only when the request asked for one. `link`: every request went through the caller's own Chrome (Bowmark Buddy)."},"result":{"description":"Whatever the script `return`ed. Any JSON value."},"logs":{"type":"array","items":{"type":"string"},"description":"Lines the script wrote with `log(...)`."},"error":{"type":["string","null"],"description":"Why the run failed, in plain words. Null on success."},"ms":{"type":"integer","description":"How long the script itself ran, in milliseconds."},"queuedMs":{"type":"integer","description":"How long the run waited for a worker before starting. Present only when it was a second or more."},"needs":{"type":"array","description":"The sign-ins this script is waiting on. Present when `status` is `needs_user`.","items":{"type":"object","required":["capability","provider","providerTitle","kind"],"properties":{"capability":{"type":"string"},"provider":{"type":"string"},"providerTitle":{"type":"string","description":"The site's name, to show a person."},"kind":{"type":"string"}}}},"incomplete":{"type":"object","description":"Present only when `status` is `partial`: which calls did not answer.","properties":{"summary":{"type":"string"},"totalCalls":{"type":"integer"}},"additionalProperties":true},"emptyHanded":{"type":"object","description":"Present when the script returned nothing while its calls returned rows, usually a filter that matched none of the site's own labels. Lists the label values the calls actually returned.","additionalProperties":true},"notes":{"type":"array","description":"Caveats a call attached to a complete answer. Never changes `status`.","items":{"type":"object","properties":{"path":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}}}},"meta":{"type":"object","properties":{"handoff":{"type":"object","description":"A single-use sign-in link for a person to open. Expires at `expiresAt`.","properties":{"ref":{"type":"string"},"url":{"type":"string","format":"uri"},"expiresAt":{"type":"string","format":"date-time"}}},"concurrency":{"type":"object","description":"On a 429: how many runs are in flight and when to retry.","properties":{"limit":{"type":"integer"},"inFlight":{"type":"integer"},"retryAfterSeconds":{"type":"integer"}}}},"additionalProperties":true},"notice":{"type":"object","description":"Set when the account owner has not accepted the current Terms. Relay it to them.","additionalProperties":true}}},"KenkoAppointmentSlotQuery":{"type":"object","properties":{"urlPrefix":{"type":"string"},"regionId":{"type":"number"},"centerId":{"type":"number"},"appointmentId":{"type":"number"},"facilityId":{"type":"number"},"date":{"type":"string"}},"required":["urlPrefix","regionId","centerId","appointmentId","facilityId"],"additionalProperties":true},"KenkoBookingsQuery":{"type":"object","properties":{"urlPrefix":{"type":"string"},"regionId":{"type":"number"},"type":{"anyOf":[{"const":"upcoming"},{"const":"past"}]},"page":{"type":"number"}},"required":["urlPrefix","regionId"],"additionalProperties":true},"KenkoCancelBookingArgs":{"type":"object","properties":{"urlPrefix":{"type":"string"},"regionId":{"type":"number"},"eventId":{"type":"number"},"bookingId":{"type":"number"}},"required":["urlPrefix","regionId","eventId","bookingId"],"additionalProperties":true},"KenkoCancelMembershipArgs":{"type":"object","properties":{"urlPrefix":{"type":"string"},"regionId":{"type":"number"},"centerId":{"type":"number"},"membershipId":{"type":"number"},"reason":{"type":"string"},"when":{"anyOf":[{"const":"period_end"},{"const":"immediately"}]}},"required":["urlPrefix","regionId","centerId","membershipId","reason"],"additionalProperties":true},"KenkoCenterRef":{"type":"object","properties":{"urlPrefix":{"type":"string"},"regionId":{"type":"number"},"centerId":{"type":"number"}},"required":["urlPrefix","regionId","centerId"],"additionalProperties":true},"KenkoClassQuery":{"type":"object","properties":{"urlPrefix":{"type":"string"},"regionId":{"type":"number"},"classId":{"type":"number"},"date":{"type":"string"}},"required":["urlPrefix","regionId","classId"],"additionalProperties":true},"KenkoPauseMembershipArgs":{"type":"object","properties":{"urlPrefix":{"type":"string"},"regionId":{"type":"number"},"centerId":{"type":"number"},"membershipId":{"type":"number"},"startsOn":{"type":"string"},"endsOn":{"type":"string"}},"required":["urlPrefix","regionId","centerId","membershipId","startsOn","endsOn"],"additionalProperties":true},"KenkoProfileUpdate":{"type":"object","properties":{"urlPrefix":{"type":"string"},"regionId":{"type":"number"},"centerId":{"type":"number"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"phonePrefix":{"type":"string"}},"required":["urlPrefix","regionId","centerId"],"additionalProperties":true},"KenkoSessionQuery":{"type":"object","properties":{"urlPrefix":{"type":"string"},"regionId":{"type":"number"},"date":{"type":"string"},"classId":{"type":"number"}},"required":["urlPrefix","regionId"],"additionalProperties":true},"KenkoStudioRef":{"type":"object","properties":{"urlPrefix":{"type":"string"},"regionId":{"type":"number"}},"required":["urlPrefix","regionId"],"additionalProperties":true}}}}