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

95 lines
4 KiB
YAML

id: https://nde.nl/ontology/hc/class/ComplianceStatus
name: compliance_status_class
title: Compliance Status Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
dcterms: http://purl.org/dc/terms/
schema: http://schema.org/
imports:
- linkml:types
- ../metadata
- ../slots/has_or_had_description
- ../slots/has_or_had_label
- ../slots/has_or_had_type
default_prefix: hc
classes:
ComplianceStatus:
class_uri: hc:ComplianceStatus
description: "Structured representation of compliance status with referenced standards.\n\
\n**MIGRATION NOTE** (2026-01-22):\nCreated per slot_fixes.yaml migration from\
\ `compliance_status` string\nto structured ComplianceStatus class per Rule\
\ 53.\n\n**Purpose**:\nProvides structured representation for compliance status\
\ including:\n- Status value (COMPLIANT, NON_COMPLIANT, PARTIALLY_COMPLIANT,\
\ NOT_ASSESSED)\n- Reference to the standard being assessed against\n- Assessment\
\ date and assessor\n- Notes on compliance gaps\n\n**Ontological Alignment**:\n\
- **Primary** (`class_uri`): `hc:ComplianceStatus` - Heritage Custodian status\n\
- **Close**: `dcterms:conformsTo` - Dublin Core conformance\n\n**Status Values**:\n\
- **COMPLIANT**: Fully meets all requirements of the referenced standard\n-\
\ **NON_COMPLIANT**: Does not meet requirements, remediation required\n- **PARTIALLY_COMPLIANT**:\
\ Meets some but not all requirements\n- **NOT_ASSESSED**: Compliance has not\
\ been formally evaluated\n\n**Use Cases**:\n- Storage condition compliance\
\ with preservation standards\n- Building compliance with heritage regulations\n\
- Data management compliance with archival standards\n\n**Pattern**:\n```yaml\n\
has_or_had_status:\n has_or_had_type: COMPLIANT\n standard_reference: \"ISO\
\ 11799:2015\"\n assessment_date: \"2024-06-15\"\n```\n"
slots:
- has_or_had_type
- has_or_had_label
- has_or_had_description
- remediation_required
slot_usage:
has_or_had_type:
range: string
required: true
examples:
- value: COMPLIANT
- value: NON_COMPLIANT
- value: PARTIALLY_COMPLIANT
- value: NOT_ASSESSED
has_or_had_label:
range: string
required: false
examples:
- value: ISO 11799 Compliant
- value: Requires Temperature Control Upgrade
has_or_had_description:
range: string
required: false
exact_mappings:
- hc:ComplianceStatus
close_mappings:
- dcterms:conformsTo
annotations:
custodian_types: '["A", "L", "M"]'
custodian_types_rationale: Compliance status particularly relevant for archives,
libraries, and museums with preservation requirements.
custodian_types_primary: A
specificity_score: 0.55
specificity_rationale: Moderately specific - compliance tracking important for
preservation but primarily relevant to custodians with regulatory requirements.
migration_source_slot: compliance_status
migration_date: '2026-01-22'
migration_rule: Rule 53
comments:
- Structured compliance status representation
- Replaces simple string-valued compliance_status slot
- Includes standard reference and assessment metadata
- Created 2026-01-22 from compliance_status migration (Rule 53)
examples:
- value:
has_or_had_type: COMPLIANT
has_or_had_label: ISO 11799 Compliant
standard_reference: ISO 11799:2015
- value:
has_or_had_type: PARTIALLY_COMPLIANT
has_or_had_label: Temperature Control Issues
standard_reference: BS 5454:2000
remediation_required: true
- value:
has_or_had_type: NON_COMPLIANT
has_or_had_label: Requires Major Renovation
standard_reference: PAS 197:2009
remediation_required: true
has_or_had_description: Building requires significant upgrades to meet modern
archival storage standards