Karthik Rajagopalan | 683e055 | 2024-03-07 12:30:43 -0800 | [diff] [blame] | 1 | { |
Karthik Rajagopalan | 683e055 | 2024-03-07 12:30:43 -0800 | [diff] [blame] | 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "type": "object", |
| 4 | "required": [ |
| 5 | "signature", |
| 6 | "errorType", |
| 7 | "errorInstance", |
| 8 | "severity", |
| 9 | "socket", |
Aushim Nagarkatti | 21c2154 | 2024-09-17 12:49:33 -0700 | [diff] [blame] | 10 | "registerCount", |
Karthik Rajagopalan | 683e055 | 2024-03-07 12:30:43 -0800 | [diff] [blame] | 11 | "instanceBase" |
| 12 | ], |
| 13 | "additionalProperties": false, |
| 14 | "properties": { |
| 15 | "signature": { |
| 16 | "type": "string" |
| 17 | }, |
| 18 | "errorType": { |
| 19 | "type": "integer" |
| 20 | }, |
| 21 | "errorInstance": { |
| 22 | "type": "integer" |
| 23 | }, |
| 24 | "severity": { |
Ed Tanous | 2d17ace | 2024-08-27 14:45:38 -0700 | [diff] [blame] | 25 | "type": "object", |
| 26 | "required": ["code", "name"], |
| 27 | "properties": { |
| 28 | "code": { |
| 29 | "type": "integer", |
| 30 | "minimum": 0 |
| 31 | }, |
| 32 | "name": { |
| 33 | "type": "string" |
| 34 | } |
| 35 | } |
Karthik Rajagopalan | 683e055 | 2024-03-07 12:30:43 -0800 | [diff] [blame] | 36 | }, |
| 37 | "socket": { |
| 38 | "type": "integer" |
| 39 | }, |
Aushim Nagarkatti | 21c2154 | 2024-09-17 12:49:33 -0700 | [diff] [blame] | 40 | "registerCount": { |
Karthik Rajagopalan | 683e055 | 2024-03-07 12:30:43 -0800 | [diff] [blame] | 41 | "type": "integer" |
| 42 | }, |
| 43 | "instanceBase": { |
Aushim Nagarkatti | 21c2154 | 2024-09-17 12:49:33 -0700 | [diff] [blame] | 44 | "type": "integer" |
Ed Tanous | 2d17ace | 2024-08-27 14:45:38 -0700 | [diff] [blame] | 45 | }, |
| 46 | "registers": { |
| 47 | "type": "array", |
| 48 | "items": { |
| 49 | "type": "object", |
| 50 | "required": ["address", "value"], |
| 51 | "properties": { |
| 52 | "address": { |
| 53 | "type": "integer" |
| 54 | }, |
| 55 | "value": { |
| 56 | "type": "integer" |
| 57 | } |
| 58 | } |
| 59 | } |
Karthik Rajagopalan | 683e055 | 2024-03-07 12:30:43 -0800 | [diff] [blame] | 60 | } |
| 61 | } |
| 62 | } |