From d7e1d5de72e073f7bfa12ad81502ec5160dbde34 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Tue, 8 Jun 2021 08:31:35 +0200 Subject: [PATCH] chore: update json schema for mapped_locations closes #776 --- themes/schema.json | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/themes/schema.json b/themes/schema.json index 3a1f19d09772..0bf3844a2380 100644 --- a/themes/schema.json +++ b/themes/schema.json @@ -1169,24 +1169,10 @@ "default": "folder" }, "mapped_locations": { - "type": "array", + "type": "object", "title": "Mapped Locations", "description": "Custom glyph/text for specific paths", - "items": { - "type": "array", - "items": [ - { - "type": "string", - "title": "Filesystem path" - }, - { - "type": "string", - "title": "Replacement text" - } - ], - "minItems": 2, - "maxItems": 2, - "additionalItems": false + "default": {} } }, "mapped_locations_enabled": {