{
	"$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": {
				"username": {
					"type": "string",
					"format": "username",
					"title": "Username",
					"minLength": 3,
					"ory.sh/kratos": {
						"credentials": {
							"password": {
								"identifier": true
							}
						}
					}
				},
				"name": {
					"type": "object",
					"properties": {
						"first": {
							"title": "First Name",
							"type": "string"
						},
						"last": {
							"title": "Last Name",
							"type": "string"
						}
					}
				}
			},
			"required": [
				"username"
			],
			"additionalProperties": false
		}
	}
}
