aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-19 00:49:29 -0700
committerFuwn <[email protected]>2024-10-19 00:49:29 -0700
commite0f5cf0118232644dfa28446cc289962573d920a (patch)
tree068b06dc2ad98be55aa63a5f271cb60eef92f78e
parent02473b347b1f2aaea58fbb92cb19b76727bce2d3 (diff)
downloadyae-e0f5cf0118232644dfa28446cc289962573d920a.tar.xz
yae-e0f5cf0118232644dfa28446cc289962573d920a.zip
docs: add json schema for reference
-rw-r--r--yae.schema.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/yae.schema.json b/yae.schema.json
new file mode 100644
index 0000000..04a0e75
--- /dev/null
+++ b/yae.schema.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "type": "object",
+ "properties": { "$schema": { "type": "string" } },
+ "additionalProperties": {
+ "type": "object",
+ "required": ["url", "sha256", "unpack", "type"],
+ "additionalProperties": false,
+ "properties": {
+ "url": { "type": "string" },
+ "sha256": { "type": "string" },
+ "unpack": { "type": "boolean" },
+ "type": { "type": "string" },
+ "version": { "type": "string" },
+ "url_template": { "type": "string" },
+ "tag_predicate": { "type": "string" },
+ "trim_tag_prefix": { "type": "string" },
+ "pinned": { "type": "boolean" },
+ "force": { "type": "boolean" }
+ }
+ }
+}