Lawrence Tang | 617949e | 2022-08-08 14:21:42 +0100 | [diff] [blame] | 1 | { |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 2 | "$id": "cper-json-full-log", |
| 3 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
Lawrence Tang | 617949e | 2022-08-08 14:21:42 +0100 | [diff] [blame] | 4 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 5 | "description": "A Common Platform Error Record as defined in UEFI Specification Appendix N represented as JSON.", |
Lawrence Tang | 617949e | 2022-08-08 14:21:42 +0100 | [diff] [blame] | 6 | "required": ["header", "sectionDescriptors", "sections"], |
| 7 | "additionalProperties": false, |
| 8 | "properties": { |
| 9 | "header": { |
| 10 | "$ref": "./cper-json-header.json" |
| 11 | }, |
| 12 | "sectionDescriptors": { |
| 13 | "type": "array", |
| 14 | "items": { |
| 15 | "type": "object", |
| 16 | "$ref": "./cper-json-section-descriptor.json" |
| 17 | } |
| 18 | }, |
| 19 | "sections": { |
| 20 | "type": "array", |
| 21 | "items": { |
| 22 | "type": "object", |
| 23 | "oneOf": [ |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 24 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 25 | "$id": "cper-json-generic-processor-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 26 | "type": "object", |
| 27 | "required": ["GenericProcessor"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 28 | "properties": { |
| 29 | "GenericProcessor": { |
| 30 | "$ref": "./sections/cper-generic-processor.json" |
| 31 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 32 | } |
| 33 | }, |
| 34 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 35 | "$id": "cper-json-ia32x64-processor-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 36 | "type": "object", |
| 37 | "required": ["Ia32x64Processor"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 38 | "properties": { |
| 39 | "Ia32x64Processor": { |
| 40 | "$ref": "./sections/cper-ia32x64-processor.json" |
| 41 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 42 | } |
| 43 | }, |
| 44 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 45 | "$id": "cper-json-arm-processor-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 46 | "type": "object", |
| 47 | "required": ["ArmProcessor"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 48 | "properties": { |
| 49 | "ArmProcessor": { |
| 50 | "$ref": "./sections/cper-arm-processor.json" |
| 51 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 52 | } |
| 53 | }, |
| 54 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 55 | "$id": "cper-json-memory-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 56 | "type": "object", |
| 57 | "required": ["Memory"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 58 | "properties": { |
| 59 | "Memory": { |
| 60 | "$ref": "./sections/cper-memory.json" |
| 61 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 62 | } |
| 63 | }, |
| 64 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 65 | "$id": "cper-json-memory2-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 66 | "type": "object", |
| 67 | "required": ["Memory2"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 68 | "properties": { |
| 69 | "Memory2": { |
| 70 | "$ref": "./sections/cper-memory2.json" |
| 71 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 72 | } |
| 73 | }, |
| 74 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 75 | "$id": "cper-json-pcie-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 76 | "type": "object", |
| 77 | "required": ["Pcie"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 78 | "properties": { |
| 79 | "Pcie": { |
| 80 | "$ref": "./sections/cper-pcie.json" |
| 81 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 82 | } |
| 83 | }, |
| 84 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 85 | "$id": "cper-json-pci-bus-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 86 | "type": "object", |
| 87 | "required": ["PciBus"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 88 | "properties": { |
| 89 | "PciBus": { |
| 90 | "$ref": "./sections/cper-pci-bus.json" |
| 91 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 92 | } |
| 93 | }, |
| 94 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 95 | "$id": "cper-json-pci-component-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 96 | "type": "object", |
| 97 | "required": ["PciComponent"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 98 | "properties": { |
| 99 | "PciComponent": { |
| 100 | "$ref": "./sections/cper-pci-component.json" |
| 101 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 102 | } |
| 103 | }, |
| 104 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 105 | "$id": "cper-json-firmware-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 106 | "type": "object", |
| 107 | "required": ["Firmware"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 108 | "properties": { |
| 109 | "Firmware": { |
| 110 | "$ref": "./sections/cper-firmware.json" |
| 111 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 112 | } |
| 113 | }, |
| 114 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 115 | "$id": "cper-json-generic-dmar-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 116 | "type": "object", |
| 117 | "required": ["GenericDmar"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 118 | "properties": { |
| 119 | "GenericDmar": { |
| 120 | "$ref": "./sections/cper-generic-dmar.json" |
| 121 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 122 | } |
| 123 | }, |
| 124 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 125 | "$id": "cper-json-vtd-dmar-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 126 | "type": "object", |
| 127 | "required": ["VtdDmar"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 128 | "properties": { |
| 129 | "VtdDmar": { |
| 130 | "$ref": "./sections/cper-vtd-dmar.json" |
| 131 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 132 | } |
| 133 | }, |
| 134 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 135 | "$id": "cper-json-iommu-dmar-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 136 | "type": "object", |
| 137 | "required": ["IommuDmar"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 138 | "properties": { |
| 139 | "IommuDmar": { |
| 140 | "$ref": "./sections/cper-iommu-dmar.json" |
| 141 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 142 | } |
| 143 | }, |
| 144 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 145 | "$id": "cper-json-ccix-per-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 146 | "type": "object", |
| 147 | "required": ["CcixPer"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 148 | "properties": { |
| 149 | "CcixPer": { |
| 150 | "$ref": "./sections/cper-ccix-per.json" |
| 151 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 152 | } |
| 153 | }, |
| 154 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 155 | "$id": "cper-json-cxl-protocol-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 156 | "type": "object", |
| 157 | "required": ["CxlProtocol"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 158 | "properties": { |
| 159 | "CxlProtocol": { |
| 160 | "$ref": "./sections/cper-cxl-protocol.json" |
| 161 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 162 | } |
| 163 | }, |
| 164 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 165 | "$id": "cper-json-cxl-component-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 166 | "type": "object", |
| 167 | "required": ["CxlComponent"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 168 | "properties": { |
| 169 | "CxlComponent": { |
| 170 | "$ref": "./sections/cper-cxl-component.json" |
| 171 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 172 | } |
| 173 | }, |
| 174 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 175 | "$id": "cper-json-nvidia-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 176 | "type": "object", |
| 177 | "required": ["Nvidia"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 178 | "properties": { |
| 179 | "Nvidia": { |
| 180 | "$ref": "./sections/cper-nvidia.json" |
| 181 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 182 | } |
| 183 | }, |
| 184 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 185 | "$id": "cper-json-ampere-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 186 | "type": "object", |
| 187 | "required": ["Ampere"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 188 | "properties": { |
| 189 | "Nvidia": { |
| 190 | "$ref": "./sections/cper-ampere.json" |
| 191 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 192 | } |
| 193 | }, |
| 194 | { |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 195 | "$id": "cper-json-unknown-section", |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 196 | "type": "object", |
| 197 | "required": ["Unknown"], |
Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 198 | "properties": { |
| 199 | "Unknown": { |
| 200 | "$ref": "./sections/cper-unknown.json" |
| 201 | } |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 202 | } |
| 203 | } |
Lawrence Tang | 617949e | 2022-08-08 14:21:42 +0100 | [diff] [blame] | 204 | ] |
| 205 | } |
| 206 | } |
| 207 | } |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 208 | } |