ym88659208ym87991671
Device model (model) | Documentation SmartMarket
Skip to main content

Device model (model)

The structure describes characteristics and functions of the model of a device, such as a lamp or a socket.

FieldTypeMandatory?Description
idstring✔︎Model ID (often product_id)
manufacturerstring✔︎Manufacturer
modelstring✔︎Full model name
hw_versionstringEquipment version
sw_versionstringFirmware version
descriptionstringDescription
categorystring✔︎Device category (see Devices)
featureslist<string>✔︎List of functions (see Device functions)
dependenciesmap<string, object>Function dependencies (see Function dependencies (dependencies)
{
"id": string,
"manufacturer": string,
"model": string,
"hw_version": string,
"sw_version": string,
"description": string,
"category": string,
"features": [
string,
string,
// ...
],
"dependencies": {
"func_name": {
"key": "string",
"values": [
{
"type": string,
"type_value": object
},
{
// ...
},
]
},
{
// ...
}
}
}