{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nexus/json-schema/nexus-ip-allow-list-entries-page-xo-schema.json",
  "title": "IpAllowListEntriesPageXO",
  "description": "Paginated list of IP Allow List entries",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nexus-security-ip-allow-list-api-openapi.yml#/components/schemas/IpAllowListEntriesPageXO",
  "type": "object",
  "properties": {
    "entries": {
      "type": "array",
      "description": "List of entries on the current page",
      "items": {
        "$ref": "#/$defs/IpAllowListEntryXO"
      }
    },
    "page": {
      "type": "integer",
      "description": "Current page number (0-based)",
      "format": "int32"
    },
    "pageSize": {
      "type": "integer",
      "description": "Number of entries per page",
      "format": "int32"
    },
    "totalEntries": {
      "type": "integer",
      "description": "Total number of entries across all pages",
      "format": "int32"
    },
    "totalPages": {
      "type": "integer",
      "description": "Total number of pages",
      "format": "int32"
    }
  },
  "$defs": {
    "IpAllowListEntryXO": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the entry"
        },
        "entryType": {
          "type": "string",
          "description": "Entry type: IPV4, IPV6, CIDR_IPV4, or CIDR_IPV6"
        },
        "entry": {
          "type": "string",
          "description": "The IP address or CIDR notation"
        },
        "createdBy": {
          "type": "string",
          "description": "Username who created the entry"
        },
        "createdAt": {
          "type": "string",
          "description": "When the entry was created",
          "format": "date-time"
        },
        "updatedBy": {
          "type": "string",
          "description": "Username who last updated the entry"
        },
        "updatedAt": {
          "type": "string",
          "description": "When the entry was last updated",
          "format": "date-time"
        },
        "description": {
          "type": "string",
          "description": "Optional description for this IP address"
        }
      },
      "description": "IP Allow List entry"
    }
  }
}