Skip to content

Commit 74513ee

Browse files
author
Rob Sanderson
committed
Add missing selector property
1 parent af96f02 commit 74513ee

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

source/presentation/4.0/model.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2323,6 +2323,31 @@ The value _MUST_ be an array of JSON objects. Each item _MUST_ have the `id` and
23232323
}
23242324
```
23252325

2326+
### selector
2327+
{: #selector}
2328+
2329+
The `selector` property on a Specific Resource references an array of Selector instances, any of which can be used to determine the desired region or part of the resource in the `source` property of the Specfic Resource. Each Selector in the array _SHOULD_ select the same content, however some Selector classes can be more precise than others. Publishers _SHOULD_ order the array based on the preferred Selector to use, likely the most accurate. Clients _MUST_ choose one of the Selectors to process, based on which are supported, in the preference order.
2330+
2331+
For more information about Selectors and the `selector` property, please see the [Web Annotation Data Model](https://www.w3.org/TR/annotation-model/#selectors).
2332+
2333+
The value of `selector` _MUST_ be an array of JSON objects. Each item _MUST_ have the `type` property and be an instance of a Selector.
2334+
2335+
* A Specific Resource _MAY_ have the `selector` property with at least one item.<br/>
2336+
Clients _SHOULD_ process `selector` on a Specific Resource.
2337+
* Other resource types _MUST NOT_ have the `selector` property.<br/>
2338+
Clients _MUST_ ignore `selector` on other resource types.
2339+
2340+
{% include api/code_header.html %}
2341+
``` json-doc
2342+
{
2343+
"selector": [
2344+
{
2345+
"type": "AudioContentSelector"
2346+
}
2347+
]
2348+
}
2349+
```
2350+
23262351

23272352
### service
23282353
{: #service}

0 commit comments

Comments
 (0)