{
  "$id": "https://raw.githubusercontent.com/i2-open/i2scim/master/spec/schema/scim-listResponse.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "JSON-Schema for a SCIM ListResponse (in response to a search) per RFC7644",
  "properties": {
    "Resources": {
      "description": "Resources consists of a set of SCIM Resource JSON objects returned.",
      "items": {
        "type": "object"
      },
      "type": "array"
    },
    "itemsPerPage": {
      "description": "The number of resources returned in a list response\npage.  REQUIRED when partial results are returned due to\npagination.",
      "minimum": 1,
      "type": "integer"
    },
    "schemas": {
      "description": "This SCIM Schema describes a SCIM Protocol ListResponse for returning query results",
      "items": {
        "enum": [
          "urn:ietf:params:scim:api:messages:2.0:ListResponse"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "startIndex": {
      "description": "The 1-based index of the first result in the current set\nof list results.  REQUIRED when partial results are returned due\nto pagination.",
      "minimum": 0,
      "type": "integer"
    },
    "totalResults": {
      "description": "The total number of results available in the query",
      "type": "integer"
    }
  },
  "required": [
    "schemas",
    "totalResults",
    "Resources"
  ],
  "title": "SCIM List Response",
  "type": "object"
}