blob: a2bc18e8a495aed13e3c7bf7736bddc9b0c5fc26 [file] [log] [blame]
Lawrence Tang079d5812022-07-12 14:15:32 +01001{
2 "$id": "cper-json-pci-bus-section",
3 "$schema": "https://json-schema.org/draft/2020-12/schema",
4 "type": "object",
5 "required": ["validationBits", "errorStatus", "errorType", "busID", "busAddress", "busData", "busCommandType", "busRequestorID", "busCompleterID", "targetID"],
6 "additionalProperties": false,
7 "properties": {
8 "validationBits": {
9 "type": "object",
10 "required": ["errorStatusValid", "errorTypeValid", "busIDValid", "busAddressValid", "busDataValid", "commandValid", "requestorIDValid", "completerIDValid", "targetIDValid"],
11 "properties": {
12 "errorStatusValid": {
13 "type": "boolean"
14 },
15 "errorTypeValid": {
16 "type": "boolean"
17 },
18 "busIDValid": {
19 "type": "boolean"
20 },
21 "busAddressValid": {
22 "type": "boolean"
23 },
24 "busDataValid": {
25 "type": "boolean"
26 },
27 "commandValid": {
28 "type": "boolean"
29 },
30 "requestorIDValid": {
31 "type": "boolean"
32 },
33 "completerIDValid": {
34 "type": "boolean"
35 },
36 "targetIDValid": {
37 "type": "boolean"
38 }
39 }
40 },
41 "errorStatus": {
42 "type": "object",
Lawrence Tang8a2d7372022-07-12 16:44:49 +010043 "$ref": "./common/cper-json-error-status.json"
Lawrence Tang079d5812022-07-12 14:15:32 +010044 },
45 "errorType": {
46 "type": "object",
Lawrence Tang8a2d7372022-07-12 16:44:49 +010047 "$ref": "./common/cper-json-nvp.json"
Lawrence Tang079d5812022-07-12 14:15:32 +010048 },
49 "busID": {
50 "type": "object",
51 "required": ["busNumber", "segmentNumber"],
52 "properties": {
53 "busNumber": {
54 "type": "integer"
55 },
56 "segmentNumber": {
57 "type": "integer"
58 }
59 }
60 },
61 "busAddress": {
62 "type": "integer"
63 },
Lawrence Tang42375842022-07-19 16:25:47 +010064 "busData": {
65 "type": "integer"
66 },
Lawrence Tang079d5812022-07-12 14:15:32 +010067 "busCommandType": {
68 "type": "string"
69 },
70 "busRequestorID": {
71 "type": "integer"
72 },
73 "busCompleterID": {
74 "type": "integer"
75 },
76 "targetID": {
77 "type": "integer"
78 }
79 }
80}