{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opoint/json-schema/opoint-multi-user-invite-paginated-schema.json",
  "title": "MultiUserInvitePaginated",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opoint-invite-api-openapi.yml#/components/schemas/MultiUserInvitePaginated",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer"
    },
    "next": {
      "type": [
        "string",
        "null"
      ]
    },
    "previous": {
      "type": [
        "string",
        "null"
      ]
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MultiUserInvitation"
      }
    }
  },
  "required": [
    "count",
    "next",
    "previous",
    "results"
  ],
  "$defs": {
    "MultiUserInvitation": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "readOnly": true
        },
        "token": {
          "type": "string",
          "default": ""
        },
        "url": {
          "type": "string",
          "default": ""
        },
        "owner": {
          "type": "integer",
          "description": "The parent user in the tree when user is created"
        },
        "sent": {
          "type": "integer",
          "readOnly": true
        },
        "expires": {
          "type": "integer",
          "readOnly": true
        },
        "active": {
          "type": "boolean"
        },
        "usable": {
          "type": "boolean",
          "readOnly": true
        },
        "reason": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        }
      },
      "required": [
        "expires",
        "id",
        "owner",
        "reason",
        "sent",
        "usable"
      ]
    }
  }
}