{ "$id": "https://schemas.ory.sh/kratos/selfservice/strategy/webauthn/login.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "csrf_token": { "type": "string" }, "webauthn_login": { "type": "string" }, "method": { "type": "string" }, "identifier": { "type": "string", "minLength": 1 }, "transient_payload": { "type": "object", "additionalProperties": true } }, "if": { "anyOf": [ { "properties": { "method": { "const": "webauthn" } }, "required": [ "method" ] }, { "properties": { "webauthn_login": { "type": "string", "minLength": 1 } }, "required": [ "webauthn_login" ] } ] }, "then": { "required": [ "identifier" ] } }