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": { |
Ed Tanous | 75a6028 | 2025-03-14 23:12:38 -0700 | [diff] [blame] | 15 | "type": ["object", "null"], |
Lawrence Tang | 617949e | 2022-08-08 14:21:42 +0100 | [diff] [blame] | 16 | "$ref": "./cper-json-section-descriptor.json" |
| 17 | } |
| 18 | }, |
| 19 | "sections": { |
| 20 | "type": "array", |
| 21 | "items": { |
Ed Tanous | 75a6028 | 2025-03-14 23:12:38 -0700 | [diff] [blame] | 22 | "type": ["object", "null"], |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 23 | "minProperties": 1, |
| 24 | "maxProperties": 1, |
Aushim Nagarkatti | ad6c880 | 2025-06-18 16:45:28 -0700 | [diff] [blame] | 25 | "required": ["message"], |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 26 | "additionalProperties": false, |
| 27 | "properties": { |
Aushim Nagarkatti | ad6c880 | 2025-06-18 16:45:28 -0700 | [diff] [blame] | 28 | "message": { |
| 29 | "type": "string", |
| 30 | "description": "A human readable message describing the error. This is not stable between versions." |
| 31 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 32 | "GenericProcessor": { |
| 33 | "$ref": "./sections/cper-generic-processor.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 34 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 35 | "Ia32x64Processor": { |
| 36 | "$ref": "./sections/cper-ia32x64-processor.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 37 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 38 | "ArmProcessor": { |
| 39 | "$ref": "./sections/cper-arm-processor.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 40 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 41 | "Memory": { |
| 42 | "$ref": "./sections/cper-memory.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 43 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 44 | "Memory2": { |
| 45 | "$ref": "./sections/cper-memory2.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 46 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 47 | "Pcie": { |
| 48 | "$ref": "./sections/cper-pcie.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 49 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 50 | "PciBus": { |
| 51 | "$ref": "./sections/cper-pci-bus.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 52 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 53 | "PciComponent": { |
| 54 | "$ref": "./sections/cper-pci-component.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 55 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 56 | "Firmware": { |
| 57 | "$ref": "./sections/cper-firmware.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 58 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 59 | "GenericDmar": { |
| 60 | "$ref": "./sections/cper-generic-dmar.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 61 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 62 | "VtdDmar": { |
| 63 | "$ref": "./sections/cper-vtd-dmar.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 64 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 65 | "IommuDmar": { |
| 66 | "$ref": "./sections/cper-iommu-dmar.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 67 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 68 | "CcixPer": { |
| 69 | "$ref": "./sections/cper-ccix-per.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 70 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 71 | "CxlProtocol": { |
| 72 | "$ref": "./sections/cper-cxl-protocol.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 73 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 74 | "CxlComponent": { |
| 75 | "$ref": "./sections/cper-cxl-component.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 76 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 77 | "Nvidia": { |
| 78 | "$ref": "./sections/cper-nvidia.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 79 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 80 | "Ampere": { |
| 81 | "$ref": "./sections/cper-ampere.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 82 | }, |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 83 | "Unknown": { |
| 84 | "$ref": "./sections/cper-unknown.json" |
Ed Tanous | b07061a | 2024-09-22 10:33:29 -0700 | [diff] [blame] | 85 | } |
Ed Tanous | 7474a74 | 2025-03-14 15:51:24 -0700 | [diff] [blame] | 86 | } |
Lawrence Tang | 617949e | 2022-08-08 14:21:42 +0100 | [diff] [blame] | 87 | } |
| 88 | } |
| 89 | } |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 90 | } |