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

43 lines
1.6 KiB
YAML

id: https://nde.nl/ontology/hc/classes/CustodianSourceFile
name: CustodianSourceFile
title: CustodianSourceFile
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
prov: http://www.w3.org/ns/prov#
xsd: http://www.w3.org/2001/XMLSchema#
imports:
- linkml:types
- ../enums/EnrichmentStatusEnum
- ../enums/GoogleMapsStatusEnum
- ../slots/has_or_had_provenance
default_range: string
classes:
CustodianSourceFile:
description: "Root class representing the complete structure of a custodian YAML\
\ file, serving as the tree_root for LinkML validation. Aggregates all enrichment\
\ data including original entry, Google Maps, Wikidata, web claims, museum register,\
\ and other source data with full provenance tracking.\nOntology mapping rationale:\
\ - class_uri is prov:Entity because this represents a complete data\n record/file\
\ that aggregates multiple enrichment sources\n- close_mappings includes prov:Bundle\
\ as this bundles multiple\n provenance-tracked data elements\n- related_mappings\
\ includes schema:Dataset as this is essentially\n a structured dataset file"
class_uri: prov:Entity
close_mappings:
- prov:Bundle
related_mappings:
- schema:Dataset
tree_root: true
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: '[''*'']'
slots:
- has_or_had_provenance
- has_or_had_web_claim
- location
- legal_status
- mission_statement
- contact
- service_area