- From: Benjamin Young <byoung@bigbluehat.com>
- Date: Fri, 21 Oct 2016 13:41:04 +0000
- To: Web Annotation <public-annotation@w3.org>
Cribbing from Example 12: https://www.w3.org/TR/annotation-model/#example-8
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno12",
"type": "Annotation",
"motivation": "paginating",
"target": {
"type": "List",
"items": [
{"source": "http://example.com/book/cover.png", "stylesheet": "http://example.com/css/position-cover.css"},
{"source": "http://example.com/book/toc", "stylesheet": "http://example.com/css/toc.css"},
{"source": "http://example.com/book/intro", "stylesheet": "http://example.com/css/us-letter-size.css"},
{"source": "http://wikipedia.com/PageAboutThisBook",
"selector": {
"type": "CssSelector",
"value": "#mw-content-text"
},
"stylesheet": "http://example.com/css/us-letter-size.css"
},
{"source": "http://example.com/book/another-page", "stylesheet": "http://example.com/css/us-letter-size.css"} ]
}
}
k. That's pretty arm-chair JSON, but it hopefully gets this out of my head in a way that's useful to others. ^_^
Cheers,
Benjamin
--
http://bigbluehat.com/
http://linkedin.com/in/benjaminyoung
Received on Friday, 21 October 2016 13:41:40 UTC