{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/robosystems-ai/json-schema/robosystems-ai-mfa-verify-request-schema.json",
  "title": "MfaVerifyRequest",
  "description": "Complete the second factor with an assertion or a recovery code.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/robosystems-ai-auth-mfa-api-openapi.yml#/components/schemas/MfaVerifyRequest",
  "properties": {
    "mfa_token": {
      "type": "string",
      "title": "Mfa Token",
      "description": "Token from a login that returned mfa_required"
    },
    "assertion": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Assertion",
      "description": "WebAuthn assertion (browser JSON, opaque)"
    },
    "recovery_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Recovery Code",
      "description": "Single-use recovery code"
    }
  },
  "type": "object",
  "required": [
    "mfa_token"
  ]
}