Add schema

This commit is contained in:
Balakrishnan Balasubramanian 2022-12-24 21:25:01 -05:00
parent 21649f84c5
commit 1bfadbd7ac

34
schema.yaml Normal file
View File

@ -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