Jagpal Singh Gill | e6fc3b7 | 2024-11-20 18:09:28 -0800 | [diff] [blame] | 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | "$defs": { |
| 4 | "FirmwareInfoDef": { |
| 5 | "description": "This indicates the properties which apply to all firmwares", |
| 6 | "type": "object", |
| 7 | "properties": { |
| 8 | "VendorIANA": { |
| 9 | "description": "The IANA Enterprise Id of the hardware vendor", |
| 10 | "type": "number" |
| 11 | }, |
| 12 | "CompatibleHardware": { |
| 13 | "description": "The compatible hardware with name format com.<vendor>.Hardware.<XXX> specified by vendor in phosphor-dbus-interfaces", |
| 14 | "type": "string" |
| 15 | } |
| 16 | }, |
Jagpal Singh Gill | 34f4d15 | 2025-02-18 22:58:24 -0800 | [diff] [blame] | 17 | "required": ["VendorIANA", "CompatibleHardware"] |
Christopher Meis | d64855f | 2025-01-24 08:36:48 +0100 | [diff] [blame] | 18 | }, |
| 19 | "XDPE1X2XXFirmware": { |
| 20 | "description": "Required information to complete a voltage regulator firmware update", |
| 21 | "object": "object", |
| 22 | "properties": { |
| 23 | "Name": { |
| 24 | "description": "Name of the firmware", |
| 25 | "type": "string" |
| 26 | }, |
| 27 | "Type": { |
| 28 | "description": "The type of configuration object", |
| 29 | "enum": ["XDPE1X2XXFirmware"] |
| 30 | }, |
| 31 | "Bus": { |
| 32 | "description": "I2C bus, the device is connected to", |
| 33 | "type": "integer" |
| 34 | }, |
| 35 | "Address": { |
| 36 | "description": "I2C address of the device", |
| 37 | "type": "integer" |
| 38 | }, |
| 39 | "FirmwareInfo": { |
| 40 | "$ref": "#/$defs/FirmwareInfoDef" |
| 41 | } |
| 42 | }, |
| 43 | "required": ["Name", "Type", "Bus", "Address", "FirmwareInfo"] |
Jagpal Singh Gill | e6fc3b7 | 2024-11-20 18:09:28 -0800 | [diff] [blame] | 44 | } |
| 45 | } |
| 46 | } |