{
	"id": "FoodEstablishment.json",
	"title": "Food Establishment",
	"description": "A food-related business.",
	"media": {"type": "application/json;profile=http://schema.org/FoodEstablishment"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Organization.json"}, {"$ref": "LocalBusiness.json"}, {"$ref": "Place.json"}],
	"type": "object",
	"properties": {
		"acceptsReservations": {"$ref": "#/definitions/acceptsReservations"},
		"hasMenu": {
			"oneOf": [
				{"$ref": "#/definitions/hasMenu"},
				{
					"type": "array",
					"items": {"$ref": "#/definitions/hasMenu"}
				}
			]
		},
		"servesCuisine": {"$ref": "#/definitions/servesCuisine"},
		"starRating": {"$ref": "Rating.json#/definitions/possibleRefArray"}
	},
	"definitions": {
		"array": {
			"type": "array",
			"items": {"$ref": "#"}
		},
		"possibleRef": {
			"oneOf": [
				{"$ref": "#"},
				{
					"type": "string",
					"format": "uri",
					"links": [{
						"rel": "full",
						"href": "{+$}"
					}]
				}
			]
		},
		"possibleRefArray": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/possibleRef"}
				},
				{
					"type": "string",
					"format": "uri",
					"links": [{
						"rel": "full",
						"href": "{+$}"
					}]
				}
			]
		},
		"acceptsReservations": {
			"title": "Accepts Reservations",
			"description": "Indicates whether a FoodEstablishment accepts reservations. Values can be Boolean, an URL at which reservations can be made or (for backwards compatibility) the strings Yes or No.",
			"oneOf": [
				{"type": "boolean"},
				{
					"type": "string",
					"format": "uri"
				}
			]
		},
		"hasMenu": {
			"title": "Has Menu",
			"description": "Either the actual menu as a structured representation, as text, or a URL of the menu. Supersedes menu.",
			"anyOf": [
				{"$ref": "Menu.json#/definitions/possibleRef"},
				{"type": "string"},
				{
					"type": "string",
					"format": "uri"
				}
			]
		},
		"servesCuisine": {
			"title": "Serves Cuisine",
			"description": "The cuisine of the restaurant.",
			"type": "string"
		}
	}
}