1{
2    "$schema": "https://json-schema.org/draft/2020-12/schema",
3    "type": "object",
4    "required": [
5        "validationBits",
6        "errorStatus",
7        "errorType",
8        "busID",
9        "busAddress",
10        "busData",
11        "busCommandType",
12        "busRequestorID",
13        "busCompleterID",
14        "targetID"
15    ],
16    "additionalProperties": false,
17    "properties": {
18        "validationBits": {
19            "type": "object",
20            "description": "Inidicates which fields are valid in the section.",
21            "required": [
22                "errorStatusValid",
23                "errorTypeValid",
24                "busIDValid",
25                "busAddressValid",
26                "busDataValid",
27                "commandValid",
28                "requestorIDValid",
29                "completerIDValid",
30                "targetIDValid"
31            ],
32            "properties": {
33                "errorStatusValid": {
34                    "type": "boolean"
35                },
36                "errorTypeValid": {
37                    "type": "boolean"
38                },
39                "busIDValid": {
40                    "type": "boolean"
41                },
42                "busAddressValid": {
43                    "type": "boolean"
44                },
45                "busDataValid": {
46                    "type": "boolean"
47                },
48                "commandValid": {
49                    "type": "boolean"
50                },
51                "requestorIDValid": {
52                    "type": "boolean"
53                },
54                "completerIDValid": {
55                    "type": "boolean"
56                },
57                "targetIDValid": {
58                    "type": "boolean"
59                }
60            }
61        },
62        "errorStatus": {
63            "type": "object",
64            "description": "PCI Bus Error Status.",
65            "$ref": "./common/cper-json-error-status.json"
66        },
67        "errorType": {
68            "type": "object",
69            "description": "PCI Bus error Type",
70            "$ref": "./common/cper-json-nvp.json"
71        },
72        "busID": {
73            "type": "object",
74            "required": ["busNumber", "segmentNumber"],
75            "properties": {
76                "busNumber": {
77                    "type": "integer",
78                    "description": "Bus Number"
79                },
80                "segmentNumber": {
81                    "type": "integer",
82                    "description": "Segment Number"
83                }
84            }
85        },
86        "busAddress": {
87            "type": "integer",
88            "description": "Memory or I/O address on the bus at the time of the error."
89        },
90        "busData": {
91            "type": "integer",
92            "description": "Data on the PCI bus at the time of the error."
93        },
94        "busCommandType": {
95            "type": "string",
96            "description": "Bus command or operation at the time of the error."
97        },
98        "busRequestorID": {
99            "type": "integer",
100            "description": "PCI Bus Requestor Id."
101        },
102        "busCompleterID": {
103            "type": "integer",
104            "description": "PCI Bus Responder Id."
105        },
106        "targetID": {
107            "type": "integer",
108            "description": "PCI Bus intended target identifier."
109        }
110    }
111}
112