From 944d90533c9a199ad6803c9f33f50889a3f7d5c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sun, 11 Jun 2017 21:52:06 +0200 Subject: [PATCH] define tree of categories in one json file --- index.json | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/index.json b/index.json index b8098b5..ca2bbd6 100644 --- a/index.json +++ b/index.json @@ -2,12 +2,19 @@ "type": "index", "subCategories": [ { - "id": "gastro", - "name:en": "Gastronomy" - }, - { - "id": "shop", - "name:en": "Shopping" + "id": "leisure", + "type": "index", + "name:en": "Leisure, Sport and Shopping", + "subCategories": [ + { + "id": "gastro", + "name:en": "Gastronomy" + }, + { + "id": "shop", + "name:en": "Shopping" + } + ] }, { "id": "trees",