{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/robosystems-ai/json-schema/robosystems-ai-recovery-codes-request-schema.json",
  "title": "RecoveryCodesRequest",
  "description": "Re-authentication proof for regenerating recovery codes.",
  "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/RecoveryCodesRequest",
  "properties": {
    "password": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Password",
      "description": "Current password (password-holding users)"
    },
    "assertion": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Assertion",
      "description": "Fresh WebAuthn assertion from the re-auth ceremony"
    }
  },
  "type": "object"
}