blob: 51d972f378eeea7ddaca28cf7eb6eadbbe7eb412 [file] [log] [blame]
Lawrence Tang079d5812022-07-12 14:15:32 +01001{
Lawrence Tang079d5812022-07-12 14:15:32 +01002 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "type": "object",
John Chung044afd02024-05-03 19:58:02 +08004 "required": [
5 "validationBits",
6 "errorStatus",
7 "bank",
8 "memoryErrorType",
9 "status",
10 "physicalAddress",
11 "physicalAddressMask",
12 "node",
13 "card",
14 "module",
15 "device",
16 "row",
17 "column",
18 "bitPosition",
19 "rank",
20 "chipID",
21 "requestorID",
22 "responderID",
23 "targetID",
24 "cardSmbiosHandle",
25 "moduleSmbiosHandle"
26 ],
Lawrence Tang079d5812022-07-12 14:15:32 +010027 "additionalProperties": false,
28 "properties": {
29 "validationBits": {
30 "type": "object",
John Chung044afd02024-05-03 19:58:02 +080031 "required": [
32 "errorStatusValid",
33 "physicalAddressValid",
34 "physicalAddressMaskValid",
35 "nodeValid",
36 "cardValid",
37 "moduleValid",
38 "bankValid",
39 "deviceValid",
40 "rowValid",
41 "columnValid",
42 "rankValid",
43 "bitPositionValid",
44 "chipIDValid",
45 "memoryErrorTypeValid",
46 "statusValid",
47 "requestorIDValid",
48 "responderIDValid",
49 "targetIDValid",
50 "cardHandleValid",
51 "moduleHandleValid",
52 "bankGroupValid",
53 "bankAddressValid"
54 ],
Lawrence Tang079d5812022-07-12 14:15:32 +010055 "properties": {
56 "errorStatusValid": {
57 "type": "boolean"
58 },
59 "physicalAddressValid": {
60 "type": "boolean"
61 },
62 "physicalAddressMaskValid": {
63 "type": "boolean"
64 },
65 "nodeValid": {
66 "type": "boolean"
67 },
68 "cardValid": {
69 "type": "boolean"
70 },
71 "moduleValid": {
72 "type": "boolean"
73 },
74 "bankValid": {
75 "type": "boolean"
76 },
77 "deviceValid": {
78 "type": "boolean"
79 },
80 "rowValid": {
81 "type": "boolean"
82 },
83 "columnValid": {
84 "type": "boolean"
85 },
86 "rankValid": {
87 "type": "boolean"
88 },
89 "bitPositionValid": {
90 "type": "boolean"
91 },
92 "chipIDValid": {
93 "type": "boolean"
94 },
95 "memoryErrorTypeValid": {
96 "type": "boolean"
97 },
98 "statusValid": {
99 "type": "boolean"
100 },
101 "requestorIDValid": {
102 "type": "boolean"
103 },
104 "responderIDValid": {
105 "type": "boolean"
106 },
107 "targetIDValid": {
108 "type": "boolean"
109 },
110 "cardHandleValid": {
111 "type": "boolean"
112 },
113 "moduleHandleValid": {
114 "type": "boolean"
115 },
116 "bankGroupValid": {
117 "type": "boolean"
118 },
119 "bankAddressValid": {
120 "type": "boolean"
121 }
122 }
123 },
124 "errorStatus": {
125 "type": "object",
Lawrence Tang8a2d7372022-07-12 16:44:49 +0100126 "$ref": "./common/cper-json-error-status.json"
Lawrence Tang079d5812022-07-12 14:15:32 +0100127 },
128 "bank": {
129 "type": "object",
130 "oneOf": [
131 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700132 "$id": "cper-json-bank0",
Lawrence Tang079d5812022-07-12 14:15:32 +0100133 "type": "object",
134 "required": ["value"],
135 "properties": {
136 "value": {
137 "type": "integer"
138 }
139 }
140 },
141 {
Aushim Nagarkatti382ad4c2024-09-19 13:39:04 -0700142 "$id": "cper-json-bank1",
Lawrence Tang079d5812022-07-12 14:15:32 +0100143 "type": "object",
144 "required": ["address", "group"],
145 "properties": {
146 "address": {
147 "type": "integer"
148 },
149 "group": {
150 "type": "integer"
151 }
152 }
153 }
154 ]
155 },
156 "memoryErrorType": {
157 "type": "object",
Lawrence Tang8a2d7372022-07-12 16:44:49 +0100158 "$ref": "./common/cper-json-nvp.json"
Lawrence Tang079d5812022-07-12 14:15:32 +0100159 },
160 "status": {
161 "type": "object",
162 "required": ["value", "state"],
163 "properties": {
164 "value": {
165 "type": "integer"
166 },
167 "state": {
168 "type": "string"
169 }
170 }
171 },
172 "physicalAddress": {
173 "type": "integer"
174 },
175 "physicalAddressMask": {
176 "type": "integer"
177 },
178 "node": {
179 "type": "integer"
180 },
181 "card": {
182 "type": "integer"
183 },
184 "module": {
185 "type": "integer"
186 },
187 "device": {
188 "type": "integer"
189 },
190 "row": {
191 "type": "integer"
192 },
193 "column": {
194 "type": "integer"
195 },
196 "bitPosition": {
197 "type": "integer"
198 },
199 "rank": {
200 "type": "integer"
201 },
202 "chipID": {
203 "type": "integer"
204 },
205 "requestorID": {
206 "type": "integer"
207 },
208 "responderID": {
209 "type": "integer"
210 },
211 "targetID": {
212 "type": "integer"
213 },
214 "cardSmbiosHandle": {
215 "type": "integer"
216 },
217 "moduleSmbiosHandle": {
218 "type": "integer"
219 }
220 }
John Chung044afd02024-05-03 19:58:02 +0800221}