{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nice/json-schema/nice-get-skill-address-books-response-schema.json",
  "title": "response",
  "description": "Collection of Skills Address Books",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nice-admin-addressbook-openapi.yml#/components/schemas/getSkillAddressBooksResponse",
  "properties": {
    "totalRecords": {
      "type": "integer"
    },
    "_links": {
      "type": "object",
      "title": "_links",
      "description": "Links used to parse paginated response",
      "properties": {
        "self": {
          "type": "string",
          "format": "uri",
          "description": " Link to same page of results"
        },
        "next": {
          "type": "string",
          "format": "uri",
          "description": " Link to next page of results"
        },
        "previous": {
          "type": "string",
          "format": "uri",
          "description": " Link to previous page of results"
        }
      }
    },
    "lastPollTime": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp of last database poll. Value should be passed in \"updatedSince\" parameter on next call"
    },
    "addressBooks": {
      "type": "array",
      "description": "Collection of Address Books assigned to the Skill",
      "items": {
        "title": "AddressBook",
        "description": "Address Book",
        "properties": {
          "addressBookName": {
            "type": "string",
            "description": "Address Book Name"
          },
          "addressBookId": {
            "type": "integer",
            "description": "Address Book Id"
          },
          "addressBookType": {
            "type": "string",
            "description": "Address Book Type (Standard or Dynamic)"
          },
          "appId": {
            "type": "string",
            "description": "Application API Id"
          },
          "fullLoad": {
            "type": "boolean"
          },
          "addressBookEntries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "addressBookEntryId": {
                  "type": "integer"
                },
                "firstName": {
                  "type": "string"
                },
                "middleName": {
                  "type": "string"
                },
                "lastName": {
                  "type": "string"
                },
                "company": {
                  "type": "string"
                },
                "phone": {
                  "type": "string"
                },
                "mobile": {
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "lastUpdateTime": {
                  "type": "string",
                  "format": "date-time"
                },
                "externalId": {
                  "type": "string"
                },
                "stateId": {
                  "type": "integer"
                },
                "externalState": {
                  "type": "string"
                },
                "isDeleted": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    }
  }
}