forked from faucetsdn/udmi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetadata.json
More file actions
41 lines (41 loc) · 790 Bytes
/
metadata.json
File metadata and controls
41 lines (41 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"title": "Device metadata schema",
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"required": [
"timestamp",
"version",
"system"
],
"properties": {
"timestamp": {
"type": "string",
"format": "date-time"
},
"version": {
"enum": [
1
]
},
"hash": {
"type": "string",
"pattern": "^[0-9a-z]{8}$"
},
"cloud": {
"$ref": "file:metadata_cloud.json#"
},
"system": {
"$ref": "file:metadata_system.json#"
},
"gateway": {
"$ref": "file:metadata_gateway.json#"
},
"localnet": {
"$ref": "file:metadata_localnet.json#"
},
"pointset": {
"$ref": "file:metadata_pointset.json#"
}
}
}