forked from faucetsdn/udmi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetadata.json
52 lines (52 loc) · 1.24 KB
/
metadata.json
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
42
43
44
45
46
47
48
49
50
51
52
{
"title": "Metadata",
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"required": [
"timestamp",
"version",
"system"
],
"properties": {
"timestamp": {
"description": "RFC 3339 timestamp the metadata was generated",
"type": "string",
"format": "date-time",
"examples": ["2019-01-17T14:02:29.364Z"]
},
"version": {
"description": "Major version of the UDMI schema",
"type": "integer",
"minimum": 1,
"maximum": 1
},
"description": {
"description": "Generic human-readable text describing the device",
"type": "string"
},
"hash": {
"description": "Automatically generated field that contains the hash of file contents.",
"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#"
},
"testing": {
"$ref": "file:metadata_testing.json#"
},
"pointset": {
"$ref": "file:metadata_pointset.json#"
}
}
}