Skip to content

Data Types

Javier Molina edited this page May 16, 2019 · 11 revisions

Data types

Each object in the dataModel element above should have the following structure:

{
    "dataType": <data type>
    "name": <string>
    "constraints": <array or computed expression>
    "computed": <computed expression object>
    "validate": <list of validation strings>
}

Supported data types

  • text
  • stringList
  • number
  • date
  • time
  • set
  • list
  • species
  • image
  • boolean
  • document
  • feature
  • geoMap
  • photoPoints

stringList

Purpose

Stores a list of strings

View types that can use it

  • selectMany
  • select2Many
  • selectManyCombo

Parameters

constraints

Optional list that constrain the possible values contained in each entry of the stringList

Example

SelectMany View Type and stringList Data Type Example

Clone this wiki locally