forked from jon/glowers-radio
readme.md: update schema
This commit is contained in:
parent
72fa9fc4a5
commit
6c1354e6de
@ -5,8 +5,13 @@ This repo contains backing information for Glowers Radio.
|
|||||||
The `songs.json` format **is only intended for use for Glowers Radio**, and is effectively a living standard as a result. **Live data may change drastically without warning**
|
The `songs.json` format **is only intended for use for Glowers Radio**, and is effectively a living standard as a result. **Live data may change drastically without warning**
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
required: [ id, sources ]
|
required: [ version, songs]
|
||||||
properties:
|
properties:
|
||||||
|
version: { type: integer }
|
||||||
|
songs:
|
||||||
|
items:
|
||||||
|
required: [ id, sources ]
|
||||||
|
properties:
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
@ -24,6 +29,6 @@ properties:
|
|||||||
properties:
|
properties:
|
||||||
type: { type: string, format: mimetype }
|
type: { type: string, format: mimetype }
|
||||||
url: { type: string, format: uri }
|
url: { type: string, format: uri }
|
||||||
thumbnail_type: { type: string }
|
thumbnail_type: { type: number }
|
||||||
thumbnail_url: { format: uri }
|
thumbnail_url: { format: uri }
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user