PoC and docs for schema.org implementation demonstrating mapping of Solr doc fields
Identified from the July 2018 Blacklight Summit: Build out a proof of concept implementation of an Schema.org implementation (probably as an export format). The initial implementation should map index fields to Schema.org, and provide an embedded JSON-LD serialization the show view, as well as a JSON-LD response. Google now prefers embedded JSON-LD over HTML5 microdata, so we should rethink the approach previously implemented and undo what's there now.
TODO
- [ ] Redo previous implementation #680
- [ ] Add a default (but configurable) mapping from the default Blacklight/blacklight-marc schema to Schema.org.
- [ ] Improve documentation around export formats within Blacklight
- [ ] Add embedded JSON-LD response to show view
- [ ] Serve up JSON-LD using content negotiation for
/catalog/:idwhen receiving request with headerAccept: application/ld+json - [ ] Serve up JSON-LD using request for
/catalog/:id.jsonld
Ref #680, #688
This request is going to conflict with our existing JSON-API that uses /catalog/:id(.:format) to return a JSON-API response.
Perhaps you can have the .jsonld endpoint and the application/ld+json mime-type for this endpoint.
Fixed up the above - thanks for the feedback.
Am I right to read this as a new feature that could be released in the 7.x line, but not a necessary feature for 7.0?
@barmintor Correct, at least for me.