Files
paralus/_kratos/identity.schema.json
2022-06-10 09:04:26 +05:30

53 lines
1.2 KiB
JSON

{
"$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": {
"first_name": {
"title": "First name",
"type": "string",
"pattern": "^.*$"
},
"last_name": {
"title": "Last name",
"type": "string",
"pattern": "^.*$"
},
"email": {
"type": "string",
"format": "email",
"title": "E-Mail",
"minLength": 3,
"ory.sh/kratos": {
"credentials": {
"password": {
"identifier": true
}
},
"verification": {
"via": "email"
},
"recovery": {
"via": "email"
}
}
},
"idp_group": {
"title": "IDP group",
"type": "string"
}
},
"required": [
"first_name",
"last_name",
"email"
],
"additionalProperties": false
}
}
}