blob: cd3da93d9a0e24868ea9e8a926c6d940caa21e32 [file] [log] [blame]
Lawrence Tang079d5812022-07-12 14:15:32 +01001{
2 "$id": "cper-json-memory2-section",
3 "$schema": "https://json-schema.org/draft/2020-12/schema",
4 "type": "object",
5 "required": ["validationBits", "errorStatus", "bank", "memoryErrorType", "status", "physicalAddress", "physicalAddressMask", "node", "card", "module", "device", "row", "column", "bitPosition", "rank", "chipID", "requestorID", "responderID", "targetID", "cardSmbiosHandle", "moduleSmbiosHandle"],
6 "additionalProperties": false,
7 "properties": {
8 "validationBits": {
9 "type": "object",
10 "required": ["errorStatusValid", "physicalAddressValid", "physicalAddressMaskValid", "nodeValid", "cardValid", "moduleValid", "bankValid", "deviceValid", "rowValid", "columnValid", "rankValid", "bitPositionValid", "chipIDValid", "memoryErrorTypeValid", "statusValid", "requestorIDValid", "responderIDValid", "targetIDValid", "cardHandleValid", "moduleHandleValid", "bankGroupValid", "bankAddressValid"],
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 "rankValid": {
43 "type": "boolean"
44 },
45 "bitPositionValid": {
46 "type": "boolean"
47 },
48 "chipIDValid": {
49 "type": "boolean"
50 },
51 "memoryErrorTypeValid": {
52 "type": "boolean"
53 },
54 "statusValid": {
55 "type": "boolean"
56 },
57 "requestorIDValid": {
58 "type": "boolean"
59 },
60 "responderIDValid": {
61 "type": "boolean"
62 },
63 "targetIDValid": {
64 "type": "boolean"
65 },
66 "cardHandleValid": {
67 "type": "boolean"
68 },
69 "moduleHandleValid": {
70 "type": "boolean"
71 },
72 "bankGroupValid": {
73 "type": "boolean"
74 },
75 "bankAddressValid": {
76 "type": "boolean"
77 }
78 }
79 },
80 "errorStatus": {
81 "type": "object",
Lawrence Tang8a2d7372022-07-12 16:44:49 +010082 "$ref": "./common/cper-json-error-status.json"
Lawrence Tang079d5812022-07-12 14:15:32 +010083 },
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",
Lawrence Tang8a2d7372022-07-12 16:44:49 +0100112 "$ref": "./common/cper-json-nvp.json"
Lawrence Tang079d5812022-07-12 14:15:32 +0100113 },
114 "status": {
115 "type": "object",
116 "required": ["value", "state"],
117 "properties": {
118 "value": {
119 "type": "integer"
120 },
121 "state": {
122 "type": "string"
123 }
124 }
125 },
126 "physicalAddress": {
127 "type": "integer"
128 },
129 "physicalAddressMask": {
130 "type": "integer"
131 },
132 "node": {
133 "type": "integer"
134 },
135 "card": {
136 "type": "integer"
137 },
138 "module": {
139 "type": "integer"
140 },
141 "device": {
142 "type": "integer"
143 },
144 "row": {
145 "type": "integer"
146 },
147 "column": {
148 "type": "integer"
149 },
150 "bitPosition": {
151 "type": "integer"
152 },
153 "rank": {
154 "type": "integer"
155 },
156 "chipID": {
157 "type": "integer"
158 },
159 "requestorID": {
160 "type": "integer"
161 },
162 "responderID": {
163 "type": "integer"
164 },
165 "targetID": {
166 "type": "integer"
167 },
168 "cardSmbiosHandle": {
169 "type": "integer"
170 },
171 "moduleSmbiosHandle": {
172 "type": "integer"
173 }
174 }
175}