The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SemanticWeb::Schema::Recipe - A recipe

VERSION

version v3.5.1

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.

A cook_time should be one of the following types:

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

cooking_method

cookingMethod

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

A cooking_method should be one of the following types:

Str

ingredients

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

A ingredients should be one of the following types:

Str

nutrition

Nutrition information about the recipe or menu item.

A nutrition should be one of the following types:

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

recipe_category

recipeCategory

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

A recipe_category should be one of the following types:

Str

recipe_cuisine

recipeCuisine

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

A recipe_cuisine should be one of the following types:

Str

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

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:

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

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:

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

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']

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-2019 by Robert Rothenberg.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)