{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GetSharedLineMemberItem",
  "title": "GetSharedLineMemberItem",
  "type": "object",
  "required": [
    "id",
    "firstName",
    "lastName",
    "port",
    "primaryOwner",
    "lineType",
    "lineWeight",
    "hotlineEnabled",
    "hotlineDestination",
    "allowCallDeclineEnabled",
    "memberType"
  ],
  "properties": {
    "id": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS85ODhiYTQyOC0zMjMyLTRmNjItYjUyNS1iZDUzZmI4Nzc0MWE",
      "description": "Unique identifier for the member."
    },
    "firstName": {
      "type": "string",
      "example": "John",
      "description": "First name of person or workspace."
    },
    "lastName": {
      "type": "string",
      "example": "Doe",
      "description": "Last name of person or workspace."
    },
    "phoneNumber": {
      "type": "string",
      "example": "2056852221",
      "description": "Phone number of a person or workspace. Currently, E.164 format is not supported. This will be supported in the future update."
    },
    "extension": {
      "type": "string",
      "example": "1111",
      "description": "Phone extension of a person or workspace."
    },
    "routingPrefix": {
      "type": "string",
      "example": "1234",
      "description": "Routing prefix of location."
    },
    "esn": {
      "type": "string",
      "example": "12341111",
      "description": "Routing prefix + extension of a person or workspace."
    },
    "port": {
      "type": "number",
      "minimum": 1,
      "example": 1,
      "description": "Device port number assigned to a person or workspace."
    },
    "t38FaxCompressionEnabled `true`": {
      "type": "boolean",
      "description": "T.38 Fax Compression setting. Valid only for ATA Devices. Overrides user level compression options."
    },
    "primaryOwner": {
      "type": "string",
      "example": "true",
      "description": "If `true` the person or the workspace is the owner of the device. Points to primary line/port of the device."
    },
    "lineType": {
      "$ref": "#/components/schemas/LineType",
      "description": "If the line is acting as a primary line or a shared line for this device."
    },
    "lineWeight": {
      "type": "number",
      "minimum": 1,
      "example": 1,
      "description": "Number of lines that have been configured for the person on the device."
    },
    "hostIP": {
      "type": "string",
      "example": "198.168.0.1",
      "description": "Registration home IP for the line port."
    },
    "remoteIP": {
      "type": "string",
      "example": "198.168.0.2",
      "description": "Registration remote IP for the line port."
    },
    "hotlineEnabled": {
      "type": "boolean",
      "example": true,
      "description": "Configure this line to automatically call a predefined number whenever taken off-hook. Once enabled, the line can only make calls to the predefined number set in hotlineDestination."
    },
    "hotlineDestination": {
      "type": "string",
      "example": "1234",
      "description": "Preconfigured number for the hotline. Required only if `hotlineEnabled` is set to `true`."
    },
    "allowCallDeclineEnabled": {
      "type": "boolean",
      "example": true,
      "description": "Set how a device behaves when a call is declined. When set to `true`, a call decline request is extended to all the endpoints on the device. When set to `false`, a call decline request is only declined at the current endpoint."
    },
    "lineLabel": {
      "type": "string",
      "example": "share line label",
      "description": "Device line label."
    },
    "memberType": {
      "$ref": "#/components/schemas/UserType",
      "description": "If the member is of type `PEOPLE` or `PLACE`."
    },
    "location": {
      "$ref": "#/components/schemas/location",
      "description": "Location object having a unique identifier for the location and its name."
    }
  }
}