APITatTool APIAPI reference

cancel booking

Reuses the existing appointment command, version check and durable receipt; scheduling changes recheck current occupancy.

cancel booking

POST /api/v1/bookings/{bookingId}/cancel

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"
      },
      "headers": {
        "idempotency-key": "00000000-0000-4000-8000-000000000225"
      },
      "path": {
        "bookingId": "00000000-0000-4000-8000-000000000225"
      }
    }
  }
]

curl

curl --request POST \
  --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"}' \
  "$TATTOOL_API_URL/api/v1/bookings/00000000-0000-4000-8000-000000000225/cancel"

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"
          }
        },
        "required": [
          "expectedVersion"
        ],
        "type": "object"
      }
    }
  },
  "required": true
}

200

Mutation receipt. Media type: application/json

  • data
  • data.artistId
  • data.clientId
  • data.description
  • data.end
  • data.id
  • data.locationIds
  • data.organizationId
  • data.price
  • data.price.amount
  • data.price.currency
  • data.start
  • data.status
  • data.tags
  • data.tags[].color
  • data.tags[].id
  • data.tags[].name
  • data.timeZone
  • data.title
  • data.type
  • data.url
  • data.version
  • data.allDay
  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds
  • operation
  • operation.id
  • operation.replayed
  • operation.status
  • retryAfterSeconds

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

  • data
  • data.artistId
  • data.clientId
  • data.description
  • data.end
  • data.id
  • data.locationIds
  • data.organizationId
  • data.price
  • data.price.amount
  • data.price.currency
  • data.start
  • data.status
  • data.tags
  • data.tags[].color
  • data.tags[].id
  • data.tags[].name
  • data.timeZone
  • data.title
  • data.type
  • data.url
  • data.version
  • data.allDay
  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds
  • operation
  • operation.id
  • operation.replayed
  • operation.status
  • retryAfterSeconds

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

  • data
  • data.artistId
  • data.clientId
  • data.description
  • data.end
  • data.id
  • data.locationIds
  • data.organizationId
  • data.price
  • data.price.amount
  • data.price.currency
  • data.start
  • data.status
  • data.tags
  • data.tags[].color
  • data.tags[].id
  • data.tags[].name
  • data.timeZone
  • data.title
  • data.type
  • data.url
  • data.version
  • data.allDay
  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds
  • operation
  • operation.id
  • operation.replayed
  • operation.status
  • retryAfterSeconds

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

  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds
  • data
  • data.artistId
  • data.clientId
  • data.description
  • data.end
  • data.id
  • data.locationIds
  • data.organizationId
  • data.price
  • data.price.amount
  • data.price.currency
  • data.start
  • data.status
  • data.tags
  • data.tags[].color
  • data.tags[].id
  • data.tags[].name
  • data.timeZone
  • data.title
  • data.type
  • data.url
  • data.version
  • data.allDay
  • operation
  • operation.id
  • operation.replayed
  • operation.status
  • retryAfterSeconds

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

  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds
  • data
  • data.artistId
  • data.clientId
  • data.description
  • data.end
  • data.id
  • data.locationIds
  • data.organizationId
  • data.price
  • data.price.amount
  • data.price.currency
  • data.start
  • data.status
  • data.tags
  • data.tags[].color
  • data.tags[].id
  • data.tags[].name
  • data.timeZone
  • data.title
  • data.type
  • data.url
  • data.version
  • data.allDay
  • operation
  • operation.id
  • operation.replayed
  • operation.status
  • retryAfterSeconds

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

  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds
  • data
  • data.artistId
  • data.clientId
  • data.description
  • data.end
  • data.id
  • data.locationIds
  • data.organizationId
  • data.price
  • data.price.amount
  • data.price.currency
  • data.start
  • data.status
  • data.tags
  • data.tags[].color
  • data.tags[].id
  • data.tags[].name
  • data.timeZone
  • data.title
  • data.type
  • data.url
  • data.version
  • data.allDay
  • operation
  • operation.id
  • operation.replayed
  • operation.status
  • retryAfterSeconds

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

  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds
  • data
  • data.artistId
  • data.clientId
  • data.description
  • data.end
  • data.id
  • data.locationIds
  • data.organizationId
  • data.price
  • data.price.amount
  • data.price.currency
  • data.start
  • data.status
  • data.tags
  • data.tags[].color
  • data.tags[].id
  • data.tags[].name
  • data.timeZone
  • data.title
  • data.type
  • data.url
  • data.version
  • data.allDay
  • operation
  • operation.id
  • operation.replayed
  • operation.status
  • retryAfterSeconds

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

  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds
  • data
  • data.artistId
  • data.clientId
  • data.description
  • data.end
  • data.id
  • data.locationIds
  • data.organizationId
  • data.price
  • data.price.amount
  • data.price.currency
  • data.start
  • data.status
  • data.tags
  • data.tags[].color
  • data.tags[].id
  • data.tags[].name
  • data.timeZone
  • data.title
  • data.type
  • data.url
  • data.version
  • data.allDay
  • operation
  • operation.id
  • operation.replayed
  • operation.status
  • retryAfterSeconds

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

  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds
  • data
  • data.artistId
  • data.clientId
  • data.description
  • data.end
  • data.id
  • data.locationIds
  • data.organizationId
  • data.price
  • data.price.amount
  • data.price.currency
  • data.start
  • data.status
  • data.tags
  • data.tags[].color
  • data.tags[].id
  • data.tags[].name
  • data.timeZone
  • data.title
  • data.type
  • data.url
  • data.version
  • data.allDay
  • operation
  • operation.id
  • operation.replayed
  • operation.status
  • retryAfterSeconds

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

  • error
  • error.code
  • error.fieldErrors
  • error.message
  • error.operationId
  • error.reason
  • error.retryable
  • error.retryAfterSeconds
  • data
  • data.artistId
  • data.clientId
  • data.description
  • data.end
  • data.id
  • data.locationIds
  • data.organizationId
  • data.price
  • data.price.amount
  • data.price.currency
  • data.start
  • data.status
  • data.tags
  • data.tags[].color
  • data.tags[].id
  • data.tags[].name
  • data.timeZone
  • data.title
  • data.type
  • data.url
  • data.version
  • data.allDay
  • operation
  • operation.id
  • operation.replayed
  • operation.status
  • retryAfterSeconds

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
  }
}