{ "$schema": "https://json-schema.org/draft-07/schema", "$id": "https://harp-tech.org/draft-03/schema/device.json", "type": "object", "allOf": [ { "properties": { "device": { "description": "Specifies the name of the device.", "type": "string" }, "whoAmI": { "description": "Specifies the unique identifier for this device type.", "type": "integer" }, "firmwareVersion": { "description": "Specifies the version of the device firmware.", "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$", "type": "string" }, "hardwareTargets": { "description": "Specifies the version of the device hardware.", "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$", "type": "string" }, "registers": { "additionalProperties": { "properties": { "address": { "minimum": 32 } } } } }, "required": ["device", "whoAmI", "firmwareVersion", "hardwareTargets"] }, { "$ref": "core.json" } ] }