1{
2    "$id": "cper-json-generic-processor-section",
3    "$schema": "https://json-schema.org/draft/2020-12/schema",
4    "type": "object",
5    "required": ["validationBits", "processorType", "processorISA", "errorType", "operation", "flags", "level", "cpuVersionInfo", "cpuBrandString", "processorID", "targetAddress", "requestorID", "responderID", "instructionIP"],
6    "additionalProperties": false,
7    "properties": {
8        "validationBits": {
9            "type": "object",
10            "required": ["processorTypeValid", "processorISAValid", "errorTypeValid", "operationValid", "flagsValid", "levelValid", "cpuVersionValid", "cpuBrandInfoValid", "cpuIDValid", "targetAddressValid", "requestorIDValid", "responderIDValid", "instructionIPValid"],
11            "properties": {
12                "processorTypeValid": {
13                    "type": "boolean"
14                },
15                "processorISAValid": {
16                    "type": "boolean"
17                },
18                "errorTypeValid": {
19                    "type": "boolean"
20                },
21                "operationValid": {
22                    "type": "boolean"
23                },
24                "flagsValid": {
25                    "type": "boolean"
26                },
27                "levelValid": {
28                    "type": "boolean"
29                },
30                "cpuVersionValid": {
31                    "type": "boolean"
32                },
33                "cpuBrandInfoValid": {
34                    "type": "boolean"
35                },
36                "cpuIDValid": {
37                    "type": "boolean"
38                },
39                "targetAddressValid": {
40                    "type": "boolean"
41                },
42                "requestorIDValid": {
43                    "type": "boolean"
44                },
45                "responderIDValid": {
46                    "type": "boolean"
47                },
48                "instructionIPValid": {
49                    "type": "boolean"
50                }
51            }
52        },
53        "processorType": {
54            "type": "object",
55            "$ref": "./common/cper-json-nvp.json"
56        },
57        "processorISA": {
58            "type": "object",
59            "$ref": "./common/cper-json-nvp.json"
60        },
61        "errorType": {
62            "type": "object",
63            "$ref": "./common/cper-json-nvp.json"
64        },
65        "operation": {
66            "type": "object",
67            "$ref": "./common/cper-json-nvp.json"
68        },
69        "flags": {
70            "type": "object",
71            "required": ["restartableIP", "preciseIP", "overflow", "corrected"],
72            "properties": {
73                "restartableIP": {
74                    "type": "boolean"
75                },
76                "preciseIP": {
77                    "type": "boolean"
78                },
79                "overflow": {
80                    "type": "boolean"
81                },
82                "corrected": {
83                    "type": "boolean"
84                }
85            }
86        },
87        "level": {
88            "type": "integer"
89        },
90        "cpuVersionInfo": {
91            "type": "integer"
92        },
93        "cpuBrandString": {
94            "type": "string"
95        },
96        "processorID": {
97            "type": "integer"
98        },
99        "targetAddress": {
100            "type": "integer"
101        },
102        "requestorID": {
103            "type": "integer"
104        },
105        "responderID": {
106            "type": "integer"
107        },
108        "instructionIP": {
109            "type": "integer"
110        }
111    }
112}