http://maasglobal.com/core/iot-thing-shadow.json
Schema for MaaS thing shadow
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
|---|---|---|---|---|---|---|
| Can be instantiated | No | Develop | No | Forbidden | Permitted | core/iot-thing-shadow.json |
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| desired | object |
Optional | No | iot-thing-shadow (this schema) |
| reported | object |
Optional | No | iot-thing-shadow (this schema) |
* |
any | Additional | Yes | this schema allows additional properties |
desired
objectobject with following properties:
| Property | Type | Required | | ——– | —- | ——– |
reported
objectobject with following properties:
| Property | Type | Required |
|---|---|---|
leg |
object | Optional |
location |
object | Optional |
leg
objectobject with following properties:
| Property | Type | Required |
|---|---|---|
id |
string | Optional |
state |
string | Optional |
timestamp |
integer | Optional |
Universally unique identifier, see https://en.wikipedia.org/wiki/Universally_unique_identifier
id
string
All instances must conform to this regular expression
^[A-Fa-f0-9]{8}(-[A-Fa-f0-9]{4}){3}-[A-Fa-f0-9]{12}$
4828507e-683f-41bf-9d87-689808fbf958
The life-cycle state of a leg
state
The value of this property must be equal to one of the known values below.
| Value | Description | | —– | ———– |
POSIX time in milliseconds, https://en.wikipedia.org/wiki/Unix_time
timestamp
integer
14516064009007199254740991location
objectobject with following properties:
| Property | Type | Required |
|---|---|---|
lat |
number | Optional |
legId |
string | Optional |
lon |
number | Optional |
timestamp |
integer | Optional |
Geographic latitude (north-south axis) in WGS-84 system, see https://en.wikipedia.org/wiki/World_Geodetic_System
lat
number
-9090Universally unique identifier, see https://en.wikipedia.org/wiki/Universally_unique_identifier
legId
string
All instances must conform to this regular expression
^[A-Fa-f0-9]{8}(-[A-Fa-f0-9]{4}){3}-[A-Fa-f0-9]{12}$
4828507e-683f-41bf-9d87-689808fbf958
Geographic longitude (east-west axis) in WGS-84 system, see https://en.wikipedia.org/wiki/World_Geodetic_System
lon
number
-180180POSIX time in milliseconds, https://en.wikipedia.org/wiki/Unix_time
timestamp
integer
14516064009007199254740991