Trying MD in Gitea

This commit is contained in:
Djyp 2019-03-05 08:22:08 +01:00
parent 0f261718a5
commit 1ed294d5b0

View File

@ -6,25 +6,25 @@
`Array` of different estimated times : cookTime, prepTime, performTime, totalTime, waitTime `Array` of different estimated times : cookTime, prepTime, performTime, totalTime, waitTime
cookTime cookTime
- https://schema.org/Duration - https://schema.org/Duration
- The time it takes to actually cook the dish - The time it takes to actually cook the dish
prepTime prepTime
- https://schema.org/Duration - https://schema.org/Duration
- The length of time it takes to prepare the items to be used in instructions or a direction - The length of time it takes to prepare the items to be used in instructions or a direction
performTime performTime
- https://schema.org/Duration - https://schema.org/Duration
- The length of time it takes to perform instructions or a direction (not including time to prepare the supplies) - The length of time it takes to perform instructions or a direction (not including time to prepare the supplies)
totalTime totalTime
- https://schema.org/Duration - https://schema.org/Duration
- The total time required to perform instructions or a direction (including time to prepare the supplies) - The total time required to perform instructions or a direction (including time to prepare the supplies)
waitTime waitTime
- https://schema.org/Duration - https://schema.org/Duration
- 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
@ -32,49 +32,46 @@ Maybe have a checklist of methods ?
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
--- ---
### estimatedCost
The estimated cost of the supply or supplies consumed when performing instructions.
Not sure to use this property or not, I think people can guess the price.
### 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`
The author, a user The author, a user
TODO : define a user Microdata, JSON-LD : Person with name, url (profile) and image.
Person with name, url (profile) and image.
### comment ### comment
A list of comments `OneToMany:Note`
A list of Note received from the fediverse
TODO : define a comment TODO : define a comment
### commentCount ### commentCount
`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 ### contributor