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", "columnValid", "bitPositionValid", "platformRequestorIDValid", "platformResponderIDValid", "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                "columnValid": {
40                    "type": "boolean"
41                },
42                "bitPositionValid": {
43                    "type": "boolean"
44                },
45                "platformRequestorIDValid": {
46                    "type": "boolean"
47                },
48                "platformResponderIDValid": {
49                    "type": "boolean"
50                },
51                "memoryPlatformTargetValid": {
52                    "type": "boolean"
53                },
54                "memoryErrorTypeValid": {
55                    "type": "boolean"
56                },
57                "rankNumberValid": {
58                    "type": "boolean"
59                },
60                "cardHandleValid": {
61                    "type": "boolean"
62                },
63                "moduleHandleValid": {
64                    "type": "boolean"
65                },
66                "extendedRowBitsValid": {
67                    "type": "boolean"
68                },
69                "bankGroupValid": {
70                    "type": "boolean"
71                },
72                "bankAddressValid": {
73                    "type": "boolean"
74                },
75                "chipIdentificationValid": {
76                    "type": "boolean"
77                }
78            }
79        },
80        "errorStatus": {
81            "type": "object",
82            "$ref": "./common/cper-json-error-status.json"
83        },
84        "bank": {
85            "type": "object",
86            "oneOf": [
87                {
88                    "type": "object",
89                    "required": ["value"],
90                    "properties": {
91                        "value": {
92                            "type": "integer"
93                        }
94                    }
95                },
96                {
97                    "type": "object",
98                    "required": ["address", "group"],
99                    "properties": {
100                        "address": {
101                            "type": "integer"
102                        },
103                        "group": {
104                            "type": "integer"
105                        }
106                    }
107                }
108            ]
109        },
110        "memoryErrorType": {
111            "type": "object",
112            "$ref": "./common/cper-json-nvp.json"
113        },
114        "extended": {
115            "type": "object",
116            "required": ["rowBit16", "rowBit17", "chipIdentification"],
117            "properties": {
118                "rowBit16": {
119                    "type": "boolean"
120                },
121                "rowBit17": {
122                    "type": "boolean"
123                },
124                "chipIdentification": {
125                    "type": "integer"
126                }
127            }
128        },
129        "physicalAddress": {
130            "type": "integer"
131        },
132        "physicalAddressMask": {
133            "type": "integer"
134        },
135        "node": {
136            "type": "integer"
137        },
138        "card": {
139            "type": "integer"
140        },
141        "moduleRank": {
142            "type": "integer"
143        },
144        "device": {
145            "type": "integer"
146        },
147        "row": {
148            "type": "integer"
149        },
150        "column": {
151            "type": "integer"
152        },
153        "bitPosition": {
154            "type": "integer"
155        },
156        "requestorID": {
157            "type": "integer"
158        },
159        "responderID": {
160            "type": "integer"
161        },
162        "targetID": {
163            "type": "integer"
164        },
165        "rankNumber": {
166            "type": "integer"
167        },
168        "cardSmbiosHandle": {
169            "type": "integer"
170        },
171        "moduleSmbiosHandle": {
172            "type": "integer"
173        }
174    }
175}