{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpdateResourceDTO",
  "title": "UpdateResourceDTO",
  "type": "object",
  "description": "Data Transfer Object for updating a resource, including its ID, type, status, and any associated error information.",
  "properties": {
    "id": {
      "type": "string",
      "description": "ID of this contact center resource.",
      "example": "af9eecc5-0472-4549-9a83-2afdae0d4ba0",
      "minLength": 1
    },
    "resourceType": {
      "type": "string",
      "description": "Name of the resource type.",
      "example": "team",
      "minLength": 1
    },
    "status": {
      "type": "integer",
      "format": "int32",
      "description": "The HTTP status code.",
      "example": 400
    },
    "apiError": {
      "$ref": "#/components/schemas/ApiErrorResponse"
    }
  },
  "required": [
    "id",
    "resourceType"
  ]
}