{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opoint/json-schema/opoint-user-invitation-search-schema.json",
  "title": "UserInvitationSearch",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opoint-auth-api-openapi.yml#/components/schemas/UserInvitationSearch",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer"
    },
    "next": {
      "type": "string"
    },
    "previous": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InvitationSearch"
      }
    }
  },
  "required": [
    "count",
    "next",
    "previous",
    "results"
  ],
  "$defs": {
    "InvitationSearch": {
      "type": "object",
      "properties": {
        "id": {
          "oneOf": [
            {
              "type": "integer"
            },
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "readOnly": true
        },
        "name": {
          "type": "string"
        },
        "is_user": {
          "type": "boolean"
        },
        "email": {
          "type": "string"
        },
        "is_active": {
          "type": "boolean"
        },
        "role": {
          "type": "string"
        },
        "last_login": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "id",
        "is_user",
        "name"
      ]
    }
  }
}