Skip to content

Commit 1d1eb9d

Browse files
committed
Adding defaults for other references
1 parent 0e8807f commit 1d1eb9d

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

schema/iiif_3_0.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,8 @@
689689
"properties": {
690690
"type": {
691691
"type": "string",
692-
"pattern": "^Range$"
692+
"pattern": "^Range$",
693+
"default": "Range"
693694
}
694695
}
695696
}
@@ -703,7 +704,8 @@
703704
"properties": {
704705
"type": {
705706
"type": "string",
706-
"pattern": "^Canvas$"
707+
"pattern": "^Canvas$",
708+
"default": "Canvas"
707709
},
708710
"partOf": {
709711
"$ref": "#/classes/partOf"
@@ -727,7 +729,8 @@
727729
"properties": {
728730
"type": {
729731
"type": "string",
730-
"pattern": "^AnnotationPage$"
732+
"pattern": "^AnnotationPage$",
733+
"default": "AnnotationPage"
731734
}
732735
}
733736
}

0 commit comments

Comments
 (0)