Skip to content
Krzysztof Słysz edited this page Dec 13, 2021 · 4 revisions

Fields

To build a rule, you need to use base field, property or property function. There is the list of available fields:

Base fields

  • id - (Numeric) data id
  • tagId - (Numeric) tag id
  • owner - (String) the user name that reserved data
  • reserved - (Boolean) is data reserved or not
  • properties - (JSON) properties defined by users
  • createdAt - (Datetime) date and time of creation
  • createdBy - (String) the user name that created data
  • modifiedAt - (Datetime) date and time of the last modification
  • modifiedBy - (String) the user name that last modified data

Properties

Data stored in the properties field. This are defined by users. Use JSON path to refer to the property. Examples:

  • $.name - returns the "name" property from root node
  • $.address.street - returns the "street" property from "address" subnode

Property's functions

Be aware, the property is an example of the property's name. Your property's name is probably different.

  • $.property.exists() - Whether the property exists
  • $.property.notExists() - Whether the property not exists
  • $.property.isNull() - Whether the property is null
  • $.property.isNotNull() - Whether the property is not null
  • $.property.length() - the number of elements in the array
Clone this wiki locally