Add a timestamp annotation and make annotation classes configurable #145

Merged
christian-monch merged 3 commits from timestamp into master 2025-10-07 13:41:33 +00:00

3 commits

Author SHA1 Message Date
Christian Monch
62b953a099 bump version, update CHANGELOG.md 2025-10-07 15:35:17 +02:00
Christian Monch
76882d1692 use configured tags in record store
This commit uses the tags that are defined in
the configuration.

It adapts the tests and updates README.md with
instructions for tag definition.
2025-10-07 15:35:06 +02:00
Christian Monch
735814e034 add config options for annotations
Add config options for annotation tags. The new
configuration allows to define the tags
`submitter_id_tag` and `submission_time_tag`, on
collection level.
Their content will be used to determine the
content of `Annotation_annotation_tag` for
the submitter and the submission time. CURIEs
and IRIs are supported (in alignment with
linkml-code IRIs are identified by the
prefix `<scheme>://`).

The defaults are:

 submitter_id_tag: 'http://purl.obolibrary.org/obo/NCIT_C54269'
 submission_time_tag: 'http://semanticscience.org/resource/SIO_001083'

The commit also introduces stricter config-file
checks, extra entries are now forbidden. This
helps to detect typos in config files.
2025-10-07 11:14:21 +02:00