Data Types

In addition to being grouped into streams, tags are automatically categorized into one of several base and extended data types that reflect the values they are associated with. These data types determine how tags are read and which widgets they can be displayed on. After auto-categorization, the Web Standard User and Web Administrator have the ability to change the data type per tag. Below is a list of different data types in the Medium One platform.

Base Types

  • Number: Numeric value, integer or floating-point
  • String: Sequence of characters, surrounded by double quotes " "
  • Boolean: a true or false value
  • Array: unsorted list of any primary data types
  • Null: null values will be accepted but discarded

Extended Types

  • GeoPoint: Submitted as a string following the ISO6709 notation restricted to floating-point values as Latitude, Longitude, Altitude(optional)
    •  "+/-DD.DDDDD +/-DDD.DDDDD +/-DDDDDD.D"
    • Example: "-48.8577 002.295" or "-48.8577 002.295 1"
  • ISO8601 Date/Time: A String primary type following the ISO8601 date/time format.


Type Behavior

Medium One platform additionally distinguishes data behavior as described below. This behavior is only relevant for how the data is visualized on the dashboard widgets and does not affect workflow processing.

  • Time Series: Identifies a data type as being a value changing over time. This is used for visualization in time-based charts and for search and filtering in time-based queries. For example, battery charge measurement is measured and analyzed over time.
  • Last Value: Identifies a data type as being 'static' information, used for group charts or for filtering users within a population. This effectively means "at the present time". For example, zip code or height where effectively only the most current value matters.

Note: Data type auto-detection automatically sets all types of behavior as time series. For a type to be last value, it must be set on the data streams page.