Verified Commit 84a6c538 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

chore: update according to recent development

see backend!214
parent 8f718d8b
......@@ -172,10 +172,20 @@ Provides information about the target node or text the annotation refers to.
| Field Name | Cardinality | Type | Description |
|----|----|----|----|
| id | 1 | URI | a unique identifier for the target node or text in the form of `http://ahikar.sub.uni-goettingen.de/ns/annotations/{$resource-URI}/{$node-ID}`. `{$node-ID}` refers to the ID of the target's TEI node |
| selector | 1 | [Selector Object](#selector-object) | target selector property |
| format | 1 | MIME type | equals `text/xml` in any case since the annotations always refer to TEI documents |
| language | 1 | iso639-3 | the language of the target node's text or the target text |
### Selector Object
Selecting the target in a flexible way. Currently TIDO allows for a single CssSelector or a range selector including CssSelectors.
| Field Name | Cardinality | Type | Description |
|----|----|----|----|
| type | 1 | string | `CssSelector` |
| value | 1 | string | target selector as a valid css selector. Mainly [class selectors](https://www.w3.org/TR/2018/REC-selectors-3-20181106/#class-html) or [id selectors](https://www.w3.org/TR/2018/REC-selectors-3-20181106/#id-selectors). |
## Revision History / Changelog
| Version | Date | Description |
......@@ -183,6 +193,7 @@ Provides information about the target node or text the annotation refers to.
| 1.0.0 | 2020-07-16 | initial version |
| 2.0.0 | 2020-11-13 | update REST path for items |
| 3.0.0 | 2021-06-08 | remove `total` and `startIndex` |
| 4.0.0 | 2022-04-06 | utilizing CssSelector within a new Selector Object |
## Appendix
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment