Add schema
This commit is contained in:
parent
21649f84c5
commit
1bfadbd7ac
34
schema.yaml
Normal file
34
schema.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user