{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/lines",
  "title": "lines",
  "type": "object",
  "required": [
    "memberId",
    "firstName",
    "lastName",
    "location",
    "memberType"
  ],
  "properties": {
    "memberId": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS9jODhiZGIwNC1jZjU5LTRjMjMtODQ4OC00NTNhOTE3ZDFlMjk",
      "description": "ID of the member on line1 of the handset. Members can be PEOPLE or PLACE."
    },
    "firstName": {
      "type": "string",
      "example": "John",
      "description": "Line members's first name."
    },
    "lastName": {
      "type": "string",
      "example": "Smith",
      "description": "Line members's last name."
    },
    "external": {
      "type": "string",
      "example": "+14088571272",
      "description": "Line members primary number."
    },
    "extension": {
      "type": "string",
      "example": "3459",
      "description": "Line members extension."
    },
    "lastRegistrationTime": {
      "type": "string",
      "example": "1611229671234",
      "description": "Last registration timestamp."
    },
    "hostIP": {
      "type": "string",
      "example": "10.0.0.45",
      "description": "Registration host IP address for the line port."
    },
    "remoteIP": {
      "type": "string",
      "example": "76.102.12.84",
      "description": "Registration remote IP address for the line port."
    },
    "location": {
      "$ref": "#/components/schemas/location",
      "description": "Location object including a unique identifier for the location and its name."
    },
    "memberType": {
      "$ref": "#/components/schemas/MemberType",
      "description": "Indicates member type."
    }
  }
}