{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AvailableMember",
  "title": "AvailableMember",
  "type": "object",
  "required": [
    "id",
    "firstName",
    "lastName",
    "lineType",
    "memberType",
    "location"
  ],
  "properties": {
    "id": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS9jODhiZGIwNC1jZjU5LTRjMjMtODQ4OC00NTNhOTE3ZDFlMjk",
      "description": "Unique identifier for the member."
    },
    "firstName": {
      "type": "string",
      "example": "John",
      "description": "First name of the member."
    },
    "lastName": {
      "type": "string",
      "example": "Smith",
      "description": "Last name of the member."
    },
    "phoneNumber": {
      "type": "string",
      "example": "+12055552221",
      "description": "Phone Number of the member."
    },
    "extension": {
      "type": "string",
      "example": "1234",
      "description": "Extension of the member."
    },
    "lineType": {
      "$ref": "#/components/schemas/LineType",
      "description": "Line type indicates if the associated line is a primary line or a shared line."
    },
    "memberType": {
      "$ref": "#/components/schemas/MemberType",
      "description": "Indicates the type of the member."
    },
    "location": {
      "$ref": "#/components/schemas/location",
      "description": "Location object having a unique identifier for the location and its name."
    }
  }
}