The Xentara ONNX Engine v2.0
User Manual
JSON Format for ONNX Engine Input Scalar

A JSON object describing a Scalar has following syntax:

{
"name": "input",
"dataPoints": [
"3rd Floor.Room 301.Pressure",
"3rd Floor.Room 301.Temperature"
],
"type": "scalar",
"dataType": "FLOAT"
}

Object Members
nameA string value containing the input name of the selected input of the model.
datapointsA JSON array containing the data points assigned as inputs.
dataTypeA string value containing the data type of the model.
  • FLOAT Defines input as float 32bit.
  • DOUBLE Defines input as float 64bit.
  • INT8 Defines input as signed integer 8bit.
  • INT16 Defines input as signed integer 16bit.
  • INT32 Defines input as signed integer 32bit.
  • INT64 Defines input as signed integer 64bit.
  • UINT8 Defines input as unsigned integer 8bit.
  • UINT16 Defines input as unsigned integer 16bit.
  • UINT32 Defines input as unsigned integer 32bit.
  • UINT64 Defines input as unsigned integer 64bit.
  • BOOL Defines input as Boolean value.
typeA string value describing the type of the model. For the Scalar model required "scalar" or the parameter can be omitted.

Please remember that each element block requires two layers of {} due to the syntax restrictions of the JSON format.