{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/medianfi-com/json-schema/medianfi-com-passkey-registration-options-response-schema.json",
  "title": "PasskeyRegistrationOptionsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/medianfi-com-auth-api-openapi.yml#/components/schemas/PasskeyRegistrationOptionsResponse",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "success",
    "data"
  ],
  "properties": {
    "success": {
      "type": "boolean",
      "const": true
    },
    "data": {
      "oneOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "options"
          ],
          "properties": {
            "options": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "alreadyComplete",
            "verified",
            "credentialId"
          ],
          "properties": {
            "alreadyComplete": {
              "type": "boolean",
              "const": true
            },
            "verified": {
              "type": "boolean",
              "const": true
            },
            "credentialId": {
              "type": "string",
              "minLength": 1
            }
          }
        }
      ]
    }
  }
}