-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyversion-info-data.v1.schema.json
89 lines (89 loc) · 3.96 KB
/
pyversion-info-data.v1.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
79
80
81
82
83
84
85
86
87
88
89
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [
"last_modified",
"cpython",
"pypy"
],
"properties": {
"last_modified": {
"type": "string",
"format": "date-time"
},
"cpython": {
"type": "object",
"required": [
"release_dates",
"eol_dates"
],
"properties": {
"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 `true` means that the version has been released but its release date is unknown. A value of `false` means that the version has been announced but not released and its release date is unknown.",
"patternProperties": {
"^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$": {
"type": [
"boolean",
"string"
],
"format": "date"
}
},
"additionalProperties": false
},
"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 `false` 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]*)$": {
"type": [
"boolean",
"string"
],
"format": "date"
}
},
"additionalProperties": false
}
}
},
"pypy": {
"type": "object",
"required": [
"release_dates",
"cpython_versions"
],
"properties": {
"release_dates": {
"type": "object",
"description": "A mapping from micro PyPy versions in the form \"X.Y.Z\" to the dates on which they were released. A value of `true` means that the version has been released but its release date is unknown. A value of `false` means that the version has not been announced but not released and its release date is unknown.",
"patternProperties": {
"^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$": {
"type": [
"boolean",
"string"
],
"format": "date"
}
},
"additionalProperties": false
},
"cpython_versions": {
"type": "object",
"description": "A mapping from micro PyPy versions in the form \"X.Y.Z\" to lists of the CPython micro versions (in the form \"X.Y.Z\") that each PyPy version supports",
"patternProperties": {
"^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
}
}
},
"additionalProperties": false
}
}
}
}
}