-
Notifications
You must be signed in to change notification settings - Fork 3
/
recipe_schema.json
94 lines (94 loc) · 2.31 KB
/
recipe_schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {
"type": "object",
"additionalProperties": true,
"properties": {
"info": {
"type": "string",
"title": "The Info Schema",
"default": ""
},
"tag": {
"type": "string",
"title": "The Tag Schema ",
"default": "",
"enum": [
"core"
]
},
"style": {
"type": "string",
"title": "The Style Schema ",
"default": "",
"enum": [
"All Day Cocktail", "Before Dinner Cocktail", "Longdrink",
"After Dinner Cocktail", "Sparkling Cocktail", "Hot Drink"
]
},
"ingredients": {
"type": "object"
},
"optional": {
"type": "object"
},
"variants": {
"type": "array"
},
"unit": {
"type": "string",
"title": "The Unit Schema ",
"default": "oz",
"enum": [
"oz", "mL", "cL"
]
},
"prep": {
"type": "string",
"title": "The Prep Schema ",
"default": "shake",
"enum": [
"shake", "stir", "build", "throw"
]
},
"ice": {
"type": "string",
"title": "The Ice Schema ",
"default": "cubed",
"enum": [
"cubed", "crushed", "neat"
]
},
"profile": {
"type": "array",
"items": {
"type": "string",
"title": "The profile Schema ",
"default": "",
"enum": [
"strong", "tangy", "citrusy", "sweet", "fruity", "herbal"
]
}
},
"glass": {
"type": "string",
"title": "The Glass Schema ",
"default": "cocktail",
"enum": [
"martini", "cocktail", "rocks", "collins", "highball",
"flute", "copper mug", "pint", "coupe"
]
},
"origin": {
"type": "string",
"description": "Origin of the recipe"
},
"garnish": {
"type": "string",
"title": "The Garnish Schema ",
"default": ""
}
}
}
}