Skip to content
On this page

Sensors Schema

txt
https://schema.vinv.io/vinv-sensors/0.0.1.json
1

Sensors definition

AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedNoUnknown statusNoForbiddenAllowednonedereferenced.doc.json

Sensors Type

object (Sensors)

Sensors Properties

PropertyTypeRequiredNullableDefined by
locationobjectRequiredcannot be nullSensors
settingsobjectOptionalcannot be nullSensors
sensor_dataarrayOptionalcannot be nullSensors

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

json
{"$ref":"https://schema.vinv.io/vinv-sensors/0.0.1.json#/$defs/device_orientation"}
1
PropertyTypeRequiredNullableDefined by
alphanumberRequiredcannot be nullSensors
betanumberRequiredcannot be nullSensors
gammanumberRequiredcannot be nullSensors
absolutebooleanOptionalcannot be nullSensors

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

  • is required

  • Type: number (Alpha)

  • cannot be null

  • defined in: Sensors

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

json
0
1

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

  • is required

  • Type: number (Beta)

  • cannot be null

  • defined in: Sensors

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

json
0
1

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

  • is required

  • Type: number (Gamma)

  • cannot be null

  • defined in: Sensors

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

json
0
1

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

json
false
1
json
true
1

Released under the GNU GENERAL PUBLIC LICENSE.