blob: aa586a73473201b58db7a8753e698b6d21ab0e64 [file] [log] [blame]
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Schemas for JSON representations of OpenBMC DBus interfaces",
"definitions": {
"xyz": {
"openbmc_project": {
"Inventory": {
"Decorator": {
"Asset": {
"additionalProperties": false,
"properties": {
"Manufacturer": {
"type": "string"
},
"Model": {
"type": "string"
},
"PartNumber": {
"type": "string"
},
"SerialNumber": {
"type": "string"
}
},
"required": [
"Manufacturer",
"Model",
"PartNumber",
"SerialNumber"
],
"type": "object"
},
"AssetTag": {
"additionalProperties": false,
"properties": {
"AssetTag": {
"type": "string"
}
},
"required": ["AssetTag"],
"type": "object"
},
"Compatible": {
"additionalProperties": false,
"properties": {
"Names": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": ["Names"],
"type": "object"
},
"Replaceable": {
"additionalProperties": false,
"properties": {
"FieldReplaceable": {
"type": "boolean"
},
"HotPluggable": {
"type": "boolean"
}
},
"required": ["FieldReplaceable", "HotPluggable"],
"type": "object"
},
"Slot": {
"additionalProperties": false,
"properties": {
"SlotNumber": {
"type": ["string", "number"]
}
},
"required": ["SlotNumber"],
"type": "object"
},
"Revision": {
"additionalProperties": false,
"properties": {
"Version": {
"type": "string"
}
},
"required": ["Version"],
"type": "object"
}
},
"Item": {
"Board": {
"Motherboard": {
"additionalProperties": false,
"properties": {
"ProductId": {
"type": "number"
}
},
"required": ["ProductId"],
"type": "object"
}
},
"Chassis": {
"additionalProperties": false,
"type": "object"
},
"NetworkInterface": {
"additionalProperties": false,
"properties": {
"MACAddress": {
"type": "string"
}
},
"required": ["MACAddress"],
"type": "object"
},
"Panel": {
"additionalProperties": false,
"type": "object"
},
"System": {
"additionalProperties": false,
"type": "object"
}
}
},
"Common": {
"UUID": {
"additionalProperties": false,
"properties": {
"UUID": {
"type": "string"
}
},
"required": ["UUID"],
"type": "object"
}
}
}
}
}
}