Skip to content

Commit

Permalink
Update annotation-create.yaml
Browse files Browse the repository at this point in the history
Mark `target` as an array in the annotation-create schema
  • Loading branch information
shawninder authored and robertknight committed Mar 23, 2023
1 parent b1a732a commit 67d1ad9
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions docs/_extra/api-reference/schemas/annotation-create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,22 @@ Annotation:
permissions:
type: object
target:
type: object
properties:
selector:
type: array
description: An array of selectors that refine this annotation's target
items:
type: object
description: >
A selector for refining the annotation target. See
[the Web Annotation Data Model W3C Recommendation](https://www.w3.org/TR/annotation-model/#selectors)
for details about different selector types and properties.
properties:
"type":
type: string
type: array
items:
type: object
properties:
selector:
type: array
description: An array of selectors that refine this annotation's target
items:
type: object
description: >
A selector for refining the annotation target. See
[the Web Annotation Data Model W3C Recommendation](https://www.w3.org/TR/annotation-model/#selectors)
for details about different selector types and properties.
properties:
"type":
type: string
references:
type: array
description: Annotation IDs for any annotations this annotation references (e.g. is a reply to)
Expand Down

0 comments on commit 67d1ad9

Please sign in to comment.