From 1bfadbd7ac0ea567e7754f0c521f7628a2db01e8 Mon Sep 17 00:00:00 2001 From: Balakrishnan Balasubramanian Date: Sat, 24 Dec 2022 21:25:01 -0500 Subject: [PATCH] Add schema --- schema.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 schema.yaml diff --git a/schema.yaml b/schema.yaml new file mode 100644 index 0000000..5f767bb --- /dev/null +++ b/schema.yaml @@ -0,0 +1,34 @@ +$schema: http://json-schema.org/draft/2020-12/schema +type: object +properties: + entries: + type: array + items: + type: object + properties: + name: + type: string + description: Name of the feed + url: + type: string + description: Rss feed url of the podcast + limit: + type: integer + description: Number of entries to download + filename_type: + type: string + description: Decides how the files are named + enum: + - title + - date + filter: + type: string + description: yq filter expression + foobar: hello world + required: + - filename_type + - limit + - name + - url +required: + - entries