summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/annotation-protocol/files
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/annotation-protocol/files
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/annotation-protocol/files')
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno1.json7
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno1.jsonld11
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno10.json19
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno11.json18
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno12.json19
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno13.json16
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno14.json16
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno15.json20
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno16.json12
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno17.json12
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno18.json19
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno19.json11
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno2.json17
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno2.jsonld11
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno20.json12
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno21.json14
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno22.json13
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno23.json15
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno24.json13
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno25.json13
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno26.json15
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno27.json14
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno28.json14
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno29.json13
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno3.json13
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno3.jsonld8
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno30.json13
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno31.json20
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno32.json19
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno33.json12
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno34.json14
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno35.json13
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno36.json22
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno37.json11
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno38.json14
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno39.json15
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno4.json11
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno40.json10
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno41.json82
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno5.json12
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno6.json7
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno7.json11
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno8.json6
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/anno9.json16
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/annotation.headers4
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/annotation.options.headers2
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/collection.headers5
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/collection.options.headers2
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/cors.headers4
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/annotations/page.headers3
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/index.html26
-rw-r--r--testing/web-platform/tests/annotation-protocol/files/index.html.headers1
52 files changed, 720 insertions, 0 deletions
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno1.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno1.json
new file mode 100644
index 0000000000..905349bb46
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno1.json
@@ -0,0 +1,7 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno1",
+ "type": "Annotation",
+ "body": "http://example.org/post1",
+ "target": "http://example.com/page1"
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno1.jsonld b/testing/web-platform/tests/annotation-protocol/files/annotations/anno1.jsonld
new file mode 100644
index 0000000000..0e1729ae72
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno1.jsonld
@@ -0,0 +1,11 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "/annotations/anno1.jsonld",
+ "type": "Annotation",
+ "created": "2015-01-31T12:03:45Z",
+ "body": {
+ "type": "TextualBody",
+ "value": "I like this page!"
+ },
+ "target": "/index.html"
+}
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno10.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno10.json
new file mode 100644
index 0000000000..766fddf3ac
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno10.json
@@ -0,0 +1,19 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno10",
+ "type": "Annotation",
+ "body": {
+ "type": "Choice",
+ "items": [
+ {
+ "id": "http://example.org/note1",
+ "language": "en"
+ },
+ {
+ "id": "http://example.org/note2",
+ "language": "fr"
+ }
+ ]
+ },
+ "target": "http://example.org/website1"
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno11.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno11.json
new file mode 100644
index 0000000000..7461493f46
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno11.json
@@ -0,0 +1,18 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno11",
+ "type": "Annotation",
+ "motivation": "commenting",
+ "body": {
+ "type": "TextualBody",
+ "value": "These pages together provide evidence of the conspiracy"
+ },
+ "target": {
+ "type": "Composite",
+ "items": [
+ "http://example.com/page1",
+ "http://example.org/page6",
+ "http://example.net/page4"
+ ]
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno12.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno12.json
new file mode 100644
index 0000000000..a8039b207d
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno12.json
@@ -0,0 +1,19 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno12",
+ "type": "Annotation",
+ "motivation": "tagging",
+ "body": {
+ "type": "TextualBody",
+ "value": "important"
+ },
+ "target": {
+ "type": "List",
+ "items": [
+ "http://example.com/book/page1",
+ "http://example.com/book/page2",
+ "http://example.com/book/page3",
+ "http://example.com/book/page4"
+ ]
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno13.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno13.json
new file mode 100644
index 0000000000..8bf663330d
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno13.json
@@ -0,0 +1,16 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno13",
+ "type": "Annotation",
+ "motivation": "classifying",
+ "body": "http://example.org/vocab/art/portrait",
+ "target": {
+ "type": "Independents",
+ "items": [
+ "http://example.com/image1",
+ "http://example.net/image2",
+ "http://example.com/image4",
+ "http://example.org/image9"
+ ]
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno14.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno14.json
new file mode 100644
index 0000000000..102225b729
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno14.json
@@ -0,0 +1,16 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno14",
+ "type": "Annotation",
+ "creator": "http://example.org/user1",
+ "created": "2015-01-28T12:00:00Z",
+ "modified": "2015-01-29T09:00:00Z",
+ "generator": "http://example.org/client1",
+ "generated": "2015-02-04T12:00:00Z",
+ "body": {
+ "id": "http://example.net/review1",
+ "creator": "http://example.net/user2",
+ "created": "2014-06-02T17:00:00Z"
+ },
+ "target": "http://example.com/restaurant1"
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno15.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno15.json
new file mode 100644
index 0000000000..1280eef4cd
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno15.json
@@ -0,0 +1,20 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno15",
+ "type": "Annotation",
+ "creator": {
+ "id": "http://example.org/user1",
+ "type": "Person",
+ "name": "My Pseudonym",
+ "nickname": "pseudo",
+ "email_sha1": "58bad08927902ff9307b621c54716dcc5083e339"
+ },
+ "generator": {
+ "id": "http://example.org/client1",
+ "type": "Software",
+ "name": "Code v2.1",
+ "homepage": "http://example.org/client1/homepage1"
+ },
+ "body": "http://example.net/review1",
+ "target": "http://example.com/restaurant1"
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno16.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno16.json
new file mode 100644
index 0000000000..f110169c34
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno16.json
@@ -0,0 +1,12 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno16",
+ "type": "Annotation",
+ "audience": {
+ "id": "http://example.edu/roles/teacher",
+ "type": "schema:EducationalAudience",
+ "schema:educationalRole": "teacher"
+ },
+ "body": "http://example.net/classnotes1",
+ "target": "http://example.com/textbook1"
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno17.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno17.json
new file mode 100644
index 0000000000..056b8e4f53
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno17.json
@@ -0,0 +1,12 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno17",
+ "type": "Annotation",
+ "motivation": "commenting",
+ "body": "http://example.net/comment1",
+ "target": {
+ "id": "http://example.com/video1",
+ "type": "Video",
+ "accessibility": "captions"
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno18.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno18.json
new file mode 100644
index 0000000000..cdf50fcd8f
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno18.json
@@ -0,0 +1,19 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno18",
+ "type": "Annotation",
+ "motivation": "bookmarking",
+ "body": [
+ {
+ "type": "TextualBody",
+ "value": "readme",
+ "purpose": "tagging"
+ },
+ {
+ "type": "TextualBody",
+ "value": "A good description of the topic that bears further investigation",
+ "purpose": "describing"
+ }
+ ],
+ "target": "http://example.com/page1"
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno19.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno19.json
new file mode 100644
index 0000000000..bd572ce688
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno19.json
@@ -0,0 +1,11 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno19",
+ "type": "Annotation",
+ "rights": "https://creativecommons.org/publicdomain/zero/1.0/",
+ "body": {
+ "id": "http://example.net/review1",
+ "rights": "http://creativecommons.org/licenses/by-nc/4.0/"
+ },
+ "target": "http://example.com/product1"
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno2.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno2.json
new file mode 100644
index 0000000000..f950f2db8d
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno2.json
@@ -0,0 +1,17 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno2",
+ "type": "Annotation",
+ "body": {
+ "id": "http://example.org/analysis1.mp3",
+ "format": "audio/mpeg",
+ "language": "fr"
+ },
+ "target": {
+ "id": "http://example.gov/patent1.pdf",
+ "format": "application/pdf",
+ "language": ["en", "ar"],
+ "textDirection": "ltr",
+ "processingLanguage": "en"
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno2.jsonld b/testing/web-platform/tests/annotation-protocol/files/annotations/anno2.jsonld
new file mode 100644
index 0000000000..22e96e11c8
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno2.jsonld
@@ -0,0 +1,11 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "/annotations/anno2.jsonld",
+ "type": "Annotation",
+ "created": "2015-02-31T12:03:45Z",
+ "body": {
+ "type": "TextualBody",
+ "value": "Great resource!"
+ },
+ "target": "http://www.w3c.org/"
+}
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno20.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno20.json
new file mode 100644
index 0000000000..17fcc7185a
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno20.json
@@ -0,0 +1,12 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno20",
+ "type": "Annotation",
+ "canonical": "urn:uuid:dbfb1861-0ecf-41ad-be94-a584e5c4f1df",
+ "via": "http://other.example.org/anno1",
+ "body": {
+ "id": "http://example.net/review1",
+ "rights": "http://creativecommons.org/licenses/by/4.0/"
+ },
+ "target": "http://example.com/product1"
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno21.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno21.json
new file mode 100644
index 0000000000..9ae284df04
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno21.json
@@ -0,0 +1,14 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno21",
+ "type": "Annotation",
+ "body": {
+ "type": "SpecificResource",
+ "purpose": "tagging",
+ "source": "http://example.org/city1"
+ },
+ "target": {
+ "id": "http://example.org/photo1",
+ "type": "Image"
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno22.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno22.json
new file mode 100644
index 0000000000..767080c05e
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno22.json
@@ -0,0 +1,13 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno22",
+ "type": "Annotation",
+ "body": {
+ "source": "http://example.org/page1",
+ "selector": "http://example.org/paraselector1"
+ },
+ "target": {
+ "source": "http://example.com/dataset1",
+ "selector": "http://example.org/dataselector1"
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno23.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno23.json
new file mode 100644
index 0000000000..53b6c676b1
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno23.json
@@ -0,0 +1,15 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno23",
+ "type": "Annotation",
+ "body": {
+ "source": "http://example.org/video1",
+ "purpose": "describing",
+ "selector": {
+ "type": "FragmentSelector",
+ "conformsTo": "http://www.w3.org/TR/media-frags/",
+ "value": "t=30,60"
+ }
+ },
+ "target": "http://example.org/image1"
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno24.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno24.json
new file mode 100644
index 0000000000..6cca6cb0a6
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno24.json
@@ -0,0 +1,13 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno24",
+ "type": "Annotation",
+ "body": "http://example.org/note1",
+ "target": {
+ "source": "http://example.org/page1.html",
+ "selector": {
+ "type": "CssSelector",
+ "value": "#elemid > .elemclass + p"
+ }
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno25.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno25.json
new file mode 100644
index 0000000000..0e48d3be6a
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno25.json
@@ -0,0 +1,13 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno25",
+ "type": "Annotation",
+ "body": "http://example.org/note1",
+ "target": {
+ "source": "http://example.org/page1.html",
+ "selector": {
+ "type": "XPathSelector",
+ "value": "/html/body/p[2]/table/tr[2]/td[3]/span"
+ }
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno26.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno26.json
new file mode 100644
index 0000000000..1777fd781b
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno26.json
@@ -0,0 +1,15 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno26",
+ "type": "Annotation",
+ "body": "http://example.org/comment1",
+ "target": {
+ "source": "http://example.org/page1",
+ "selector": {
+ "type": "TextQuoteSelector",
+ "exact": "anotation",
+ "prefix": "this is an ",
+ "suffix": " that has some"
+ }
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno27.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno27.json
new file mode 100644
index 0000000000..4844979a24
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno27.json
@@ -0,0 +1,14 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno27",
+ "type": "Annotation",
+ "body": "http://example.org/review1",
+ "target": {
+ "source": "http://example.org/ebook1",
+ "selector": {
+ "type": "TextPositionSelector",
+ "start": 412,
+ "end": 795
+ }
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno28.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno28.json
new file mode 100644
index 0000000000..2dd1bc7afc
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno28.json
@@ -0,0 +1,14 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno28",
+ "type": "Annotation",
+ "body": "http://example.org/note1",
+ "target": {
+ "source": "http://example.org/diskimg1",
+ "selector": {
+ "type": "DataPositionSelector",
+ "start": 4096,
+ "end": 4104
+ }
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno29.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno29.json
new file mode 100644
index 0000000000..77914acaeb
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno29.json
@@ -0,0 +1,13 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno29",
+ "type": "Annotation",
+ "body": "http://example.org/road1",
+ "target": {
+ "source": "http://example.org/map1",
+ "selector": {
+ "id": "http://example.org/svg1",
+ "type": "SvgSelector"
+ }
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno3.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno3.json
new file mode 100644
index 0000000000..548825c76b
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno3.json
@@ -0,0 +1,13 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno3",
+ "type": "Annotation",
+ "body": {
+ "id": "http://example.org/video1",
+ "type": "Video"
+ },
+ "target": {
+ "id": "http://example.org/website1",
+ "type": "Text"
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno3.jsonld b/testing/web-platform/tests/annotation-protocol/files/annotations/anno3.jsonld
new file mode 100644
index 0000000000..ef1bc83b55
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno3.jsonld
@@ -0,0 +1,8 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "/annotations/anno3.jsonld",
+ "type": "Annotation",
+ "target": "http://w3c.org/",
+ "body": "https://en.wikipedia.org/wiki/World_Wide_Web_Consortium",
+ "movivation": "describing"
+}
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno30.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno30.json
new file mode 100644
index 0000000000..1a7619afc1
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno30.json
@@ -0,0 +1,13 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno30",
+ "type": "Annotation",
+ "body": "http://example.org/road1",
+ "target": {
+ "source": "http://example.org/map1",
+ "selector": {
+ "type": "SvgSelector",
+ "value": "<svg:svg> ... </svg:svg>"
+ }
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno31.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno31.json
new file mode 100644
index 0000000000..ee6902c396
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno31.json
@@ -0,0 +1,20 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno31",
+ "type": "Annotation",
+ "body": "http://example.org/comment1",
+ "target": {
+ "source": "http://example.org/page1.html",
+ "selector": {
+ "type": "RangeSelector",
+ "startSelector": {
+ "type": "XPathSelector",
+ "value": "//table[1]/tr[1]/td[2]"
+ },
+ "endSelector": {
+ "type": "XPathSelector",
+ "value": "//table[1]/tr[1]/td[4]"
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno32.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno32.json
new file mode 100644
index 0000000000..f7c189ceb6
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno32.json
@@ -0,0 +1,19 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno32",
+ "type": "Annotation",
+ "body": "http://example.org/comment1",
+ "target": {
+ "source": "http://example.org/page1",
+ "selector": {
+ "type": "FragmentSelector",
+ "value": "para5",
+ "refinedBy": {
+ "type": "TextQuoteSelector",
+ "exact": "Selected Text",
+ "prefix": "text before the ",
+ "suffix": " and text after it"
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno33.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno33.json
new file mode 100644
index 0000000000..f2866eef56
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno33.json
@@ -0,0 +1,12 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno33",
+ "type": "Annotation",
+ "body": "http://example.org/note1",
+ "target": {
+ "source": "http://example.org/page1",
+ "state": {
+ "id": "http://example.org/state1"
+ }
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno34.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno34.json
new file mode 100644
index 0000000000..c3df38c282
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno34.json
@@ -0,0 +1,14 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno34",
+ "type": "Annotation",
+ "body": "http://example.org/note1",
+ "target": {
+ "source": "http://example.org/page1",
+ "state": {
+ "type": "TimeState",
+ "cached": "http://archive.example.org/copy1",
+ "sourceDate": "2015-07-20T13:30:00Z"
+ }
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno35.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno35.json
new file mode 100644
index 0000000000..39050abb13
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno35.json
@@ -0,0 +1,13 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno35",
+ "type": "Annotation",
+ "body": "http://example.org/description1",
+ "target": {
+ "source": "http://example.org/resource1",
+ "state": {
+ "type": "HttpRequestState",
+ "value": "Accept: application/pdf"
+ }
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno36.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno36.json
new file mode 100644
index 0000000000..77581efb3d
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno36.json
@@ -0,0 +1,22 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno36",
+ "type": "Annotation",
+ "body": "http://example.org/comment1",
+ "target": {
+ "source": "http://example.org/ebook1",
+ "state": {
+ "type": "TimeState",
+ "sourceDate": "2016-02-01T12:05:23Z",
+ "refinedBy": {
+ "type": "HttpRequestState",
+ "value": "Accept: application/pdf",
+ "refinedBy": {
+ "type": "FragmentSelector",
+ "value": "page=10",
+ "conformsTo": "http://tools.ietf.org/rfc/rfc3778"
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno37.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno37.json
new file mode 100644
index 0000000000..96796db9a0
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno37.json
@@ -0,0 +1,11 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno37",
+ "type": "Annotation",
+ "stylesheet": "http://example.org/style1",
+ "body": "http://example.org/comment1",
+ "target": {
+ "source": "http://example.org/document1",
+ "styleClass": "red"
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno38.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno38.json
new file mode 100644
index 0000000000..67f24b80ea
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno38.json
@@ -0,0 +1,14 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno38",
+ "type": "Annotation",
+ "stylesheet": {
+ "type": "CssStylesheet",
+ "value": ".red { color: red }"
+ },
+ "body": "http://example.org/body1",
+ "target": {
+ "source": "http://example.org/target1",
+ "styleClass": "red"
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno39.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno39.json
new file mode 100644
index 0000000000..27e639cd34
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno39.json
@@ -0,0 +1,15 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno39",
+ "type": "Annotation",
+ "body": "http://example.org/comment1",
+ "target": {
+ "source": "http://example.edu/article.pdf",
+ "selector": "http://example.org/selectors/html-selector1",
+ "renderedVia": {
+ "id": "http://example.com/pdf-to-html-library",
+ "type": "Software",
+ "schema:softwareVersion": "2.5"
+ }
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno4.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno4.json
new file mode 100644
index 0000000000..5655fb39e1
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno4.json
@@ -0,0 +1,11 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno4",
+ "type": "Annotation",
+ "body": "http://example.org/description1",
+ "target": {
+ "id": "http://example.com/image1#xywh=100,100,300,300",
+ "type": "Image",
+ "format": "image/jpeg"
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno40.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno40.json
new file mode 100644
index 0000000000..63b47f145c
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno40.json
@@ -0,0 +1,10 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno40",
+ "type": "Annotation",
+ "body": "http://example.org/note1",
+ "target": {
+ "source": "http://example.org/image1",
+ "scope": "http://example.org/page1"
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno41.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno41.json
new file mode 100644
index 0000000000..80afc74894
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno41.json
@@ -0,0 +1,82 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno41",
+ "type": "Annotation",
+ "motivation": "commenting",
+ "creator": {
+ "id": "http://example.org/user1",
+ "type": "Person",
+ "name": "A. Person",
+ "nickname": "user1"
+ },
+ "created": "2015-10-13T13:00:00Z",
+ "generator": {
+ "id": "http://example.org/client1",
+ "type": "Software",
+ "name": "Code v2.1",
+ "homepage": "http://example.org/homepage1"
+ },
+ "generated": "2015-10-14T15:13:28Z",
+ "stylesheet": {
+ "id": "http://example.org/stylesheet1",
+ "type": "CssStylesheet"
+ },
+ "body": [
+ {
+ "type": "TextualBody",
+ "purpose": "tagging",
+ "value": "love"
+ },
+ {
+ "type": "Choice",
+ "items": [
+ {
+ "type": "TextualBody",
+ "purpose": "describing",
+ "value": "I really love this particular bit of text in this XML. No really.",
+ "format": "text/plain",
+ "language": "en",
+ "creator": "http://example.org/user1"
+ },
+ {
+ "type": "SpecificResource",
+ "purpose": "describing",
+ "source": {
+ "id": "http://example.org/comment1",
+ "type": "Audio",
+ "format": "audio/mpeg",
+ "language": "de",
+ "creator": {
+ "id": "http://example.org/user2",
+ "type": "Person"
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "target": {
+ "type": "SpecificResource",
+ "styleClass": "mystyle",
+ "source": "http://example.com/document1",
+ "state": [
+ {
+ "type": "HttpRequestState",
+ "value": "Accept: application/xml",
+ "refinedBy": {
+ "type": "TimeState",
+ "sourceDate": "2015-09-25T12:00:00Z"
+ }
+ }
+ ],
+ "selector": {
+ "type": "FragmentSelector",
+ "value": "xpointer(/doc/body/section[2]/para[1])",
+ "refinedBy": {
+ "type": "TextPositionSelector",
+ "start": 6,
+ "end": 27
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno5.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno5.json
new file mode 100644
index 0000000000..85532e8785
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno5.json
@@ -0,0 +1,12 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno5",
+ "type":"Annotation",
+ "body": {
+ "type" : "TextualBody",
+ "value" : "<p>j'adore !</p>",
+ "format" : "text/html",
+ "language" : "fr"
+ },
+ "target": "http://example.org/photo1"
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno6.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno6.json
new file mode 100644
index 0000000000..9ae0d88eae
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno6.json
@@ -0,0 +1,7 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno6",
+ "type":"Annotation",
+ "bodyValue": "Comment text",
+ "target": "http://example.org/target1"
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno7.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno7.json
new file mode 100644
index 0000000000..9f821d22fb
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno7.json
@@ -0,0 +1,11 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno7",
+ "type":"Annotation",
+ "body": {
+ "type": "TextualBody",
+ "value": "Comment text",
+ "format": "text/plain"
+ },
+ "target": "http://example.org/target1"
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno8.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno8.json
new file mode 100644
index 0000000000..3187af6574
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno8.json
@@ -0,0 +1,6 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno8",
+ "type": "Annotation",
+ "target": "http://example.org/ebook1"
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/anno9.json b/testing/web-platform/tests/annotation-protocol/files/annotations/anno9.json
new file mode 100644
index 0000000000..8d72da3563
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/anno9.json
@@ -0,0 +1,16 @@
+{
+ "@context": "http://www.w3.org/ns/anno.jsonld",
+ "id": "http://example.org/anno9",
+ "type": "Annotation",
+ "body": [
+ "http://example.org/description1",
+ {
+ "type": "TextualBody",
+ "value": "tag1"
+ }
+ ],
+ "target": [
+ "http://example.org/image1",
+ "http://example.org/image2"
+ ]
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/annotation.headers b/testing/web-platform/tests/annotation-protocol/files/annotations/annotation.headers
new file mode 100644
index 0000000000..e69ef1cde2
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/annotation.headers
@@ -0,0 +1,4 @@
+Content-Type: application/ld+json; profile="http://www.w3.org/ns/anno.jsonld"
+Link: <http://www.w3.org/ns/ldp#Resource>; rel="type"
+Allow: GET,HEAD,OPTIONS,DELETE,PUT
+Vary: Accept
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/annotation.options.headers b/testing/web-platform/tests/annotation-protocol/files/annotations/annotation.options.headers
new file mode 100644
index 0000000000..48973d7459
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/annotation.options.headers
@@ -0,0 +1,2 @@
+Allow: GET,HEAD,OPTIONS,DELETE,PUT
+Vary: Accept
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/collection.headers b/testing/web-platform/tests/annotation-protocol/files/annotations/collection.headers
new file mode 100644
index 0000000000..a6dc59ecb2
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/collection.headers
@@ -0,0 +1,5 @@
+Content-Type: application/ld+json; profile="http://www.w3.org/ns/anno.jsonld"
+Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel="type"
+Link: <http://www.w3.org/TR/annotation-protocol/>; rel="http://www.w3.org/ns/ldp#constrainedBy"
+Allow: POST,GET,OPTIONS,HEAD
+Vary: Accept, Prefer
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/collection.options.headers b/testing/web-platform/tests/annotation-protocol/files/annotations/collection.options.headers
new file mode 100644
index 0000000000..7bc301662c
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/collection.options.headers
@@ -0,0 +1,2 @@
+Allow: POST,GET,OPTIONS,HEAD,DELETE,PUT
+Vary: Accept, Prefer
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/cors.headers b/testing/web-platform/tests/annotation-protocol/files/annotations/cors.headers
new file mode 100644
index 0000000000..816bc214a5
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/cors.headers
@@ -0,0 +1,4 @@
+Access-Control-Allow-Headers: Content-Type, Prefer
+Access-Control-Allow-Methods: GET,HEAD,OPTIONS,DELETE,PUT
+Access-Control-Allow-Origin: *
+Access-Control-Expose-Headers: ETag, Allow, Vary, Link, Content-Type, Location, Content-Location, Prefer
diff --git a/testing/web-platform/tests/annotation-protocol/files/annotations/page.headers b/testing/web-platform/tests/annotation-protocol/files/annotations/page.headers
new file mode 100644
index 0000000000..7cb1c19c65
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/annotations/page.headers
@@ -0,0 +1,3 @@
+Content-Type: application/ld+json; profile="http://www.w3.org/ns/anno.jsonld"
+Allow: GET,OPTIONS,HEAD
+Vary: Accept, Prefer
diff --git a/testing/web-platform/tests/annotation-protocol/files/index.html b/testing/web-platform/tests/annotation-protocol/files/index.html
new file mode 100644
index 0000000000..146fd3aed4
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/index.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width">
+ <title>Annotate This Page</title>
+</head>
+<body>
+
+ <h4>Test Your Annotation Client <em>Today!</em></h4>
+
+ <blockquote>A conforming Web Annotation Protocol client SHOULD be able to:
+ <ul>
+ <li>start from this page</li>
+ <li>discover the <em>recommended</em> AnnotationCollection</li>
+ <li>read existing annotations from that AnnotationCollection</li>
+ <li>create, update, and delete annotations from that AnnotationCollection</li>
+ </ul>
+ </blockquote>
+
+ <p>Interoperability between systems has two basic aspects: the syntax and semantics of the data that is moved between the systems, and the transport mechanism for that movement. The HTTP protocol and the Web architecture provides us with a great starting point for a standardized transport layer, and can be used to move content between systems easily and effectively. Building upon these foundations allows us to make use of existing technology and patterns to ensure consistency and ease of development.</p>
+
+ <p>The Web Annotation Protocol describes a transport mechanism for creating, managing, and retrieving Annotations. Annotations in this specification are assumed to follow the requirements of the Web Annotation Data Model [<cite><a href="#bib-annotation-model" class="bibref">annotation-model</a></cite>] and Web Annotation Vocabulary [<cite><a href="#bib-annotation-vocab" class="bibref">annotation-vocab</a></cite>]. This specification builds upon REST principles and the Linked Data Platform [<cite><a href="#bib-ldp" class="bibref">ldp</a></cite>] recommendation, and familiarity with it is recommended.</p>
+
+</body>
+</html>
diff --git a/testing/web-platform/tests/annotation-protocol/files/index.html.headers b/testing/web-platform/tests/annotation-protocol/files/index.html.headers
new file mode 100644
index 0000000000..2b5c176a69
--- /dev/null
+++ b/testing/web-platform/tests/annotation-protocol/files/index.html.headers
@@ -0,0 +1 @@
+Link: </annotations/>; rel="http://www.w3.org/ns/oa#annotationService"