Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 1 | { |
| 2 | "$id": "cper-json-pci-bus-section", |
| 3 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 4 | "type": "object", |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 5 | "required": [ |
| 6 | "validationBits", |
| 7 | "errorStatus", |
| 8 | "errorType", |
| 9 | "busID", |
| 10 | "busAddress", |
| 11 | "busData", |
| 12 | "busCommandType", |
| 13 | "busRequestorID", |
| 14 | "busCompleterID", |
| 15 | "targetID" |
| 16 | ], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 17 | "additionalProperties": false, |
| 18 | "properties": { |
| 19 | "validationBits": { |
| 20 | "type": "object", |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 21 | "required": [ |
| 22 | "errorStatusValid", |
| 23 | "errorTypeValid", |
| 24 | "busIDValid", |
| 25 | "busAddressValid", |
| 26 | "busDataValid", |
| 27 | "commandValid", |
| 28 | "requestorIDValid", |
| 29 | "completerIDValid", |
| 30 | "targetIDValid" |
| 31 | ], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 32 | "properties": { |
| 33 | "errorStatusValid": { |
| 34 | "type": "boolean" |
| 35 | }, |
| 36 | "errorTypeValid": { |
| 37 | "type": "boolean" |
| 38 | }, |
| 39 | "busIDValid": { |
| 40 | "type": "boolean" |
| 41 | }, |
| 42 | "busAddressValid": { |
| 43 | "type": "boolean" |
| 44 | }, |
| 45 | "busDataValid": { |
| 46 | "type": "boolean" |
| 47 | }, |
| 48 | "commandValid": { |
| 49 | "type": "boolean" |
| 50 | }, |
| 51 | "requestorIDValid": { |
| 52 | "type": "boolean" |
| 53 | }, |
| 54 | "completerIDValid": { |
| 55 | "type": "boolean" |
| 56 | }, |
| 57 | "targetIDValid": { |
| 58 | "type": "boolean" |
| 59 | } |
| 60 | } |
| 61 | }, |
| 62 | "errorStatus": { |
| 63 | "type": "object", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 64 | "$ref": "./common/cper-json-error-status.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 65 | }, |
| 66 | "errorType": { |
| 67 | "type": "object", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 68 | "$ref": "./common/cper-json-nvp.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 69 | }, |
| 70 | "busID": { |
| 71 | "type": "object", |
| 72 | "required": ["busNumber", "segmentNumber"], |
| 73 | "properties": { |
| 74 | "busNumber": { |
| 75 | "type": "integer" |
| 76 | }, |
| 77 | "segmentNumber": { |
| 78 | "type": "integer" |
| 79 | } |
| 80 | } |
| 81 | }, |
| 82 | "busAddress": { |
| 83 | "type": "integer" |
| 84 | }, |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 85 | "busData": { |
| 86 | "type": "integer" |
| 87 | }, |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 88 | "busCommandType": { |
| 89 | "type": "string" |
| 90 | }, |
| 91 | "busRequestorID": { |
| 92 | "type": "integer" |
| 93 | }, |
| 94 | "busCompleterID": { |
| 95 | "type": "integer" |
| 96 | }, |
| 97 | "targetID": { |
| 98 | "type": "integer" |
| 99 | } |
| 100 | } |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 101 | } |