{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/extentionStatusObject",
  "title": "extentionStatusObject",
  "type": "object",
  "required": [
    "extension",
    "state"
  ],
  "properties": {
    "extension": {
      "type": "string",
      "example": "1234",
      "description": "Indicates the extention ID for the status."
    },
    "state": {
      "type": "string",
      "enum": [
        "VALID",
        "DUPLICATE",
        "DUPLICATE_IN_LIST",
        "INVALID"
      ],
      "description": "Indicates the status for the given extention ID."
    },
    "errorCode": {
      "type": "number",
      "example": 59475,
      "description": "Error code."
    },
    "message": {
      "type": "string",
      "example": "The extension is not available. It is already assigned to a virtual extension"
    }
  }
}