From 0e4ab652fe4e661e44592f240abdc2bc89c42a58 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 19 Oct 2024 07:49:29 +0000 Subject: docs: add json schema for reference --- yae.schema.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 yae.schema.json 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" } + } + } +} -- cgit v1.2.3