{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/infinihash-com/json-schema/infinihash-com-live-face-match-result-schema.json",
  "title": "LiveFaceMatchResult",
  "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/LiveFaceMatchResult",
  "type": "object",
  "properties": {
    "passed": {
      "type": "boolean"
    },
    "score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "description": "ArcFace similarity x100."
    },
    "threshold": {
      "type": "integer",
      "description": "Pass threshold x100."
    },
    "next_step": {
      "type": "string",
      "enum": [
        "review",
        "liveness_retry"
      ]
    },
    "error": {
      "type": "string",
      "description": "Present when the face-match worker failed; the check is then set to review."
    }
  },
  "required": [
    "passed",
    "score",
    "threshold",
    "next_step"
  ]
}