{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/passtru/json-schema/passtru-verification-session-create-request-schema.json",
  "title": "VerificationSessionCreateRequest",
  "x-generated": "2026-12-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/passtru-openapi.yml#/components/schemas/VerificationSessionCreateRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "app_id"
  ],
  "properties": {
    "app_id": {
      "type": "string"
    },
    "external_reference": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 255
    },
    "mode": {
      "enum": [
        "hosted",
        "iframe",
        "inline"
      ],
      "default": "hosted"
    },
    "requested_checks": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "redirect_url": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 2048
    },
    "parent_origin": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 2048
    },
    "webhook_endpoint": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 2048
    },
    "metadata": {
      "type": "object"
    }
  }
}