Changes between Version 3 and Version 4 of DeveloperGuidelines/EdenMobile/DataFormats
- Timestamp:
- 08/21/19 09:17:08 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/EdenMobile/DataFormats
v3 v4 105 105 {"type": "input" 106 106 "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) 108 109 } 109 110 110 More complex conditions:111 More complex expressions: 111 112 112 "displayLogic": [{...cond...}, {...cond...}] <== multi-condition display logic, AND assumed113 "displayLogic": ["anyOf", {...cond...}, {...cond...}] <== multi-condition display logic, explicit OR113 "displayLogic": [{...cond...}, {...cond...}] <== multi-condition display logic, AND assumed 114 "displayLogic": ["anyOf", {...cond...}, {...cond...}] <== multi-condition display logic, explicit OR 114 115 "displayLogic": ["allOf", ["anyOf", {...condA...}, {...condB...}], {...condC...}] <== nested multi-condition display logic, translates to "(condA or condB) and condC" 115 116 }}}