APITatTool APIAPI reference

Update client details

Requires Idempotency-Key and the opaque expectedVersion from getClient. Body contains expectedVersion and patch. Stale edits return CONFLICT; present null clears nullable contact fields only.

Update client details

PATCH /api/v1/clients/{clientId}

Requires Idempotency-Key and the opaque expectedVersion from getClient. Body contains expectedVersion and patch. Stale edits return CONFLICT; present null clears nullable contact fields only.

API version: 1.0.0; source revision: development; SHA-256: 48cf3a12f6c45a2618345f604165f68f7efcee3648a8b923ccd02ef716aa8a9e.

Group: Clients.

Required permissions: ["clients:write"].

Authentication: Authorization: Bearer <user-owned-api-key>.

Parameters

path: clientId

Required. Explicit client 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. Required UUID; reuse unchanged 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": "update",
    "request": {
      "body": {
        "expectedVersion": "opaque-example-version",
        "patch": {
          "phone": null
        }
      },
      "headers": {
        "idempotency-key": "00000000-0000-4000-8000-000000000225"
      },
      "path": {
        "clientId": "00000000-0000-4000-8000-000000000213"
      }
    }
  }
]

curl

curl --request PATCH \
  --header 'Authorization: Bearer <user-owned-api-key>' \
  --header 'idempotency-key: 00000000-0000-4000-8000-000000000225' \
  --header 'Content-Type: application/json' \
  --data-raw '{"expectedVersion":"opaque-example-version","patch":{"phone":null}}' \
  "$TATTOOL_API_URL/api/v1/clients/00000000-0000-4000-8000-000000000213"

Responses

Request body

{
  "content": {
    "application/json": {
      "schema": {
        "additionalProperties": false,
        "properties": {
          "expectedVersion": {
            "description": "Opaque persisted record version from the latest read.",
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "patch": {
            "additionalProperties": false,
            "properties": {
              "email": {
                "description": "New email; null clears it when studio policy allows.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "lastName": {
                "description": "New family name; null clears it.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "description": "New given name; omission preserves the current name.",
                "minLength": 1,
                "type": "string"
              },
              "phone": {
                "description": "New phone; null clears it.",
                "type": [
                  "string",
                  "null"
                ]
              },
              "phoneCountry": {
                "anyOf": [
                  {
                    "maxLength": 2,
                    "minLength": 2,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Country used to normalize the phone; null clears it."
              }
            },
            "type": "object"
          }
        },
        "required": [
          "expectedVersion",
          "patch"
        ],
        "type": "object"
      }
    }
  },
  "required": true
}

200

Updated client or original result replayed. Media type: application/json

  • data
  • data.capabilities
  • data.createdAt
  • data.email
  • data.id
  • data.lastName
  • data.name
  • data.phone
  • data.phoneCountry
  • data.url
  • data.version
  • 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": [
        {
          "properties": {
            "capabilities": {
              "default": [],
              "description": "Currently permitted client actions; merged originals are immutable.",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "createdAt": {
              "description": "UTC ISO creation instant.",
              "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"
            },
            "email": {
              "anyOf": [
                {
                  "format": "email",
                  "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Client contact email, or null."
            },
            "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"
            },
            "lastName": {
              "description": "Client family name, or null.",
              "type": [
                "string",
                "null"
              ]
            },
            "name": {
              "description": "Display name.",
              "type": "string"
            },
            "phone": {
              "description": "Client phone number, or null.",
              "type": [
                "string",
                "null"
              ]
            },
            "phoneCountry": {
              "description": "Client phone country prefix, or null.",
              "type": [
                "string",
                "null"
              ]
            },
            "url": {
              "anyOf": [
                {
                  "format": "uri",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "description": "Canonical TatTool client profile link, without authentication material."
            },
            "version": {
              "description": "Opaque persisted-state version required for external edits/removals.",
              "type": "string"
            }
          },
          "required": [
            "id",
            "name",
            "lastName",
            "email",
            "phone",
            "phoneCountry",
            "createdAt",
            "version"
          ],
          "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": {
    "capabilities": [],
    "createdAt": "2026-10-05T00:00:00.000Z",
    "email": null,
    "id": "00000000-0000-4000-8000-000000000213",
    "lastName": null,
    "name": "Example client",
    "phone": null,
    "phoneCountry": null,
    "url": "https://app.tattool.io/example-studio/clients/00000000-0000-4000-8000-000000000213",
    "version": "opaque-example-version"
  },
  "operation": {
    "id": "00000000-0000-4000-8000-000000000214",
    "replayed": false,
    "status": "completed"
  }
}

202

Unresolved receipt; retain the same key. Media type: application/json

  • data
  • data.capabilities
  • data.createdAt
  • data.email
  • data.id
  • data.lastName
  • data.name
  • data.phone
  • data.phoneCountry
  • data.url
  • data.version
  • 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": [
        {
          "properties": {
            "capabilities": {
              "default": [],
              "description": "Currently permitted client actions; merged originals are immutable.",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "createdAt": {
              "description": "UTC ISO creation instant.",
              "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"
            },
            "email": {
              "anyOf": [
                {
                  "format": "email",
                  "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Client contact email, or null."
            },
            "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"
            },
            "lastName": {
              "description": "Client family name, or null.",
              "type": [
                "string",
                "null"
              ]
            },
            "name": {
              "description": "Display name.",
              "type": "string"
            },
            "phone": {
              "description": "Client phone number, or null.",
              "type": [
                "string",
                "null"
              ]
            },
            "phoneCountry": {
              "description": "Client phone country prefix, or null.",
              "type": [
                "string",
                "null"
              ]
            },
            "url": {
              "anyOf": [
                {
                  "format": "uri",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "description": "Canonical TatTool client profile link, without authentication material."
            },
            "version": {
              "description": "Opaque persisted-state version required for external edits/removals.",
              "type": "string"
            }
          },
          "required": [
            "id",
            "name",
            "lastName",
            "email",
            "phone",
            "phoneCountry",
            "createdAt",
            "version"
          ],
          "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-000000000214",
    "replayed": false,
    "status": "unknown"
  },
  "retryAfterSeconds": 5
}

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.capabilities
  • data.createdAt
  • data.email
  • data.id
  • data.lastName
  • data.name
  • data.phone
  • data.phoneCountry
  • data.url
  • data.version
  • 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": [
            {
              "properties": {
                "capabilities": {
                  "default": [],
                  "description": "Currently permitted client actions; merged originals are immutable.",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "createdAt": {
                  "description": "UTC ISO creation instant.",
                  "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"
                },
                "email": {
                  "anyOf": [
                    {
                      "format": "email",
                      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Client contact email, or null."
                },
                "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"
                },
                "lastName": {
                  "description": "Client family name, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "description": "Display name.",
                  "type": "string"
                },
                "phone": {
                  "description": "Client phone number, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "phoneCountry": {
                  "description": "Client phone country prefix, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "format": "uri",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Canonical TatTool client profile link, without authentication material."
                },
                "version": {
                  "description": "Opaque persisted-state version required for external edits/removals.",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "lastName",
                "email",
                "phone",
                "phoneCountry",
                "createdAt",
                "version"
              ],
              "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.capabilities
  • data.createdAt
  • data.email
  • data.id
  • data.lastName
  • data.name
  • data.phone
  • data.phoneCountry
  • data.url
  • data.version
  • 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": [
            {
              "properties": {
                "capabilities": {
                  "default": [],
                  "description": "Currently permitted client actions; merged originals are immutable.",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "createdAt": {
                  "description": "UTC ISO creation instant.",
                  "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"
                },
                "email": {
                  "anyOf": [
                    {
                      "format": "email",
                      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Client contact email, or null."
                },
                "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"
                },
                "lastName": {
                  "description": "Client family name, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "description": "Display name.",
                  "type": "string"
                },
                "phone": {
                  "description": "Client phone number, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "phoneCountry": {
                  "description": "Client phone country prefix, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "format": "uri",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Canonical TatTool client profile link, without authentication material."
                },
                "version": {
                  "description": "Opaque persisted-state version required for external edits/removals.",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "lastName",
                "email",
                "phone",
                "phoneCountry",
                "createdAt",
                "version"
              ],
              "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.capabilities
  • data.createdAt
  • data.email
  • data.id
  • data.lastName
  • data.name
  • data.phone
  • data.phoneCountry
  • data.url
  • data.version
  • 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": [
            {
              "properties": {
                "capabilities": {
                  "default": [],
                  "description": "Currently permitted client actions; merged originals are immutable.",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "createdAt": {
                  "description": "UTC ISO creation instant.",
                  "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"
                },
                "email": {
                  "anyOf": [
                    {
                      "format": "email",
                      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Client contact email, or null."
                },
                "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"
                },
                "lastName": {
                  "description": "Client family name, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "description": "Display name.",
                  "type": "string"
                },
                "phone": {
                  "description": "Client phone number, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "phoneCountry": {
                  "description": "Client phone country prefix, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "format": "uri",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Canonical TatTool client profile link, without authentication material."
                },
                "version": {
                  "description": "Opaque persisted-state version required for external edits/removals.",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "lastName",
                "email",
                "phone",
                "phoneCountry",
                "createdAt",
                "version"
              ],
              "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.capabilities
  • data.createdAt
  • data.email
  • data.id
  • data.lastName
  • data.name
  • data.phone
  • data.phoneCountry
  • data.url
  • data.version
  • 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": [
            {
              "properties": {
                "capabilities": {
                  "default": [],
                  "description": "Currently permitted client actions; merged originals are immutable.",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "createdAt": {
                  "description": "UTC ISO creation instant.",
                  "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"
                },
                "email": {
                  "anyOf": [
                    {
                      "format": "email",
                      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Client contact email, or null."
                },
                "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"
                },
                "lastName": {
                  "description": "Client family name, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "description": "Display name.",
                  "type": "string"
                },
                "phone": {
                  "description": "Client phone number, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "phoneCountry": {
                  "description": "Client phone country prefix, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "format": "uri",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Canonical TatTool client profile link, without authentication material."
                },
                "version": {
                  "description": "Opaque persisted-state version required for external edits/removals.",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "lastName",
                "email",
                "phone",
                "phoneCountry",
                "createdAt",
                "version"
              ],
              "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.capabilities
  • data.createdAt
  • data.email
  • data.id
  • data.lastName
  • data.name
  • data.phone
  • data.phoneCountry
  • data.url
  • data.version
  • 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": [
            {
              "properties": {
                "capabilities": {
                  "default": [],
                  "description": "Currently permitted client actions; merged originals are immutable.",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "createdAt": {
                  "description": "UTC ISO creation instant.",
                  "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"
                },
                "email": {
                  "anyOf": [
                    {
                      "format": "email",
                      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Client contact email, or null."
                },
                "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"
                },
                "lastName": {
                  "description": "Client family name, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "description": "Display name.",
                  "type": "string"
                },
                "phone": {
                  "description": "Client phone number, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "phoneCountry": {
                  "description": "Client phone country prefix, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "format": "uri",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Canonical TatTool client profile link, without authentication material."
                },
                "version": {
                  "description": "Opaque persisted-state version required for external edits/removals.",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "lastName",
                "email",
                "phone",
                "phoneCountry",
                "createdAt",
                "version"
              ],
              "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.capabilities
  • data.createdAt
  • data.email
  • data.id
  • data.lastName
  • data.name
  • data.phone
  • data.phoneCountry
  • data.url
  • data.version
  • 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": [
            {
              "properties": {
                "capabilities": {
                  "default": [],
                  "description": "Currently permitted client actions; merged originals are immutable.",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "createdAt": {
                  "description": "UTC ISO creation instant.",
                  "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"
                },
                "email": {
                  "anyOf": [
                    {
                      "format": "email",
                      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Client contact email, or null."
                },
                "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"
                },
                "lastName": {
                  "description": "Client family name, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "description": "Display name.",
                  "type": "string"
                },
                "phone": {
                  "description": "Client phone number, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "phoneCountry": {
                  "description": "Client phone country prefix, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "format": "uri",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Canonical TatTool client profile link, without authentication material."
                },
                "version": {
                  "description": "Opaque persisted-state version required for external edits/removals.",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "lastName",
                "email",
                "phone",
                "phoneCountry",
                "createdAt",
                "version"
              ],
              "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.capabilities
  • data.createdAt
  • data.email
  • data.id
  • data.lastName
  • data.name
  • data.phone
  • data.phoneCountry
  • data.url
  • data.version
  • 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": [
            {
              "properties": {
                "capabilities": {
                  "default": [],
                  "description": "Currently permitted client actions; merged originals are immutable.",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "createdAt": {
                  "description": "UTC ISO creation instant.",
                  "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"
                },
                "email": {
                  "anyOf": [
                    {
                      "format": "email",
                      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Client contact email, or null."
                },
                "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"
                },
                "lastName": {
                  "description": "Client family name, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "description": "Display name.",
                  "type": "string"
                },
                "phone": {
                  "description": "Client phone number, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "phoneCountry": {
                  "description": "Client phone country prefix, or null.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "format": "uri",
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null,
                  "description": "Canonical TatTool client profile link, without authentication material."
                },
                "version": {
                  "description": "Opaque persisted-state version required for external edits/removals.",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "lastName",
                "email",
                "phone",
                "phoneCountry",
                "createdAt",
                "version"
              ],
              "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
  }
}