Sensors Schema
https://schema.vinv.io/vinv-sensors/0.0.1.json
Sensors definition
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | dereferenced.doc.json |
Sensors Type
object
(Sensors)
Sensors Properties
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
location | object | Required | cannot be null | Sensors |
settings | object | Optional | cannot be null | Sensors |
sensor_data | array | Optional | cannot be null | Sensors |
location
location
location Type
object
(Location)
settings
Settings for the device orientation sensor.
settings
settings Type
object
(Settings)
sensor_data
The device orientation sensor provides information about the physical orientation of a hosting device. This data includes the rotation of the device around three axes in three-dimensional space.
sensor_data
sensor_data Type
object[]
(Details)
Sensors Definitions
Definitions group device_orientation
Reference this group by using
{"$ref":"https://schema.vinv.io/vinv-sensors/0.0.1.json#/$defs/device_orientation"}
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
alpha | number | Required | cannot be null | Sensors |
beta | number | Required | cannot be null | Sensors |
gamma | number | Required | cannot be null | Sensors |
absolute | boolean | Optional | cannot be null | Sensors |
alpha
The z-axis rotation of the device, in degrees, around the z-axis. This value represents the compass direction the device is facing.
alpha
alpha Type
number
(Alpha)
alpha Constraints
maximum: the value of this number must smaller than or equal to: 360
minimum: the value of this number must greater than or equal to: 0
alpha Examples
0
alpha Access Restrictions
The value of this property is managed exclusively by the owning authority, and attempts by an application to modify the value of this property are expected to be ignored or rejected by that owning authority
beta
The x-axis rotation of the device, in degrees, around the x-axis. This value represents the front-to-back tilt of the device.
beta
beta Type
number
(Beta)
beta Constraints
maximum: the value of this number must smaller than or equal to: 180
minimum: the value of this number must greater than or equal to: -180
beta Examples
0
gamma
The y-axis rotation of the device, in degrees, around the y-axis. This value represents the left-to-right tilt of the device.
gamma
gamma Type
number
(Gamma)
gamma Constraints
maximum: the value of this number must smaller than or equal to: 90
minimum: the value of this number must greater than or equal to: -90
gamma Examples
0
absolute
A boolean value that indicates whether the device's orientation is provided as relative to the Earth's coordinate system or as relative to the device's coordinate system.
absolute
absolute Type
boolean
(Absolute)
absolute Examples
false
true