Schema device.json
Show original (referenced schemas with $ref)
{
"$schema": "http://json-schema.org/draft-04/schema#",
"allOf": [
{ },
{
"properties": {
"controls": {
"description": "Control endpoints exposed for the Device",
"items": {
"properties": {
"href": {
"description": "URL to reach a control endpoint, whether http or otherwise",
"format": "uri",
"type": "string"
},
"type": {
"description": "URN identifying the control format",
"format": "uri",
"type": "string"
}
},
"required": [
"href",
"type"
],
"type": "object"
},
"type": "array"
},
"node_id": {
"description": "Globally unique identifier for the Node which initially created the Device. This attribute is used to ensure referential integrity by registry implementations.",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"type": "string"
},
"receivers": {
"description": "UUIDs of Receivers attached to the Device",
"items": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"type": "string"
},
"type": "array"
},