{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ItemsCollection",
  "title": "ItemsCollection",
  "type": "object",
  "description": "Paginated collection of resource items following the ORDS standard collection format",
  "properties": {
    "count": {
      "type": "integer",
      "description": "Total number of records in the current response page"
    },
    "hasMore": {
      "type": "boolean",
      "description": "Indicates whether additional pages of results are available"
    },
    "limit": {
      "type": "integer",
      "description": "The page size limit applied by the server"
    },
    "offset": {
      "type": "integer",
      "description": "The starting index of items in this page"
    },
    "items": {
      "type": "array",
      "description": "Array of resource items in this page",
      "items": {
        "$ref": "#/components/schemas/ResourceItem"
      }
    },
    "links": {
      "type": "array",
      "description": "Pagination navigation links (first, next, prev, last)",
      "items": {
        "$ref": "#/components/schemas/LinkRelation"
      }
    }
  }
}