{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opoint/json-schema/opoint-multi-user-invitation-schema.json",
  "title": "MultiUserInvitation",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opoint-invite-api-openapi.yml#/components/schemas/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"
  ]
}