-
Notifications
You must be signed in to change notification settings - Fork 49
/
state_pointset.json
47 lines (47 loc) · 1.71 KB
/
state_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
45
46
47
{
"$udmi_version": "1.5.2",
"title": "Pointset State",
"description": "A set of points reporting telemetry data.",
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"timestamp": {
"description": "Not included in messages published by devices. Part of message subblocks within cloud pipeline. RFC 3339 Timestamp the payload was generated",
"type": "string",
"format": "date-time",
"examples": ["2019-01-17T14:02:29.364Z"]
},
"version": {
"description": "Version of the UDMI schema, not included in messages published by devices",
"type": "string"
},
"state_etag": {
"description": "An identifier which uniquely represents the state, and used by a device avoid race conditions where the incoming config is based off an obsolete state. [Additional information on implementation](../docs/specs/sequences/writeback.md)",
"type": "string",
"maxLength": 32
},
"status": {
"description": "Optional status information about pointset",
"$ref": "file:entry.json"
},
"points": {
"description": "Collection of point names, defining the representative point set for this device.",
"additionalProperties": false,
"existingJavaType": "java.util.HashMap<String, PointPointsetState>",
"patternProperties": {
"^[a-z][a-z0-9]*(_[a-z0-9]+)*$": {
"description": "Object representation for for a single point",
"$ref": "file:state_pointset_point.json#"
}
}
},
"upgraded_from": {
"description": "Original version of schema pre-upgrade",
"type": "string"
}
},
"required": [
"points"
]
}