Xentara v2.0.4
User Manual
JSON Format for Registers

A JSON object describing a register has the following syntax:

{
"@Skill.SignalFlow.Register": {
"name": "Register 1",
"UUID": "68462001-920e-46cb-8676-15f35aac68fc",
"ACL": { ... },
"defaultValue": [ "uint16", 0 ]
}
}

Object Members
nameA string value containing the name of the register. The name is used to construct the register’s primary key.
UUIDA string value containing the unique UUID of the register.
ACLAn optional JSON object containing the element ACL of the register. The format of the object is described under JSON Format for ACLs.
defaultValue

A JSON array containing the data type and the initial value.

The following data types are supported:

Keyword Data Type
"int8" 8 bit signed integer
"int16" 16 bit signed integer
"int32" 32 bit signed integer
"int64" 64 bit signed integer
"uint8" 8 bit usigned integer
"uint16" 16 bit usigned integer
"uint32" 32 bit unsigned integer
"uint64" 64 bit unsigned integer
"float32" single precision floating point number
"float64" double precision floating point number
"bool" Boolean value
"string" String
"timeStamp" Time stamp
"UUID" UUID

The initial value must be a valid value for the specified data type. The format used for time stamps is described under JSON Format for Time Stamps.