Created
February 22, 2021 02:48
-
-
Save lucasantarella/9933078a7b2c58770d124d527926d08c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$id": "https://schemas.ory.sh/presets/kratos/quickstart/email-password/identity.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, | |
"ory.sh/kratos": { | |
"credentials": { | |
"password": { | |
"identifier": true | |
} | |
}, | |
"verification": { | |
"via": "email" | |
}, | |
"recovery": { | |
"via": "email" | |
} | |
} | |
}, | |
"name": { | |
"type": "object", | |
"properties": { | |
"first": { | |
"type": "string" | |
}, | |
"last": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"required": [ | |
"email" | |
], | |
"additionalProperties": false | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment