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", |
| 5 | "required": ["errorType", "addressSignal", "controlSignal", "dataSignal", "detectedByResponder", "detectedByRequester", "firstError", "overflowDroppedLogs"], |
| 6 | "additionalProperties": false, |
| 7 | "properties": { |
| 8 | "errorType": { |
| 9 | "type": "object", |
| 10 | "required": ["name", "value", "description"], |
| 11 | "properties": { |
| 12 | "name": { |
| 13 | "type": "string" |
| 14 | }, |
| 15 | "value": { |
| 16 | "type": "integer" |
| 17 | }, |
| 18 | "description": { |
| 19 | "type": "string" |
| 20 | } |
| 21 | } |
| 22 | }, |
| 23 | "addressSignal": { |
| 24 | "type": "boolean" |
| 25 | }, |
| 26 | "controlSignal": { |
| 27 | "type": "boolean" |
| 28 | }, |
| 29 | "dataSignal": { |
| 30 | "type": "boolean" |
| 31 | }, |
| 32 | "detectedByResponder": { |
| 33 | "type": "boolean" |
| 34 | }, |
| 35 | "detectedByRequester": { |
| 36 | "type": "boolean" |
| 37 | }, |
| 38 | "firstError": { |
| 39 | "type": "boolean" |
| 40 | }, |
| 41 | "overflowDroppedLogs": { |
| 42 | "type": "boolean" |
| 43 | } |
| 44 | } |
| 45 | } |