jx/internal/resource/schemas/user.schema.json
Matthew Rich a6426da6e1
Some checks failed
Lint / golangci-lint (push) Successful in 9m53s
Declarative Tests / test (push) Failing after 5s
Declarative Tests / build-fedora (push) Successful in 2m12s
Declarative Tests / build-ubuntu-focal (push) Successful in 1m21s
add support for RSA keys/certs
2024-07-17 01:34:57 -07:00

41 lines
810 B
JSON

{
"$id": "user.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "user",
"description": "A user account",
"type": "object",
"required": [ "name" ],
"properties": {
"name": {
"type": "string",
"pattern": "^[_a-z]([-_a-z0-9]{0,31})$"
},
"uid": {
"type": "string",
"pattern": "^[0-9]*$"
},
"group": {
"type": "string"
},
"groups": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true
},
"gecos": {
"type": "string",
"description": "User description"
},
"createhome": {
"type": "boolean",
"description": "create user home directory"
},
"shell": {
"type": "string",
"description": "login shell"
}
}
}