-
Notifications
You must be signed in to change notification settings - Fork 7
/
schema-template.json
29 lines (29 loc) · 1.27 KB
/
schema-template.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Schema for template meta data (aka front matter)",
"type": "object",
"properties": {
"target": {
"title": "Target path to write the configuration file to (defaults to template name minus extension)",
"description": "Can be an abolute or relative path that will be resolved relative to the directory confgen is called in (i.e. not relative to the template file).",
"type": "string"
},
"chmod": {
"title": "File permissions to apply to target file (chmod mode)",
"description": "Permissions must be given in decimal notation (common values are '644', '755', '700' etc.).\nInternally, they will be converted to their octal representation, which means that decimal '777' will actually apply octal '0777'.",
"type": "number",
"min": 0,
"max": 777
},
"reload": {
"title": "A command string to execute after writing the configuration file",
"type": "string"
},
"description": {
"title": "An optional descriptive text for template authors",
"type": "string"
}
},
"required": [ ],
"additionalProperties": true
}