{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/esri/json-schema/esri-item-collection-schema.json",
  "title": "ItemCollection",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/esri-portal-api-openapi.yml#/components/schemas/ItemCollection",
  "type": "object",
  "properties": {
    "total": {
      "type": "integer"
    },
    "start": {
      "type": "integer"
    },
    "num": {
      "type": "integer"
    },
    "nextStart": {
      "type": "integer"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Item"
      }
    }
  },
  "$defs": {
    "Item": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "owner": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "description": "Item type (e.g., \"Feature Service\", \"Web Map\", \"CSV\")"
        },
        "typeKeywords": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "description": {
          "type": "string"
        },
        "snippet": {
          "type": "string"
        },
        "thumbnail": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "created": {
          "type": "integer"
        },
        "modified": {
          "type": "integer"
        },
        "numViews": {
          "type": "integer"
        },
        "size": {
          "type": "integer"
        },
        "access": {
          "type": "string",
          "enum": [
            "private",
            "shared",
            "org",
            "public"
          ]
        },
        "extent": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "description": "Bounding box [[xmin,ymin],[xmax,ymax]]"
        }
      }
    }
  }
}