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