blob: f37a3df0d1af968f40e65b7ff8b5d6e676fd2f4d [file] [log] [blame]
giolekva7032d3c2021-10-22 14:46:31 +04001{
2 "$id": "https://schemas.ory.sh/presets/kratos/quickstart/email-password/identity.schema.json",
3 "$schema": "http://json-schema.org/draft-07/schema#",
4 "title": "User",
5 "type": "object",
6 "properties": {
7 "traits": {
8 "type": "object",
9 "properties": {
10 "username": {
11 "type": "string",
12 "format": "username",
13 "title": "Username",
14 "minLength": 3,
15 "ory.sh/kratos": {
16 "credentials": {
17 "password": {
18 "identifier": true
19 }
20 }
21 }
22 }
23 },
24 "additionalProperties": false
25 }
26 }
27}