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", |
| 5 | "required": ["validationBits", "errorStatus", "errorType", "busID", "busAddress", "busData", "busCommandType", "busRequestorID", "busCompleterID", "targetID"], |
| 6 | "additionalProperties": false, |
| 7 | "properties": { |
| 8 | "validationBits": { |
| 9 | "type": "object", |
| 10 | "required": ["errorStatusValid", "errorTypeValid", "busIDValid", "busAddressValid", "busDataValid", "commandValid", "requestorIDValid", "completerIDValid", "targetIDValid"], |
| 11 | "properties": { |
| 12 | "errorStatusValid": { |
| 13 | "type": "boolean" |
| 14 | }, |
| 15 | "errorTypeValid": { |
| 16 | "type": "boolean" |
| 17 | }, |
| 18 | "busIDValid": { |
| 19 | "type": "boolean" |
| 20 | }, |
| 21 | "busAddressValid": { |
| 22 | "type": "boolean" |
| 23 | }, |
| 24 | "busDataValid": { |
| 25 | "type": "boolean" |
| 26 | }, |
| 27 | "commandValid": { |
| 28 | "type": "boolean" |
| 29 | }, |
| 30 | "requestorIDValid": { |
| 31 | "type": "boolean" |
| 32 | }, |
| 33 | "completerIDValid": { |
| 34 | "type": "boolean" |
| 35 | }, |
| 36 | "targetIDValid": { |
| 37 | "type": "boolean" |
| 38 | } |
| 39 | } |
| 40 | }, |
| 41 | "errorStatus": { |
| 42 | "type": "object", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 43 | "$ref": "./common/cper-json-error-status.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 44 | }, |
| 45 | "errorType": { |
| 46 | "type": "object", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 47 | "$ref": "./common/cper-json-nvp.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 48 | }, |
| 49 | "busID": { |
| 50 | "type": "object", |
| 51 | "required": ["busNumber", "segmentNumber"], |
| 52 | "properties": { |
| 53 | "busNumber": { |
| 54 | "type": "integer" |
| 55 | }, |
| 56 | "segmentNumber": { |
| 57 | "type": "integer" |
| 58 | } |
| 59 | } |
| 60 | }, |
| 61 | "busAddress": { |
| 62 | "type": "integer" |
| 63 | }, |
Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame^] | 64 | "busData": { |
| 65 | "type": "integer" |
| 66 | }, |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 67 | "busCommandType": { |
| 68 | "type": "string" |
| 69 | }, |
| 70 | "busRequestorID": { |
| 71 | "type": "integer" |
| 72 | }, |
| 73 | "busCompleterID": { |
| 74 | "type": "integer" |
| 75 | }, |
| 76 | "targetID": { |
| 77 | "type": "integer" |
| 78 | } |
| 79 | } |
| 80 | } |