Initial commit, flavorstash schema

This commit is contained in:
Chris 2020-08-13 19:04:28 +02:00
commit ef86532f7e
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,4 @@
[
{ "vendor":"FA", "flavor":"Apple Pie" },
{ "vendor":"FA", "flavor":"Hazelnut" }
]

View File

@ -0,0 +1,5 @@
[
{ "flavor":"FA Apple Pie" },
{ "vendor":"FA Hazelnut" },
{ "flavor":"FA Hazelnut" }
]

View File

@ -0,0 +1,27 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://schema.noccylabs.info/json/vape/flavorstash/v1.json",
"type": "array",
"items": {
"type": "object",
"properties": {
"vendor": {
"type": "string",
"description": "The full or abbreviated vendor name"
},
"flavor": {
"type": "string",
"description": "The name of the flavoring"
},
"extra": {
"type": "object",
"description": "Extra data"
}
},
"required": [
"vendor",
"flavor"
],
"additionalProperties": false
}
}