forked from faucetsdn/udmi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevents_pointset.json
44 lines (44 loc) · 1.34 KB
/
events_pointset.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
{
"$udmi_version": "1.5.2",
"title": "Pointset Events",
"description": "A set of points reporting telemetry data. [Pointset Events Documentation](../docs/messages/pointset.md#telemetry)",
"$section": "Messages",
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"timestamp": {
"description": "RFC 3339 UTC timestamp the telemetry event was generated",
"type": "string",
"format": "date-time",
"examples": ["2019-01-17T14:02:29.364Z"]
},
"version": {
"description": "Version of the UDMI schema",
"type": "string"
},
"upgraded_from": {
"description": "Original version of schema pre-upgrade",
"type": "string"
},
"partial_update": {
"description": "Indicates if this is a partial update (only some points may be included)",
"type": "boolean"
},
"points": {
"description": "Collection of point names, defining the representative point set for this device.",
"additionalProperties": false,
"existingJavaType": "java.util.HashMap<String, PointPointsetEvents>",
"patternProperties": {
"^[a-z][a-z0-9]*(_[a-z0-9]+)*$": {
"$ref": "file:events_pointset_point.json#"
}
}
}
},
"required": [
"timestamp",
"version",
"points"
]
}