summaryrefslogtreecommitdiffstats
path: root/plugins/plugin.schema
blob: e6dee563c7815b827b3d00513890d28c394b330a (plain) (blame)
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
30
31
32
33
34
35
{
	"type": "object",
	"properties": {
		"plugin": {
			"type": "object",
			"properties": {
				"name": {
					"type": "string",
					"pattern": "^[A-Za-z][0-9A-Za-z_]*$"
				},
				"description": {
					"type": "string"
				},
				"version": {
					"type": "string"
				},
				"author": {
					"type": "string"
				},
				"type": {
					"type": "string",
					"pattern": "^(plugin|library)$"
				},
				"start": {
					"type": "string",
					"pattern": "^(true|false)$"
				}
			},
			"additionalProperties": false,
			"required": [ "name", "description", "version", "author", "type" ]
		}
	},
	"additionalProperties": false,
	"required": [ "plugin" ]
}