{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SelectedCallerIdObject",
  "title": "SelectedCallerIdObject",
  "type": "object",
  "required": [
    "id",
    "type",
    "name",
    "phoneNumber",
    "extension"
  ],
  "properties": {
    "id": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL0NBTExfUVVFVUUvMjE3ZDU3YmEtOTMxYi00ZjczLTk1Y2EtOGY3MWFhYzc4MTE5",
      "description": "When not null, this is the call queue or hunt group's unique identifier."
    },
    "type": {
      "$ref": "#/components/schemas/AgentCallerIdType",
      "description": "When not null, indicates whether a call queue or hunt group has been selected."
    },
    "name": {
      "type": "string",
      "example": "SalesQueue",
      "description": "When not null, indicates the call queue's or hunt group's name."
    },
    "phoneNumber": {
      "type": "string",
      "example": "4255558100",
      "description": "When not null, indicates the call queue's or hunt group's phone number."
    },
    "extension": {
      "type": "string",
      "example": "8100",
      "description": "When not null, indicates the call queue's or hunt group's extension number."
    }
  }
}