-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdata.schema.json
More file actions
100 lines (100 loc) · 3.15 KB
/
data.schema.json
File metadata and controls
100 lines (100 loc) · 3.15 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Data Schema",
"description": "Schema for data.json",
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"version",
"statusOverride",
"supportLength",
"releaseDate",
"releaseDateExtra",
"partialSupport",
"partialSupportExtra",
"supportEnds",
"supportEndsExtra",
"features"
],
"properties": {
"version": {
"type": "string",
"pattern": "^\\d+\\.\\d+$",
"description": "The version number, e.g., '4.13' or '6.1'"
},
"statusOverride": {
"type": ["string", "null"],
"enum": [
"Full support",
"Partial support",
"End of life",
"Pre-release",
"In development",
"Planned",
"Not shown",
null
],
"description": "An override for dynamically generated status, e.g., 'In development' or null for no override"
},
"supportLength": {
"type": "string",
"enum": ["Standard", "Extended"],
"description": "The length of support, either 'Standard' or 'Extended'"
},
"releaseDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}(-\\d{2})?$",
"description": "The release date in YYYY-MM or YYYY-MM-DD format"
},
"releaseDateExtra": {
"type": ["string", "null"],
"pattern": "^\\d{4}-\\d{2}(-\\d{2})?$",
"description": "The release date in YYYY-MM or YYYY-MM-DD format"
},
"partialSupport": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}(-\\d{2})?$",
"description": "The partial support end date in YYYY-MM or YYYY-MM-DD format"
},
"partialSupportExtra": {
"type": "null",
"description": "Must be null so that it does not violate release policy"
},
"supportEnds": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}(-\\d{2})?$",
"description": "The full support end date in YYYY-MM or YYYY-MM-DD format"
},
"supportEndsExtra": {
"type": ["string", "null"],
"pattern": "^\\d{4}-\\d{2}(-\\d{2})?$",
"description": "Used to create a date range - YYYY-MM or YYYY-MM-DD format"
},
"features": {
"type": "array",
"items": {
"type": "object",
"required": ["title", "description"],
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
}
},
"required": ["data"],
"additionalProperties": false
}