-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathchangelog-schema.json
50 lines (50 loc) · 1.35 KB
/
changelog-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
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://chan4077.github.io/res/schemas/help-articles.json",
"type": "object",
"required": [
"$schema",
"version",
"latestVersion",
"latestVersionCode",
"url",
"releaseNotes"
],
"properties": {
"$schema": {
"type": "string",
"description": "The schema to use for the JSON file."
},
"version": {
"$comment": "Increment this only when there are major changes to the schema.",
"$id": "#/properties/version",
"type": "integer",
"description": "The version of the schema to use.",
"default": 1,
"minimum": 0,
"maximum": 10
},
"latestVersion": {
"$id": "#/properties/latestVersion",
"type": "string",
"description": "The name of the latest version available."
},
"latestVersionCode": {
"$id": "#/properties/latestVersionCode",
"type": "integer",
"description": "The latest version code available."
},
"url": {
"$id": "#/properties/url",
"type": "string",
"description": "A URL to download the latest release from."
},
"releaseNotes": {
"$id": "#/properties/releaseNotes",
"type": "array",
"description": "An array of strings to show for the release notes."
}
},
"additionalProperties": false
}