@@ -260,13 +260,172 @@ var getFixture = function(name) {
260260 "id" : "http://bigbluehat.com/#" ,
261261 "name" : "BigBlueHat" ,
262262 "knows" : [
263-
264263 {
265264 "id" : "http://manu.sporny.org#person" ,
266265 "name" : "Manu Sporny" ,
267266 "homepage" : "http://manu.sporny.org/"
268267 }
269268 ]
269+ } ,
270+ "annotation_remote.json" : {
271+ "@context" : "http://www.w3.org/ns/anno.jsonld" ,
272+ "id" : "http://example.org/anno9" ,
273+ "type" : "Annotation" ,
274+ "body" : [
275+ "http://example.org/description1" ,
276+ {
277+ "type" : "TextualBody" ,
278+ "value" : "tag1"
279+ }
280+ ] ,
281+ "target" : [
282+ "http://example.org/image1" ,
283+ "http://example.org/image2" ,
284+ {
285+ "source" : "http://example.org/"
286+ }
287+ ]
288+ } ,
289+ "annotation.json" : {
290+ "@context" : {
291+ "oa" : "http://www.w3.org/ns/oa#" ,
292+ "dc" : "http://purl.org/dc/elements/1.1/" ,
293+ "dcterms" : "http://purl.org/dc/terms/" ,
294+ "dctypes" : "http://purl.org/dc/dcmitype/" ,
295+ "foaf" : "http://xmlns.com/foaf/0.1/" ,
296+ "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#" ,
297+ "rdfs" : "http://www.w3.org/2000/01/rdf-schema#" ,
298+ "skos" : "http://www.w3.org/2004/02/skos/core#" ,
299+ "xsd" : "http://www.w3.org/2001/XMLSchema#" ,
300+ "iana" : "http://www.iana.org/assignments/relation/" ,
301+ "owl" : "http://www.w3.org/2002/07/owl#" ,
302+ "as" : "http://www.w3.org/ns/activitystreams#" ,
303+ "schema" : "http://schema.org/" ,
304+
305+ "id" : { "@type" : "@id" , "@id" : "@id" } ,
306+ "type" : { "@type" : "@id" , "@id" : "@type" } ,
307+
308+ "Annotation" : "oa:Annotation" ,
309+ "Dataset" : "dctypes:Dataset" ,
310+ "Image" : "dctypes:StillImage" ,
311+ "Video" : "dctypes:MovingImage" ,
312+ "Audio" : "dctypes:Sound" ,
313+ "Text" : "dctypes:Text" ,
314+ "TextualBody" : "oa:TextualBody" ,
315+ "ResourceSelection" : "oa:ResourceSelection" ,
316+ "SpecificResource" : "oa:SpecificResource" ,
317+ "FragmentSelector" : "oa:FragmentSelector" ,
318+ "CssSelector" : "oa:CssSelector" ,
319+ "XPathSelector" : "oa:XPathSelector" ,
320+ "TextQuoteSelector" : "oa:TextQuoteSelector" ,
321+ "TextPositionSelector" : "oa:TextPositionSelector" ,
322+ "DataPositionSelector" : "oa:DataPositionSelector" ,
323+ "SvgSelector" : "oa:SvgSelector" ,
324+ "RangeSelector" : "oa:RangeSelector" ,
325+ "TimeState" : "oa:TimeState" ,
326+ "HttpRequestState" : "oa:HttpRequestState" ,
327+ "CssStylesheet" : "oa:CssStyle" ,
328+ "Choice" : "oa:Choice" ,
329+ "Person" : "foaf:Person" ,
330+ "Software" : "as:Application" ,
331+ "Organization" : "foaf:Organization" ,
332+ "AnnotationCollection" : "as:OrderedCollection" ,
333+ "AnnotationPage" : "as:OrderedCollectionPage" ,
334+ "Audience" : "schema:Audience" ,
335+
336+ "Motivation" : "oa:Motivation" ,
337+ "bookmarking" : "oa:bookmarking" ,
338+ "classifying" : "oa:classifying" ,
339+ "commenting" : "oa:commenting" ,
340+ "describing" : "oa:describing" ,
341+ "editing" : "oa:editing" ,
342+ "highlighting" : "oa:highlighting" ,
343+ "identifying" : "oa:identifying" ,
344+ "linking" : "oa:linking" ,
345+ "moderating" : "oa:moderating" ,
346+ "questioning" : "oa:questioning" ,
347+ "replying" : "oa:replying" ,
348+ "reviewing" : "oa:reviewing" ,
349+ "tagging" : "oa:tagging" ,
350+
351+ "auto" : "oa:autoDirection" ,
352+ "ltr" : "oa:ltrDirection" ,
353+ "rtl" : "oa:rtlDirection" ,
354+
355+ "body" : { "@type" : "@id" , "@id" : "oa:hasBody" } ,
356+ "target" : { "@type" : "@id" , "@id" : "oa:hasTarget" } ,
357+ "source" : { "@type" : "@id" , "@id" : "oa:hasSource" } ,
358+ "selector" : { "@type" : "@id" , "@id" : "oa:hasSelector" } ,
359+ "state" : { "@type" : "@id" , "@id" : "oa:hasState" } ,
360+ "scope" : { "@type" : "@id" , "@id" : "oa:hasScope" } ,
361+ "refinedBy" : { "@type" : "@id" , "@id" : "oa:refinedBy" } ,
362+ "startSelector" : { "@type" : "@id" , "@id" : "oa:hasStartSelector" } ,
363+ "endSelector" : { "@type" : "@id" , "@id" : "oa:hasEndSelector" } ,
364+ "renderedVia" : { "@type" : "@id" , "@id" : "oa:renderedVia" } ,
365+ "creator" : { "@type" : "@id" , "@id" : "dcterms:creator" } ,
366+ "generator" : { "@type" : "@id" , "@id" : "as:generator" } ,
367+ "rights" : { "@type" : "@id" , "@id" : "dcterms:rights" } ,
368+ "homepage" : { "@type" : "@id" , "@id" : "foaf:homepage" } ,
369+ "via" : { "@type" : "@id" , "@id" : "oa:via" } ,
370+ "canonical" : { "@type" : "@id" , "@id" : "oa:canonical" } ,
371+ "stylesheet" : { "@type" : "@id" , "@id" : "oa:styledBy" } ,
372+ "cached" : { "@type" : "@id" , "@id" : "oa:cachedSource" } ,
373+ "conformsTo" : { "@type" : "@id" , "@id" : "dcterms:conformsTo" } ,
374+ "items" : { "@type" : "@id" , "@id" : "as:items" , "@container" : "@list" } ,
375+ "partOf" : { "@type" : "@id" , "@id" : "as:partOf" } ,
376+ "first" : { "@type" : "@id" , "@id" : "as:first" } ,
377+ "last" : { "@type" : "@id" , "@id" : "as:last" } ,
378+ "next" : { "@type" : "@id" , "@id" : "as:next" } ,
379+ "prev" : { "@type" : "@id" , "@id" : "as:prev" } ,
380+ "audience" : { "@type" : "@id" , "@id" : "schema:audience" } ,
381+ "motivation" : { "@type" : "@vocab" , "@id" : "oa:motivatedBy" } ,
382+ "purpose" : { "@type" : "@vocab" , "@id" : "oa:hasPurpose" } ,
383+ "textDirection" : { "@type" : "@vocab" , "@id" : "oa:textDirection" } ,
384+
385+ "accessibility" : "schema:accessibilityFeature" ,
386+ "bodyValue" : "oa:bodyValue" ,
387+ "format" : "dc:format" ,
388+ "language" : "dc:language" ,
389+ "processingLanguage" : "oa:processingLanguage" ,
390+ "value" : "rdf:value" ,
391+ "exact" : "oa:exact" ,
392+ "prefix" : "oa:prefix" ,
393+ "suffix" : "oa:suffix" ,
394+ "styleClass" : "oa:styleClass" ,
395+ "name" : "foaf:name" ,
396+ "email" : "foaf:mbox" ,
397+ "email_sha1" : "foaf:mbox_sha1sum" ,
398+ "nickname" : "foaf:nick" ,
399+ "label" : "rdfs:label" ,
400+
401+ "created" : { "@id" : "dcterms:created" , "@type" : "xsd:dateTime" } ,
402+ "modified" : { "@id" : "dcterms:modified" , "@type" : "xsd:dateTime" } ,
403+ "generated" : { "@id" : "dcterms:issued" , "@type" : "xsd:dateTime" } ,
404+ "sourceDate" : { "@id" : "oa:sourceDate" , "@type" : "xsd:dateTime" } ,
405+ "sourceDateStart" : { "@id" : "oa:sourceDateStart" , "@type" : "xsd:dateTime" } ,
406+ "sourceDateEnd" : { "@id" : "oa:sourceDateEnd" , "@type" : "xsd:dateTime" } ,
407+
408+ "start" : { "@id" : "oa:start" , "@type" : "xsd:nonNegativeInteger" } ,
409+ "end" : { "@id" : "oa:end" , "@type" : "xsd:nonNegativeInteger" } ,
410+ "total" : { "@id" : "as:totalItems" , "@type" : "xsd:nonNegativeInteger" } ,
411+ "startIndex" : { "@id" : "as:startIndex" , "@type" : "xsd:nonNegativeInteger" }
412+ } ,
413+ "id" : "http://example.org/anno9" ,
414+ "type" : "Annotation" ,
415+ "body" : [
416+ "http://example.org/description1" ,
417+ {
418+ "type" : "TextualBody" ,
419+ "value" : "tag1"
420+ }
421+ ] ,
422+ "target" : [
423+ "http://example.org/image1" ,
424+ "http://example.org/image2" ,
425+ {
426+ "source" : "http://example.org/"
427+ }
428+ ]
270429 }
271430 } ;
272431 return fixtures [ name ] ;
0 commit comments