From 47d1bae0756ff73eb15ec9020f806db7a8f94bf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Tue, 9 May 2017 19:57:12 +0200 Subject: [PATCH] Remove config-schema.json because it's outdated and its ongoing maintenance would be overly laborious. Closes #46. --- .../src/config-serializer/config-schema.json | 156 ------------------ 1 file changed, 156 deletions(-) delete mode 100644 shared/src/config-serializer/config-schema.json diff --git a/shared/src/config-serializer/config-schema.json b/shared/src/config-serializer/config-schema.json deleted file mode 100644 index 79188621..00000000 --- a/shared/src/config-serializer/config-schema.json +++ /dev/null @@ -1,156 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "UHK Configuration", - "description": "UHK Configuration", - "type": "object", - "properties": { - "prologue": { - "description": "Prologue", - "type": "integer" - }, - "keymaps": { - "description": "Array of keymaps", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "Id of the keymap", - "type": "integer" - }, - "isDefault": { - "type": "boolean" - }, - "layers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "modules": { - "type": "array", - "items": { - "type": "object", - "properties": { - "keyActions": { - "type": "array", - "items": { - "type": [ - "null", - "object" - ], - "properties": { - "keyActionType": { - "type": "string", - "enum": [ - "keystroke", - "switchLayer", - "switchKeymap", - "playMacro", - "mouse" - ] - } - }, - "required": [ - "keyActionType" - ], - "anyOf": [ - { - "properties": { - "keyActionType": { - "type": "string", - "enum": [ - "mouse" - ] - }, - "mouseAction": { - "type": "string", - "enum": [ - "leftClick", - "middleClick", - "rightClick", - "moveUp", - "moveDown", - "moveLeft", - "moveRight", - "scrollUp", - "scrollDown", - "scrollLeft", - "scrollRight", - "accelerate", - "decelerate" - ] - } - } - }, - { - "type": "object", - "properties": { - "keyActionType": { - "type": "string", - "enum": [ - "keystroke" - ] - }, - "scancode": { - "type": "integer" - } - } - }, - { - "type": "object", - "properties": { - "keyActionType": { - "type": "string", - "enum": [ - "switchLayer" - ] - }, - "layer": { - "type": "string" - }, - "toggle": { - "type": "boolean" - } - } - }, - { - "type": "object", - "properties": { - "keyActionType": { - "type": "string", - "enum": [ - "switchKeymap" - ] - }, - "keymapId": { - "type": "integer" - } - } - }, - { - "properties": { - "keyActionType": { - "type": "string", - "enum": [ - "playMacro" - ] - }, - "macroIndex": { - "type": "integer" - } - } - } - ] - } - } - } - } - } - } - } - } - } - } - } - } -} \ No newline at end of file