forked from oamg/schema-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
device-driver-deprecation-data-schema-test.json
97 lines (97 loc) · 3.39 KB
/
device-driver-deprecation-data-schema-test.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
90
91
92
93
94
95
96
97
{
"$id": "https://raw.githubusercontent.com/oamg/schema-test/main/pes-events-schema-test.json",
"$schema": "http://json-schema.org/draft-06/schema#",
"$ref": "#/definitions/DDDD",
"title": "Device and Driver Deprecation Data",
"definitions": {
"DDDD": {
"type": "object",
"additionalProperties": false,
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/Datum"
}
}
},
"required": [
"data"
],
"title": "List of device and driver deprecation entries"
},
"Datum": {
"type": "object",
"additionalProperties": false,
"properties": {
"available_in_rhel": {
"type": "array",
"description": "List of major version numbers in which the device/driver is available (not necessarily maintained)",
"items": {
"type": "integer"
}
},
"deprecation_announced": {
"type": "string",
"description": "In which release was the deprecation announced",
"examples": [
"8.4",
"7.9",
"10.0"
]
},
"device_id": {
"description": "Device specific identifier string",
"examples": [
"0x15B3:0x1002",
"aarch64:Ampere:NeoverseN1",
"ppc64le:ibm:4d:*",
"s390x:ibm:3907:*",
"x86_64:amd:23:{1,17,49}",
"x86_64:intel:6:95",
"x86_64:intel:6:[1-3]",
"x86_64:intel:6:{[1-3],[5-99],[127-255]}",
"0x1028:0x0002:0x1028:0x00d9"
],
"type": "string"
},
"device_name": {
"type": "string",
"description": "Name of the device, human readable non parsable"
},
"device_type": {
"$ref": "#/definitions/DeviceType"
},
"driver_name": {
"type": "string",
"description": "Name of the driver"
},
"maintained_in_rhel": {
"type": "array",
"description": "List of major versions in which the device is actively maintained (speak supported)",
"items": {
"type": "integer"
}
}
},
"required": [
"available_in_rhel",
"deprecation_announced",
"device_id",
"device_name",
"device_type",
"driver_name",
"maintained_in_rhel"
],
"title": "Device or Driver Deprecation information"
},
"DeviceType": {
"type": "string",
"enum": [
"pci",
"cpu"
],
"title": "DeviceType"
}
}
}