{
	"id": "CookAction.json",
	"title": "Cook Action",
	"description": "The act of producing/preparing food.",
	"media": {"type": "application/json;profile=http://schema.org/CookAction"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Action.json"}, {"$ref": "CreateAction.json"}],
	"type": "object",
	"properties": {
		"foodEstablishment": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/foodEstablishment"}
				},
				{"$ref": "#/definitions/foodEstablishment"}
			]
		},
		"foodEvent": {"$ref": "FoodEvent.json#/definitions/possibleRefArray"},
		"recipe": {"$ref": "Recipe.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": "{+$}"
					}]
				}
			]
		},
		"foodEstablishment": {
			"title": "Food Establishment",
			"description": "A sub property of location. The specific food establishment where the action occurred.",
			"anyOf": [{"$ref": "FoodEstablishment.json#/definitions/possibleRef"}, {"$ref": "Place.json#/definitions/possibleRef"}]
		}
	}
}