blob: 071f5b1f7b209a3bf7dfb81670559a81b92785dc [file] [log] [blame]
Lawrence Tang617949e2022-08-08 14:21:42 +01001{
Ed Tanousb07061a2024-09-22 10:33:29 -07002 "$id": "cper-json-full-log",
3 "$schema": "https://json-schema.org/draft/2020-12/schema",
Lawrence Tang617949e2022-08-08 14:21:42 +01004 "type": "object",
5 "required": ["header", "sectionDescriptors", "sections"],
6 "additionalProperties": false,
7 "properties": {
8 "header": {
9 "$ref": "./cper-json-header.json"
10 },
11 "sectionDescriptors": {
12 "type": "array",
13 "items": {
14 "type": "object",
15 "$ref": "./cper-json-section-descriptor.json"
16 }
17 },
18 "sections": {
19 "type": "array",
20 "items": {
21 "type": "object",
22 "oneOf": [
Ed Tanousb07061a2024-09-22 10:33:29 -070023 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070024 "$id": "cper-json-generic-processor-section",
Ed Tanousb07061a2024-09-22 10:33:29 -070025 "type": "object",
26 "required": ["GenericProcessor"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070027 "properties": {
28 "GenericProcessor": {
29 "$ref": "./sections/cper-generic-processor.json"
30 }
Ed Tanousb07061a2024-09-22 10:33:29 -070031 }
32 },
33 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070034 "$id": "cper-json-ia32x64-processor-section",
Ed Tanousb07061a2024-09-22 10:33:29 -070035 "type": "object",
36 "required": ["Ia32x64Processor"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070037 "properties": {
38 "Ia32x64Processor": {
39 "$ref": "./sections/cper-ia32x64-processor.json"
40 }
Ed Tanousb07061a2024-09-22 10:33:29 -070041 }
42 },
43 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070044 "$id": "cper-json-arm-processor-section",
Ed Tanousb07061a2024-09-22 10:33:29 -070045 "type": "object",
46 "required": ["ArmProcessor"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070047 "properties": {
48 "ArmProcessor": {
49 "$ref": "./sections/cper-arm-processor.json"
50 }
Ed Tanousb07061a2024-09-22 10:33:29 -070051 }
52 },
53 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070054 "$id": "cper-json-memory-section",
Ed Tanousb07061a2024-09-22 10:33:29 -070055 "type": "object",
56 "required": ["Memory"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070057 "properties": {
58 "Memory": {
59 "$ref": "./sections/cper-memory.json"
60 }
Ed Tanousb07061a2024-09-22 10:33:29 -070061 }
62 },
63 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070064 "$id": "cper-json-memory2-section",
Ed Tanousb07061a2024-09-22 10:33:29 -070065 "type": "object",
66 "required": ["Memory2"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070067 "properties": {
68 "Memory2": {
69 "$ref": "./sections/cper-memory2.json"
70 }
Ed Tanousb07061a2024-09-22 10:33:29 -070071 }
72 },
73 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070074 "$id": "cper-json-pcie-section",
Ed Tanousb07061a2024-09-22 10:33:29 -070075 "type": "object",
76 "required": ["Pcie"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070077 "properties": {
78 "Pcie": {
79 "$ref": "./sections/cper-pcie.json"
80 }
Ed Tanousb07061a2024-09-22 10:33:29 -070081 }
82 },
83 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070084 "$id": "cper-json-pci-bus-section",
Ed Tanousb07061a2024-09-22 10:33:29 -070085 "type": "object",
86 "required": ["PciBus"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070087 "properties": {
88 "PciBus": {
89 "$ref": "./sections/cper-pci-bus.json"
90 }
Ed Tanousb07061a2024-09-22 10:33:29 -070091 }
92 },
93 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070094 "$id": "cper-json-pci-component-section",
Ed Tanousb07061a2024-09-22 10:33:29 -070095 "type": "object",
96 "required": ["PciComponent"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -070097 "properties": {
98 "PciComponent": {
99 "$ref": "./sections/cper-pci-component.json"
100 }
Ed Tanousb07061a2024-09-22 10:33:29 -0700101 }
102 },
103 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700104 "$id": "cper-json-firmware-section",
Ed Tanousb07061a2024-09-22 10:33:29 -0700105 "type": "object",
106 "required": ["Firmware"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700107 "properties": {
108 "Firmware": {
109 "$ref": "./sections/cper-firmware.json"
110 }
Ed Tanousb07061a2024-09-22 10:33:29 -0700111 }
112 },
113 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700114 "$id": "cper-json-generic-dmar-section",
Ed Tanousb07061a2024-09-22 10:33:29 -0700115 "type": "object",
116 "required": ["GenericDmar"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700117 "properties": {
118 "GenericDmar": {
119 "$ref": "./sections/cper-generic-dmar.json"
120 }
Ed Tanousb07061a2024-09-22 10:33:29 -0700121 }
122 },
123 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700124 "$id": "cper-json-vtd-dmar-section",
Ed Tanousb07061a2024-09-22 10:33:29 -0700125 "type": "object",
126 "required": ["VtdDmar"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700127 "properties": {
128 "VtdDmar": {
129 "$ref": "./sections/cper-vtd-dmar.json"
130 }
Ed Tanousb07061a2024-09-22 10:33:29 -0700131 }
132 },
133 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700134 "$id": "cper-json-iommu-dmar-section",
Ed Tanousb07061a2024-09-22 10:33:29 -0700135 "type": "object",
136 "required": ["IommuDmar"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700137 "properties": {
138 "IommuDmar": {
139 "$ref": "./sections/cper-iommu-dmar.json"
140 }
Ed Tanousb07061a2024-09-22 10:33:29 -0700141 }
142 },
143 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700144 "$id": "cper-json-ccix-per-section",
Ed Tanousb07061a2024-09-22 10:33:29 -0700145 "type": "object",
146 "required": ["CcixPer"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700147 "properties": {
148 "CcixPer": {
149 "$ref": "./sections/cper-ccix-per.json"
150 }
Ed Tanousb07061a2024-09-22 10:33:29 -0700151 }
152 },
153 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700154 "$id": "cper-json-cxl-protocol-section",
Ed Tanousb07061a2024-09-22 10:33:29 -0700155 "type": "object",
156 "required": ["CxlProtocol"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700157 "properties": {
158 "CxlProtocol": {
159 "$ref": "./sections/cper-cxl-protocol.json"
160 }
Ed Tanousb07061a2024-09-22 10:33:29 -0700161 }
162 },
163 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700164 "$id": "cper-json-cxl-component-section",
Ed Tanousb07061a2024-09-22 10:33:29 -0700165 "type": "object",
166 "required": ["CxlComponent"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700167 "properties": {
168 "CxlComponent": {
169 "$ref": "./sections/cper-cxl-component.json"
170 }
Ed Tanousb07061a2024-09-22 10:33:29 -0700171 }
172 },
173 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700174 "$id": "cper-json-nvidia-section",
Ed Tanousb07061a2024-09-22 10:33:29 -0700175 "type": "object",
176 "required": ["Nvidia"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700177 "properties": {
178 "Nvidia": {
179 "$ref": "./sections/cper-nvidia.json"
180 }
Ed Tanousb07061a2024-09-22 10:33:29 -0700181 }
182 },
183 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700184 "$id": "cper-json-ampere-section",
Ed Tanousb07061a2024-09-22 10:33:29 -0700185 "type": "object",
186 "required": ["Ampere"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700187 "properties": {
188 "Nvidia": {
189 "$ref": "./sections/cper-ampere.json"
190 }
Ed Tanousb07061a2024-09-22 10:33:29 -0700191 }
192 },
193 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700194 "$id": "cper-json-unknown-section",
Ed Tanousb07061a2024-09-22 10:33:29 -0700195 "type": "object",
196 "required": ["Unknown"],
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700197 "properties": {
198 "Unknown": {
199 "$ref": "./sections/cper-unknown.json"
200 }
Ed Tanousb07061a2024-09-22 10:33:29 -0700201 }
202 }
Lawrence Tang617949e2022-08-08 14:21:42 +0100203 ]
204 }
205 }
206 }
John Chung044afd02024-05-03 19:58:02 +0800207}