summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/annotation-model/tools/samples
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/tests/annotation-model/tools/samples
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/annotation-model/tools/samples')
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example1.json7
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example10.json19
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example11.json18
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example12.json19
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example13.json16
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example14.json16
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example15.json20
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example16.json12
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example17.json12
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example18.json19
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example19.json11
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example2.json17
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example20.json12
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example3.json13
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example4.json11
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example5.json12
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example6.json7
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example7.json11
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example8.json6
-rw-r--r--testing/web-platform/tests/annotation-model/tools/samples/example9.json16
20 files changed, 274 insertions, 0 deletions
diff --git a/testing/web-platform/tests/annotation-model/tools/samples/example1.json b/testing/web-platform/tests/annotation-model/tools/samples/example1.json
new file mode 100644
index 0000000000..905349bb46
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example1.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-model/tools/samples/example10.json b/testing/web-platform/tests/annotation-model/tools/samples/example10.json
new file mode 100644
index 0000000000..766fddf3ac
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example10.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-model/tools/samples/example11.json b/testing/web-platform/tests/annotation-model/tools/samples/example11.json
new file mode 100644
index 0000000000..7461493f46
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example11.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-model/tools/samples/example12.json b/testing/web-platform/tests/annotation-model/tools/samples/example12.json
new file mode 100644
index 0000000000..a8039b207d
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example12.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-model/tools/samples/example13.json b/testing/web-platform/tests/annotation-model/tools/samples/example13.json
new file mode 100644
index 0000000000..8bf663330d
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example13.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-model/tools/samples/example14.json b/testing/web-platform/tests/annotation-model/tools/samples/example14.json
new file mode 100644
index 0000000000..7f8d2b8393
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example14.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-model/tools/samples/example15.json b/testing/web-platform/tests/annotation-model/tools/samples/example15.json
new file mode 100644
index 0000000000..1280eef4cd
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example15.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-model/tools/samples/example16.json b/testing/web-platform/tests/annotation-model/tools/samples/example16.json
new file mode 100644
index 0000000000..f110169c34
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example16.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-model/tools/samples/example17.json b/testing/web-platform/tests/annotation-model/tools/samples/example17.json
new file mode 100644
index 0000000000..056b8e4f53
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example17.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-model/tools/samples/example18.json b/testing/web-platform/tests/annotation-model/tools/samples/example18.json
new file mode 100644
index 0000000000..cdf50fcd8f
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example18.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-model/tools/samples/example19.json b/testing/web-platform/tests/annotation-model/tools/samples/example19.json
new file mode 100644
index 0000000000..bd572ce688
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example19.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-model/tools/samples/example2.json b/testing/web-platform/tests/annotation-model/tools/samples/example2.json
new file mode 100644
index 0000000000..f950f2db8d
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example2.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-model/tools/samples/example20.json b/testing/web-platform/tests/annotation-model/tools/samples/example20.json
new file mode 100644
index 0000000000..17fcc7185a
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example20.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-model/tools/samples/example3.json b/testing/web-platform/tests/annotation-model/tools/samples/example3.json
new file mode 100644
index 0000000000..c390905ebb
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example3.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"
+ }
+}
diff --git a/testing/web-platform/tests/annotation-model/tools/samples/example4.json b/testing/web-platform/tests/annotation-model/tools/samples/example4.json
new file mode 100644
index 0000000000..5655fb39e1
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example4.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-model/tools/samples/example5.json b/testing/web-platform/tests/annotation-model/tools/samples/example5.json
new file mode 100644
index 0000000000..85532e8785
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example5.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-model/tools/samples/example6.json b/testing/web-platform/tests/annotation-model/tools/samples/example6.json
new file mode 100644
index 0000000000..9ae0d88eae
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example6.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-model/tools/samples/example7.json b/testing/web-platform/tests/annotation-model/tools/samples/example7.json
new file mode 100644
index 0000000000..9f821d22fb
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example7.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-model/tools/samples/example8.json b/testing/web-platform/tests/annotation-model/tools/samples/example8.json
new file mode 100644
index 0000000000..3187af6574
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example8.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-model/tools/samples/example9.json b/testing/web-platform/tests/annotation-model/tools/samples/example9.json
new file mode 100644
index 0000000000..8d72da3563
--- /dev/null
+++ b/testing/web-platform/tests/annotation-model/tools/samples/example9.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