glam/frontend/public/schemas/20251121/linkml/modules/classes/CollectionContent.yaml
kempersc 2d09776856 Refactor StorageCondition schema: Migrate compliance_status to has_or_had_status with ComplianceStatus class
- Removed compliance_status slot and replaced it with has_or_had_status.
- Updated has_or_had_status to use ComplianceStatus for structured representation.
- Adjusted examples to reflect new structure for compliance status.
- Updated documentation to indicate migration and provide details on the ComplianceStatus class.
2026-01-22 16:22:16 +01:00

107 lines
3.6 KiB
YAML

# CollectionContent - Content held by a collection
#
# Created per slot_fixes.yaml migration for: collection_type
# Creation date: 2026-01-19
#
# Rule 53 (No Bespoke Slots): collection_type → has_or_had_content + CollectionContent + has_or_had_type + CollectionContentType
id: https://nde.nl/ontology/hc/class/CollectionContent
name: CollectionContent
title: Collection Content
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
dcterms: http://purl.org/dc/terms/
rico: https://www.ica.org/standards/RiC/ontology#
default_prefix: hc
imports:
- linkml:types
- ./CollectionContentType
- ./CollectionContentTypes
- ../slots/has_or_had_type
classes:
CollectionContent:
class_uri: hc:CollectionContent
description: |
Represents content held within a collection, with typed categorization.
**RULE 53 MIGRATION**:
Replaces the simple `collection_type` string slot with a structured model:
- `has_or_had_content` → CollectionContent (this class)
- `has_or_had_type` → CollectionContentType (categorization)
**USAGE**:
```yaml
has_or_had_content:
- content_description: "Medieval manuscripts and parish registers"
has_or_had_type:
- type_label: Archival
- type_label: Library
```
**CHARACTERISTICS**:
- Supports multiple content types per collection
- Provides structured categorization
- Links to CollectionContentType taxonomy
slots:
- has_or_had_type
slot_usage:
has_or_had_type:
range: CollectionContentType
multivalued: true
inlined: true
description: |
Type(s) of content in this collection.
Uses CollectionContentType taxonomy (Archival, Library, Art, etc.).
attributes:
content_description:
range: string
description: Free-text description of the collection content
content_extent:
range: string
description: Extent/size of this content (e.g., "500 linear meters", "10,000 items")
content_date_range:
range: string
description: Date range covered by this content (e.g., "1500-1900")
exact_mappings:
- rico:RecordResource
close_mappings:
- dcterms:BibliographicResource
annotations:
specificity_score: "0.45"
specificity_rationale: "Moderately generic - applies broadly to collections."
template_specificity: '{"archive_search": 0.55, "museum_search": 0.50, "library_search": 0.55, "collection_discovery": 0.75, "person_research": 0.15, "location_browse": 0.25, "identifier_lookup": 0.20, "organizational_change": 0.10, "digital_platform": 0.30, "general_heritage": 0.45}'
examples:
- value:
content_description: "Medieval manuscripts and parish registers from 14th-18th century"
content_extent: "2,500 volumes"
content_date_range: "1350-1800"
has_or_had_type:
- type_label: Archival
- type_label: Library
description: Church archive with mixed archival and library content
- value:
content_description: "Religious art including icons, paintings, and stained glass"
content_extent: "450 objects"
has_or_had_type:
- type_label: Art
- type_label: Liturgical
description: Cathedral treasury art collection
comments:
- "Created per slot_fixes.yaml migration (2026-01-19)"
- "RULE 53: Replaces collection_type string slot with structured model"