blob: 91c2829913bfaf81d14ad763c8a16a238f344b7f [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 Nagarkatti1c321fa2025-05-19 14:55:19 -070025 "required": [],
Ed Tanous7474a742025-03-14 15:51:24 -070026 "additionalProperties": false,
27 "properties": {
28 "GenericProcessor": {
29 "$ref": "./sections/cper-generic-processor.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070030 },
Ed Tanous7474a742025-03-14 15:51:24 -070031 "Ia32x64Processor": {
32 "$ref": "./sections/cper-ia32x64-processor.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070033 },
Ed Tanous7474a742025-03-14 15:51:24 -070034 "ArmProcessor": {
35 "$ref": "./sections/cper-arm-processor.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070036 },
Ed Tanous7474a742025-03-14 15:51:24 -070037 "Memory": {
38 "$ref": "./sections/cper-memory.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070039 },
Ed Tanous7474a742025-03-14 15:51:24 -070040 "Memory2": {
41 "$ref": "./sections/cper-memory2.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070042 },
Ed Tanous7474a742025-03-14 15:51:24 -070043 "Pcie": {
44 "$ref": "./sections/cper-pcie.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070045 },
Ed Tanous7474a742025-03-14 15:51:24 -070046 "PciBus": {
47 "$ref": "./sections/cper-pci-bus.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070048 },
Ed Tanous7474a742025-03-14 15:51:24 -070049 "PciComponent": {
50 "$ref": "./sections/cper-pci-component.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070051 },
Ed Tanous7474a742025-03-14 15:51:24 -070052 "Firmware": {
53 "$ref": "./sections/cper-firmware.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070054 },
Ed Tanous7474a742025-03-14 15:51:24 -070055 "GenericDmar": {
56 "$ref": "./sections/cper-generic-dmar.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070057 },
Ed Tanous7474a742025-03-14 15:51:24 -070058 "VtdDmar": {
59 "$ref": "./sections/cper-vtd-dmar.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070060 },
Ed Tanous7474a742025-03-14 15:51:24 -070061 "IommuDmar": {
62 "$ref": "./sections/cper-iommu-dmar.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070063 },
Ed Tanous7474a742025-03-14 15:51:24 -070064 "CcixPer": {
65 "$ref": "./sections/cper-ccix-per.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070066 },
Ed Tanous7474a742025-03-14 15:51:24 -070067 "CxlProtocol": {
68 "$ref": "./sections/cper-cxl-protocol.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070069 },
Ed Tanous7474a742025-03-14 15:51:24 -070070 "CxlComponent": {
71 "$ref": "./sections/cper-cxl-component.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070072 },
Ed Tanous7474a742025-03-14 15:51:24 -070073 "Nvidia": {
74 "$ref": "./sections/cper-nvidia.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070075 },
Ed Tanous7474a742025-03-14 15:51:24 -070076 "Ampere": {
77 "$ref": "./sections/cper-ampere.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070078 },
Ed Tanous7474a742025-03-14 15:51:24 -070079 "Unknown": {
80 "$ref": "./sections/cper-unknown.json"
Ed Tanousb07061a2024-09-22 10:33:29 -070081 }
Ed Tanous7474a742025-03-14 15:51:24 -070082 }
Lawrence Tang617949e2022-08-08 14:21:42 +010083 }
84 }
85 }
John Chung044afd02024-05-03 19:58:02 +080086}