{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nice/json-schema/nice-put-address-book-dynamic-entries-request-schema.json",
  "title": "request",
  "description": "Dynamic Address Book Entry",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nice-admin-addressbook-openapi.yml#/components/schemas/putAddressBookDynamicEntriesRequest",
  "type": "object",
  "properties": {
    "addressBookEntries": {
      "type": "array",
      "items": {
        "title": "DynamicEntry",
        "type": "object",
        "required": [
          "firstName",
          "lastName",
          "externalId",
          "stateId",
          "externalState",
          "middleName",
          "company",
          "phone",
          "mobile",
          "email"
        ],
        "properties": {
          "externalId": {
            "type": "string",
            "description": "An ID from presence source"
          },
          "stateId": {
            "type": "integer",
            "description": "Agent State Id"
          },
          "externalState": {
            "type": "string",
            "description": "Dynamic Address Book Entry Name"
          },
          "firstName": {
            "type": "string",
            "description": "Contact First Name"
          },
          "middleName": {
            "type": "string",
            "description": "Contact Middle Name"
          },
          "lastName": {
            "type": "string",
            "description": "Contact Last Name"
          },
          "company": {
            "type": "string",
            "description": "Contact Company"
          },
          "phone": {
            "type": "string",
            "description": "Contact Phone"
          },
          "mobile": {
            "type": "string",
            "description": "Contact Mobile"
          },
          "email": {
            "type": "string",
            "description": "Contact Email"
          }
        }
      }
    }
  },
  "required": [
    "addressBookEntries"
  ]
}