{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Error",
  "title": "Error",
  "type": "object",
  "description": "An error response from the Xceptor API",
  "properties": {
    "code": {
      "type": "string",
      "description": "A machine-readable error code"
    },
    "message": {
      "type": "string",
      "description": "A human-readable description of the error"
    },
    "details": {
      "type": "object",
      "description": "Additional error details when available",
      "additionalProperties": true
    }
  }
}