]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blob - json-schema/program.json
Add wakatime (#203)
[xdg-ninja.git] / json-schema / program.json
1 {
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "title": "Program",
4 "description": "Specification of files or folders in the $HOME folder for a program",
5 "properties": {
6 "name": {
7 "type": "string",
8 "description": "Name of the program",
9 "minLength": 1
10 },
11 "files": {
12 "description": "List of files (or folders) associated with the program",
13 "type": "array",
14 "items": {
15 "$ref": "file.json"
16 },
17 "minItems": 1
18 }
19 },
20 "required": [
21 "name",
22 "files"
23 ]
24 }