{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nice/json-schema/nice-voice-biometric-auth-action-request-schema.json",
  "title": "VoiceBiometricAuthActionRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nice-voicebiometrichub-openapi.yml#/components/schemas/VoiceBiometricAuthActionRequest",
  "type": "object",
  "required": [
    "contactId",
    "PersonId",
    "RequestType"
  ],
  "properties": {
    "contactId": {
      "type": "integer",
      "format": "int64",
      "description": "Unique identifier for the contact/call session"
    },
    "PersonId": {
      "type": "string",
      "description": "Unique identifier for the person"
    },
    "RequestType": {
      "type": "integer",
      "enum": [
        0,
        1,
        2,
        3,
        4
      ],
      "description": "Type of voice biometric action to perform: 0 = Authentication, 1 = Enrollment, 2 = SubmitPerson, 3 = OptOut, 4 = SubmitPersonUI"
    },
    "ScriptParamsJson": {
      "type": [
        "object",
        "null"
      ],
      "description": "Optional JSON object containing script parameters",
      "additionalProperties": true
    }
  }
}