Skip to content

Commit 1074c29

Browse files
committed
Merge branch 'main' into iiif-prezi-issue-122
2 parents 473f825 + 930a25c commit 1074c29

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

fixtures/3/anno_source.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
"format": "text/plain"
7979
},
8080
"target": {
81+
"type":"SpecificResource",
8182
"source": "https://iiif.io/api/image/3.0/example/reference/421e65be2ce95439b3ad6ef1f2ab87a9-dee-xray/full/max/0/default.jpg#xywh=810,900,260,370",
8283
"scope": "https://preview.iiif.io/cookbook/0326-annotating-image-layer/recipe/0326-annotating-image-layer/canvas/p1"
8384
}
@@ -95,4 +96,4 @@
9596
]
9697
}
9798
]
98-
}
99+
}

schema/iiif_3_0.json

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -980,15 +980,6 @@
980980
},
981981
{
982982
"$ref": "#/classes/specificResource"
983-
},
984-
{
985-
"title": "Annotation target can also contain just scope and source",
986-
"type": "object",
987-
"properties": {
988-
"source": { "$ref": "#/types/id" },
989-
"scope": { "$ref": "#/types/id" }
990-
},
991-
"required": ["source", "scope"]
992983
}
993984
]
994985
},
@@ -1009,6 +1000,7 @@
10091000
{ "$ref": "#/types/class" }
10101001
]
10111002
},
1003+
"scope": { "$ref": "#/types/id"},
10121004
"selector": {
10131005
"oneOf": [
10141006
{ "$ref": "#/classes/selector" },
@@ -1021,7 +1013,7 @@
10211013
]
10221014
}
10231015
},
1024-
"required": ["source", "selector"]
1016+
"required": ["source"]
10251017
},
10261018
"selector": {
10271019
"oneOf": [
@@ -1150,6 +1142,7 @@
11501142
]
11511143
},
11521144
{ "$ref": "#/classes/range" },
1145+
{ "$ref": "#/classes/rangeRef" },
11531146
{ "$ref": "#/classes/canvasRef" }
11541147
]
11551148
}

0 commit comments

Comments
 (0)