{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zywave/main/json-schema/zywave-paged-result-of-license-schema.json",
  "title": "PagedResultOfLicense",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zywave-licenses-v2-openapi.json#/components/schemas/PagedResultOfLicense",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "hasMoreResults": {
      "type": "boolean",
      "description": "A value indicating whether the larger result set has more results."
    },
    "skip": {
      "type": "integer",
      "description": "A value indicating how many of the previous values in the larger result set were omitted.",
      "format": "int32"
    },
    "take": {
      "type": "integer",
      "description": "The number of records retrieved from larger result set.",
      "format": "int32"
    },
    "totalCount": {
      "type": "integer",
      "description": "The total number of records in the larger result set.",
      "format": "int32"
    },
    "items": {
      "type": "array",
      "description": "The records retrieved from the larger result set.",
      "items": {
        "$ref": "#/$defs/License"
      }
    }
  },
  "$defs": {
    "License": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "name"
      ],
      "properties": {
        "endDateTime": {
          "type": [
            "string",
            "null"
          ],
          "description": "The effective end time for the license.",
          "format": "date-time"
        },
        "id": {
          "type": "integer",
          "description": "The license identifier.",
          "format": "int32"
        },
        "name": {
          "type": "string",
          "description": "The license name."
        },
        "quantity": {
          "type": "integer",
          "description": "The quantity supplied by the license, if applicable.",
          "format": "int32"
        },
        "startDateTime": {
          "type": "string",
          "description": "The effective start time for the license.",
          "format": "date-time"
        }
      }
    }
  }
}