{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/webex/json-schema/webex-decthandset-get-schema.json",
  "title": "DECTHandsetGet",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-dect-devices-settings-api-openapi.yml#/components/schemas/DECTHandsetGet",
  "type": "object",
  "required": [
    "id",
    "index",
    "defaultDisplayName",
    "baseStationId",
    "mac",
    "lines"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the handset."
    },
    "index": {
      "type": "string",
      "description": "Index of the handset."
    },
    "customDisplayName": {
      "type": "string",
      "description": "Custom display name for the handset."
    },
    "defaultDisplayName": {
      "type": "string",
      "description": "Default display name for the handset."
    },
    "baseStationId": {
      "type": "string",
      "description": "Unique identifier of the associated base station."
    },
    "mac": {
      "type": "string",
      "description": "MAC Address associated with the handset."
    },
    "accessCode": {
      "type": "string",
      "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": "#/$defs/lines"
      },
      "description": "Array of lines associated with the handset. Maximum: 2 lines."
    }
  },
  "$defs": {
    "MemberType": {
      "type": "string",
      "enum": [
        "PEOPLE",
        "PLACE"
      ],
      "description": " * `PEOPLE` - Indicates the associated member is a person.\n * `PLACE` - Indicates the associated member is a workspace.\n"
    },
    "lines": {
      "type": "object",
      "required": [
        "memberId",
        "firstName",
        "lastName",
        "location",
        "memberType"
      ],
      "properties": {
        "memberId": {
          "type": "string",
          "description": "ID of the member on line1 of the handset. Members can be PEOPLE or PLACE."
        },
        "firstName": {
          "type": "string",
          "description": "Line members's first name."
        },
        "lastName": {
          "type": "string",
          "description": "Line members's last name."
        },
        "external": {
          "type": "string",
          "description": "Line members primary number."
        },
        "extension": {
          "type": "string",
          "description": "Line members extension."
        },
        "lastRegistrationTime": {
          "type": "string",
          "description": "Last registration timestamp."
        },
        "hostIP": {
          "type": "string",
          "description": "Registration host IP address for the line port."
        },
        "remoteIP": {
          "type": "string",
          "description": "Registration remote IP address for the line port."
        },
        "location": {
          "$ref": "#/$defs/location",
          "description": "Location object including a unique identifier for the location and its name."
        },
        "memberType": {
          "$ref": "#/$defs/MemberType",
          "description": "Indicates member type."
        }
      }
    },
    "location": {
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Location identifier associated with the members."
        },
        "name": {
          "type": "string",
          "description": "Location name associated with the member."
        }
      }
    }
  }
}