Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 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", |
Lawrence Tang | d34f2b1 | 2022-07-19 15:36:31 +0100 | [diff] [blame] | 10 | "required": ["processorTypeValid", "processorISAValid", "processorErrorTypeValid", "operationValid", "flagsValid", "levelValid", "cpuVersionValid", "cpuBrandInfoValid", "cpuIDValid", "targetAddressValid", "requestorIDValid", "responderIDValid", "instructionIPValid"], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 11 | "properties": { |
| 12 | "processorTypeValid": { |
| 13 | "type": "boolean" |
| 14 | }, |
| 15 | "processorISAValid": { |
| 16 | "type": "boolean" |
| 17 | }, |
Lawrence Tang | d34f2b1 | 2022-07-19 15:36:31 +0100 | [diff] [blame] | 18 | "processorErrorTypeValid": { |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 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", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 55 | "$ref": "./common/cper-json-nvp.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 56 | }, |
| 57 | "processorISA": { |
| 58 | "type": "object", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 59 | "$ref": "./common/cper-json-nvp.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 60 | }, |
| 61 | "errorType": { |
| 62 | "type": "object", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 63 | "$ref": "./common/cper-json-nvp.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 64 | }, |
| 65 | "operation": { |
| 66 | "type": "object", |
Lawrence Tang | 8a2d737 | 2022-07-12 16:44:49 +0100 | [diff] [blame] | 67 | "$ref": "./common/cper-json-nvp.json" |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 68 | }, |
| 69 | "flags": { |
| 70 | "type": "object", |
Lawrence Tang | d34f2b1 | 2022-07-19 15:36:31 +0100 | [diff] [blame] | 71 | "required": ["restartable", "preciseIP", "overflow", "corrected"], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 72 | "properties": { |
Lawrence Tang | d34f2b1 | 2022-07-19 15:36:31 +0100 | [diff] [blame] | 73 | "restartable": { |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 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 | } |