Skip to content

Commit 6563cc3

Browse files
authored
Merge pull request #187 from IIIF/fix_validation_issues
Fixing validation issue
2 parents d113ac5 + e55c5b1 commit 6563cc3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

schema/iiif_3_0.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@
173173
"properties": {
174174
"id": { "$ref": "#/types/id" },
175175
"type": {
176-
"type": "string"
176+
"type": "string",
177+
"not": { "enum": ["TextualBody", "SpecificResource" ]}
177178
},
178179
"height": { "$ref": "#/types/dimension" },
179180
"width": { "$ref": "#/types/dimension" },
@@ -1034,7 +1035,7 @@
10341035
{
10351036
"$ref": "#/classes/specificResource"
10361037
}
1037-
]
1038+
]
10381039
},
10391040
"specificResource": {
10401041
"type": "object",
@@ -1050,7 +1051,7 @@
10501051
"source": {
10511052
"oneOf": [
10521053
{ "$ref": "#/types/id" },
1053-
{ "$ref": "#/types/class" }
1054+
{ "$ref": "#/classes/resource" }
10541055
]
10551056
},
10561057
"scope": { "$ref": "#/types/id"},

0 commit comments

Comments
 (0)