diff options
Diffstat (limited to 'js/schema.json')
| -rw-r--r-- | js/schema.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/js/schema.json b/js/schema.json new file mode 100644 index 000000000..bc08652e0 --- /dev/null +++ b/js/schema.json @@ -0,0 +1,20 @@ +{ + "type": "object", + "properties": { + "type": { + "const": "storage.write" + }, + "properties": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "body": {} + }, + "required": ["key", "body"] + } + }, + "required": ["type", "properties"], + "$schema": "https://json-schema.org/draft-2020-12/schema" +} |
