diff options
| author | Fuwn <[email protected]> | 2024-10-19 00:49:29 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-19 00:49:29 -0700 |
| commit | e0f5cf0118232644dfa28446cc289962573d920a (patch) | |
| tree | 068b06dc2ad98be55aa63a5f271cb60eef92f78e | |
| parent | 02473b347b1f2aaea58fbb92cb19b76727bce2d3 (diff) | |
| download | yae-e0f5cf0118232644dfa28446cc289962573d920a.tar.xz yae-e0f5cf0118232644dfa28446cc289962573d920a.zip | |
docs: add json schema for reference
| -rw-r--r-- | yae.schema.json | 22 |
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" } + } + } +} |