You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-30Lines changed: 17 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,58 +69,45 @@ In the example, this JSON file is hosted at `https://raw.githubusercontent.com/a
69
69
```json
70
70
[
71
71
{
72
-
"query": "type='BasicVehicle' and latitude",
72
+
"description": "Transformation from NGSI v2 models from 'Normalized response representation' (JSON-LD version partially supported) to 'Simplified representation'",
In the example, this JSONata file is hosted at `https://raw.githubusercontent.com/alexandrainst/node-red-contrib-json-multi-schema/master/examples/OldVehicleToVehicle.jsonata.js`
90
+
In the example, this JSONata file is hosted at [`Cesva-TA120-to-NoiseLevelObserved.jsonata.js`](https://raw.githubusercontent.com/alexandrainst/node-red-contrib-json-multi-schema/master/examples/Cesva-TA120-to-NoiseLevelObserved.jsonata.js).
A more advanced example of JSONata transformation can be found in [`NGSI-Normalised-to-keyValues.jsonata.js`](https://raw.githubusercontent.com/alexandrainst/node-red-contrib-json-multi-schema/master/examples/NGSI-Normalised-to-keyValues.jsonata.js).
105
+
119
106
### Example of transformation from command line
120
107
The JSON input messages must each be on one single line, and wrapped into a Node-RED structure `{"payload":...}`
* @copyright Alexandra Institute <https://alexandra.dk> for the SynchroniCity European project <https://synchronicity-iot.eu> as a contribution to FIWARE <https://www.fiware.org>.
8
+
* @license MIT
9
+
* @date 2019-12-13 / 2019-12-17
10
+
*/
11
+
(
12
+
$fixObj :=function($v,$k){
13
+
/* Ensure ISO 8601 date format for minor syntax errors like missing timezone, or produce an error */
0 commit comments