| giolekva | 7032d3c | 2021-10-22 14:46:31 +0400 | [diff] [blame] | 1 | { |
| 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 | } | ||||