{"openapi":"3.1.0","info":{"title":"Tiempo API","description":"Scheduling as a service: resources, schedules, availability, bookings, sessions, recurring series and webhooks.","version":"2026-10-16","x-tiempo-latest-version":"2026-10-16"},"servers":[{"url":"/","description":"The Tiempo host you call"}],"security":[{"apiKey":[]}],"paths":{"/v1/webhook_endpoints":{"get":{"tags":["Webhook endpoints"],"operationId":"webhook_endpoints.list","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","maximum":100,"minimum":1}},{"name":"starting_after","in":"query","schema":{"type":"string"}},{"name":"ending_before","in":"query","schema":{"type":"string"}},{"name":"metadata[key]","in":"query","description":"Only objects whose metadata has this key and value. Repeat for several.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseWebhookEndpoint"}}}}}},"post":{"tags":["Webhook endpoints"],"operationId":"webhook_endpoints.create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointsCreate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}}}}},"/v1/webhook_endpoints/{id}":{"get":{"tags":["Webhook endpoints"],"operationId":"webhook_endpoints.get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}}}},"post":{"tags":["Webhook endpoints"],"operationId":"webhook_endpoints.update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointsUpdate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}}}},"delete":{"tags":["Webhook endpoints"],"operationId":"webhook_endpoints.delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletedObject"}}}}}}},"/v1/webhook_endpoints/{id}/resend":{"post":{"tags":["Webhook endpoints"],"operationId":"webhook_endpoints.resend","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookResendsEndpointResend"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookResendsEndpointResent"}}}}}}},"/v1/series":{"get":{"tags":["Series"],"operationId":"series.list","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}},{"name":"status","in":"query","schema":{"type":"string","enum":["active","ended","cancelled"]}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","maximum":100,"minimum":1}},{"name":"starting_after","in":"query","schema":{"type":"string"}},{"name":"ending_before","in":"query","schema":{"type":"string"}},{"name":"metadata[key]","in":"query","description":"Only objects whose metadata has this key and value. Repeat for several.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseSeries"}}}}}},"post":{"tags":["Series"],"operationId":"series.create","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeriesCreate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Series"}}}}}}},"/v1/series/{id}":{"get":{"tags":["Series"],"operationId":"series.get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Series"}}}}}},"post":{"tags":["Series"],"operationId":"series.update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeriesUpdate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Series"}}}}}}},"/v1/series/{id}/split":{"post":{"tags":["Series"],"operationId":"series.split","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeriesSplit"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Series"}}}}}}},"/v1/series/{id}/cancel":{"post":{"tags":["Series"],"operationId":"series.cancel","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeriesCancel"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Series"}}}}}}},"/v1/schedules":{"get":{"tags":["Schedules"],"operationId":"schedules.list","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}},{"name":"resource","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","maximum":100,"minimum":1}},{"name":"starting_after","in":"query","schema":{"type":"string"}},{"name":"ending_before","in":"query","schema":{"type":"string"}},{"name":"metadata[key]","in":"query","description":"Only objects whose metadata has this key and value. Repeat for several.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseSchedule"}}}}}},"post":{"tags":["Schedules"],"operationId":"schedules.create","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulesCreate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Schedule"}}}}}}},"/v1/schedules/{id}":{"get":{"tags":["Schedules"],"operationId":"schedules.get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Schedule"}}}}}},"post":{"tags":["Schedules"],"operationId":"schedules.update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulesUpdate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Schedule"}}}}}},"delete":{"tags":["Schedules"],"operationId":"schedules.delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletedObject"}}}}}}},"/v1/schedule_overrides":{"get":{"tags":["Schedule overrides"],"operationId":"schedule_overrides.listOverrides","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}},{"name":"resource","in":"query","schema":{"type":"string"}},{"name":"from_date","in":"query","schema":{"type":"string","format":"date"}},{"name":"to_date","in":"query","schema":{"type":"string","format":"date"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","maximum":100,"minimum":1}},{"name":"starting_after","in":"query","schema":{"type":"string"}},{"name":"ending_before","in":"query","schema":{"type":"string"}},{"name":"metadata[key]","in":"query","description":"Only objects whose metadata has this key and value. Repeat for several.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseScheduleOverride"}}}}}},"post":{"tags":["Schedule overrides"],"operationId":"schedule_overrides.createOverride","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulesCreateOverride"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleOverride"}}}}}}},"/v1/schedule_overrides/{id}":{"get":{"tags":["Schedule overrides"],"operationId":"schedule_overrides.getOverride","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleOverride"}}}}}},"post":{"tags":["Schedule overrides"],"operationId":"schedule_overrides.updateOverride","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchedulesUpdateOverride"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleOverride"}}}}}},"delete":{"tags":["Schedule overrides"],"operationId":"schedule_overrides.deleteOverride","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletedObject"}}}}}}},"/v1/resources":{"get":{"tags":["Resources"],"operationId":"resources.list","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}},{"name":"type","in":"query","schema":{"type":"string"}},{"name":"status","in":"query","schema":{"type":"string","enum":["active","archived"]}},{"name":"default_location","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","maximum":100,"minimum":1}},{"name":"starting_after","in":"query","schema":{"type":"string"}},{"name":"ending_before","in":"query","schema":{"type":"string"}},{"name":"metadata[key]","in":"query","description":"Only objects whose metadata has this key and value. Repeat for several.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseResource"}}}}}},"post":{"tags":["Resources"],"operationId":"resources.create","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourcesCreate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resource"}}}}}}},"/v1/resources/{id}":{"get":{"tags":["Resources"],"operationId":"resources.get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resource"}}}}}},"post":{"tags":["Resources"],"operationId":"resources.update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourcesUpdate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resource"}}}}}},"delete":{"tags":["Resources"],"operationId":"resources.delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletedObject"}}}}}}},"/v1/resources/{id}/unarchive":{"post":{"tags":["Resources"],"operationId":"resources.unarchive","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resource"}}}}}}},"/v1/resources/{id}/archive":{"post":{"tags":["Resources"],"operationId":"resources.archive","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Resource"}}}}}}},"/v1/locations":{"get":{"tags":["Locations"],"operationId":"locations.list","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","maximum":100,"minimum":1}},{"name":"starting_after","in":"query","schema":{"type":"string"}},{"name":"ending_before","in":"query","schema":{"type":"string"}},{"name":"metadata[key]","in":"query","description":"Only objects whose metadata has this key and value. Repeat for several.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseLocation"}}}}}},"post":{"tags":["Locations"],"operationId":"locations.create","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationsCreate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Location"}}}}}}},"/v1/locations/{id}":{"get":{"tags":["Locations"],"operationId":"locations.get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Location"}}}}}},"post":{"tags":["Locations"],"operationId":"locations.update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationsUpdate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Location"}}}}}},"delete":{"tags":["Locations"],"operationId":"locations.delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletedObject"}}}}}}},"/v1/events/{id}/resend":{"post":{"tags":["Events"],"operationId":"events.resend","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookResendsEventResend"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDelivery"}}}}}}},"/v1/conflict_previews":{"post":{"tags":["Conflict previews"],"operationId":"conflict_previews.create","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictPreviewsRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictPreview"}}}}}}},"/v1/bookings":{"get":{"tags":["Bookings"],"operationId":"bookings.list","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}},{"name":"status","in":"query","schema":{"type":"string","enum":["pending","confirmed","cancelled","expired","completed","no_show"]}},{"name":"resource","in":"query","schema":{"type":"string"}},{"name":"location","in":"query","schema":{"type":"string"}},{"name":"series","in":"query","schema":{"type":"string"}},{"name":"from","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"from_date","in":"query","schema":{"type":"string","format":"date"}},{"name":"to_date","in":"query","schema":{"type":"string","format":"date"}},{"name":"timezone","in":"query","schema":{"type":"string"}},{"name":"conflicted","in":"query","schema":{"type":"boolean"}},{"name":"order","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","maximum":100,"minimum":1}},{"name":"starting_after","in":"query","schema":{"type":"string"}},{"name":"ending_before","in":"query","schema":{"type":"string"}},{"name":"metadata[key]","in":"query","description":"Only objects whose metadata has this key and value. Repeat for several.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseBooking"}}}}}},"post":{"tags":["Bookings"],"operationId":"bookings.create","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingsCreate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Booking"}}}}}}},"/v1/bookings/{id}":{"get":{"tags":["Bookings"],"operationId":"bookings.get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Booking"}}}}}},"post":{"tags":["Bookings"],"operationId":"bookings.update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingsUpdate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Booking"}}}}}}},"/v1/bookings/{id}/reschedule":{"post":{"tags":["Bookings"],"operationId":"bookings.reschedule","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingsReschedule"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Booking"}}}}}}},"/v1/bookings/{id}/no_show":{"post":{"tags":["Bookings"],"operationId":"bookings.noShow","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Booking"}}}}}}},"/v1/bookings/{id}/confirm":{"post":{"tags":["Bookings"],"operationId":"bookings.confirm","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Booking"}}}}}}},"/v1/bookings/{id}/complete":{"post":{"tags":["Bookings"],"operationId":"bookings.complete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Booking"}}}}}}},"/v1/bookings/{id}/cancel":{"post":{"tags":["Bookings"],"operationId":"bookings.cancel","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingsCancel"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Booking"}}}}}}},"/v1/bookings/{id}/attendees":{"get":{"tags":["Attendees"],"operationId":"attendees.listAttendees","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}},{"name":"status","in":"query","schema":{"type":"string","enum":["pending","confirmed","cancelled","expired","completed","no_show"]}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","maximum":100,"minimum":1}},{"name":"starting_after","in":"query","schema":{"type":"string"}},{"name":"ending_before","in":"query","schema":{"type":"string"}},{"name":"metadata[key]","in":"query","description":"Only objects whose metadata has this key and value. Repeat for several.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseAttendee"}}}}}},"post":{"tags":["Attendees"],"operationId":"attendees.createAttendee","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttendeesCreate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Attendee"}}}}}}},"/v1/bookings/import":{"post":{"tags":["Bookings"],"operationId":"bookings.importBookings","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingsImport"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseBooking"}}}}}}},"/v1/blocks":{"get":{"tags":["Blocks"],"operationId":"blocks.list","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}},{"name":"resource","in":"query","schema":{"type":"string"}},{"name":"location","in":"query","schema":{"type":"string"}},{"name":"account_wide","in":"query","schema":{"type":"boolean"}},{"name":"from","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","maximum":100,"minimum":1}},{"name":"starting_after","in":"query","schema":{"type":"string"}},{"name":"ending_before","in":"query","schema":{"type":"string"}},{"name":"metadata[key]","in":"query","description":"Only objects whose metadata has this key and value. Repeat for several.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseBlock"}}}}}},"post":{"tags":["Blocks"],"operationId":"blocks.create","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlocksCreate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Block"}}}}}}},"/v1/blocks/{id}":{"get":{"tags":["Blocks"],"operationId":"blocks.get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Block"}}}}}},"post":{"tags":["Blocks"],"operationId":"blocks.update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlocksUpdate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Block"}}}}}},"delete":{"tags":["Blocks"],"operationId":"blocks.delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletedObject"}}}}}}},"/v1/availability":{"post":{"tags":["Availability"],"operationId":"availability.search","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailabilitySearchRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailabilitySearchAvailability"}}}}}}},"/v1/attendees/{id}":{"get":{"tags":["Attendees"],"operationId":"attendees.getAttendee","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Attendee"}}}}}},"post":{"tags":["Attendees"],"operationId":"attendees.updateAttendee","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttendeesUpdate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Attendee"}}}}}}},"/v1/attendees/{id}/no_show":{"post":{"tags":["Attendees"],"operationId":"attendees.noShowAttendee","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Attendee"}}}}}}},"/v1/attendees/{id}/confirm":{"post":{"tags":["Attendees"],"operationId":"attendees.confirmAttendee","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Attendee"}}}}}}},"/v1/attendees/{id}/complete":{"post":{"tags":["Attendees"],"operationId":"attendees.completeAttendee","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Attendee"}}}}}}},"/v1/attendees/{id}/cancel":{"post":{"tags":["Attendees"],"operationId":"attendees.cancelAttendee","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingsCancel"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Attendee"}}}}}}},"/v1/accounts":{"get":{"tags":["Accounts"],"operationId":"accounts.list","parameters":[{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","maximum":100,"minimum":1}},{"name":"starting_after","in":"query","schema":{"type":"string"}},{"name":"ending_before","in":"query","schema":{"type":"string"}},{"name":"metadata[key]","in":"query","description":"Only objects whose metadata has this key and value. Repeat for several.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseAccount"}}}}}},"post":{"tags":["Accounts"],"operationId":"accounts.create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountsCreate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}}}}},"/v1/accounts/{id}":{"get":{"tags":["Accounts"],"operationId":"accounts.get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}}}},"post":{"tags":["Accounts"],"operationId":"accounts.update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountsUpdate"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}}}},"delete":{"tags":["Accounts"],"operationId":"accounts.delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletedObject"}}}}}}},"/v1/webhook_endpoints/{id}/deliveries":{"get":{"tags":["Webhook endpoints"],"operationId":"webhook_endpoints.deliveries","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","maximum":100,"minimum":1}},{"name":"starting_after","in":"query","schema":{"type":"string"}},{"name":"ending_before","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseWebhookDelivery"}}}}}}},"/v1/usage":{"get":{"tags":["Usage"],"operationId":"usage.get","parameters":[{"name":"period","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageSummary"}}}}}}},"/v1/usage/statements":{"get":{"tags":["Usage"],"operationId":"usage.statements","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseUsageStatement"}}}}}}},"/v1/series/{id}/skipped_occurrences":{"get":{"tags":["Series"],"operationId":"series.skipped","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseSkippedOccurrence"}}}}}}},"/v1/events":{"get":{"tags":["Events"],"operationId":"events.list","parameters":[{"name":"Tiempo-Account","in":"header","description":"Optional: narrows the list to one business.","required":false,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}},{"name":"type","in":"query","description":"An event type, or a prefix such as booking.* for every booking event.","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","maximum":100,"minimum":1}},{"name":"starting_after","in":"query","schema":{"type":"string"}},{"name":"ending_before","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseEvent"}}}}}}},"/v1/events/{id}":{"get":{"tags":["Events"],"operationId":"events.get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}}}}},"/v1/events/{id}/deliveries":{"get":{"tags":["Events"],"operationId":"events.deliveries","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseWebhookDelivery"}}}}}}},"/v1/availability/calendar":{"get":{"tags":["Availability"],"operationId":"availability.calendar","parameters":[{"name":"Tiempo-Account","in":"header","description":"The business (account) to act for.","required":true,"schema":{"type":"string","example":"acct_01m42yt93ayvyrwr3yczhv6yhw"}},{"name":"resource","in":"query","schema":{"type":"string"}},{"name":"from","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"location","in":"query","schema":{"type":"string"}},{"name":"timezone","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailabilityCalendarCalendar"}}}}}}}},"components":{"schemas":{"WebhookEndpointsCreate":{"properties":{"url":{"type":"string","minLength":1},"enabled_events":{"type":"array","items":{"type":"string"},"minItems":1},"api_version":{"type":"string"},"description":{"type":"string","maxLength":500,"minLength":0},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["enabled_events","url"]},"WebhookEndpoint":{"properties":{"id":{"type":"string"},"object":{"type":"string","enum":["webhook_endpoint"]},"livemode":{"type":"boolean"},"url":{"type":"string"},"enabled_events":{"type":"array","items":{"type":"string"}},"api_version":{"type":"string"},"status":{"type":"string","enum":["enabled","disabled"]},"disabled_reason":{"type":["string","null"],"enum":["manual","failing",null]},"disabled_at":{"type":["string","null"],"format":"date-time"},"last_success_at":{"type":["string","null"],"format":"date-time"},"failing_since":{"type":["string","null"],"format":"date-time"},"consecutive_failures":{"type":"integer","format":"int32"},"description":{"type":["string","null"]},"secret":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["api_version","consecutive_failures","created_at","description","disabled_at","disabled_reason","enabled_events","failing_since","id","last_success_at","livemode","metadata","object","status","updated_at","url"]},"WebhookEndpointsUpdate":{"properties":{"url":{"type":"string"},"enabled_events":{"type":"array","items":{"type":"string"}},"api_version":{"type":"string"},"disabled":{"type":"boolean"},"description":{"type":"string","maxLength":500,"minLength":0},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}},"WebhookResendsEndpointResend":{"properties":{"since":{"type":"string","format":"date-time"},"until":{"type":"string","format":"date-time"}}},"WebhookResendsEndpointResent":{"properties":{"object":{"type":"string","enum":["webhook_resend"]},"endpoint":{"type":"string"},"since":{"type":"string","format":"date-time"},"until":{"type":"string","format":"date-time"},"requeued":{"type":"integer","format":"int32"},"queued":{"type":"integer","format":"int32"},"expedited":{"type":"integer","format":"int32"},"has_more":{"type":"boolean"},"note":{"type":"string"}},"required":["endpoint","expedited","has_more","object","queued","requeued","since","until"]},"SeriesCreate":{"properties":{"rrule":{"type":"string","minLength":1},"start_date":{"type":"string","format":"date"},"start_time":{"type":"string","minLength":1},"timezone":{"type":"string"},"template":{"$ref":"#/components/schemas/SeriesTemplateInput"},"horizon_days":{"type":"integer","format":"int32","maximum":730,"minimum":1},"conflict_policy":{"type":"string","enum":["reject","capacity_only","allow"]},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["rrule","start_date","start_time","template"]},"SeriesTemplate":{"properties":{"segments":{"type":"array","items":{"$ref":"#/components/schemas/SeriesTemplateSegment"},"maxItems":20,"minItems":0},"seats":{"type":["integer","null"],"format":"int32","minimum":1},"metadata":{"type":["object","null"],"additionalProperties":{"type":"string"}}},"required":["metadata","seats","segments"]},"SeriesTemplateSegment":{"properties":{"resource":{"type":"string","minLength":1},"offset_minutes":{"type":["integer","null"],"format":"int32","minimum":0},"duration_minutes":{"type":"integer","format":"int32","maximum":10080,"minimum":1},"quantity":{"type":["integer","null"],"format":"int32","minimum":1},"location":{"type":["string","null"]},"buffer_before_minutes":{"type":["integer","null"],"format":"int32","maximum":1440,"minimum":0},"buffer_after_minutes":{"type":["integer","null"],"format":"int32","maximum":1440,"minimum":0}},"required":["buffer_after_minutes","buffer_before_minutes","duration_minutes","location","offset_minutes","quantity","resource"]},"Series":{"properties":{"id":{"type":"string"},"object":{"type":"string","enum":["series"]},"livemode":{"type":"boolean"},"status":{"type":"string","enum":["active","ended","cancelled"]},"rrule":{"type":"string"},"start_date":{"type":"string","format":"date"},"start_time":{"type":"string"},"timezone":{"type":"string"},"template":{"$ref":"#/components/schemas/SeriesTemplate"},"horizon_days":{"type":"integer","format":"int32"},"conflict_policy":{"type":"string","enum":["reject","capacity_only","allow"]},"generated_until":{"type":["string","null"],"format":"date-time"},"ends_before":{"type":["string","null"],"format":"date-time"},"split_from":{"type":["string","null"]},"split_into":{"type":["string","null"]},"metadata":{"type":"object","additionalProperties":{"type":"string"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["conflict_policy","created_at","ends_before","generated_until","horizon_days","id","livemode","metadata","object","rrule","split_from","split_into","start_date","start_time","status","template","timezone","updated_at"]},"SeriesUpdate":{"properties":{"horizon_days":{"type":"integer","format":"int32","maximum":730,"minimum":1},"metadata":{"type":"object","additionalProperties":{"type":"string"}},"rrule":{"type":"string"},"start_time":{"type":"string"},"template":{"$ref":"#/components/schemas/SeriesTemplateInput"},"conflict_policy":{"type":"string","enum":["reject","capacity_only","allow"]},"from":{"type":"string","format":"date-time"},"on_conflict":{"type":"string"}}},"SeriesSplit":{"properties":{"at":{"type":"string","format":"date-time"},"rrule":{"type":"string"},"start_time":{"type":"string"},"timezone":{"type":"string"},"template":{"$ref":"#/components/schemas/SeriesTemplateInput"},"conflict_policy":{"type":"string","enum":["reject","capacity_only","allow"]},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["at"]},"SeriesCancel":{"properties":{"from":{"type":"string","format":"date-time"}}},"ScheduleInterval":{"properties":{"start":{"type":"string"},"end":{"type":"string"},"location":{"type":["string","null"]}},"required":["end","location","start"]},"SchedulesCreate":{"properties":{"resource":{"type":"string","minLength":1},"effective_from":{"type":"string","format":"date"},"weeks":{"type":"array","items":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleIntervalInput"}}}},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["effective_from","resource","weeks"]},"Schedule":{"properties":{"id":{"type":"string"},"object":{"type":"string","enum":["schedule"]},"livemode":{"type":"boolean"},"resource":{"type":"string"},"effective_from":{"type":"string","format":"date"},"weeks":{"type":"array","items":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleInterval"}}}},"metadata":{"type":"object","additionalProperties":{"type":"string"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["created_at","effective_from","id","livemode","metadata","object","resource","updated_at","weeks"]},"SchedulesUpdate":{"properties":{"effective_from":{"type":"string","format":"date"},"weeks":{"type":"array","items":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleIntervalInput"}}}},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}},"SchedulesCreateOverride":{"properties":{"resource":{"type":"string","minLength":1},"date":{"type":"string","format":"date"},"intervals":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleIntervalInput"}},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["date","intervals","resource"]},"ScheduleOverride":{"properties":{"id":{"type":"string"},"object":{"type":"string","enum":["schedule_override"]},"livemode":{"type":"boolean"},"resource":{"type":"string"},"date":{"type":"string","format":"date"},"intervals":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleInterval"}},"metadata":{"type":"object","additionalProperties":{"type":"string"}},"created_at":{"type":"string","format":"date-time"}},"required":["created_at","date","id","intervals","livemode","metadata","object","resource"]},"SchedulesUpdateOverride":{"properties":{"intervals":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleIntervalInput"}},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}},"ResourcesCreate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":0},"type":{"type":"string","minLength":1},"capacity":{"type":"integer","format":"int32","maximum":10000,"minimum":1},"timezone":{"type":"string"},"default_location":{"type":"string"},"buffer_before_minutes":{"type":"integer","format":"int32","maximum":1440,"minimum":0},"buffer_after_minutes":{"type":"integer","format":"int32","maximum":1440,"minimum":0},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["name","type"]},"Resource":{"properties":{"id":{"type":"string"},"object":{"type":"string","enum":["resource"]},"livemode":{"type":"boolean"},"name":{"type":"string"},"type":{"type":"string"},"capacity":{"type":"integer","format":"int32"},"timezone":{"type":"string"},"default_location":{"type":["string","null"]},"status":{"type":"string","enum":["active","archived"]},"buffer_before_minutes":{"type":"integer","format":"int32"},"buffer_after_minutes":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"string"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["buffer_after_minutes","buffer_before_minutes","capacity","created_at","default_location","id","livemode","metadata","name","object","status","timezone","type","updated_at"]},"ResourcesUpdate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1},"capacity":{"type":"integer","format":"int32","maximum":10000,"minimum":1},"timezone":{"type":"string"},"default_location":{"type":"string"},"buffer_before_minutes":{"type":"integer","format":"int32","maximum":1440,"minimum":0},"buffer_after_minutes":{"type":"integer","format":"int32","maximum":1440,"minimum":0},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}},"LocationsCreate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":0},"timezone":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["name"]},"Location":{"properties":{"id":{"type":"string"},"object":{"type":"string","enum":["location"]},"livemode":{"type":"boolean"},"name":{"type":"string"},"timezone":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["created_at","id","livemode","metadata","name","object","timezone","updated_at"]},"LocationsUpdate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1},"timezone":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}},"WebhookResendsEventResend":{"properties":{"endpoint":{"type":"string","minLength":1}},"required":["endpoint"]},"WebhookDelivery":{"properties":{"id":{"type":"string"},"object":{"type":"string","enum":["webhook_delivery"]},"event":{"type":"string"},"event_type":{"type":["string","null"]},"endpoint":{"type":"string"},"status":{"type":"string"},"attempts":{"type":"integer","format":"int32"},"next_attempt_at":{"type":["string","null"],"format":"date-time"},"last_attempt_at":{"type":["string","null"],"format":"date-time"},"last_response_status":{"type":["integer","null"],"format":"int32"},"last_error":{"type":["string","null"]},"resent_at":{"type":["string","null"],"format":"date-time"},"created_at":{"type":"string","format":"date-time"},"recent_attempts":{"type":"array","items":{"$ref":"#/components/schemas/WebhookDeliveryAttempt"}}},"required":["attempts","created_at","endpoint","event","event_type","id","last_attempt_at","last_error","last_response_status","next_attempt_at","object","recent_attempts","resent_at","status"]},"WebhookDeliveryAttempt":{"properties":{"attempted_at":{"type":"string","format":"date-time"},"response_status":{"type":["integer","null"],"format":"int32"},"error":{"type":["string","null"]},"duration_ms":{"type":"integer","format":"int32"}},"required":["attempted_at","duration_ms","error","response_status"]},"ConflictPreviewsRequest":{"properties":{"method":{"type":"string","minLength":1},"path":{"type":"string","minLength":1},"body":{"type":"object","additionalProperties":true,"description":"The body of the request being previewed, as you'd send it."}},"required":["method","path"]},"CandidateConflict":{"properties":{"resource":{"type":"string"},"reason":{"type":"string","enum":["outside_schedule","blocked","capacity_exceeded","resource_archived"]}},"required":["reason","resource"]},"Conflict":{"properties":{"segment":{"type":"integer","format":"int32"},"resource":{"type":["string","null"]},"reason":{"type":"string","enum":["outside_schedule","blocked","capacity_exceeded","resource_archived","no_candidate_available","start_passed"]},"message":{"type":"string"},"candidates":{"type":"array","items":{"$ref":"#/components/schemas/CandidateConflict"}}},"required":["message","reason","resource","segment"]},"ConflictPreview":{"properties":{"object":{"type":"string","enum":["conflict_preview"]},"method":{"type":"string"},"path":{"type":"string"},"would_conflict":{"type":"array","items":{"$ref":"#/components/schemas/ConflictPreviewAffected"}},"would_resolve":{"type":"array","items":{"$ref":"#/components/schemas/ConflictPreviewAffected"}},"has_more":{"type":"boolean"}},"required":["has_more","method","object","path","would_conflict","would_resolve"]},"ConflictPreviewAffected":{"properties":{"booking":{"type":"string"},"status":{"type":"string"},"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"resources":{"type":"array","items":{"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"}},"conflicts":{"type":"array","items":{"$ref":"#/components/schemas/Conflict"}}},"required":["booking","conflicts","end","metadata","resources","start","status"]},"BookingsCreate":{"properties":{"segments":{"type":"array","items":{"$ref":"#/components/schemas/BookingsSegmentInput"},"maxItems":20,"minItems":0},"status":{"type":"string","enum":["pending","confirmed"]},"expires_at":{"type":"string","format":"date-time"},"seats":{"type":"integer","format":"int32","minimum":1},"conflict_policy":{"type":"string","enum":["reject","capacity_only","allow"]},"replaces":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["segments"]},"BookingsSegmentInput":{"properties":{"resource":{"type":"string"},"resources":{"type":"array","items":{"type":"string","minLength":1},"maxItems":50,"minItems":1},"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"quantity":{"type":"integer","format":"int32","minimum":1},"location":{"type":"string"},"buffer_before_minutes":{"type":"integer","format":"int32","maximum":1440,"minimum":0},"buffer_after_minutes":{"type":"integer","format":"int32","maximum":1440,"minimum":0}},"required":["end","start"]},"Booking":{"properties":{"id":{"type":"string"},"object":{"type":"string","enum":["booking"]},"livemode":{"type":"boolean"},"status":{"type":"string","enum":["pending","confirmed","cancelled","expired","completed","no_show"]},"expires_at":{"type":["string","null"],"format":"date-time"},"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"segments":{"type":"array","items":{"$ref":"#/components/schemas/BookingSegment"}},"seats":{"type":["integer","null"],"format":"int32"},"seats_taken":{"type":["integer","null"],"format":"int32"},"conflict_policy":{"type":"string","enum":["reject","capacity_only","allow"]},"conflicted":{"type":"boolean"},"conflicts":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Conflict"}},"series":{"type":["string","null"]},"occurrence_key":{"type":["string","null"]},"replaces":{"type":["string","null"]},"replaced_by":{"type":["string","null"]},"cancellation_reason":{"type":["string","null"]},"confirmed_at":{"type":["string","null"],"format":"date-time"},"cancelled_at":{"type":["string","null"],"format":"date-time"},"metadata":{"type":"object","additionalProperties":{"type":"string"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["cancellation_reason","cancelled_at","confirmed_at","conflict_policy","conflicted","conflicts","created_at","end","expires_at","id","livemode","metadata","object","occurrence_key","replaced_by","replaces","seats","seats_taken","segments","series","start","status","updated_at"]},"BookingSegment":{"properties":{"resource":{"type":"string"},"location":{"type":["string","null"]},"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"quantity":{"type":"integer","format":"int32"},"buffer_before_minutes":{"type":"integer","format":"int32"},"buffer_after_minutes":{"type":"integer","format":"int32"}},"required":["buffer_after_minutes","buffer_before_minutes","end","location","quantity","resource","start"]},"BookingsUpdate":{"properties":{"expires_at":{"type":"string","format":"date-time"},"seats":{"type":"integer","format":"int32","minimum":1},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}},"BookingsReschedule":{"properties":{"segments":{"type":"array","items":{"$ref":"#/components/schemas/BookingsSegmentInput"},"maxItems":20,"minItems":0},"conflict_policy":{"type":"string"}},"required":["segments"]},"BookingsCancel":{"properties":{"reason":{"type":"string","maxLength":500,"minLength":0}}},"AttendeesCreate":{"properties":{"seats":{"type":"integer","format":"int32","maximum":10000,"minimum":1},"status":{"type":"string","enum":["pending","confirmed"]},"expires_at":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}},"Attendee":{"properties":{"id":{"type":"string"},"object":{"type":"string","enum":["attendee"]},"livemode":{"type":"boolean"},"booking":{"type":"string"},"status":{"type":"string","enum":["pending","confirmed","cancelled","expired","completed","no_show"]},"seats":{"type":"integer","format":"int32"},"expires_at":{"type":["string","null"],"format":"date-time"},"cancellation_reason":{"type":["string","null"]},"confirmed_at":{"type":["string","null"],"format":"date-time"},"cancelled_at":{"type":["string","null"],"format":"date-time"},"metadata":{"type":"object","additionalProperties":{"type":"string"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["booking","cancellation_reason","cancelled_at","confirmed_at","created_at","expires_at","id","livemode","metadata","object","seats","status","updated_at"]},"BookingsImport":{"properties":{"bookings":{"type":"array","items":{"$ref":"#/components/schemas/BookingsImportedBooking"},"maxItems":100,"minItems":0}},"required":["bookings"]},"BookingsImportedBooking":{"properties":{"segments":{"type":"array","items":{"$ref":"#/components/schemas/BookingsImportedSegment"},"maxItems":20,"minItems":0},"status":{"type":"string","enum":["confirmed","completed","no_show","cancelled"]},"cancellation_reason":{"type":"string","maxLength":500,"minLength":0},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["segments","status"]},"BookingsImportedSegment":{"properties":{"resource":{"type":"string","minLength":1},"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"quantity":{"type":"integer","format":"int32","minimum":1},"location":{"type":"string"}},"required":["end","resource","start"]},"ListResponseBooking":{"properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Booking"}},"has_more":{"type":"boolean"}},"required":["data","has_more","object"]},"BlocksCreate":{"properties":{"resource":{"type":"string"},"location":{"type":"string"},"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date"},"quantity":{"type":"integer","format":"int32","minimum":1},"reason":{"type":"string","maxLength":500,"minLength":0},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}},"Block":{"properties":{"id":{"type":"string"},"object":{"type":"string","enum":["block"]},"livemode":{"type":"boolean"},"resource":{"type":["string","null"]},"location":{"type":["string","null"]},"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"quantity":{"type":["integer","null"],"format":"int32"},"reason":{"type":["string","null"]},"metadata":{"type":"object","additionalProperties":{"type":"string"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["created_at","end","id","livemode","location","metadata","object","quantity","reason","resource","start","updated_at"]},"BlocksUpdate":{"properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date"},"quantity":{"type":"integer","format":"int32","minimum":1},"reason":{"type":"string","maxLength":500,"minLength":0},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}},"AvailabilitySearchRequest":{"properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"timezone":{"type":"string"},"interval_minutes":{"type":"integer","format":"int32","maximum":1440,"minimum":1},"slot_alignment":{"type":"string","enum":["midnight","opening"]},"location":{"type":"string"},"segments":{"type":"array","items":{"$ref":"#/components/schemas/AvailabilitySearchSegmentQuery"},"maxItems":10,"minItems":0},"exclude_bookings":{"type":"array","items":{"type":"string"}},"duration_minutes":{"type":"integer","format":"int32","maximum":10080,"minimum":1},"duration_overrides":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}},"required":["from","segments","to"]},"AvailabilitySearchSegmentQuery":{"properties":{"resources":{"type":"array","items":{"type":"string"},"maxItems":50,"minItems":0},"offset_minutes":{"type":"integer","format":"int32","minimum":0},"duration_minutes":{"type":"integer","format":"int32","minimum":1},"quantity":{"type":"integer","format":"int32","minimum":1},"buffer_before_minutes":{"type":"integer","format":"int32","maximum":1440,"minimum":0},"buffer_after_minutes":{"type":"integer","format":"int32","maximum":1440,"minimum":0}},"required":["resources"]},"AvailabilitySearchAvailability":{"properties":{"object":{"type":"string","enum":["availability"]},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"timezone":{"type":"string"},"interval_minutes":{"type":"integer","format":"int32"},"slot_alignment":{"type":"string","enum":["midnight","opening"]},"slots":{"type":"array","items":{"$ref":"#/components/schemas/AvailabilitySearchSlot"}}},"required":["from","interval_minutes","object","slot_alignment","slots","timezone","to"]},"AvailabilitySearchSlot":{"properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"segments":{"type":"array","items":{"$ref":"#/components/schemas/AvailabilitySearchSlotSegment"}}},"required":["end","segments","start"]},"AvailabilitySearchSlotSegment":{"properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"resources":{"type":"array","items":{"type":"string"}}},"required":["end","resources","start"]},"AttendeesUpdate":{"properties":{"expires_at":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}},"AccountsCreate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":0},"timezone":{"type":"string","minLength":1},"slot_interval_minutes":{"type":"integer","format":"int32","maximum":1440,"minimum":1},"slot_alignment":{"type":"string","enum":["midnight","opening"]},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["name","timezone"]},"Account":{"properties":{"id":{"type":"string"},"object":{"type":"string","enum":["account"]},"livemode":{"type":"boolean"},"name":{"type":"string"},"timezone":{"type":"string"},"slot_interval_minutes":{"type":"integer","format":"int32"},"slot_alignment":{"type":"string","enum":["midnight","opening"]},"metadata":{"type":"object","additionalProperties":{"type":"string"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["created_at","id","livemode","metadata","name","object","slot_alignment","slot_interval_minutes","timezone","updated_at"]},"AccountsUpdate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1},"timezone":{"type":"string"},"slot_interval_minutes":{"type":"integer","format":"int32","maximum":1440,"minimum":1},"slot_alignment":{"type":"string","enum":["midnight","opening"]},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}},"ListResponseWebhookEndpoint":{"properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEndpoint"}},"has_more":{"type":"boolean"}},"required":["data","has_more","object"]},"ListResponseWebhookDelivery":{"properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/WebhookDelivery"}},"has_more":{"type":"boolean"}},"required":["data","has_more","object"]},"UsageAccountUsage":{"properties":{"account":{"type":"string"},"name":{"type":"string"},"bookings":{"type":"integer","format":"int64"}},"required":["account","bookings","name"]},"UsageSummary":{"properties":{"object":{"type":"string","enum":["usage"]},"livemode":{"type":"boolean"},"period":{"type":"string"},"status":{"type":"string","enum":["open","closed"]},"invoiced":{"type":"boolean"},"plan":{"type":"string"},"bookings":{"type":"integer","format":"int64"},"free_allowance":{"type":"integer","format":"int64"},"free_remaining":{"type":"integer","format":"int64"},"billable_bookings":{"type":"integer","format":"int64"},"fee":{"type":"integer","format":"int64"},"unit_amount":{"type":["integer","null"],"format":"int64"},"unit_amount_decimal":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"integer","format":"int64"},"limit":{"type":["integer","null"],"format":"int64"},"accounts":{"type":"array","items":{"$ref":"#/components/schemas/UsageAccountUsage"}}},"required":["accounts","amount","billable_bookings","bookings","currency","fee","free_allowance","free_remaining","invoiced","limit","livemode","object","period","plan","status","unit_amount","unit_amount_decimal"]},"ListResponseUsageStatement":{"properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/UsageStatement"}},"has_more":{"type":"boolean"}},"required":["data","has_more","object"]},"UsageStatement":{"properties":{"id":{"type":"string"},"object":{"type":"string","enum":["usage_statement"]},"period":{"type":"string"},"plan":{"type":"string"},"bookings":{"type":"integer","format":"int64"},"free_allowance":{"type":"integer","format":"int64"},"billable_bookings":{"type":"integer","format":"int64"},"fee":{"type":"integer","format":"int64"},"unit_amount":{"type":["integer","null"],"format":"int64"},"unit_amount_decimal":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"integer","format":"int64"},"invoice_status":{"type":["string","null"],"enum":["draft","open","payment_failed","paid","uncollectible","void",null]},"closed_at":{"type":"string","format":"date-time"}},"required":["amount","billable_bookings","bookings","closed_at","currency","fee","free_allowance","id","invoice_status","object","period","plan","unit_amount","unit_amount_decimal"]},"ListResponseSeries":{"properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Series"}},"has_more":{"type":"boolean"}},"required":["data","has_more","object"]},"ListResponseSkippedOccurrence":{"properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/SkippedOccurrence"}},"has_more":{"type":"boolean"}},"required":["data","has_more","object"]},"SkippedOccurrence":{"properties":{"object":{"type":"string","enum":["skipped_occurrence"]},"series":{"type":"string"},"occurrence_key":{"type":"string"},"start":{"type":"string","format":"date-time"},"reason":{"type":"string","enum":["conflict","start_passed"]},"conflicts":{"type":"array","items":{"$ref":"#/components/schemas/Conflict"}},"created_at":{"type":"string","format":"date-time"}},"required":["conflicts","created_at","object","occurrence_key","reason","series","start"]},"ListResponseSchedule":{"properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Schedule"}},"has_more":{"type":"boolean"}},"required":["data","has_more","object"]},"ListResponseScheduleOverride":{"properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleOverride"}},"has_more":{"type":"boolean"}},"required":["data","has_more","object"]},"ListResponseResource":{"properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Resource"}},"has_more":{"type":"boolean"}},"required":["data","has_more","object"]},"ListResponseLocation":{"properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Location"}},"has_more":{"type":"boolean"}},"required":["data","has_more","object"]},"ListResponseAttendee":{"properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Attendee"}},"has_more":{"type":"boolean"}},"required":["data","has_more","object"]},"ListResponseBlock":{"properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Block"}},"has_more":{"type":"boolean"}},"required":["data","has_more","object"]},"AvailabilityCalendarBlocked":{"properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"block":{"type":"string"},"scope":{"type":"string","enum":["resource","location","account"]},"reason":{"type":["string","null"]},"quantity":{"type":["integer","null"],"format":"int32"}},"required":["block","end","quantity","reason","scope","start"]},"AvailabilityCalendarCalendar":{"properties":{"object":{"type":"string","enum":["availability_calendar"]},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"timezone":{"type":"string"},"location":{"type":["string","null"]},"resources":{"type":"array","items":{"$ref":"#/components/schemas/AvailabilityCalendarResourceCalendar"}}},"required":["from","location","object","resources","timezone","to"]},"AvailabilityCalendarDay":{"properties":{"date":{"type":"string","format":"date"},"status":{"type":"string","enum":["available","fully_booked","blocked","not_working","elsewhere"]},"reasons":{"type":"array","items":{"$ref":"#/components/schemas/AvailabilityCalendarDayReason"}},"locations":{"type":"array","items":{"type":"string"}}},"required":["date","reasons","status"]},"AvailabilityCalendarDayReason":{"properties":{"scope":{"type":"string","enum":["resource","location","account"]},"block":{"type":"string"},"reason":{"type":["string","null"]}},"required":["block","reason","scope"]},"AvailabilityCalendarFree":{"properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"capacity":{"type":"integer","format":"int32"}},"required":["capacity","end","start"]},"AvailabilityCalendarResourceCalendar":{"properties":{"resource":{"type":"string"},"working":{"type":"array","items":{"$ref":"#/components/schemas/AvailabilityCalendarWorking"}},"blocked":{"type":"array","items":{"$ref":"#/components/schemas/AvailabilityCalendarBlocked"}},"free":{"type":"array","items":{"$ref":"#/components/schemas/AvailabilityCalendarFree"}},"days":{"type":"array","items":{"$ref":"#/components/schemas/AvailabilityCalendarDay"}}},"required":["blocked","days","free","resource","working"]},"AvailabilityCalendarWorking":{"properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"},"location":{"type":["string","null"]}},"required":["end","location","start"]},"ListResponseAccount":{"properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Account"}},"has_more":{"type":"boolean"}},"required":["data","has_more","object"]},"Event":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","enum":["event"]},"account":{"type":["string","null"]},"api_version":{"type":"string"},"type":{"type":"string","enum":["account.created","account.updated","account.deleted","location.created","location.updated","location.deleted","resource.created","resource.updated","resource.archived","resource.unarchived","resource.deleted","schedule.created","schedule.updated","schedule.deleted","schedule_override.created","schedule_override.updated","schedule_override.deleted","block.created","block.updated","block.deleted","booking.created","booking.confirmed","booking.rescheduled","booking.cancelled","booking.expired","booking.completed","booking.no_show","booking.updated","booking.conflicted","booking.conflict_resolved","booking.imported","attendee.created","attendee.confirmed","attendee.cancelled","attendee.expired","attendee.completed","attendee.no_show","attendee.updated","series.created","series.updated","series.split","series.cancelled","series.ended","series.occurrence_skipped"],"x-enum-descriptions":{"account.created":"A business was added to your platform.","account.updated":"A business's name, timezone, slot grid or metadata changed.","account.deleted":"A business was removed from your platform. Its history is kept.","location.created":"A location was added.","location.updated":"A location's details, timezone or closures changed.","location.deleted":"A location was removed.","resource.created":"Something bookable (a person, room, court or piece of equipment) was added.","resource.updated":"A resource's details, capacity or buffers changed.","resource.archived":"A resource stopped taking new bookings. Its existing bookings stay.","resource.unarchived":"An archived resource takes bookings again.","resource.deleted":"A resource was deleted.","schedule.created":"Working hours were set for a resource.","schedule.updated":"A resource's working hours changed.","schedule.deleted":"A resource's working hours were removed.","schedule_override.created":"Different hours were set for one date.","schedule_override.updated":"One date's different hours changed.","schedule_override.deleted":"One date's different hours were removed, so its usual hours apply.","block.created":"Time was blocked off, so it can't be booked.","block.updated":"A block's time or resources changed.","block.deleted":"A block was removed and the time is open again.","booking.created":"A booking was made: a hold until it's confirmed or expires, or confirmed straight away (then booking.confirmed follows).","booking.confirmed":"A booking was confirmed. Its first confirmation counts toward usage (a session's attendees count instead; a series occurrence counts when it starts).","booking.rescheduled":"A booking moved to another time or resource. Carries the previous segments.","booking.cancelled":"A booking was cancelled, so its time is free again.","booking.expired":"A hold ran out before it was confirmed, so its time was released.","booking.completed":"A booking was marked completed.","booking.no_show":"A booking was marked as a no-show.","booking.updated":"A booking's seats or metadata changed.","booking.conflicted":"A change to hours, blocks or capacity means a booking no longer fits.","booking.conflict_resolved":"A conflicted booking fits again.","booking.imported":"A booking that had already started was recorded with POST /v1/bookings/import. Imports are never billed.","attendee.created":"Someone took a place in a session: a hold until it's confirmed or expires.","attendee.confirmed":"An attendee's place was confirmed.","attendee.cancelled":"An attendee's place was cancelled, so it's free again.","attendee.expired":"An attendee's hold wasn't confirmed in time, so the place was released.","attendee.completed":"An attendee was marked completed.","attendee.no_show":"An attendee was marked as a no-show.","attendee.updated":"An attendee's seats or metadata changed.","series.created":"A recurring series was created.","series.updated":"A series' rule, time or template changed.","series.split":"A series was split at a date into two series.","series.cancelled":"A series was cancelled.","series.ended":"A series has no more occurrences: its rule ran out, or it was split.","series.occurrence_skipped":"An occurrence couldn't be booked (a conflict, or its start passed). Carries a skipped_occurrence."}},"livemode":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"},"data":{"type":"object","properties":{"object":{"anyOf":[{"$ref":"#/components/schemas/Account"},{"$ref":"#/components/schemas/Location"},{"$ref":"#/components/schemas/Resource"},{"$ref":"#/components/schemas/Schedule"},{"$ref":"#/components/schemas/ScheduleOverride"},{"$ref":"#/components/schemas/Block"},{"$ref":"#/components/schemas/Booking"},{"$ref":"#/components/schemas/Attendee"},{"$ref":"#/components/schemas/Series"},{"$ref":"#/components/schemas/SkippedOccurrence"}],"description":"The object the event is about, as it was just after the change."},"previous_attributes":{"type":["object","null"],"description":"The fields this change altered, with their values before: on *.updated events, and on changes of state such as booking.confirmed (status), booking.rescheduled (segments, start, end) and booking.conflicted (conflicted, conflicts). Null when there was no before, as on *.created."}},"required":["object","previous_attributes"]}},"required":["account","api_version","created_at","data","id","livemode","object","type"],"x-tiempo-event-objects":{"account":"Account","location":"Location","resource":"Resource","schedule":"Schedule","schedule_override":"ScheduleOverride","block":"Block","booking":"Booking","attendee":"Attendee","series":"Series","series.occurrence_skipped":"SkippedOccurrence"}},"ListResponseEvent":{"type":"object","properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"has_more":{"type":"boolean"}},"required":["data","has_more","object"]},"DeletedObject":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","description":"The kind of object that was deleted."},"deleted":{"type":"boolean","enum":[true]}},"required":["deleted","id","object"]},"ScheduleIntervalInput":{"properties":{"start":{"type":"string"},"end":{"type":"string"},"location":{"type":"string"}},"required":["end","start"]},"SeriesTemplateSegmentInput":{"properties":{"resource":{"type":"string","minLength":1},"offset_minutes":{"type":"integer","format":"int32","minimum":0},"duration_minutes":{"type":"integer","format":"int32","maximum":10080,"minimum":1},"quantity":{"type":"integer","format":"int32","minimum":1},"location":{"type":"string"},"buffer_before_minutes":{"type":"integer","format":"int32","maximum":1440,"minimum":0},"buffer_after_minutes":{"type":"integer","format":"int32","maximum":1440,"minimum":0}},"required":["duration_minutes","resource"]},"SeriesTemplateInput":{"properties":{"segments":{"type":"array","items":{"$ref":"#/components/schemas/SeriesTemplateSegmentInput"},"maxItems":20,"minItems":0},"seats":{"type":"integer","format":"int32","minimum":1},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["segments"]}},"securitySchemes":{"apiKey":{"type":"http","description":"Platform secret key: tpt_… (test mode) or tpk_… (live mode)","scheme":"bearer"}}}}