JSON (JavaScript Object Notation) is a standard text-based format for representing structured data based on JavaScript object syntax. Simply put, it’s a format that humans can easily read, write and understand; one that machines can easily parse and generate. We use JSON to represent the Oraculi modules as you can easily understand what to do.

The values within a JSON payload can take in various data types. For example; strings (a sequence of characters), boolean (true or false), arrays, numbers etc. When creating or editing your decision model, be sure that you use the right data type before you proceed

JSON format follows a set of rules and conventions:

  1. Data Structure: JSON represents data in a hierarchical structure using key-value pairs. The data is organized into objects (enclosed in curly braces {}) and arrays (enclosed in square brackets []).

  2. Objects: An object in JSON consists of key-value pairs, where each key is a string enclosed in double quotation marks ("") followed by a colon (:), and the corresponding value can be any valid JSON data type (object, array, string, number, Boolean, or null).

Note: If you do use the wrong data type, you will be unable to save the changes in the module. This is a check to ensure that your module is in the correct format.