Skip to content

Commit b1a732a

Browse files
shawninderrobertknight
authored andcommitted
Update annotation.yaml
Mark `target` as an array in the annotation schema
1 parent 29620f6 commit b1a732a

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

docs/_extra/api-reference/schemas/annotation.yaml

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,24 +45,26 @@ Annotation:
4545
permissions:
4646
type: object
4747
target:
48-
type: object
49-
properties:
50-
source:
51-
type: string
52-
format: uri
53-
description: The target URI for the annotation
54-
selector:
55-
type: array
56-
description: An array of selectors that refine this annotation's target
57-
items:
58-
type: object
59-
description: >
60-
A selector for refining the annotation target. See
61-
[the Web Annotation Data Model W3C Recommendation](https://www.w3.org/TR/annotation-model/#selectors)
62-
for details about different selector types and properties.
63-
properties:
64-
"type":
65-
type: string
48+
type: array
49+
items:
50+
type: object
51+
properties:
52+
source:
53+
type: string
54+
format: uri
55+
description: The target URI for the annotation
56+
selector:
57+
type: array
58+
description: An array of selectors that refine this annotation's target
59+
items:
60+
type: object
61+
description: >
62+
A selector for refining the annotation target. See
63+
[the Web Annotation Data Model W3C Recommendation](https://www.w3.org/TR/annotation-model/#selectors)
64+
for details about different selector types and properties.
65+
properties:
66+
"type":
67+
type: string
6668

6769
links:
6870
type: object

0 commit comments

Comments
 (0)