{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/robosystems-ai/json-schema/robosystems-ai-passkey-register-verify-request-schema.json",
  "title": "PasskeyRegisterVerifyRequest",
  "description": "Finish enrollment with the authenticator's attestation response.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/robosystems-ai-auth-passkeys-api-openapi.yml#/components/schemas/PasskeyRegisterVerifyRequest",
  "properties": {
    "credential": {
      "additionalProperties": true,
      "type": "object",
      "title": "Credential",
      "description": "WebAuthn registration credential (browser JSON, opaque)"
    },
    "name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "description": "User-facing label for this passkey"
    },
    "mfa_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mfa Token",
      "description": "Enrollment token when finishing a forced enrollment"
    }
  },
  "type": "object",
  "required": [
    "credential"
  ]
}