blob: 6e4a543ac378cd935dd028abd4d1ba2e8eb72dda [file] [log] [blame]
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$defs": {
"FirmwareInfoDef": {
"description": "This indicates the properties which apply to all firmwares",
"type": "object",
"properties": {
"VendorIANA": {
"description": "The IANA Enterprise Id of the hardware vendor",
"type": "number"
},
"CompatibleHardware": {
"description": "The compatible hardware with name format com.<vendor>.Hardware.<XXX> specified by vendor in phosphor-dbus-interfaces",
"type": "string"
}
},
"required": ["VendorIANA", "CompatibleHardware"]
},
"XDPE1X2XXFirmware": {
"description": "Required information to complete a voltage regulator firmware update",
"object": "object",
"properties": {
"Name": {
"description": "Name of the firmware",
"type": "string"
},
"Type": {
"description": "The type of configuration object",
"enum": ["XDPE1X2XXFirmware"]
},
"Bus": {
"description": "I2C bus, the device is connected to",
"type": "integer"
},
"Address": {
"description": "I2C address of the device",
"type": "integer"
},
"FirmwareInfo": {
"$ref": "#/$defs/FirmwareInfoDef"
}
},
"required": ["Name", "Type", "Bus", "Address", "FirmwareInfo"]
}
}
}