glam/schemas/20251121/linkml/modules/classes/Container.yaml
kempersc fc405445c6 Refactor and update schema definitions
- Removed obsolete slots: `has_or_had_custodian_observation`, `provider`, and `specificity_annotation`.
- Updated `has_or_had_score` slot to use `SpecificityScore` class and modified its description and examples.
- Added new slots: `end_seconds`, `end_time`, `has_archive_path`, `has_or_had_custodian_name`, `protocol_name`, and `protocol_version`.
- Introduced a script `check_annotation_types.py` to validate the presence and structure of `custodian_types` in YAML files.
- Added a script `update_specificity.py` to automate updates related to `SpecificityAnnotation` to `SpecificityScore`.
2026-02-01 19:55:38 +01:00

50 lines
2.4 KiB
YAML

id: https://nde.nl/ontology/hc/class/Container
name: Container
title: Heritage Custodian Data Container
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
prov: http://www.w3.org/ns/prov#
schema: http://schema.org/
imports:
- linkml:types
- ../slots/has_or_had_score
classes:
Container:
tree_root: true
description: "Root container class for Heritage Custodian data instances. Provides\
\ tree_root for LinkML instance validation.\nThis container supports all primary\
\ entity types for batch validation: - Core custodian entities (Custodian, observations,\
\ names, legal statuses) - Place and collection aspects (CustodianPlace, CustodianCollection)\
\ - Organizational structures (OrganizationalStructure) - Reconstruction activities\
\ (ReconstructionActivity) - Registration entities (Jurisdiction, TradeRegister,\
\ RegistrationAuthority, RegistrationNumber) - Standards ecosystem (StandardsOrganization,\
\ Standard, AllocationAgency, IdentifierFormat)\nOntology mapping rationale:\
\ - class_uri is prov:Collection because this is a container aggregating\n \
\ multiple heritage custodian entities for validation purposes\n- This is a\
\ TECHNICAL class for LinkML validation (tree_root: true)\n and should be EXCLUDED\
\ from UML visualizations per Rule 4\n- related_mappings includes schema:Dataset\
\ as this aggregates data records"
class_uri: prov:Collection
related_mappings:
- schema:Dataset
comments:
- Container class serves as tree_root for LinkML validation
- Enables validation of YAML/JSON instance files
- Uses 'attributes' instead of 'slots' to avoid slot import dependencies
- Not used in RDF serialization (flattened)
- 'v2: Added standards ecosystem classes (StandardsOrganization, Standard, AllocationAgency)'
- 'v3: Added digital presence classes (SocialMediaProfile, InternetOfThings, DigitalPlatform)'
- 'v4: Added Collection and FindingAid classes'
slots:
- has_or_had_score
- has_or_had_custodian
- has_or_had_custodian_observation
- has_or_had_custodian_name
- has_or_had_section
- has_or_had_identifier
- has_or_had_social_media_profile
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: '[''*'']'