still wip
This commit is contained in:
parent
90a438f760
commit
d34bee65ba
@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
## Recipe
|
## Recipe
|
||||||
|
|
||||||
### estimatedTime
|
### Entity properties
|
||||||
|
|
||||||
|
#### estimatedTime
|
||||||
`Array` of different estimated times : cookTime, prepTime, performTime, totalTime, waitTime
|
`Array` of different estimated times : cookTime, prepTime, performTime, totalTime, waitTime
|
||||||
|
|
||||||
cookTime
|
cookTime
|
||||||
@ -26,102 +28,102 @@ waitTime
|
|||||||
- The total time needed to wait between steps, in ISO 8601 duration format
|
- The total time needed to wait between steps, in ISO 8601 duration format
|
||||||
- waitTime is not in the schema : https://github.com/schemaorg/schemaorg/issues/2164
|
- waitTime is not in the schema : https://github.com/schemaorg/schemaorg/issues/2164
|
||||||
|
|
||||||
### cookingMethod
|
#### cookingMethod
|
||||||
→ Maybe just not use it, or analyse the text to excerpt it
|
→ Maybe just not use it, or analyse the text to excerpt it
|
||||||
The method of cooking, such as Frying, Steaming,...
|
The method of cooking, such as Frying, Steaming,...
|
||||||
Maybe have a checklist of methods ?
|
Maybe have a checklist of methods ?
|
||||||
|
|
||||||
### recipeCategory
|
#### recipeCategory
|
||||||
`String (255)`
|
`String (255)`
|
||||||
The category of the recipe—for example, appetizer, entree, etc.
|
The category of the recipe—for example, appetizer, entree, etc.
|
||||||
|
|
||||||
### recipeCuisine
|
#### recipeCuisine
|
||||||
`String (255)`
|
`String (255)`
|
||||||
The cuisine of the recipe (for example, French or Ethiopian).
|
The cuisine of the recipe (for example, French or Ethiopian).
|
||||||
|
|
||||||
### recipeIngredient
|
#### recipeIngredient
|
||||||
`String[]`
|
`String[]`
|
||||||
List of ingredients in text format
|
List of ingredients in text format
|
||||||
A single ingredient used in the recipe, e.g. sugar, flour or garlic.
|
A single ingredient used in the recipe, e.g. sugar, flour or garlic.
|
||||||
|
|
||||||
### recipeInstructions
|
#### recipeInstructions
|
||||||
`String[]`
|
`String[]`
|
||||||
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 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.
|
||||||
The number of the step should never be the text.
|
The number of the step should never be the text.
|
||||||
|
|
||||||
### recipeYield
|
#### recipeYield
|
||||||
`String (50)`
|
`String (50)`
|
||||||
The quantity produced by the recipe (for example, number of people served, number of servings, etc).
|
The quantity produced by the recipe (for example, number of people served, number of servings, etc).
|
||||||
|
|
||||||
### suitableForDiet
|
#### suitableForDiet
|
||||||
`Array` of selected keywords (DiabeticDiet, GlutenFreeDiet, HalalDiet, HinduDiet, KosherDiet, LowCalorieDiet, LowFatDiet, LowLactoseDiet, LowSaltDiet, VeganDiet, VegetarianDiet)
|
`Array` of selected keywords (DiabeticDiet, GlutenFreeDiet, HalalDiet, HinduDiet, KosherDiet, LowCalorieDiet, LowFatDiet, LowLactoseDiet, LowSaltDiet, VeganDiet, VegetarianDiet)
|
||||||
Indicates a dietary restriction or guideline for which this recipe or menu item is suitable, e.g. diabetic, halal etc.
|
Indicates a dietary restriction or guideline for which this recipe or menu item is suitable, e.g. diabetic, halal etc.
|
||||||
TODO : Decide the best way to store the list... maybe in the model
|
TODO : Decide the best way to store the list... maybe in the model
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### tool
|
#### tool
|
||||||
`String[]`
|
`String[]`
|
||||||
A sub property of instrument. An object used (but not consumed) when performing instructions or a direction.
|
A sub property of instrument. An object used (but not consumed) when performing instructions or a direction.
|
||||||
|
|
||||||
### author
|
#### author
|
||||||
`ManyToOne:User`
|
`ManyToOne:User`
|
||||||
The author, a user
|
The author, a user
|
||||||
Microdata, JSON-LD : Person with name, url (profile) and image.
|
Microdata, JSON-LD : Person with name, url (profile) and image.
|
||||||
|
|
||||||
### comment
|
#### comment
|
||||||
`OneToMany:Note`
|
`OneToMany:Note`
|
||||||
A list of Note received from the fediverse
|
A list of Note received from the fediverse
|
||||||
TODO : define a comment
|
TODO : define a comment
|
||||||
|
|
||||||
### commentCount
|
#### commentCount
|
||||||
`Integer`
|
`Integer`
|
||||||
A property to be shown in microdata/json-ld but in the model
|
A property to be shown in microdata/json-ld but in the model
|
||||||
|
|
||||||
### contributor
|
#### dateModified-
|
||||||
Maybe add this later. One of the future features is to let someone edit his own version of a recipe. The original author can know about it, accept the changes and add the contributor to the list. But maybe it's too much...
|
|
||||||
|
|
||||||
### dateModified-
|
|
||||||
`DateTime`
|
`DateTime`
|
||||||
The most recent modification date
|
The most recent modification date
|
||||||
|
|
||||||
### datePublished
|
#### datePublished
|
||||||
`DateTime`
|
`DateTime`
|
||||||
The date the first time the recipe appeared online
|
The date the first time the recipe appeared online
|
||||||
|
|
||||||
### dicussionUrl
|
#### licence
|
||||||
schema.org value for microdata & JSON-LD linking to the comments section of the recipe
|
|
||||||
|
|
||||||
### licence
|
|
||||||
`String`
|
`String`
|
||||||
URL of the licence used for the recipe or a string such as "Public domain"
|
URL of the licence used for the recipe or a string such as "Public domain"
|
||||||
|
|
||||||
### thumbnailUrl
|
#### description
|
||||||
schema.org value for microdata & JSON-LD linking to the thumbnail image of the recipe
|
|
||||||
|
|
||||||
### version
|
|
||||||
Unless there is a versioning system for the recipe there's no point to this
|
|
||||||
|
|
||||||
### description
|
|
||||||
`Text`
|
`Text`
|
||||||
The context of the recipe : history, source, ideas to serve it, personal notes, etc..
|
The context of the recipe : history, source, ideas to serve it, personal notes, etc..
|
||||||
|
|
||||||
### image
|
#### image
|
||||||
`String (255)`
|
`String (255)`
|
||||||
URL of the image
|
URL of the image
|
||||||
|
|
||||||
### mainEntityOfPage ?
|
#### name
|
||||||
|
|
||||||
### name
|
|
||||||
`String (255)`
|
`String (255)`
|
||||||
The name of the recipe
|
The name of the recipe
|
||||||
|
|
||||||
### url
|
#### likesCount
|
||||||
schema.org value for microdata & JSON-LD linking to the url of the recipe, given by the framework's router
|
|
||||||
|
|
||||||
### likesCount
|
|
||||||
`Integer`
|
`Integer`
|
||||||
Calculated from the likes in the database
|
Calculated from the likes in the database
|
||||||
|
|
||||||
### difficulty
|
#### difficulty
|
||||||
The degree of difficulty from a list to define
|
The degree of difficulty from a list to define
|
||||||
|
|
||||||
|
#### contributor
|
||||||
|
Maybe add this later. One of the future features is to let someone edit his own version of a recipe. The original author can know about it, accept the changes and add the contributor to the list. But maybe it's too much...
|
||||||
|
|
||||||
|
#### version
|
||||||
|
Unless there is a versioning system for the recipe there's no point to this
|
||||||
|
|
||||||
|
### Properties limited the microdata usage
|
||||||
|
|
||||||
|
#### url
|
||||||
|
schema.org value for microdata & JSON-LD linking to the url of the recipe, given by the framework's router
|
||||||
|
|
||||||
|
#### thumbnailUrl
|
||||||
|
schema.org value for microdata & JSON-LD linking to the thumbnail image of the recipe
|
||||||
|
|
||||||
|
#### dicussionUrl
|
||||||
|
schema.org value for microdata & JSON-LD linking to the comments section of the recipe
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user