-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.jsonc
57 lines (57 loc) · 1.89 KB
/
schema.jsonc
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/Goval-Community/goval-ident-schema/main/schema.jsonc",
"title": "Goval Ident Schema",
"description": "JSON Schema for the goval ident protocol",
"type": "object",
"properties": {
"server": {
"type": "string",
"description": "Name of the goval server",
"markdownDescription": "Name of the goval server. See [govaldocs](https://govaldocs.pages.dev/implementations/) for existing goval server implementations."
},
"version": {
"type": "string",
"description": "Current version of the goval server"
},
"license": {
"type": "string",
"description": "License for the goval server software used (SPDX id)"
},
"authors": {
"type": "array",
"description": "Authors of the goval server",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
},
"repository": {
"type": "string",
"description": "Link to the git server with the used goval servers source code"
},
"description": {
"type": "string",
"description": "Description of the goval server"
},
"uptime": {
"type": "integer",
"minimum": 0,
"description": "Uptime of the server counted in seconds"
},
"services": {
"type": "array",
"description": "Services that the goval server implements",
"items": {
"type": "string"
// TODO: make this an enum of all possible services
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [
"server"
]
}