blob: 43ca251dda3ee40c900e7b5dbeedcb42f3359c18 [file] [log] [blame]
{
"$id": "cper-json-cxl-protocol-section",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"required": ["validationBits", "agentType", "agentAddress", "deviceID", "deviceSerial", "capabilityStructure", "dvsecLength", "errorLogLength", "cxlDVSEC", "cxlErrorLog"],
"additionalProperties": false,
"properties": {
"validationBits": {
"type": "object",
"required": ["cxlAgentTypeValid", "cxlAgentAddressValid", "deviceIDValid", "deviceSerialValid", "capabilityStructureValid", "cxlDVSECValid", "cxlErrorLogValid"],
"properties": {
"cxlAgentTypeValid": {
"type": "boolean"
},
"cxlAgentAddressValid": {
"type": "boolean"
},
"deviceIDValid": {
"type": "boolean"
},
"deviceSerialValid": {
"type": "boolean"
},
"capabilityStructureValid": {
"type": "boolean"
},
"cxlDVSECValid": {
"type": "boolean"
},
"cxlErrorLogValid": {
"type": "boolean"
}
}
},
"agentType": {
"type": "object",
"$ref": "../common/cper-json-nvp.json"
},
"agentAddress": {
"type": "object",
"oneOf": [
{
"type": "object",
"required": ["functionNumber", "deviceNumber", "busNumber", "segmentNumber"],
"properties": {
"functionNumber": {
"type": "integer"
},
"deviceNumber": {
"type": "integer"
},
"busNumber": {
"type": "integer"
},
"segmentNumber": {
"type": "integer"
}
}
},
{
"type": "object",
"required": ["value"],
"properties": {
"value": {
"type": "integer"
}
}
}
]
},
"deviceSerial": {
"type": "integer"
},
"capabilityStructure": {
"type": "string"
},
"dvsecLength": {
"type": "integer"
},
"errorLogLength": {
"type": "integer"
},
"cxlDVSEC": {
"type": "string"
},
"cxlErrorLog": {
"type": "string"
}
}
}