Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 1 | { |
| 2 | "$id": "cper-json-error-status", |
| 3 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 4 | "type": "object", |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 5 | "required": [ |
| 6 | "errorType", |
| 7 | "addressSignal", |
| 8 | "controlSignal", |
| 9 | "dataSignal", |
| 10 | "detectedByResponder", |
| 11 | "detectedByRequester", |
| 12 | "firstError", |
| 13 | "overflowDroppedLogs" |
| 14 | ], |
Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame] | 15 | "additionalProperties": false, |
| 16 | "properties": { |
| 17 | "errorType": { |
| 18 | "type": "object", |
| 19 | "required": ["name", "value", "description"], |
| 20 | "properties": { |
| 21 | "name": { |
| 22 | "type": "string" |
| 23 | }, |
| 24 | "value": { |
| 25 | "type": "integer" |
| 26 | }, |
| 27 | "description": { |
| 28 | "type": "string" |
| 29 | } |
| 30 | } |
| 31 | }, |
| 32 | "addressSignal": { |
| 33 | "type": "boolean" |
| 34 | }, |
| 35 | "controlSignal": { |
| 36 | "type": "boolean" |
| 37 | }, |
| 38 | "dataSignal": { |
| 39 | "type": "boolean" |
| 40 | }, |
| 41 | "detectedByResponder": { |
| 42 | "type": "boolean" |
| 43 | }, |
| 44 | "detectedByRequester": { |
| 45 | "type": "boolean" |
| 46 | }, |
| 47 | "firstError": { |
| 48 | "type": "boolean" |
| 49 | }, |
| 50 | "overflowDroppedLogs": { |
| 51 | "type": "boolean" |
| 52 | } |
| 53 | } |
John Chung | 044afd0 | 2024-05-03 19:58:02 +0800 | [diff] [blame] | 54 | } |