{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/infinihash-com/json-schema/infinihash-com-bio-face-match-request-schema.json",
  "title": "BioFaceMatchRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/infinihash-com-liveness-biometrics-api-openapi.yml#/components/schemas/BioFaceMatchRequest",
  "type": "object",
  "properties": {
    "selfie_b64": {
      "type": "string",
      "description": "Selfie as raw base64 or a data: URL."
    },
    "selfie_video_frames": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional base64 frames (MediaRecorder) for the passive liveness score; defaults to the selfie alone."
    },
    "id_document_id": {
      "type": "string",
      "description": "Id of an uploaded passport or id KycDocument of this submission."
    }
  },
  "required": [
    "selfie_b64",
    "id_document_id"
  ]
}