Updated flavorstash json schema
* Made vendor optional
This commit is contained in:
parent
9240f1c609
commit
2c645d1b91
@ -13,8 +13,9 @@ another site.
|
||||
* For applications, allowing both to save/load from file and clipboard is suggested.
|
||||
|
||||
## Implementation Details
|
||||
The schema is as simplified as possible, meaning only the `vendor` and `flavor` fields are
|
||||
required for each record.
|
||||
The schema is as simplified as possible, meaning only the `flavor` field is required for
|
||||
each record. It is recommended that the vendor is included, and that the vendor is not
|
||||
merged into the flavor.
|
||||
|
||||
[
|
||||
{ "vendor":"TFA", "flavor":"Smooth" }
|
||||
|
@ -1,4 +1,5 @@
|
||||
[
|
||||
{ "vendor":"FA", "flavor":"Apple Pie" },
|
||||
{ "vendor":"FA", "flavor":"Hazelnut" }
|
||||
{ "vendor":"FA", "flavor":"Hazelnut" },
|
||||
{ "flavor":"WS-23 10%" }
|
||||
]
|
||||
|
@ -1,5 +1,3 @@
|
||||
[
|
||||
{ "flavor":"FA Apple Pie" },
|
||||
{ "vendor":"FA Hazelnut" },
|
||||
{ "flavor":"FA Hazelnut" }
|
||||
{ "vendor":"FA Hazelnut" }
|
||||
]
|
||||
|
@ -19,7 +19,6 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"vendor",
|
||||
"flavor"
|
||||
],
|
||||
"additionalProperties": false
|
||||
|
Loading…
Reference in New Issue
Block a user