-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrepository-store.schema.json
65 lines (52 loc) · 2.41 KB
/
repository-store.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"$id": "https://github.com/gusztavj/GitHub-Update-Checker/blob/main/repository-store.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "GitHub Update Checker Repository Store Schema",
"description": "This JSON schema describes the structure of the repository store used as a cache for recent GitHub requests.",
"type": "array",
"items": {
"$ref": "#/definitions/repoItem"
},
"definitions": {
"repoItem": {
"title": "Blender Configuration",
"description":"Configuration for Blender necessary for exporting objects and taking screenshots.",
"type": "object",
"properties": {
"repoSlug": {
"description": "The slug of the repository form pattern of https://github.com/<username>/<repoSlug>/. Only valid format accepted.",
"type": "string",
"pattern": "^/?[\\w\\d_][\\w\\d\\-_]*(/[\\w\\d\\-_]+)*/?$"
},
"checkFrequencyDays": {
"description": "Frequency of checking for new updates (days).",
"type": "integer"
},
"lastCheckedTimestamp": {
"description": "Date and time of last successful check for updates.",
"type": "string",
"format": "date-time"
},
"latestVersion": {
"description": "Version number of the latest release (the release tag from the repo) on GitHub. Follows vx.y.z-label format.",
"type": "string"
},
"latestVersionName": {
"description": "Name of the latest release on GitHub.",
"type": "string"
},
"releaseUrl": {
"description": "The URL to get the latest release",
"type": "string",
"format": "uri"
},
"repoUrl": {
"description": "The URL of the repository",
"type": "string",
"format": "uri"
}
},
"required": ["repoSlug", "checkFrequencyDays", "lastCheckedTimestamp", "latestVersion", "latestVersionName", "releaseUrl", "repoUrl"]
}
}
}