{ "$id": "https://schemas.ory.sh/presets/kratos/identity.email.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "Person", "type": "object", "properties": { "traits": { "type": "object", "properties": { "email": { "type": "string", "format": "email", "title": "E-Mail", "minLength": 3, "maxLength": 320, "ory.sh/kratos": { "credentials": { "password": { "identifier": true }, "webauthn": { "identifier": true }, "totp": { "account_name": true } }, "verification": { "via": "email" }, "recovery": { "via": "email" } } }, "name": { "type": "object", "properties": { "first": { "type": "string", "title": "First Name", "minLength": 1, "maxLength": 100 }, "last": { "type": "string", "title": "Last Name", "minLength": 1, "maxLength": 100 } } } }, "required": ["email"], "additionalProperties": false } } }