diff options
| author | Dax Raad <[email protected]> | 2025-05-19 15:43:14 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-05-26 12:40:17 -0400 |
| commit | 652429377b99085d686d6b907c2f550c304e6b98 (patch) | |
| tree | e4fa0de6b0503885c76bb77e1e0d0e7d56e5117e /js/schema.json | |
| parent | 99af6146d5def31c59993636d60eb75a483a283b (diff) | |
| download | opencode-652429377b99085d686d6b907c2f550c304e6b98.tar.gz opencode-652429377b99085d686d6b907c2f550c304e6b98.zip | |
sync
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" +} |
