Data

Data are listed bellow:

Device

Data properties:

KeyTypeRequiredDefault value

name

string

Name of the device

description

string

Device description

type

string

required

“device”

Type of entity

supplier

string

required

Supplier blockchain address

owner

string

required

Owner blockchain address

active

boolean

required

Flag signalling if Device is active

visible

boolean

required

Flag signalling if Device is visible

connected

boolean

required

Flag signalling if Device is connected

version

string

required

“1”

Device dApp version

lat

string

Device latitude

lng

string

Device longitude

alt

string

Device altitude

custom

object as stringified JSON

Custom Device properties

key_<assetId>

string - “active” or “inactive”

Key allowed to perform actions

details

Object as stringified JSON

Device details - see schema below

Device details

Data properties:

deviceType

Enum string

Device type

Supported values:

'car barrier' | 'human barrier' | 'elevator' | 'human' | 'mobile' | 'other'

deviceModel

string

Device model

additionalDescription

string

Additional description

assetUrl

string

URL to an optional asset(like an image)

url

string

URL related to the Device

contactInfo

string

Contact info to the owner of the Device

physicalAddress

object

Physical Address of the Device - see schema below

Physical address

Data properties:

Key

Type

Description

addressLine1

string

Device address

addressLine2

string

Device address cd.

city

string

City

postcode

string

Postcode

state

string

State

country

string

Country

number

string

Building number

floor

string

Building floor

NOTE: all properties in Device details and Physical address are optional.

Last updated