{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/executive",
  "title": "executive",
  "type": "object",
  "description": "Details of an executive for whom the assistant can manage calls.",
  "example": {
    "id": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS8zZWQzNDg0MS0yZTkwLTQ4OGEtYmVmZi1iNTk0OTA1ODFkNWM",
    "firstName": "John",
    "lastName": "Doe",
    "directNumber": "+91-6557765419",
    "extension": "10079",
    "optInEnabled": true
  },
  "required": [
    "id",
    "optInEnabled"
  ],
  "properties": {
    "id": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS8zZWQzNDg0MS0yZTkwLTQ4OGEtYmVmZi1iNTk0OTA1ODFkNWM",
      "description": "Unique identifier of the executive."
    },
    "firstName": {
      "type": "string",
      "example": "John",
      "description": "First name of the executive."
    },
    "lastName": {
      "type": "string",
      "example": "Doe",
      "description": "Last name of the executive."
    },
    "directNumber": {
      "type": "string",
      "example": "+91-6557765419",
      "description": "Direct number of the executive."
    },
    "extension": {
      "type": "string",
      "example": "10079",
      "description": "Extension number of the executive."
    },
    "optInEnabled": {
      "type": "boolean",
      "example": true,
      "description": "If `true`, the executive assistant opted in to the executive pool."
    }
  }
}