Skip to content

Commit

Permalink
Typing the point selector
Browse files Browse the repository at this point in the history
  • Loading branch information
glenrobson committed Mar 9, 2023
1 parent e8a6820 commit 18800bb
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions schema/iiif_3_0.json
Expand Up @@ -1031,15 +1031,17 @@
"if": {
"type":"object",
"properties": {
"type": { "type": "string" },
"t": {}
},
"required": ["type","t"]
"type": {"const":"PointSelector"}
}
},
"then": {
"type": "object",
"properties": {
"type": { "type": "string" },
"type": {
"type": "string",
"pattern": "^PointSelector$",
"default": "PointSelector"
},
"t": { "$ref": "#/types/duration" }
},
"required": ["type","t"]
Expand Down

0 comments on commit 18800bb

Please sign in to comment.