blob: 6e76255aac38b7e01e45331efa521fa70cf37eaa [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",
Andrew Adrianced9835a12024-12-05 14:41:42 -08005 "description": "A Common Platform Error Record as defined in UEFI Specification Appendix N represented as JSON.",
Lawrence Tang617949e2022-08-08 14:21:42 +01006 "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": {
Ed Tanous75a60282025-03-14 23:12:38 -070015 "type": ["object", "null"],
Lawrence Tang617949e2022-08-08 14:21:42 +010016 "$ref": "./cper-json-section-descriptor.json"
17 }
18 },
19 "sections": {
20 "type": "array",
21 "items": {
Ed Tanous75a60282025-03-14 23:12:38 -070022 "type": ["object", "null"],
Ed Tanous7474a742025-03-14 15:51:24 -070023 "minProperties": 1,
24 "maxProperties": 1,
Aushim Nagarkattiad6c8802025-06-18 16:45:28 -070025 "required": ["message"],
Ed Tanous7474a742025-03-14 15:51:24 -070026 "additionalProperties": false,
27 "properties": {
Aushim Nagarkattiad6c8802025-06-18 16:45:28 -070028 "message": {
29 "type": "string",
30 "description": "A human readable message describing the error. This is not stable between versions."
31 },
Ed Tanous7474a742025-03-14 15:51:24 -070032 "GenericProcessor": {
33 "$ref": "./sections/cper-generic-processor.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070034 },
Ed Tanous7474a742025-03-14 15:51:24 -070035 "Ia32x64Processor": {
36 "$ref": "./sections/cper-ia32x64-processor.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070037 },
Ed Tanous7474a742025-03-14 15:51:24 -070038 "ArmProcessor": {
39 "$ref": "./sections/cper-arm-processor.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070040 },
Ed Tanous7474a742025-03-14 15:51:24 -070041 "Memory": {
42 "$ref": "./sections/cper-memory.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070043 },
Ed Tanous7474a742025-03-14 15:51:24 -070044 "Memory2": {
45 "$ref": "./sections/cper-memory2.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070046 },
Ed Tanous7474a742025-03-14 15:51:24 -070047 "Pcie": {
48 "$ref": "./sections/cper-pcie.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070049 },
Ed Tanous7474a742025-03-14 15:51:24 -070050 "PciBus": {
51 "$ref": "./sections/cper-pci-bus.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070052 },
Ed Tanous7474a742025-03-14 15:51:24 -070053 "PciComponent": {
54 "$ref": "./sections/cper-pci-component.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070055 },
Ed Tanous7474a742025-03-14 15:51:24 -070056 "Firmware": {
57 "$ref": "./sections/cper-firmware.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070058 },
Ed Tanous7474a742025-03-14 15:51:24 -070059 "GenericDmar": {
60 "$ref": "./sections/cper-generic-dmar.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070061 },
Ed Tanous7474a742025-03-14 15:51:24 -070062 "VtdDmar": {
63 "$ref": "./sections/cper-vtd-dmar.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070064 },
Ed Tanous7474a742025-03-14 15:51:24 -070065 "IommuDmar": {
66 "$ref": "./sections/cper-iommu-dmar.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070067 },
Ed Tanous7474a742025-03-14 15:51:24 -070068 "CcixPer": {
69 "$ref": "./sections/cper-ccix-per.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070070 },
Ed Tanous7474a742025-03-14 15:51:24 -070071 "CxlProtocol": {
72 "$ref": "./sections/cper-cxl-protocol.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070073 },
Ed Tanous7474a742025-03-14 15:51:24 -070074 "CxlComponent": {
75 "$ref": "./sections/cper-cxl-component.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070076 },
Ed Tanous7474a742025-03-14 15:51:24 -070077 "Nvidia": {
78 "$ref": "./sections/cper-nvidia.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070079 },
Ed Tanous7474a742025-03-14 15:51:24 -070080 "Ampere": {
81 "$ref": "./sections/cper-ampere.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070082 },
Ed Tanous7474a742025-03-14 15:51:24 -070083 "Unknown": {
84 "$ref": "./sections/cper-unknown.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070085 }
Ed Tanous7474a742025-03-14 15:51:24 -070086 }
Lawrence Tang617949e2022-08-08 14:21:42 +010087 }
88 }
89 }
John Chung044afd02024-05-03 19:58:02 +080090}