blob: ef1b9c6f37017021d87c6a8569d48b930d9f1fb9 [file] [log] [blame]
Lawrence Tang079d5812022-07-12 14:15:32 +01001{
2 "$id": "cper-json-cxl-component-section",
3 "$schema": "https://json-schema.org/draft/2020-12/schema",
4 "type": "object",
Lawrence Tang42375842022-07-19 16:25:47 +01005 "required": ["length", "validationBits", "deviceID", "deviceSerial"],
Lawrence Tang079d5812022-07-12 14:15:32 +01006 "additionalProperties": false,
7 "properties": {
Lawrence Tang42375842022-07-19 16:25:47 +01008 "length": {
9 "type": "integer"
10 },
Lawrence Tang079d5812022-07-12 14:15:32 +010011 "validationBits": {
12 "type": "object",
13 "required": ["deviceIDValid", "deviceSerialValid", "cxlComponentEventLogValid"],
14 "properties": {
15 "deviceIDValid": {
16 "type": "boolean"
17 },
18 "deviceSerialValid": {
19 "type": "boolean"
20 },
21 "cxlComponentEventLogValid": {
22 "type": "boolean"
23 }
24 }
25 },
26 "deviceID": {
27 "type": "object",
28 "required": ["vendorID", "deviceID", "functionNumber", "deviceNumber", "busNumber", "segmentNumber", "slotNumber"],
29 "properties": {
30 "vendorID": {
31 "type": "integer"
32 },
33 "deviceID": {
34 "type": "integer"
35 },
36 "functionNumber": {
37 "type": "integer"
38 },
39 "deviceNumber": {
40 "type": "integer"
41 },
42 "busNumber": {
43 "type": "integer"
44 },
45 "segmentNumber": {
46 "type": "integer"
47 },
48 "slotNumber": {
49 "type": "integer"
50 }
51 }
52 },
53 "deviceSerial": {
54 "type": "integer"
55 },
56 "cxlComponentEventLog": {
57 "type": "object",
58 "required": ["data"],
59 "properties": {
60 "data": {
61 "type": "string"
62 }
63 }
64 }
65 }
66}