-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings-schema.json
45 lines (45 loc) · 1.14 KB
/
settings-schema.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"$id": "https://example.com/settings.json",
"$schema": "http://json-schema.org/schema#",
"description": "A representation of the settings for the GitHub crawler",
"type": "object",
"required": [
"refreshCycle",
"owners"
],
"properties": {
"refreshCycle": {
"type": "integer",
"minimum": 1,
"maximum": 24,
"description": "The number of hours to wait before the next refresh"
},
"owners": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "object",
"required": [
"login",
"group"
],
"login": {
"type": "string",
"pattern": "\\w+(-\\w+)*",
"description": "A GitHub owner."
},
"group": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "integer",
"minimum": 1,
"maximum": 1000000,
"description": "The numeric ID of a group, per https://api.w3.org/groups/{groupID}"
},
"description": "List of group IDs, used as defaults if no w3c.json was found."
}
}
}
}
}