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

91 lines
2.1 KiB
YAML

id: https://nde.nl/ontology/hc/class/SourceDocument
name: source_document_class
title: SourceDocument Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
crm: http://www.cidoc-crm.org/cidoc-crm/
prov: http://www.w3.org/ns/prov#
schema: http://schema.org/
dcterms: http://purl.org/dc/terms/
rico: https://www.ica.org/standards/RiC/ontology#
foaf: http://xmlns.com/foaf/0.1/
skos: http://www.w3.org/2004/02/skos/core#
rdfs: http://www.w3.org/2000/01/rdf-schema#
org: http://www.w3.org/ns/org#
xsd: http://www.w3.org/2001/XMLSchema#
imports:
- linkml:types
- ../enums/SourceDocumentTypeEnum
- ../metadata
- ../slots/has_or_had_score
- ../slots/source_creator
- ../slots/source_date
- ../slots/source_type
- ../slots/source_uri
classes:
SourceDocument:
class_uri: crm:E73_Information_Object
description: 'A source document where custodian information was observed.
CIDOC-CRM E73_Information_Object: Identifiable immaterial items with propositional content.
**Examples**:
- Archival documents
- Websites
- Letterheads
- Legal statutes
- Publications
**Properties**:
- URI/URL of source
- Document type
- Publication/creation date
- Creator/publisher
'
exact_mappings:
- crm:E73_Information_Object
- prov:Entity
close_mappings:
- crm:E31_Document
- rico:Record
- rico:RecordSet
- schema:CreativeWork
- dcterms:BibliographicResource
- foaf:Document
related_mappings:
- rico:RecordResource
- crm:E33_Linguistic_Object
- crm:E32_Authority_Document
slots:
- source_creator
- source_date
- source_type
- source_uri
- has_or_had_score
slot_usage:
source_uri:
range: uriorcurie
required: true
source_type:
range: SourceDocumentTypeEnum
source_date:
range: date
source_creator:
range: string
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"