update booking
Reuses the existing appointment command, version check and durable receipt; scheduling changes recheck current occupancy.
update booking
PATCH /api/v1/bookings/{bookingId}
Reuses the existing appointment command, version check and durable receipt; scheduling changes recheck current occupancy.
API version: 1.0.0; source revision: development; SHA-256: 48cf3a12f6c45a2618345f604165f68f7efcee3648a8b923ccd02ef716aa8a9e.
Group: Scheduling.
Required permissions: ["calendar:write"].
Authentication: Authorization: Bearer <user-owned-api-key>.
Parameters
path: bookingId
Required. Booking ID.
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
}header: idempotency-key
Required. UUID retry key; reuse the same key and body for retries.
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
}Request examples
[
{
"name": "write",
"request": {
"body": {
"expectedVersion": "opaque-version",
"patch": {
"title": "Updated booking"
}
},
"headers": {
"idempotency-key": "00000000-0000-4000-8000-000000000225"
},
"path": {
"bookingId": "00000000-0000-4000-8000-000000000225"
}
}
}
]curl
curl --request PATCH \
--header 'Authorization: Bearer <user-owned-api-key>' \
--header 'idempotency-key: 00000000-0000-4000-8000-000000000225' \
--header 'Content-Type: application/json' \
--data-raw '{"expectedVersion":"opaque-version","patch":{"title":"Updated booking"}}' \
"$TATTOOL_API_URL/api/v1/bookings/00000000-0000-4000-8000-000000000225"Responses
Request body
{
"content": {
"application/json": {
"schema": {
"additionalProperties": false,
"properties": {
"expectedVersion": {
"description": "Latest opaque version returned by an authorized read.",
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"patch": {
"additionalProperties": false,
"description": "Explicit supported changes; send start and end together.",
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"clientId": {
"description": "Existing client ID; contact information is edited separately.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"description": {
"description": "Appointment description.",
"maxLength": 5000,
"type": "string"
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"flowIds": {
"description": "Existing Flow IDs, validated by the domain command.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"locationId": {
"description": "Studio location ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"price": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "Integer amount in currency minor units, including zero.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"currency": {
"description": "Uppercase three-letter currency code.",
"pattern": "^[A-Z]{3}$",
"type": "string"
}
},
"required": [
"amount",
"currency"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Booking price in minor units; null means unset and clears a price on update."
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"maxLength": 255,
"type": "string"
}
},
"type": "object"
}
},
"required": [
"expectedVersion",
"patch"
],
"type": "object"
}
}
},
"required": true
}200
Mutation receipt. Media type: application/json
datadata.artistIddata.clientIddata.descriptiondata.enddata.iddata.locationIdsdata.organizationIddata.pricedata.price.amountdata.price.currencydata.startdata.statusdata.tagsdata.tags[].colordata.tags[].iddata.tags[].namedata.timeZonedata.titledata.typedata.urldata.versiondata.allDayerrorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSecondsoperationoperation.idoperation.replayedoperation.statusretryAfterSeconds
Schema and constraints:
{
"properties": {
"data": {
"anyOf": [
{
"oneOf": [
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"price": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "Integer amount in currency minor units, including zero.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"currency": {
"description": "Uppercase three-letter currency code.",
"pattern": "^[A-Z]{3}$",
"type": "string"
}
},
"required": [
"amount",
"currency"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Booking price in minor units; null means unset and clears a price on update."
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "BOOKING",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description",
"price"
],
"type": "object"
},
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "CONSULTATION",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description"
],
"type": "object"
},
{
"properties": {
"allDay": {
"description": "Whether time off covers local calendar days.",
"type": "boolean"
},
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"type": {
"const": "TIME_OFF",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"description",
"allDay"
],
"type": "object"
}
]
},
{
"type": "null"
}
],
"description": "Safe domain result when completed; null for unresolved or failed operations."
},
"error": {
"description": "Safe failure details when relevant; never a raw exception.",
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
},
"operation": {
"properties": {
"id": {
"description": "Durable operation receipt ID; use it for status lookup.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"replayed": {
"description": "Whether this is an existing logical request or status lookup.",
"type": "boolean"
},
"status": {
"description": "Pending is running; unknown needs confirmation; failed is terminal; completed contains the result.",
"enum": [
"pending",
"completed",
"failed",
"unknown"
],
"type": "string"
}
},
"required": [
"id",
"status",
"replayed"
],
"type": "object"
},
"retryAfterSeconds": {
"description": "Wait before checking the same unresolved operation; do not generate another idempotency key.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"data",
"operation"
],
"type": "object"
}Synthetic example:
{
"data": null,
"operation": {
"id": "00000000-0000-4000-8000-000000000225",
"replayed": false,
"status": "pending"
}
}201
Created record receipt. Media type: application/json
datadata.artistIddata.clientIddata.descriptiondata.enddata.iddata.locationIdsdata.organizationIddata.pricedata.price.amountdata.price.currencydata.startdata.statusdata.tagsdata.tags[].colordata.tags[].iddata.tags[].namedata.timeZonedata.titledata.typedata.urldata.versiondata.allDayerrorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSecondsoperationoperation.idoperation.replayedoperation.statusretryAfterSeconds
Schema and constraints:
{
"properties": {
"data": {
"anyOf": [
{
"oneOf": [
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"price": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "Integer amount in currency minor units, including zero.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"currency": {
"description": "Uppercase three-letter currency code.",
"pattern": "^[A-Z]{3}$",
"type": "string"
}
},
"required": [
"amount",
"currency"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Booking price in minor units; null means unset and clears a price on update."
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "BOOKING",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description",
"price"
],
"type": "object"
},
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "CONSULTATION",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description"
],
"type": "object"
},
{
"properties": {
"allDay": {
"description": "Whether time off covers local calendar days.",
"type": "boolean"
},
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"type": {
"const": "TIME_OFF",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"description",
"allDay"
],
"type": "object"
}
]
},
{
"type": "null"
}
],
"description": "Safe domain result when completed; null for unresolved or failed operations."
},
"error": {
"description": "Safe failure details when relevant; never a raw exception.",
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
},
"operation": {
"properties": {
"id": {
"description": "Durable operation receipt ID; use it for status lookup.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"replayed": {
"description": "Whether this is an existing logical request or status lookup.",
"type": "boolean"
},
"status": {
"description": "Pending is running; unknown needs confirmation; failed is terminal; completed contains the result.",
"enum": [
"pending",
"completed",
"failed",
"unknown"
],
"type": "string"
}
},
"required": [
"id",
"status",
"replayed"
],
"type": "object"
},
"retryAfterSeconds": {
"description": "Wait before checking the same unresolved operation; do not generate another idempotency key.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"data",
"operation"
],
"type": "object"
}Synthetic example:
{
"data": null,
"operation": {
"id": "00000000-0000-4000-8000-000000000225",
"replayed": false,
"status": "pending"
}
}202
Unresolved operation; retain the same retry key. Media type: application/json
datadata.artistIddata.clientIddata.descriptiondata.enddata.iddata.locationIdsdata.organizationIddata.pricedata.price.amountdata.price.currencydata.startdata.statusdata.tagsdata.tags[].colordata.tags[].iddata.tags[].namedata.timeZonedata.titledata.typedata.urldata.versiondata.allDayerrorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSecondsoperationoperation.idoperation.replayedoperation.statusretryAfterSeconds
Schema and constraints:
{
"properties": {
"data": {
"anyOf": [
{
"oneOf": [
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"price": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "Integer amount in currency minor units, including zero.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"currency": {
"description": "Uppercase three-letter currency code.",
"pattern": "^[A-Z]{3}$",
"type": "string"
}
},
"required": [
"amount",
"currency"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Booking price in minor units; null means unset and clears a price on update."
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "BOOKING",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description",
"price"
],
"type": "object"
},
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "CONSULTATION",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description"
],
"type": "object"
},
{
"properties": {
"allDay": {
"description": "Whether time off covers local calendar days.",
"type": "boolean"
},
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"type": {
"const": "TIME_OFF",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"description",
"allDay"
],
"type": "object"
}
]
},
{
"type": "null"
}
],
"description": "Safe domain result when completed; null for unresolved or failed operations."
},
"error": {
"description": "Safe failure details when relevant; never a raw exception.",
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
},
"operation": {
"properties": {
"id": {
"description": "Durable operation receipt ID; use it for status lookup.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"replayed": {
"description": "Whether this is an existing logical request or status lookup.",
"type": "boolean"
},
"status": {
"description": "Pending is running; unknown needs confirmation; failed is terminal; completed contains the result.",
"enum": [
"pending",
"completed",
"failed",
"unknown"
],
"type": "string"
}
},
"required": [
"id",
"status",
"replayed"
],
"type": "object"
},
"retryAfterSeconds": {
"description": "Wait before checking the same unresolved operation; do not generate another idempotency key.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"data",
"operation"
],
"type": "object"
}Synthetic example:
{
"data": null,
"operation": {
"id": "00000000-0000-4000-8000-000000000225",
"replayed": false,
"status": "pending"
}
}401
Authentication is required. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSecondsdatadata.artistIddata.clientIddata.descriptiondata.enddata.iddata.locationIdsdata.organizationIddata.pricedata.price.amountdata.price.currencydata.startdata.statusdata.tagsdata.tags[].colordata.tags[].iddata.tags[].namedata.timeZonedata.titledata.typedata.urldata.versiondata.allDayoperationoperation.idoperation.replayedoperation.statusretryAfterSeconds
Schema and constraints:
{
"anyOf": [
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
},
{
"properties": {
"data": {
"anyOf": [
{
"oneOf": [
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"price": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "Integer amount in currency minor units, including zero.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"currency": {
"description": "Uppercase three-letter currency code.",
"pattern": "^[A-Z]{3}$",
"type": "string"
}
},
"required": [
"amount",
"currency"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Booking price in minor units; null means unset and clears a price on update."
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "BOOKING",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description",
"price"
],
"type": "object"
},
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "CONSULTATION",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description"
],
"type": "object"
},
{
"properties": {
"allDay": {
"description": "Whether time off covers local calendar days.",
"type": "boolean"
},
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"type": {
"const": "TIME_OFF",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"description",
"allDay"
],
"type": "object"
}
]
},
{
"type": "null"
}
],
"description": "Safe domain result when completed; null for unresolved or failed operations."
},
"error": {
"description": "Safe failure details when relevant; never a raw exception.",
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
},
"operation": {
"properties": {
"id": {
"description": "Durable operation receipt ID; use it for status lookup.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"replayed": {
"description": "Whether this is an existing logical request or status lookup.",
"type": "boolean"
},
"status": {
"allOf": [
{
"description": "Pending is running; unknown needs confirmation; failed is terminal; completed contains the result.",
"enum": [
"pending",
"completed",
"failed",
"unknown"
],
"type": "string"
},
{
"const": "failed",
"type": "string"
}
]
}
},
"required": [
"id",
"status",
"replayed"
],
"type": "object"
},
"retryAfterSeconds": {
"description": "Wait before checking the same unresolved operation; do not generate another idempotency key.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"data",
"operation"
],
"type": "object"
}
]
}Synthetic example:
{
"error": {
"code": "UNAUTHENTICATED",
"message": "Authentication is required.",
"retryable": false
}
}403
Access denied. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSecondsdatadata.artistIddata.clientIddata.descriptiondata.enddata.iddata.locationIdsdata.organizationIddata.pricedata.price.amountdata.price.currencydata.startdata.statusdata.tagsdata.tags[].colordata.tags[].iddata.tags[].namedata.timeZonedata.titledata.typedata.urldata.versiondata.allDayoperationoperation.idoperation.replayedoperation.statusretryAfterSeconds
Schema and constraints:
{
"anyOf": [
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
},
{
"properties": {
"data": {
"anyOf": [
{
"oneOf": [
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"price": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "Integer amount in currency minor units, including zero.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"currency": {
"description": "Uppercase three-letter currency code.",
"pattern": "^[A-Z]{3}$",
"type": "string"
}
},
"required": [
"amount",
"currency"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Booking price in minor units; null means unset and clears a price on update."
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "BOOKING",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description",
"price"
],
"type": "object"
},
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "CONSULTATION",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description"
],
"type": "object"
},
{
"properties": {
"allDay": {
"description": "Whether time off covers local calendar days.",
"type": "boolean"
},
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"type": {
"const": "TIME_OFF",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"description",
"allDay"
],
"type": "object"
}
]
},
{
"type": "null"
}
],
"description": "Safe domain result when completed; null for unresolved or failed operations."
},
"error": {
"description": "Safe failure details when relevant; never a raw exception.",
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
},
"operation": {
"properties": {
"id": {
"description": "Durable operation receipt ID; use it for status lookup.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"replayed": {
"description": "Whether this is an existing logical request or status lookup.",
"type": "boolean"
},
"status": {
"allOf": [
{
"description": "Pending is running; unknown needs confirmation; failed is terminal; completed contains the result.",
"enum": [
"pending",
"completed",
"failed",
"unknown"
],
"type": "string"
},
{
"const": "failed",
"type": "string"
}
]
}
},
"required": [
"id",
"status",
"replayed"
],
"type": "object"
},
"retryAfterSeconds": {
"description": "Wait before checking the same unresolved operation; do not generate another idempotency key.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"data",
"operation"
],
"type": "object"
}
]
}Synthetic example:
{
"error": {
"code": "FORBIDDEN",
"message": "Access denied.",
"retryable": false
}
}404
Record not found. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSecondsdatadata.artistIddata.clientIddata.descriptiondata.enddata.iddata.locationIdsdata.organizationIddata.pricedata.price.amountdata.price.currencydata.startdata.statusdata.tagsdata.tags[].colordata.tags[].iddata.tags[].namedata.timeZonedata.titledata.typedata.urldata.versiondata.allDayoperationoperation.idoperation.replayedoperation.statusretryAfterSeconds
Schema and constraints:
{
"anyOf": [
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
},
{
"properties": {
"data": {
"anyOf": [
{
"oneOf": [
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"price": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "Integer amount in currency minor units, including zero.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"currency": {
"description": "Uppercase three-letter currency code.",
"pattern": "^[A-Z]{3}$",
"type": "string"
}
},
"required": [
"amount",
"currency"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Booking price in minor units; null means unset and clears a price on update."
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "BOOKING",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description",
"price"
],
"type": "object"
},
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "CONSULTATION",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description"
],
"type": "object"
},
{
"properties": {
"allDay": {
"description": "Whether time off covers local calendar days.",
"type": "boolean"
},
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"type": {
"const": "TIME_OFF",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"description",
"allDay"
],
"type": "object"
}
]
},
{
"type": "null"
}
],
"description": "Safe domain result when completed; null for unresolved or failed operations."
},
"error": {
"description": "Safe failure details when relevant; never a raw exception.",
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
},
"operation": {
"properties": {
"id": {
"description": "Durable operation receipt ID; use it for status lookup.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"replayed": {
"description": "Whether this is an existing logical request or status lookup.",
"type": "boolean"
},
"status": {
"allOf": [
{
"description": "Pending is running; unknown needs confirmation; failed is terminal; completed contains the result.",
"enum": [
"pending",
"completed",
"failed",
"unknown"
],
"type": "string"
},
{
"const": "failed",
"type": "string"
}
]
}
},
"required": [
"id",
"status",
"replayed"
],
"type": "object"
},
"retryAfterSeconds": {
"description": "Wait before checking the same unresolved operation; do not generate another idempotency key.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"data",
"operation"
],
"type": "object"
}
]
}Synthetic example:
{
"error": {
"code": "NOT_FOUND",
"message": "Record not found.",
"retryable": false
}
}409
The operation conflicts with the current state. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSecondsdatadata.artistIddata.clientIddata.descriptiondata.enddata.iddata.locationIdsdata.organizationIddata.pricedata.price.amountdata.price.currencydata.startdata.statusdata.tagsdata.tags[].colordata.tags[].iddata.tags[].namedata.timeZonedata.titledata.typedata.urldata.versiondata.allDayoperationoperation.idoperation.replayedoperation.statusretryAfterSeconds
Schema and constraints:
{
"anyOf": [
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
},
{
"properties": {
"data": {
"anyOf": [
{
"oneOf": [
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"price": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "Integer amount in currency minor units, including zero.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"currency": {
"description": "Uppercase three-letter currency code.",
"pattern": "^[A-Z]{3}$",
"type": "string"
}
},
"required": [
"amount",
"currency"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Booking price in minor units; null means unset and clears a price on update."
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "BOOKING",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description",
"price"
],
"type": "object"
},
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "CONSULTATION",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description"
],
"type": "object"
},
{
"properties": {
"allDay": {
"description": "Whether time off covers local calendar days.",
"type": "boolean"
},
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"type": {
"const": "TIME_OFF",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"description",
"allDay"
],
"type": "object"
}
]
},
{
"type": "null"
}
],
"description": "Safe domain result when completed; null for unresolved or failed operations."
},
"error": {
"description": "Safe failure details when relevant; never a raw exception.",
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
},
"operation": {
"properties": {
"id": {
"description": "Durable operation receipt ID; use it for status lookup.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"replayed": {
"description": "Whether this is an existing logical request or status lookup.",
"type": "boolean"
},
"status": {
"allOf": [
{
"description": "Pending is running; unknown needs confirmation; failed is terminal; completed contains the result.",
"enum": [
"pending",
"completed",
"failed",
"unknown"
],
"type": "string"
},
{
"const": "failed",
"type": "string"
}
]
}
},
"required": [
"id",
"status",
"replayed"
],
"type": "object"
},
"retryAfterSeconds": {
"description": "Wait before checking the same unresolved operation; do not generate another idempotency key.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"data",
"operation"
],
"type": "object"
}
]
}Synthetic example:
{
"error": {
"code": "CONFLICT",
"message": "The operation conflicts with the current state.",
"reason": "DOMAIN_CONFLICT",
"retryable": false
}
}422
Invalid operation input. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSecondsdatadata.artistIddata.clientIddata.descriptiondata.enddata.iddata.locationIdsdata.organizationIddata.pricedata.price.amountdata.price.currencydata.startdata.statusdata.tagsdata.tags[].colordata.tags[].iddata.tags[].namedata.timeZonedata.titledata.typedata.urldata.versiondata.allDayoperationoperation.idoperation.replayedoperation.statusretryAfterSeconds
Schema and constraints:
{
"anyOf": [
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
},
{
"properties": {
"data": {
"anyOf": [
{
"oneOf": [
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"price": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "Integer amount in currency minor units, including zero.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"currency": {
"description": "Uppercase three-letter currency code.",
"pattern": "^[A-Z]{3}$",
"type": "string"
}
},
"required": [
"amount",
"currency"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Booking price in minor units; null means unset and clears a price on update."
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "BOOKING",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description",
"price"
],
"type": "object"
},
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "CONSULTATION",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description"
],
"type": "object"
},
{
"properties": {
"allDay": {
"description": "Whether time off covers local calendar days.",
"type": "boolean"
},
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"type": {
"const": "TIME_OFF",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"description",
"allDay"
],
"type": "object"
}
]
},
{
"type": "null"
}
],
"description": "Safe domain result when completed; null for unresolved or failed operations."
},
"error": {
"description": "Safe failure details when relevant; never a raw exception.",
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
},
"operation": {
"properties": {
"id": {
"description": "Durable operation receipt ID; use it for status lookup.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"replayed": {
"description": "Whether this is an existing logical request or status lookup.",
"type": "boolean"
},
"status": {
"allOf": [
{
"description": "Pending is running; unknown needs confirmation; failed is terminal; completed contains the result.",
"enum": [
"pending",
"completed",
"failed",
"unknown"
],
"type": "string"
},
{
"const": "failed",
"type": "string"
}
]
}
},
"required": [
"id",
"status",
"replayed"
],
"type": "object"
},
"retryAfterSeconds": {
"description": "Wait before checking the same unresolved operation; do not generate another idempotency key.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"data",
"operation"
],
"type": "object"
}
]
}Synthetic example:
{
"error": {
"code": "INVALID_INPUT",
"message": "Invalid operation input.",
"retryable": false
}
}429
Request limit reached. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSecondsdatadata.artistIddata.clientIddata.descriptiondata.enddata.iddata.locationIdsdata.organizationIddata.pricedata.price.amountdata.price.currencydata.startdata.statusdata.tagsdata.tags[].colordata.tags[].iddata.tags[].namedata.timeZonedata.titledata.typedata.urldata.versiondata.allDayoperationoperation.idoperation.replayedoperation.statusretryAfterSeconds
Schema and constraints:
{
"anyOf": [
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
},
{
"properties": {
"data": {
"anyOf": [
{
"oneOf": [
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"price": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "Integer amount in currency minor units, including zero.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"currency": {
"description": "Uppercase three-letter currency code.",
"pattern": "^[A-Z]{3}$",
"type": "string"
}
},
"required": [
"amount",
"currency"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Booking price in minor units; null means unset and clears a price on update."
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "BOOKING",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description",
"price"
],
"type": "object"
},
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "CONSULTATION",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description"
],
"type": "object"
},
{
"properties": {
"allDay": {
"description": "Whether time off covers local calendar days.",
"type": "boolean"
},
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"type": {
"const": "TIME_OFF",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"description",
"allDay"
],
"type": "object"
}
]
},
{
"type": "null"
}
],
"description": "Safe domain result when completed; null for unresolved or failed operations."
},
"error": {
"description": "Safe failure details when relevant; never a raw exception.",
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
},
"operation": {
"properties": {
"id": {
"description": "Durable operation receipt ID; use it for status lookup.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"replayed": {
"description": "Whether this is an existing logical request or status lookup.",
"type": "boolean"
},
"status": {
"allOf": [
{
"description": "Pending is running; unknown needs confirmation; failed is terminal; completed contains the result.",
"enum": [
"pending",
"completed",
"failed",
"unknown"
],
"type": "string"
},
{
"const": "failed",
"type": "string"
}
]
}
},
"required": [
"id",
"status",
"replayed"
],
"type": "object"
},
"retryAfterSeconds": {
"description": "Wait before checking the same unresolved operation; do not generate another idempotency key.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"data",
"operation"
],
"type": "object"
}
]
}Synthetic example:
{
"error": {
"code": "RATE_LIMITED",
"message": "Request limit reached.",
"retryable": true,
"retryAfterSeconds": 60
}
}503
The provider is unavailable. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSecondsdatadata.artistIddata.clientIddata.descriptiondata.enddata.iddata.locationIdsdata.organizationIddata.pricedata.price.amountdata.price.currencydata.startdata.statusdata.tagsdata.tags[].colordata.tags[].iddata.tags[].namedata.timeZonedata.titledata.typedata.urldata.versiondata.allDayoperationoperation.idoperation.replayedoperation.statusretryAfterSeconds
Schema and constraints:
{
"anyOf": [
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
},
{
"properties": {
"data": {
"anyOf": [
{
"oneOf": [
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"price": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "Integer amount in currency minor units, including zero.",
"maximum": 2147483647,
"minimum": 0,
"type": "integer"
},
"currency": {
"description": "Uppercase three-letter currency code.",
"pattern": "^[A-Z]{3}$",
"type": "string"
}
},
"required": [
"amount",
"currency"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Booking price in minor units; null means unset and clears a price on update."
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "BOOKING",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description",
"price"
],
"type": "object"
},
{
"properties": {
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"clientId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing client ID; contact information is edited separately."
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"tags": {
"default": [],
"description": "tags",
"items": {
"additionalProperties": false,
"properties": {
"color": {
"description": "Tag display color, or null.",
"type": [
"string",
"null"
]
},
"id": {
"description": "Studio tag ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Tag display name.",
"type": "string"
}
},
"required": [
"id",
"name",
"color"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"title": {
"description": "Appointment title.",
"type": "string"
},
"type": {
"const": "CONSULTATION",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"clientId",
"title",
"description"
],
"type": "object"
},
{
"properties": {
"allDay": {
"description": "Whether time off covers local calendar days.",
"type": "boolean"
},
"artistId": {
"description": "Current studio participant user ID.",
"type": [
"string",
"null"
]
},
"description": {
"description": "Appointment description.",
"type": [
"string",
"null"
]
},
"end": {
"description": "End instant, exclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"description": "Stable record ID.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationIds": {
"description": "Associated studio location IDs.",
"items": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"type": "array"
},
"organizationId": {
"description": "Selected studio ID.",
"type": "string"
},
"start": {
"description": "Start instant, inclusive, with an explicit UTC offset.",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"status": {
"description": "Current lifecycle status.",
"enum": [
"SCHEDULED",
"CANCELLED",
"DELETED"
],
"type": "string"
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
},
"type": {
"const": "TIME_OFF",
"description": "Event kind.",
"type": "string"
},
"url": {
"description": "Authenticated application link, or null if unavailable.",
"type": [
"string",
"null"
]
},
"version": {
"description": "Opaque optimistic concurrency version.",
"type": "string"
}
},
"required": [
"id",
"organizationId",
"start",
"end",
"timeZone",
"status",
"version",
"url",
"artistId",
"locationIds",
"type",
"description",
"allDay"
],
"type": "object"
}
]
},
{
"type": "null"
}
],
"description": "Safe domain result when completed; null for unresolved or failed operations."
},
"error": {
"description": "Safe failure details when relevant; never a raw exception.",
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
},
"operation": {
"properties": {
"id": {
"description": "Durable operation receipt ID; use it for status lookup.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"replayed": {
"description": "Whether this is an existing logical request or status lookup.",
"type": "boolean"
},
"status": {
"allOf": [
{
"description": "Pending is running; unknown needs confirmation; failed is terminal; completed contains the result.",
"enum": [
"pending",
"completed",
"failed",
"unknown"
],
"type": "string"
},
{
"const": "failed",
"type": "string"
}
]
}
},
"required": [
"id",
"status",
"replayed"
],
"type": "object"
},
"retryAfterSeconds": {
"description": "Wait before checking the same unresolved operation; do not generate another idempotency key.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"data",
"operation"
],
"type": "object"
}
]
}Synthetic example:
{
"error": {
"code": "PROVIDER_UNAVAILABLE",
"message": "The provider is unavailable.",
"retryable": false
}
}reactivate booking
Reuses the existing appointment command, version check and durable receipt; scheduling changes recheck current occupancy.
Update client details
Requires Idempotency-Key and the opaque expectedVersion from getClient. Body contains expectedVersion and patch. Stale edits return CONFLICT; present null clears nullable contact fields only.