blob: 5b0458373e19e087c2cf8e369dcf403329799fc0 [file] [log] [blame]
Karthik Rajagopalan683e0552024-03-07 12:30:43 -08001{
Karthik Rajagopalan683e0552024-03-07 12:30:43 -08002 "$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 Nagarkatti21c21542024-09-17 12:49:33 -070010 "registerCount",
Karthik Rajagopalan683e0552024-03-07 12:30:43 -080011 "instanceBase"
12 ],
13 "additionalProperties": false,
14 "properties": {
15 "signature": {
Andrew Adrianced9835a12024-12-05 14:41:42 -080016 "type": "string",
17 "description": "IP Signature Name."
Karthik Rajagopalan683e0552024-03-07 12:30:43 -080018 },
19 "errorType": {
Andrew Adrianced9835a12024-12-05 14:41:42 -080020 "type": "integer",
21 "description": "Error type within the IP block."
Karthik Rajagopalan683e0552024-03-07 12:30:43 -080022 },
23 "errorInstance": {
Andrew Adrianced9835a12024-12-05 14:41:42 -080024 "type": "integer",
25 "description": ""
Karthik Rajagopalan683e0552024-03-07 12:30:43 -080026 },
27 "severity": {
Ed Tanous2d17ace2024-08-27 14:45:38 -070028 "type": "object",
Andrew Adrianced9835a12024-12-05 14:41:42 -080029 "description": "Internal severity for firmware tracking. Use CPER section severity.",
Ed Tanous2d17ace2024-08-27 14:45:38 -070030 "required": ["code", "name"],
31 "properties": {
32 "code": {
33 "type": "integer",
34 "minimum": 0
35 },
36 "name": {
37 "type": "string"
38 }
39 }
Karthik Rajagopalan683e0552024-03-07 12:30:43 -080040 },
41 "socket": {
Andrew Adrianced9835a12024-12-05 14:41:42 -080042 "type": "integer",
43 "description": "Socket the error report originated from."
Karthik Rajagopalan683e0552024-03-07 12:30:43 -080044 },
Aushim Nagarkatti21c21542024-09-17 12:49:33 -070045 "registerCount": {
Andrew Adrianced9835a12024-12-05 14:41:42 -080046 "type": "integer",
47 "description": "Number of registers present in registers array."
Karthik Rajagopalan683e0552024-03-07 12:30:43 -080048 },
49 "instanceBase": {
Andrew Adrianced9835a12024-12-05 14:41:42 -080050 "type": "integer",
51 "description": "The location the error data was read from."
Ed Tanous2d17ace2024-08-27 14:45:38 -070052 },
53 "registers": {
54 "type": "array",
Andrew Adrianced9835a12024-12-05 14:41:42 -080055 "description": "Address, value pairs for registers dumped during the error detection.",
Ed Tanous2d17ace2024-08-27 14:45:38 -070056 "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 Rajagopalan683e0552024-03-07 12:30:43 -080068 }
69 }
70}