{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/api_webauthn_v1_WebAuthnCredential",
  "title": "api_webauthn_v1_WebAuthnCredential",
  "type": "object",
  "properties": {
    "credential_id": {
      "type": "string",
      "description": "The unique, public ID of the WebAuthn credential."
    },
    "webauthn_registration_id": {
      "type": "string",
      "description": "The unique ID for the Passkey or WebAuthn registration."
    },
    "type": {
      "type": "string",
      "description": "The type of the WebAuthn credential. Examples include `public-key`."
    },
    "public_key": {
      "type": "string",
      "description": "The public key for the WebAuthn credential in base64 format."
    }
  },
  "required": [
    "credential_id",
    "webauthn_registration_id",
    "type",
    "public_key"
  ]
}