| Shane McCarron | 447a589 | 2016-11-22 01:28:10 | [diff] [blame] | 1 | <!doctype html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>Ensure Vocabulary JSON-LD is valid</title> |
| Shane McCarron | 447a589 | 2016-11-22 01:28:10 | [diff] [blame] | 5 | <script src="/resources/testharness.js"></script> |
| 6 | <script src="/resources/testharnessreport.js"></script> |
| 7 | </head> |
| 8 | <body> |
| 9 | <p>The Annotation Vocabulary JSON-LD context is defined to be at http://www.w3.org/ns/oa</p> |
| 10 | <p>Retrieve that context document and expand the following example using a JSON-LD validation tool. Does it expand?</p> |
| 11 | <pre> |
| 12 | { |
| 13 | "@context": "http://www.w3.org/ns/anno.jsonld", |
| 14 | "id": "http://example.org/anno4", |
| 15 | "type": "Annotation", |
| 16 | "body": "http://example.org/description1", |
| 17 | "target": { |
| 18 | "id": "http://example.com/image1#xywh=100,100,300,300", |
| 19 | "type": "Image", |
| 20 | "format": "image/jpeg" |
| 21 | } |
| 22 | } |
| 23 | </pre> |
| 24 | </body> |
| 25 | </html> |