{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zywave/main/json-schema/zywave-paged-result-of-user-principal-schema.json",
  "title": "PagedResultOfUserPrincipal",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zywave-organizations-v3-openapi.json#/components/schemas/PagedResultOfUserPrincipal",
  "type": "object",
  "properties": {
    "hasMoreResults": {
      "type": "boolean"
    },
    "skip": {
      "type": "integer",
      "format": "int32"
    },
    "take": {
      "type": "integer",
      "format": "int32"
    },
    "totalCount": {
      "type": "integer",
      "format": "int32"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UserPrincipal"
      }
    }
  },
  "$defs": {
    "UserPrincipal": {
      "required": [
        "userPrincipalName"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "expirationDateTime": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "givenName": {
          "type": [
            "string",
            "null"
          ]
        },
        "isEnabled": {
          "type": "boolean"
        },
        "isPasswordChangeRequired": {
          "type": "boolean"
        },
        "surname": {
          "type": [
            "string",
            "null"
          ]
        },
        "userPrincipalName": {
          "type": "string"
        }
      }
    }
  }
}