summaryrefslogtreecommitdiffstats
path: root/test/json-mapped/nested-repeats/map.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/json-mapped/nested-repeats/map.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/json-mapped/nested-repeats/map.json b/test/json-mapped/nested-repeats/map.json
new file mode 100644
index 0000000..668863e
--- /dev/null
+++ b/test/json-mapped/nested-repeats/map.json
@@ -0,0 +1,22 @@
+{
+ "sheets": ["nested repeats"],
+
+ "ranges": [
+ {"sheet": "nested repeats",
+ "row": 3,
+ "column": 2,
+
+ "fields": [
+ {"path": "$['data'][]['category']"},
+ {"path": "$['data'][]['records'][]['id']"},
+ {"path": "$['data'][]['records'][]['ref']"},
+ {"path": "$['data'][]['region']"}
+ ],
+
+ "row-groups": [
+ {"path": "$['data']"},
+ {"path": "$['data'][]['records']"}
+ ]
+ }
+ ]
+}