Files
securityonion/salt/kratos/files/schema.json
2022-02-15 07:49:12 -05:00

52 lines
1.1 KiB
JSON

{
"$id": "securityonion.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": 6,
"maxLength": 100,
"ory.sh/kratos": {
"credentials": {
"password": {
"identifier": true
},
"totp": {
"account_name": true
}
},
"verification": {
"via": "email"
}
}
},
"firstName": {
"type": "string",
"title": "First Name",
"maxLength": 100
},
"lastName": {
"type": "string",
"title": "Last Name",
"maxLength": 100
},
"note": {
"type": "string",
"title": "Note",
"maxLength": 100
}
},
"required": [
"email"
],
"additionalProperties": false
}
}
}