step sections

This commit is contained in:
Emi Vasilek 2023-11-21 01:43:22 +01:00
parent 98c77cb102
commit e4890b6fd8
3 changed files with 48 additions and 11 deletions

View file

@ -26,7 +26,23 @@
},
"steps": {
"type": "array",
"items": { "type": "string" }
"items": {
"oneOf": [
{ "type": "string" },
{
"type": "object",
"additionalProperties": false,
"required": [ "section" ],
"properties": {
"section": { "type": "string" },
"steps": {
"type": "array",
"items": {"type": "string"}
}
}
}
]
}
},
"subrecipes": {
"type": "array",