xref: /openbmc/libcper/specification/json/sections/cper-nvidia-event-data-type2.json (revision 51c1813200b42fa35d49eb0c214339ac479f090d)
1{
2    "$schema": "https://json-schema.org/draft/2020-12/schema",
3    "$id": "cper-json-nvidia-event-data-type2",
4    "type": "object",
5    "description": "Type 2 context data (dataFormatType=2) - 32-bit key-value pairs",
6    "additionalProperties": false,
7    "required": ["keyValArray32"],
8    "properties": {
9        "keyValArray32": {
10            "type": "array",
11            "items": {
12                "type": "object",
13                "required": ["key32", "val32"],
14                "additionalProperties": false,
15                "properties": {
16                    "key32": { "type": "integer", "minimum": 0 },
17                    "val32": { "type": "integer", "minimum": 0 }
18                }
19            }
20        },
21        "data": { "type": "string", "pattern": "^[A-Za-z0-9+/]*={0,2}$" }
22    }
23}
24