big tings
This commit is contained in:
29
registry/schema-org/Menu.schema.json
Normal file
29
registry/schema-org/Menu.schema.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "schema:Menu",
|
||||
"title": "Menu",
|
||||
"description": "A structured representation of food or drink items available from a FoodEstablishment.",
|
||||
"type": "object",
|
||||
"allOf": [
|
||||
{
|
||||
"description": "The most generic kind of creative work, including books, movies, photographs, software programs, etc.",
|
||||
"$ref": "schema:CreativeWork"
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"hasMenuItem": {
|
||||
"description": "A food or drink item contained in a menu or menu section.",
|
||||
"oneOf": [
|
||||
{ "$ref": "schema:MenuItem" },
|
||||
{ "type": "array", "items": { "$ref": "schema:MenuItem" } }
|
||||
]
|
||||
},
|
||||
"hasMenuSection": {
|
||||
"description": "A subgrouping of the menu (by dishes, course, serving time period, etc.).",
|
||||
"oneOf": [
|
||||
{ "$ref": "schema:MenuSection" },
|
||||
{ "type": "array", "items": { "$ref": "schema:MenuSection" } }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user