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": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 16 | "type": "string", |
| 17 | "description": "IP Signature Name." |
Karthik Rajagopalan | 683e055 | 2024-03-07 12:30:43 -0800 | [diff] [blame] | 18 | }, |
| 19 | "errorType": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 20 | "type": "integer", |
| 21 | "description": "Error type within the IP block." |
Karthik Rajagopalan | 683e055 | 2024-03-07 12:30:43 -0800 | [diff] [blame] | 22 | }, |
| 23 | "errorInstance": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 24 | "type": "integer", |
| 25 | "description": "" |
Karthik Rajagopalan | 683e055 | 2024-03-07 12:30:43 -0800 | [diff] [blame] | 26 | }, |
| 27 | "severity": { |
Ed Tanous | 2d17ace | 2024-08-27 14:45:38 -0700 | [diff] [blame] | 28 | "type": "object", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 29 | "description": "Internal severity for firmware tracking. Use CPER section severity.", |
Ed Tanous | 2d17ace | 2024-08-27 14:45:38 -0700 | [diff] [blame] | 30 | "required": ["code", "name"], |
| 31 | "properties": { |
| 32 | "code": { |
| 33 | "type": "integer", |
| 34 | "minimum": 0 |
| 35 | }, |
| 36 | "name": { |
| 37 | "type": "string" |
| 38 | } |
| 39 | } |
Karthik Rajagopalan | 683e055 | 2024-03-07 12:30:43 -0800 | [diff] [blame] | 40 | }, |
| 41 | "socket": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 42 | "type": "integer", |
| 43 | "description": "Socket the error report originated from." |
Karthik Rajagopalan | 683e055 | 2024-03-07 12:30:43 -0800 | [diff] [blame] | 44 | }, |
Aushim Nagarkatti | 21c2154 | 2024-09-17 12:49:33 -0700 | [diff] [blame] | 45 | "registerCount": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 46 | "type": "integer", |
| 47 | "description": "Number of registers present in registers array." |
Karthik Rajagopalan | 683e055 | 2024-03-07 12:30:43 -0800 | [diff] [blame] | 48 | }, |
| 49 | "instanceBase": { |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 50 | "type": "integer", |
| 51 | "description": "The location the error data was read from." |
Ed Tanous | 2d17ace | 2024-08-27 14:45:38 -0700 | [diff] [blame] | 52 | }, |
| 53 | "registers": { |
| 54 | "type": "array", |
Andrew Adriance | d9835a1 | 2024-12-05 14:41:42 -0800 | [diff] [blame^] | 55 | "description": "Address, value pairs for registers dumped during the error detection.", |
Ed Tanous | 2d17ace | 2024-08-27 14:45:38 -0700 | [diff] [blame] | 56 | "items": { |
| 57 | "type": "object", |
| 58 | "required": ["address", "value"], |
| 59 | "properties": { |
| 60 | "address": { |
| 61 | "type": "integer" |
| 62 | }, |
| 63 | "value": { |
| 64 | "type": "integer" |
| 65 | } |
| 66 | } |
| 67 | } |
Karthik Rajagopalan | 683e055 | 2024-03-07 12:30:43 -0800 | [diff] [blame] | 68 | } |
| 69 | } |
| 70 | } |