The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SemanticWeb::Schema::Recipe - A recipe

VERSION

version v23.0.0

DESCRIPTION

A recipe. For dietary restrictions covered by the recipe, a few common restrictions are enumerated via [[suitableForDiet]]. The [[keywords]] property can also be used to add more detail.

ATTRIBUTES

cook_time

cookTime

The time it takes to actually cook the dish, in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).

A cook_time should be one of the following types:

InstanceOf['SemanticWeb::Schema::Duration']

_has_cook_time

A predicate for the "cook_time" attribute.

cooking_method

cookingMethod

The method of cooking, such as Frying, Steaming, ...

A cooking_method should be one of the following types:

Str

_has_cooking_method

A predicate for the "cooking_method" attribute.

ingredients

A single ingredient used in the recipe, e.g. sugar, flour or garlic.

A ingredients should be one of the following types:

Str

_has_ingredients

A predicate for the "ingredients" attribute.

nutrition

Nutrition information about the recipe or menu item.

A nutrition should be one of the following types:

InstanceOf['SemanticWeb::Schema::NutritionInformation']

_has_nutrition

A predicate for the "nutrition" attribute.

recipe_category

recipeCategory

The category of the recipe—for example, appetizer, entree, etc.

A recipe_category should be one of the following types:

Str

_has_recipe_category

A predicate for the "recipe_category" attribute.

recipe_cuisine

recipeCuisine

The cuisine of the recipe (for example, French or Ethiopian).

A recipe_cuisine should be one of the following types:

Str

_has_recipe_cuisine

A predicate for the "recipe_cuisine" attribute.

recipe_ingredient

recipeIngredient

A single ingredient used in the recipe, e.g. sugar, flour or garlic.

A recipe_ingredient should be one of the following types:

Str

_has_recipe_ingredient

A predicate for the "recipe_ingredient" attribute.

recipe_instructions

recipeInstructions

A step in making the recipe, in the form of a single item (document, video, etc.) or an ordered list with HowToStep and/or HowToSection items.

A recipe_instructions should be one of the following types:

InstanceOf['SemanticWeb::Schema::CreativeWork']
InstanceOf['SemanticWeb::Schema::ItemList']
Str

_has_recipe_instructions

A predicate for the "recipe_instructions" attribute.

recipe_yield

recipeYield

The quantity produced by the recipe (for example, number of people served, number of servings, etc).

A recipe_yield should be one of the following types:

InstanceOf['SemanticWeb::Schema::QuantitativeValue']
Str

_has_recipe_yield

A predicate for the "recipe_yield" attribute.

suitable_for_diet

suitableForDiet

Indicates a dietary restriction or guideline for which this recipe or menu item is suitable, e.g. diabetic, halal etc.

A suitable_for_diet should be one of the following types:

InstanceOf['SemanticWeb::Schema::RestrictedDiet']

_has_suitable_for_diet

A predicate for the "suitable_for_diet" attribute.

SEE ALSO

SemanticWeb::Schema::HowTo

SOURCE

The development version is on github at https://github.com/robrwo/SemanticWeb-Schema and may be cloned from git://github.com/robrwo/SemanticWeb-Schema.git

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/robrwo/SemanticWeb-Schema/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Robert Rothenberg <rrwo@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2023 by Robert Rothenberg.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)