summaryrefslogtreecommitdiffstats
path: root/test/json-mapped/nested-repeats-2/map.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
commitc484829272cd13a738e35412498e12f2c9a194ac (patch)
treea1f5ec09629ee895bd3963fa8820b45f2f4c574b /test/json-mapped/nested-repeats-2/map.json
parentInitial commit. (diff)
downloadliborcus-upstream/0.19.2.tar.xz
liborcus-upstream/0.19.2.zip
Adding upstream version 0.19.2.upstream/0.19.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--test/json-mapped/nested-repeats-2/map.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/json-mapped/nested-repeats-2/map.json b/test/json-mapped/nested-repeats-2/map.json
new file mode 100644
index 0000000..293462d
--- /dev/null
+++ b/test/json-mapped/nested-repeats-2/map.json
@@ -0,0 +1,24 @@
+{
+ "sheets": ["nested repeats 2"],
+
+ "ranges": [
+ {"sheet": "nested repeats 2",
+ "row": 1,
+ "column": 0,
+
+ "fields": [
+ {"path": "$[]['parent']"},
+ {"path": "$[]['data'][]['category']"},
+ {"path": "$[]['data'][]['records'][]['id']"},
+ {"path": "$[]['data'][]['records'][]['ref']"},
+ {"path": "$[]['data'][]['region']"}
+ ],
+
+ "row-groups": [
+ {"path": "$"},
+ {"path": "$[]['data']"},
+ {"path": "$[]['data'][]['records']"}
+ ]
+ }
+ ]
+}