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

93 lines
No EOL
4.4 KiB
YAML

id: https://nde.nl/ontology/hc/class/BackupStatus
name: backup_status_class
title: Backup Status Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
prov: http://www.w3.org/ns/prov#
skos: http://www.w3.org/2004/02/skos/core#
dcterms: http://purl.org/dc/terms/
premis: http://www.loc.gov/premis/rdf/v3/
default_prefix: hc
imports:
- linkml:types
- ../slots/begin_of_the_begin
- ../slots/end_of_the_end
- ../slots/has_or_had_description
- ../slots/has_or_had_identifier
- ../slots/has_or_had_label
- ../slots/has_or_had_note
- ../slots/has_or_had_type
classes:
BackupStatus:
class_uri: prov:Entity
description: "Represents the current backup and disaster recovery status for a heritage custodian.\n\n**DEFINITION**:\n\nBackupStatus captures the current state of backup configurations including:\n- The type(s) of backup being used (via has_or_had_type \u2192 BackupType)\n- Status description (free text details)\n- Temporal validity (when this status was recorded/changed)\n\n**ONTOLOGY ALIGNMENT**:\n\n| Ontology | Class/Property | Notes |\n|----------|----------------|-------|\n| **PROV-O** | `prov:Entity` | Primary - entity with provenance |\n| **PREMIS** | `premis:fixity` | Related - data integrity |\n| **SKOS** | `skos:Concept` | For type classification |\n\n**RELATIONSHIP TO OTHER CLASSES**:\n\n```\nCustodianAdministration\n \u2502\n \u2514\u2500\u2500 has_or_had_status \u2192 BackupStatus (THIS CLASS)\n \u2502\n \u251C\u2500\u2500 has_or_had_type \u2192 BackupType (type hierarchy)\n \u251C\u2500\u2500 has_or_had_description (free text details)\n \u2514\
\u2500\u2500 begin_of_the_begin / end_of_the_end (validity period)\n```\n\n**SLOT MIGRATION** (2026-01-13):\n\nThis class replaces the backup_status string slot.\nOld pattern: `backup_status: \"Daily backup to Azure, replicated to secondary site\"`\nNew pattern: `has_or_had_status: BackupStatus` with structured type and description\n"
exact_mappings:
- prov:Entity
close_mappings:
- premis:fixity
slots:
- has_or_had_identifier
- has_or_had_type
- has_or_had_label
- has_or_had_description
- has_or_had_note
- begin_of_the_begin
- end_of_the_end
slot_usage:
has_or_had_identifier:
range: uriorcurie
identifier: true
required: true
pattern: ^https://nde\.nl/ontology/hc/backup-status/[a-z0-9-]+$
has_or_had_type:
range: uriorcurie
multivalued: true
inlined_as_list: true
examples:
- value:
- has_or_had_code: DAILY_AUTOMATED
- has_or_had_code: CLOUD_AZURE
has_or_had_description:
range: string
examples:
- value: Daily backup to Azure, replicated to secondary site in Rotterdam.
has_or_had_note:
range: string
multivalued: true
examples:
- value: Encryption at rest enabled since 2024-01
- value: Annual disaster recovery test passed 2025-06
begin_of_the_begin:
end_of_the_end:
annotations:
specificity_score: '0.60'
specificity_rationale: Backup status relevant to all heritage custodians with digital assets.
has_or_had_score: null
slot_migration: "2026-01-13: Migrated from backup_status string slot\n- backup_status (string) \u2192 has_or_had_status (BackupStatus)\n"
custodian_types: "['*']"
comments:
- BackupStatus represents the current backup configuration state
- Linked to BackupType for structured type classification
- Supports temporal validity tracking
- 'MIGRATED 2026-01-13: Replaces backup_status string slot'
examples:
- value:
has_or_had_identifier: https://nde.nl/ontology/hc/backup-status/example-001
has_or_had_type:
- has_or_had_code: DAILY_AUTOMATED
- has_or_had_code: CLOUD_AZURE
has_or_had_description: 'Daily automated backup to Azure with replication to secondary site.
30-day retention, encrypted at rest.
'
begin_of_the_begin: '2024-01-15T00:00:00Z'
- value:
has_or_had_identifier: https://nde.nl/ontology/hc/backup-status/critical-001
has_or_had_type:
- has_or_had_code: NOT_BACKED_UP
has_or_had_description: Legacy system not yet included in backup. Migration planned for Q2 2026.
has_or_had_note:
- 'CRITICAL: Data at risk until migration complete'