{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ContactDetails",
  "title": "ContactDetails",
  "type": "object",
  "required": [
    "personId",
    "firstName",
    "lastName",
    "department",
    "phoneNumber",
    "extension",
    "locationId",
    "featureId"
  ],
  "properties": {
    "personId": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS8wNTUyZjY3Yi01OWE5LTQxYmItODczNi0xYjA0MWQxZGRkNWU",
      "description": "ID of person."
    },
    "firstName": {
      "type": "string",
      "example": "John",
      "description": "First name of person."
    },
    "lastName": {
      "type": "string",
      "example": "Doe",
      "description": "Last name of person."
    },
    "department": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL0RFUEFSVE1FTlQvOTZhYmMyYWEtM2RjYy0xMWU1LWExNTItZmUzNDgxOWNkYzlh",
      "description": "Department ID of person."
    },
    "phoneNumber": {
      "type": "string",
      "example": "+12225555309",
      "description": "Phone number of person."
    },
    "extension": {
      "type": "string",
      "example": "5309",
      "description": "Extension of person."
    },
    "locationId": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OL2E4Mjg5NzIyLTFiODAtNDFiNy05Njc4LTBlNzdhZThjMTA5OA",
      "description": "Location ID of person."
    },
    "featureId": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL0FVVE9fQVRURU5EQU5ULzA1NTJmNjdiLTU5YTktNDFiYi04NzM2LTFiMDQxZDFkZGQ1ZQ",
      "description": "Location feature ID of the contact. Supported location feature types are Auto Attendant, Call Queue, Hunt Group, Single Number Reach, and Paging Group."
    }
  }
}