Evan's Schema
This is a simple page that provides slight updates to http://schema.org/Recipe,
so that a new field, scaledIngredient
is added, that expects a MeasuredIngredient
object with the fields:
- ingredientQuantity, a Number
- ingredientUnit, as Text (for now, could be enum later)
- ingredientSubstance, as Text
- isOptional, as a Boolean
Why Bother?
This is really only because the default option for recipes doesn't provide
a straightforward way to measure ingredients. This is important if, for
example, I wanted to scale my recipe to a different number of servings.
allrecipes.com already
provides this sort of functionality, but doesn't necessarily provide
an open standard.