glam/schemas/20251121/linkml/modules/classes/Item.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

95 lines
2.9 KiB
YAML

# Item - Generic heritage item class
# Created 2026-01-22 per slot_fixes.yaml revision for condition_on_return (Rule 53)
#
# Base class for heritage objects that can be loaned, returned, or transferred
#
id: https://nde.nl/ontology/hc/class/Item
name: Item
title: Item
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
crm: http://www.cidoc-crm.org/cidoc-crm/
imports:
- linkml:types
- ../slots/has_or_had_identifier
- ../slots/has_or_had_label
- ../slots/has_or_had_description
- ./Identifier
- ./Description
default_prefix: hc
classes:
Item:
class_uri: crm:E22_Human-Made_Object
description: |
A heritage item that can be subject to loans, returns, or custody transfers.
Maps to CIDOC-CRM E22 Human-Made Object, the base class for physical
heritage objects created by human activity.
**USE CASES**:
1. **Loan Records**: Items loaned out and returned
2. **Custody Transfers**: Items changing custodianship
3. **Conservation**: Items undergoing treatment
**RELATIONSHIP TO OTHER CLASSES**:
- More specific than Collection (individual vs. aggregate)
- Used by ReturnEvent.item_returned
- Used by Loan.loaned_items
**Migration (2026-01-22)**:
Created as part of condition_on_return migration per slot_fixes.yaml (Rule 53)
exact_mappings:
- crm:E22_Human-Made_Object
close_mappings:
- schema:Thing
- schema:Product
slots:
- has_or_had_identifier
- has_or_had_label
- has_or_had_description
slot_usage:
has_or_had_identifier:
range: Identifier
multivalued: true
description: Identifiers for this item (accession number, inventory number, etc.)
has_or_had_label:
range: string
description: Human-readable name/title of the item
has_or_had_description:
range: Description
description: Description of the item
annotations:
custodian_types: '["*"]'
custodian_types_rationale: "All heritage custodians may hold items."
specificity_score: 0.3
specificity_rationale: "Generic base class for heritage items - broadly applicable."
examples:
- value:
has_or_had_identifier:
- identifier_scheme: ACCESSION
identifier_value: "2024.001"
has_or_had_label: "Girl with a Pearl Earring"
has_or_had_description:
description_text: "Oil on canvas by Johannes Vermeer, c. 1665"
description: Painting item
- value:
has_or_had_identifier:
- identifier_scheme: INVENTORY
identifier_value: "MS-1234"
has_or_had_label: "Medieval manuscript"
has_or_had_description:
description_text: "Illuminated manuscript on vellum, 13th century"
description: Manuscript item