Last active
November 24, 2016 14:26
-
-
Save regisrob/e193c22af65fad983faa03b3197b1f7c to your computer and use it in GitHub Desktop.
RS schema.org : Book
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "http://schema.org/", | |
"@type": "Book", | |
"url": "{URL_PAGE_BOOK}", | |
"name": "{TITLE_PAGE_BOOK}", | |
"alternateName": "{./Book/Name}", | |
"numberOfPages": "{./Book/Extent}", | |
"genre": "{./Book/ObjectType}", | |
"thumbnailUrl": "{./Book/Thumbnail}", | |
"sameAs": "{./Book/Concept}", | |
"locationCreated": { | |
"@type": "Place", | |
"name": "{./Book/Place}", | |
"url": "{URL_PAGE_LOCATION}" | |
}, | |
"dateCreated": "{./Book/Date}", | |
"hasPart": [ | |
{ | |
"@type": "CreativeWork", | |
"name": "{./Book/HasPart/Name}", | |
"url": "{URL_PAGE_BOOKPART}" | |
} | |
], | |
"isPartOf": { | |
"@type": "CreativeWork", | |
"url": "{URL_PAGE_COLLECTION}", | |
"name": "{TITLE_PAGE_COLLECTION}" | |
}, | |
"keywords": "{./Book/Term}", | |
"encoding": [ | |
{ | |
"@type": "MediaObject", | |
"url": "{./Book/DigitalSurrogate}" | |
}, | |
{ | |
"@type": "DataDownload", | |
"url": "{./Book/Manifest}", | |
"fileFormat": "application/ld+json" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Manques, erreurs... :
Pas valide d'utiliser "location" pour un objet de type "Book":
"location": { "@type": "Library", "name": "{./Book/Shelfmark/Organisation}" }
BibliographicReference ?: https://schema.org/citation (intéressant ??)
Record ?
DigitalSurrogate ?
Term ?
Manifest ?:
https://schema.org/associatedMedia ?
https://schema.org/potentialAction ?: