Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 1 | { |
| 2 | "$id": "cper-json-memory-section", |
| 3 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 4 | "type": "object", |
| 5 | "required": ["validationBits", "errorStatus", "bank", "memoryErrorType", "extended", "physicalAddress", "physicalAddressMask", "node", "card", "moduleRank", "device", "row", "column", "bitPosition", "requestorID", "responderID", "targetID", "rankNumber", "cardSmbiosHandle", "moduleSmbiosHandle"], |
| 6 | "additionalProperties": false, |
| 7 | "properties": { |
| 8 | "validationBits": { |
| 9 | "type": "object", |
| 10 | "required": ["errorStatusValid", "physicalAddressValid", "physicalAddressMaskValid", "nodeValid", "cardValid", "moduleValid", "bankValid", "deviceValid", "rowValid", "memoryPlatformTargetValid", "memoryErrorTypeValid", "rankNumberValid", "cardHandleValid", "moduleHandleValid", "extendedRowBitsValid", "bankGroupValid", "bankAddressValid", "chipIdentificationValid"], |
| 11 | "properties": { |
| 12 | "errorStatusValid": { |
| 13 | "type": "boolean" |
| 14 | }, |
| 15 | "physicalAddressValid": { |
| 16 | "type": "boolean" |
| 17 | }, |
| 18 | "physicalAddressMaskValid": { |
| 19 | "type": "boolean" |
| 20 | }, |
| 21 | "nodeValid": { |
| 22 | "type": "boolean" |
| 23 | }, |
| 24 | "cardValid": { |
| 25 | "type": "boolean" |
| 26 | }, |
| 27 | "moduleValid": { |
| 28 | "type": "boolean" |
| 29 | }, |
| 30 | "bankValid": { |
| 31 | "type": "boolean" |
| 32 | }, |
| 33 | "deviceValid": { |
| 34 | "type": "boolean" |
| 35 | }, |
| 36 | "rowValid": { |
| 37 | "type": "boolean" |
| 38 | }, |
| 39 | "memoryPlatformTargetValid": { |
| 40 | "type": "boolean" |
| 41 | }, |
| 42 | "memoryErrorTypeValid": { |
| 43 | "type": "boolean" |
| 44 | }, |
| 45 | "rankNumberValid": { |
| 46 | "type": "boolean" |
| 47 | }, |
| 48 | "cardHandleValid": { |
| 49 | "type": "boolean" |
| 50 | }, |
| 51 | "moduleHandleValid": { |
| 52 | "type": "boolean" |
| 53 | }, |
| 54 | "extendedRowBitsValid": { |
| 55 | "type": "boolean" |
| 56 | }, |
| 57 | "bankGroupValid": { |
| 58 | "type": "boolean" |
| 59 | }, |
| 60 | "bankAddressValid": { |
| 61 | "type": "boolean" |
| 62 | }, |
| 63 | "chipIdentificationValid": { |
| 64 | "type": "boolean" |
| 65 | } |
| 66 | } |
| 67 | }, |
| 68 | "errorStatus": { |
| 69 | "type": "object", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 70 | "$ref": "./common/cper-json-error-status.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 71 | }, |
| 72 | "bank": { |
| 73 | "type": "object", |
| 74 | "oneOf": [ |
| 75 | { |
| 76 | "type": "object", |
| 77 | "required": ["value"], |
| 78 | "properties": { |
| 79 | "value": { |
| 80 | "type": "integer" |
| 81 | } |
| 82 | } |
| 83 | }, |
| 84 | { |
| 85 | "type": "object", |
| 86 | "required": ["address", "group"], |
| 87 | "properties": { |
| 88 | "address": { |
| 89 | "type": "integer" |
| 90 | }, |
| 91 | "group": { |
| 92 | "type": "integer" |
| 93 | } |
| 94 | } |
| 95 | } |
| 96 | ] |
| 97 | }, |
| 98 | "memoryErrorType": { |
| 99 | "type": "object", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 100 | "$ref": "./common/cper-json-nvp.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 101 | }, |
| 102 | "extended": { |
| 103 | "type": "object", |
| 104 | "required": ["rowBit16", "rowBit17", "chipIdentification"], |
| 105 | "properties": { |
| 106 | "rowBit16": { |
| 107 | "type": "boolean" |
| 108 | }, |
| 109 | "rowBit17": { |
| 110 | "type": "boolean" |
| 111 | }, |
| 112 | "chipIdentification": { |
| 113 | "type": "integer" |
| 114 | } |
| 115 | } |
| 116 | }, |
| 117 | "physicalAddress": { |
| 118 | "type": "integer" |
| 119 | }, |
| 120 | "physicalAddressMask": { |
| 121 | "type": "integer" |
| 122 | }, |
| 123 | "node": { |
| 124 | "type": "integer" |
| 125 | }, |
| 126 | "card": { |
| 127 | "type": "integer" |
| 128 | }, |
| 129 | "moduleRank": { |
| 130 | "type": "integer" |
| 131 | }, |
| 132 | "device": { |
| 133 | "type": "integer" |
| 134 | }, |
| 135 | "row": { |
| 136 | "type": "integer" |
| 137 | }, |
| 138 | "column": { |
| 139 | "type": "integer" |
| 140 | }, |
| 141 | "bitPosition": { |
| 142 | "type": "integer" |
| 143 | }, |
| 144 | "requestorID": { |
| 145 | "type": "integer" |
| 146 | }, |
| 147 | "responderID": { |
| 148 | "type": "integer" |
| 149 | }, |
| 150 | "targetID": { |
| 151 | "type": "integer" |
| 152 | }, |
| 153 | "rankNumber": { |
| 154 | "type": "integer" |
| 155 | }, |
| 156 | "cardSmbiosHandle": { |
| 157 | "type": "integer" |
| 158 | }, |
| 159 | "moduleSmbiosHandle": { |
| 160 | "type": "integer" |
| 161 | } |
| 162 | } |
| 163 | } |