Changes between Version 3 and Version 4 of DeveloperGuidelines/EdenMobile/DataFormats


Ignore:
Timestamp:
08/21/19 09:17:08 (6 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/EdenMobile/DataFormats

    v3 v4  
    105105    {"type": "input"
    106106     "field": "fieldname",
    107      "displayLogic": {"field": <fieldname>, op: value}        <== single condition display logic, op = eq|ne|lt|gt|le|ge|in|has (in=belongs, has=contains)
     107     "displayLogic": {"field": <fieldname>, op: value}        <== single condition display logic, op = eq|ne|lt|gt|le|ge,
     108                                                                  multiple op-value-pairs can be specified (all must apply = AND)
    108109     }
    109110
    110      More complex conditions:
     111     More complex expressions:
    111112
    112      "displayLogic": [{...cond...}, {...cond...}]             <== multi-condition display logic, AND assumed
    113      "displayLogic": ["anyOf", {...cond...}, {...cond...}]    <== multi-condition display logic, explicit OR
     113     "displayLogic": [{...cond...}, {...cond...}]                                        <== multi-condition display logic, AND assumed
     114     "displayLogic": ["anyOf", {...cond...}, {...cond...}]                               <== multi-condition display logic, explicit OR
    114115     "displayLogic": ["allOf", ["anyOf", {...condA...}, {...condB...}], {...condC...}]   <== nested multi-condition display logic, translates to "(condA or condB) and condC"
    115116}}}