{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/webex/main/json-schema/webex-bulk-export-dtoaddress-book-bulk-export-dto-schema.json",
  "title": "BulkExportDTOAddressBookBulkExportDTO",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-address-book-api-openapi.yml#/components/schemas/BulkExportDTOAddressBookBulkExportDTO",
  "type": "object",
  "properties": {
    "totalResources": {
      "type": "integer",
      "description": "Total number of items",
      "format": "int32"
    },
    "pageNumber": {
      "type": "integer",
      "description": "Current page number",
      "format": "int32"
    },
    "pageSize": {
      "type": "integer",
      "description": "Page size for current data set",
      "format": "int32"
    },
    "rel": {
      "type": "string",
      "description": "Indicates whether more pages exist. When 'next' there are more pages available, otherwise 'last'."
    },
    "resources": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AddressBookBulkExportDTO"
      }
    }
  },
  "$defs": {
    "AddressBookBulkExportDTO": {
      "required": [
        "id",
        "name"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The id for the address book in the bulk export request."
        },
        "name": {
          "type": "string",
          "description": "A name for the address book in the bulk export request."
        },
        "description": {
          "type": "string",
          "description": "A short description indicating the context of the address book."
        },
        "parentSite": {
          "type": "string",
          "description": "The specific site id where the address book is accessible."
        },
        "entryDetails": {
          "uniqueItems": true,
          "type": "array",
          "items": {
            "$ref": "#/$defs/AddressBookEntryDetailsDTO"
          }
        }
      }
    },
    "AddressBookEntryDetailsDTO": {
      "required": [
        "entryName",
        "phoneNumber"
      ],
      "type": "object",
      "properties": {
        "entryName": {
          "type": "string",
          "description": "A name for the address book entry."
        },
        "phoneNumber": {
          "type": "string",
          "description": "The phone number for the entry."
        }
      }
    }
  }
}