Recipe spec almost done
This commit is contained in:
parent
218459a41a
commit
90a438f760
@ -79,39 +79,48 @@ TODO : define a comment
|
||||
A property to be shown in microdata/json-ld but in the model
|
||||
|
||||
### contributor
|
||||
If anyone contribute to the recipe they should appear here as a list of users
|
||||
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
|
||||
### dateModified-
|
||||
`DateTime`
|
||||
The most recent modification date
|
||||
|
||||
### datePublished
|
||||
`DateTime`
|
||||
The date the first time the recipe appeared online
|
||||
|
||||
### dicussionUrl ?
|
||||
PROBABLY NOT
|
||||
### dicussionUrl
|
||||
schema.org value for microdata & JSON-LD linking to the comments section of the recipe
|
||||
|
||||
### licence
|
||||
`String`
|
||||
URL of the licence used for the recipe or a string such as "Public domain"
|
||||
|
||||
### text ?
|
||||
### thumbnailUrl
|
||||
schema.org value for microdata & JSON-LD linking to the thumbnail image of the recipe
|
||||
|
||||
### thumbnailUrl ?
|
||||
|
||||
### version ?
|
||||
### version
|
||||
Unless there is a versioning system for the recipe there's no point to this
|
||||
|
||||
### description
|
||||
|
||||
### identifier ?
|
||||
`Text`
|
||||
The context of the recipe : history, source, ideas to serve it, personal notes, etc..
|
||||
|
||||
### image
|
||||
`String (255)`
|
||||
URL of the image
|
||||
|
||||
### mainEntityOfPage ?
|
||||
|
||||
### name
|
||||
`String (255)`
|
||||
The name of the recipe
|
||||
|
||||
### url ?
|
||||
### url
|
||||
schema.org value for microdata & JSON-LD linking to the url of the recipe, given by the framework's router
|
||||
|
||||
### likesCount
|
||||
`Integer`
|
||||
Calculated from the likes in the database
|
||||
|
||||
### difficulty
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user