Initial formulation application
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://recipes.uuard.com/schemas/v2/prep-action.schema.json",
|
||||
"title": "Preparation action",
|
||||
"type": "object",
|
||||
"required": ["schema_version", "id", "name", "action_type"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"schema_version": { "$ref": "common.schema.json#/$defs/schemaVersion" },
|
||||
"id": { "$ref": "common.schema.json#/$defs/id" },
|
||||
"name": { "$ref": "common.schema.json#/$defs/nonEmptyString" },
|
||||
"action_type": { "type": "string", "enum": ["trim", "peel", "cut", "grind", "drain", "cook", "cool", "other"] },
|
||||
"default_yield_factor": { "type": "number", "exclusiveMinimum": 0, "maximum": 1 },
|
||||
"notes": { "type": "string" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user