{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DECTHandsetGet",
  "title": "DECTHandsetGet",
  "type": "object",
  "required": [
    "id",
    "index",
    "defaultDisplayName",
    "baseStationId",
    "mac",
    "lines"
  ],
  "properties": {
    "id": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL0RFQ1RfREVWX05FVC81NmRiMjRkMy03YTdhLTQwYTItOWFjOS1iMjMzMjc3OTIxTrd",
      "description": "Unique identifier of the handset."
    },
    "index": {
      "type": "string",
      "example": "1",
      "description": "Index of the handset."
    },
    "customDisplayName": {
      "type": "string",
      "example": "Demo_Handset",
      "description": "Custom display name for the handset."
    },
    "defaultDisplayName": {
      "type": "string",
      "example": "Demo_Handset",
      "description": "Default display name for the handset."
    },
    "baseStationId": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL0RFQ1RfREVWX1NUQVRJT04vYzRhMTQxN2ItZGNiYi00MGMzLWE3YWQtNTY1MGZkZGRkNTNj",
      "description": "Unique identifier of the associated base station."
    },
    "mac": {
      "type": "string",
      "example": "1357D4A1B492",
      "description": "MAC Address associated with the handset."
    },
    "accessCode": {
      "type": "string",
      "example": "4788",
      "description": "Access code used to pair handsets to the DECT Network for the first time or if a handset becomes disconnected."
    },
    "lines": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/lines"
      },
      "description": "Array of lines associated with the handset. Maximum: 2 lines."
    }
  }
}