-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyversion-info-data.schema.json
36 lines (36 loc) · 1.55 KB
/
pyversion-info-data.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [
"version_release_dates",
"series_eol_dates"
],
"properties": {
"version_release_dates": {
"type": "object",
"description": "A mapping from micro Python versions in the form \"X.Y.Z\" to the dates on which they were released. A value of `null` means that the version has been released but its release date is unknown.",
"patternProperties": {
"^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$": {
"oneOf": [
{"enum": [null]},
{"type": "string", "format": "date"}
]
}
},
"additionalProperties": false
},
"series_eol_dates": {
"type": "object",
"description": "A mapping from minor Python versions in the form \"X.Y\" to the dates on which they reached end-of-life. A value of `null` means that the series is not currently end-of-life and no end-of-life date has been determined yet. A value of `true` means that the series is currently EOL but the actual EOL date is unknown.",
"patternProperties": {
"^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$": {
"oneOf": [
{"enum": [null, true]},
{"type": "string", "format": "date"}
]
}
},
"additionalProperties": false
}
}
}