| 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 | "bank", |
| 8 | "memoryErrorType", |
| 9 | "extended", |
| 10 | "physicalAddress", |
| 11 | "physicalAddressMask", |
| 12 | "node", |
| 13 | "card", |
| 14 | "moduleRank", |
| 15 | "device", |
| 16 | "row", |
| 17 | "column", |
| 18 | "bitPosition", |
| 19 | "requestorID", |
| 20 | "responderID", |
| 21 | "targetID", |
| 22 | "rankNumber", |
| 23 | "cardSmbiosHandle", |
| 24 | "moduleSmbiosHandle" |
| 25 | ], |
| Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 26 | "additionalProperties": false, |
| 27 | "properties": { |
| 28 | "validationBits": { |
| 29 | "type": "object", |
| John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 30 | "required": [ |
| 31 | "errorStatusValid", |
| 32 | "physicalAddressValid", |
| 33 | "physicalAddressMaskValid", |
| 34 | "nodeValid", |
| 35 | "cardValid", |
| 36 | "moduleValid", |
| 37 | "bankValid", |
| 38 | "deviceValid", |
| 39 | "rowValid", |
| 40 | "columnValid", |
| 41 | "bitPositionValid", |
| 42 | "platformRequestorIDValid", |
| 43 | "platformResponderIDValid", |
| 44 | "memoryPlatformTargetValid", |
| 45 | "memoryErrorTypeValid", |
| 46 | "rankNumberValid", |
| 47 | "cardHandleValid", |
| 48 | "moduleHandleValid", |
| 49 | "extendedRowBitsValid", |
| 50 | "bankGroupValid", |
| 51 | "bankAddressValid", |
| 52 | "chipIdentificationValid" |
| 53 | ], |
| Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 54 | "properties": { |
| 55 | "errorStatusValid": { |
| 56 | "type": "boolean" |
| 57 | }, |
| 58 | "physicalAddressValid": { |
| 59 | "type": "boolean" |
| 60 | }, |
| 61 | "physicalAddressMaskValid": { |
| 62 | "type": "boolean" |
| 63 | }, |
| 64 | "nodeValid": { |
| 65 | "type": "boolean" |
| 66 | }, |
| 67 | "cardValid": { |
| 68 | "type": "boolean" |
| 69 | }, |
| 70 | "moduleValid": { |
| 71 | "type": "boolean" |
| 72 | }, |
| 73 | "bankValid": { |
| 74 | "type": "boolean" |
| 75 | }, |
| 76 | "deviceValid": { |
| 77 | "type": "boolean" |
| 78 | }, |
| 79 | "rowValid": { |
| 80 | "type": "boolean" |
| 81 | }, |
| Lawrence Tang | 4237584 | 2022-07-19 16:25:47 +0100 | [diff] [blame] | 82 | "columnValid": { |
| 83 | "type": "boolean" |
| 84 | }, |
| 85 | "bitPositionValid": { |
| 86 | "type": "boolean" |
| 87 | }, |
| 88 | "platformRequestorIDValid": { |
| 89 | "type": "boolean" |
| 90 | }, |
| 91 | "platformResponderIDValid": { |
| 92 | "type": "boolean" |
| 93 | }, |
| Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 94 | "memoryPlatformTargetValid": { |
| 95 | "type": "boolean" |
| 96 | }, |
| 97 | "memoryErrorTypeValid": { |
| 98 | "type": "boolean" |
| 99 | }, |
| 100 | "rankNumberValid": { |
| 101 | "type": "boolean" |
| 102 | }, |
| 103 | "cardHandleValid": { |
| 104 | "type": "boolean" |
| 105 | }, |
| 106 | "moduleHandleValid": { |
| 107 | "type": "boolean" |
| 108 | }, |
| 109 | "extendedRowBitsValid": { |
| 110 | "type": "boolean" |
| 111 | }, |
| 112 | "bankGroupValid": { |
| 113 | "type": "boolean" |
| 114 | }, |
| 115 | "bankAddressValid": { |
| 116 | "type": "boolean" |
| 117 | }, |
| 118 | "chipIdentificationValid": { |
| 119 | "type": "boolean" |
| 120 | } |
| 121 | } |
| 122 | }, |
| 123 | "errorStatus": { |
| 124 | "type": "object", |
| Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 125 | "$ref": "./common/cper-json-error-status.json" |
| Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 126 | }, |
| 127 | "bank": { |
| 128 | "type": "object", |
| 129 | "oneOf": [ |
| 130 | { |
| Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 131 | "$id": "cper-json-bank0", |
| Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 132 | "type": "object", |
| 133 | "required": ["value"], |
| 134 | "properties": { |
| 135 | "value": { |
| 136 | "type": "integer" |
| 137 | } |
| 138 | } |
| 139 | }, |
| 140 | { |
| Aushim Nagarkatti | 382ad4c | 2024-09-19 13:39:04 -0700 | [diff] [blame] | 141 | "$id": "cper-json-bank1", |
| Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 142 | "type": "object", |
| 143 | "required": ["address", "group"], |
| 144 | "properties": { |
| 145 | "address": { |
| 146 | "type": "integer" |
| 147 | }, |
| 148 | "group": { |
| 149 | "type": "integer" |
| 150 | } |
| 151 | } |
| 152 | } |
| 153 | ] |
| 154 | }, |
| 155 | "memoryErrorType": { |
| 156 | "type": "object", |
| Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 157 | "$ref": "./common/cper-json-nvp.json" |
| Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 158 | }, |
| 159 | "extended": { |
| 160 | "type": "object", |
| 161 | "required": ["rowBit16", "rowBit17", "chipIdentification"], |
| 162 | "properties": { |
| 163 | "rowBit16": { |
| 164 | "type": "boolean" |
| 165 | }, |
| 166 | "rowBit17": { |
| 167 | "type": "boolean" |
| 168 | }, |
| 169 | "chipIdentification": { |
| 170 | "type": "integer" |
| 171 | } |
| 172 | } |
| 173 | }, |
| 174 | "physicalAddress": { |
| 175 | "type": "integer" |
| 176 | }, |
| 177 | "physicalAddressMask": { |
| 178 | "type": "integer" |
| 179 | }, |
| 180 | "node": { |
| 181 | "type": "integer" |
| 182 | }, |
| 183 | "card": { |
| 184 | "type": "integer" |
| 185 | }, |
| 186 | "moduleRank": { |
| 187 | "type": "integer" |
| 188 | }, |
| 189 | "device": { |
| 190 | "type": "integer" |
| 191 | }, |
| 192 | "row": { |
| 193 | "type": "integer" |
| 194 | }, |
| 195 | "column": { |
| 196 | "type": "integer" |
| 197 | }, |
| 198 | "bitPosition": { |
| 199 | "type": "integer" |
| 200 | }, |
| 201 | "requestorID": { |
| 202 | "type": "integer" |
| 203 | }, |
| 204 | "responderID": { |
| 205 | "type": "integer" |
| 206 | }, |
| 207 | "targetID": { |
| 208 | "type": "integer" |
| 209 | }, |
| 210 | "rankNumber": { |
| 211 | "type": "integer" |
| 212 | }, |
| 213 | "cardSmbiosHandle": { |
| 214 | "type": "integer" |
| 215 | }, |
| 216 | "moduleSmbiosHandle": { |
| 217 | "type": "integer" |
| 218 | } |
| 219 | } |
| John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 220 | } |