diff --git a/frontend/public/schemas/20251121/linkml/manifest.json b/frontend/public/schemas/20251121/linkml/manifest.json index 0452289fe8..e1938ec888 100644 --- a/frontend/public/schemas/20251121/linkml/manifest.json +++ b/frontend/public/schemas/20251121/linkml/manifest.json @@ -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": { diff --git a/schemas/20251121/linkml/manifest.json b/schemas/20251121/linkml/manifest.json index e1938ec888..76a6332c6a 100644 --- a/schemas/20251121/linkml/manifest.json +++ b/schemas/20251121/linkml/manifest.json @@ -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": { diff --git a/schemas/20251121/linkml/modules/classes/AnnotationType.yaml b/schemas/20251121/linkml/modules/classes/AnnotationType.yaml new file mode 100644 index 0000000000..9a5588ae3c --- /dev/null +++ b/schemas/20251121/linkml/modules/classes/AnnotationType.yaml @@ -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 diff --git a/schemas/20251121/linkml/modules/classes/AnnotationTypes.yaml b/schemas/20251121/linkml/modules/classes/AnnotationTypes.yaml new file mode 100644 index 0000000000..4ea51b9f9e --- /dev/null +++ b/schemas/20251121/linkml/modules/classes/AnnotationTypes.yaml @@ -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. diff --git a/schemas/20251121/linkml/modules/classes/InformationCarrier.yaml b/schemas/20251121/linkml/modules/classes/InformationCarrier.yaml index 33efd5fd4f..5762eaf90f 100644 --- a/schemas/20251121/linkml/modules/classes/InformationCarrier.yaml +++ b/schemas/20251121/linkml/modules/classes/InformationCarrier.yaml @@ -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). diff --git a/schemas/20251121/linkml/modules/slots/has_annotation_by.yaml b/schemas/20251121/linkml/modules/slots/archive/has_annotation_by_archived_20260127.yaml similarity index 100% rename from schemas/20251121/linkml/modules/slots/has_annotation_by.yaml rename to schemas/20251121/linkml/modules/slots/archive/has_annotation_by_archived_20260127.yaml