-
Notifications
You must be signed in to change notification settings - Fork 3
/
nvdaAPIVersions.schema.json
78 lines (78 loc) · 1.64 KB
/
nvdaAPIVersions.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
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"type": "array",
"items": { "$ref": "#/$defs/nvdaAPIVersionInfo" },
"$defs": {
"nvdaAPIVersionInfo": {
"required": [
"description",
"apiVer",
"backCompatTo"
],
"properties": {
"description": {
"$id": "#/$defs/nvdaAPIVersionInfo/properties/description",
"type": "string",
"title": "A description of the API version",
"example": "2021.1"
},
"apiVer": {
"$id": "#/$defs/nvdaAPIVersionInfo/properties/apiVer",
"$ref": "#/$defs/canonicalVersion",
"title": "The NVDA API version number"
},
"backCompatTo": {
"$id": "#/$defs/nvdaAPIVersionInfo/properties/backCompatTo",
"$ref": "#/$defs/canonicalVersion",
"title": "The API version this is backwards compatible to"
}
}
},
"canonicalVersion": {
"default": {},
"type": "object",
"examples": [
{
"major": 21,
"minor": 6,
"patch": 0
}
],
"required": [
"major",
"minor",
"patch"
],
"properties": {
"major": {
"default": 0,
"description": "'major' in major.minor.patch",
"examples": [
21,
2019,
2021
],
"title": "The 'major' part of the version number.",
"type": "integer"
},
"minor": {
"default": 0,
"description": "The 'minor' part in major.minor.patch",
"examples": [
3
],
"title": "The 'minor' part of the version number.",
"type": "integer"
},
"patch": {
"default": 0,
"description": "The 'patch' part in major.minor.patch",
"examples": [
0
],
"title": "The 'patch' part of the version number.",
"type": "integer"
}
}
}
}
}