Skip to content

Instantly share code, notes, and snippets.

@yozachar
Last active March 6, 2024 09:04
Show Gist options
  • Save yozachar/904ba9c102252863e1929c84609fdd93 to your computer and use it in GitHub Desktop.
Save yozachar/904ba9c102252863e1929c84609fdd93 to your computer and use it in GitHub Desktop.
Hymnal
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"writer": {
"type": "string"
},
"starts": {
"type": "string",
"enum": [
"verse-0",
"chorus"
]
},
"chorus": {
"type": "array",
"items": {
"type": "string"
}
},
"bridge": {
"type": "array",
"items": {
"type": "string"
}
},
"verses": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"required": [
"id",
"writer",
"starts",
"chorus",
"bridge",
"verses"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment