blob: ef1f3da12849abc359731405aaa4436980ddcc26 [file] [log] [blame]
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"required": [
"validationBits",
"errorStatus",
"idInfo",
"memoryNumber",
"ioNumber",
"registerDataPairs"
],
"additionalProperties": false,
"properties": {
"validationBits": {
"type": "object",
"description": "Indicates which other fields are valid in the section.",
"required": [
"errorStatusValid",
"idInfoValid",
"memoryNumberValid",
"ioNumberValid",
"registerDataPairsValid"
],
"properties": {
"errorStatusValid": {
"type": "boolean"
},
"idInfoValid": {
"type": "boolean"
},
"memoryNumberValid": {
"type": "boolean"
},
"ioNumberValid": {
"type": "boolean"
},
"registerDataPairsValid": {
"type": "boolean"
}
}
},
"errorStatus": {
"type": "object",
"description": "PCI Component Error Status.",
"$ref": "./common/cper-json-error-status.json"
},
"idInfo": {
"type": "object",
"description": "Identification Information",
"required": [
"vendorID",
"deviceID",
"classCode",
"functionNumber",
"deviceNumber",
"busNumber",
"segmentNumber"
],
"properties": {
"vendorID": {
"type": "integer"
},
"deviceID": {
"type": "integer"
},
"classCode": {
"type": "integer"
},
"functionNumber": {
"type": "integer"
},
"deviceNumber": {
"type": "integer"
},
"busNumber": {
"type": "integer"
},
"segmentNumber": {
"type": "integer"
}
}
},
"memoryNumber": {
"type": "integer",
"description": "Number of PCI Component Memory Mapped register address/data pair values present in this structure."
},
"ioNumber": {
"type": "integer",
"description": "Number of PCI Component Programmed IO register address/data pair values present in this structure."
},
"registerDataPairs": {
"type": "array",
"description": "An array of address/data pair values.",
"items": {
"type": "object",
"required": ["firstHalf", "secondHalf"],
"properties": {
"firstHalf": {
"type": "integer"
},
"secondHalf": {
"type": "integer"
}
}
}
}
}
}