microscopic-answer-24504
09/28/2023, 3:51 PMpurple-football-31625
10/04/2023, 3:58 PM{
...
"properties": {
"traits": {
"type": "object",
"properties": {
"username": {
"type": "string",
"<http://ory.sh/kratos|ory.sh/kratos>": {
"credentials": {
"password": {
"identifier": true
}
}
}
},
"email": {
"type": "string",
"format": "email",
"<http://ory.sh/kratos|ory.sh/kratos>": {
"credentials": {
"password": {
"identifier": true
}
},
"verification": {
"via": "email"
},
"recovery": {
"via": "email"
}
}
},
"verification_emails": {
"type": "array",
"items": {
"type": "string",
"format": "email",
"<http://ory.sh/kratos|ory.sh/kratos>": {
"verification": {
"via": "email"
}
}
}
}
}
}
},
"additionalProperties": false
}
This is explained here for recovery addresses, which work the same way.