Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 1 | { |
| 2 | "$id": "cper-json-cxl-component-section", |
| 3 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 4 | "type": "object", |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 5 | "required": ["length", "validationBits", "deviceID", "deviceSerial"], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 6 | "additionalProperties": false, |
| 7 | "properties": { |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 8 | "length": { |
| 9 | "type": "integer" |
| 10 | }, |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 11 | "validationBits": { |
| 12 | "type": "object", |
| 13 | "required": ["deviceIDValid", "deviceSerialValid", "cxlComponentEventLogValid"], |
| 14 | "properties": { |
| 15 | "deviceIDValid": { |
| 16 | "type": "boolean" |
| 17 | }, |
| 18 | "deviceSerialValid": { |
| 19 | "type": "boolean" |
| 20 | }, |
| 21 | "cxlComponentEventLogValid": { |
| 22 | "type": "boolean" |
| 23 | } |
| 24 | } |
| 25 | }, |
| 26 | "deviceID": { |
| 27 | "type": "object", |
| 28 | "required": ["vendorID", "deviceID", "functionNumber", "deviceNumber", "busNumber", "segmentNumber", "slotNumber"], |
| 29 | "properties": { |
| 30 | "vendorID": { |
| 31 | "type": "integer" |
| 32 | }, |
| 33 | "deviceID": { |
| 34 | "type": "integer" |
| 35 | }, |
| 36 | "functionNumber": { |
| 37 | "type": "integer" |
| 38 | }, |
| 39 | "deviceNumber": { |
| 40 | "type": "integer" |
| 41 | }, |
| 42 | "busNumber": { |
| 43 | "type": "integer" |
| 44 | }, |
| 45 | "segmentNumber": { |
| 46 | "type": "integer" |
| 47 | }, |
| 48 | "slotNumber": { |
| 49 | "type": "integer" |
| 50 | } |
| 51 | } |
| 52 | }, |
| 53 | "deviceSerial": { |
| 54 | "type": "integer" |
| 55 | }, |
| 56 | "cxlComponentEventLog": { |
| 57 | "type": "object", |
| 58 | "required": ["data"], |
| 59 | "properties": { |
| 60 | "data": { |
| 61 | "type": "string" |
| 62 | } |
| 63 | } |
| 64 | } |
| 65 | } |
| 66 | } |