Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 1 | { |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 4 | "description": "CXL Component Events Section", |
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", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 13 | "description": "Indiciates what fields in the section are valid", |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 14 | "required": [ |
| 15 | "deviceIDValid", |
| 16 | "deviceSerialValid", |
| 17 | "cxlComponentEventLogValid" |
| 18 | ], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 19 | "properties": { |
| 20 | "deviceIDValid": { |
| 21 | "type": "boolean" |
| 22 | }, |
| 23 | "deviceSerialValid": { |
| 24 | "type": "boolean" |
| 25 | }, |
| 26 | "cxlComponentEventLogValid": { |
| 27 | "type": "boolean" |
| 28 | } |
| 29 | } |
| 30 | }, |
| 31 | "deviceID": { |
| 32 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame] | 33 | "description": "Provides devices specific identifies.", |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 34 | "required": [ |
| 35 | "vendorID", |
| 36 | "deviceID", |
| 37 | "functionNumber", |
| 38 | "deviceNumber", |
| 39 | "busNumber", |
| 40 | "segmentNumber", |
| 41 | "slotNumber" |
| 42 | ], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 43 | "properties": { |
| 44 | "vendorID": { |
| 45 | "type": "integer" |
| 46 | }, |
| 47 | "deviceID": { |
| 48 | "type": "integer" |
| 49 | }, |
| 50 | "functionNumber": { |
| 51 | "type": "integer" |
| 52 | }, |
| 53 | "deviceNumber": { |
| 54 | "type": "integer" |
| 55 | }, |
| 56 | "busNumber": { |
| 57 | "type": "integer" |
| 58 | }, |
| 59 | "segmentNumber": { |
| 60 | "type": "integer" |
| 61 | }, |
| 62 | "slotNumber": { |
| 63 | "type": "integer" |
| 64 | } |
| 65 | } |
| 66 | }, |
| 67 | "deviceSerial": { |
| 68 | "type": "integer" |
| 69 | }, |
| 70 | "cxlComponentEventLog": { |
| 71 | "type": "object", |
| 72 | "required": ["data"], |
| 73 | "properties": { |
| 74 | "data": { |
| 75 | "type": "string" |
| 76 | } |
| 77 | } |
| 78 | } |
| 79 | } |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 80 | } |