From a5e6e6176ecba01660de2af5c729a9cbfba521c5 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Wed, 27 Jan 2021 19:46:16 +0100 Subject: [PATCH] Added texture_list json validation --- resource/textures/texture_list.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 resource/textures/texture_list.json diff --git a/resource/textures/texture_list.json b/resource/textures/texture_list.json new file mode 100644 index 00000000..3f872135 --- /dev/null +++ b/resource/textures/texture_list.json @@ -0,0 +1,12 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "title": "Texture list", + "description": "A list of texture to load in", + "type": "array", + "items": { + "title": "Filepath", + "type": "string", + "pattern": "^textures/", + "examples": ["textures/blocks/"] + } +} \ No newline at end of file