You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
907 B
41 lines
907 B
4 years ago
|
{
|
||
|
"$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
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"name": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"first": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"last": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"required": [
|
||
|
"email"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"additionalProperties": false
|
||
|
}
|