feat: Update manifest generation timestamp and migrate annotation-related classes

This commit is contained in:
kempersc 2026-01-27 09:04:51 +01:00
parent b4d1a7677f
commit 140ef25b96
6 changed files with 102 additions and 9 deletions

View file

@ -1,5 +1,5 @@
{
"generated": "2026-01-26T23:50:10.883Z",
"generated": "2026-01-27T08:03:23.376Z",
"schemaRoot": "/schemas/20251121/linkml",
"totalFiles": 3014,
"categoryCounts": {

View file

@ -1,5 +1,5 @@
{
"generated": "2026-01-27T08:03:23.376Z",
"generated": "2026-01-27T08:04:51.838Z",
"schemaRoot": "/schemas/20251121/linkml",
"totalFiles": 3014,
"categoryCounts": {

View file

@ -0,0 +1,47 @@
# AnnotationType class
# Abstract base class for annotation types classification
#
# Generation date: 2026-01-27
# Rule compliance: 0b (Type/Types pattern), 38, 39, 53
#
# Created for has_annotation_type migration
id: https://nde.nl/ontology/hc/class/AnnotationType
name: AnnotationType
title: Annotation Type Abstract Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
skos: http://www.w3.org/2004/02/skos/core#
default_prefix: hc
imports:
- linkml:types
- ../slots/has_or_had_label
- ../slots/has_or_had_code
- ../slots/has_or_had_description
classes:
AnnotationType:
class_uri: skos:Concept
description: |
Abstract base class for annotation types classification.
Provides a taxonomy for different types of annotations.
abstract: true
exact_mappings:
- skos:Concept
slots:
- has_or_had_label
- has_or_had_code
- has_or_had_description
slot_usage:
has_or_had_code:
range: string
required: true
description: Short code for the annotation type
has_or_had_label:
range: string
required: false
description: Human-readable name for the annotation type

View file

@ -0,0 +1,41 @@
# AnnotationTypes classes
# Concrete subclasses for AnnotationType taxonomy
#
# Generation date: 2026-01-27
# Rule compliance: 0b (Type/Types pattern)
#
# Updated for AnnotationType migration
id: https://nde.nl/ontology/hc/class/AnnotationTypes
name: annotation_types_classes
title: Annotation Types Classes
description: |
Concrete subclasses for AnnotationType taxonomy.
Follows Rule 0b Type/Types naming pattern.
imports:
- linkml:types
- ./AnnotationType
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
default_prefix: hc
classes:
Comment:
is_a: AnnotationType
class_uri: hc:Comment
description: A comment on a resource.
Tag:
is_a: AnnotationType
class_uri: hc:Tag
description: A tag or keyword associated with a resource.
Highlight:
is_a: AnnotationType
class_uri: hc:Highlight
description: A highlighted segment of a resource.
Correction:
is_a: AnnotationType
class_uri: hc:Correction
description: A correction to a resource.

View file

@ -20,7 +20,10 @@ imports:
- ../enums/CarrierTypeEnum
# REMOVED 2026-01-15: ../slots/wikidata_id - inherits has_or_had_identifier from ExhibitedObject (Rule 53)
- ../slots/isbn
- ../slots/has_annotation_by
- ../slots/contains_or_contained
- ../classes/Annotation
- ../slots/is_or_was_created_by
- ../classes/Agent
- ../slots/has_archival_reference
- ../slots/has_arrangement_level
- ../slots/has_or_had_description
@ -457,13 +460,15 @@ classes:
# range: string
# examples:
# - value: Extensive marginal annotations in 16th-century hand
has_annotation_by:
required: false
range: string
multivalued: true
contains_or_contained:
range: Annotation
description: Annotations on this information carrier.
examples:
- value: John Dee
- value: Unknown 17th-century reader
- value:
has_or_had_description: "Partially illegible note in margin"
is_or_was_created_by:
has_or_had_label: "Archivist J. Smith"
description: Annotation by archivist
includes_or_included:
description: >-
MIGRATED from bookplate (Rule 53).