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

67 lines
1.9 KiB
YAML

id: https://nde.nl/ontology/hc/class/Permission
name: Permission
title: Permission Class
description: >-
Represents a specific permission/authorization requirement for accessing
heritage materials.
**USE CASES**:
- Bishop's permission for diocesan archive access
- Institutional affiliation for research library
- Security clearance for government archives
**EXAMPLE**:
```yaml
Permission:
has_or_had_type: BishopsPermission
has_or_had_description: "Written permission from the diocesan bishop required"
temporal_extent:
begin_of_the_begin: "2000-01-01"
```
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
rico: https://www.ica.org/standards/RiC/ontology#
default_prefix: hc
imports:
- linkml:types
- ../slots/has_or_had_description
- ../slots/has_or_had_type
- ../slots/temporal_extent
classes:
Permission:
class_uri: rico:AccessCondition
description: >-
A permission or authorization requirement for accessing materials.
exact_mappings:
- rico:AccessCondition
slots:
- has_or_had_type
- has_or_had_description
- temporal_extent
slot_usage:
has_or_had_type:
range: uriorcurie
required: true
examples:
- value: BishopsPermission
has_or_had_description:
range: string
examples:
- value: "Written permission from the diocesan bishop required for access to personnel files"
temporal_extent:
range: TimeSpan
inlined: true
examples:
- value:
has_or_had_type: BishopsPermission
has_or_had_description: "Written permission from the diocesan bishop required"
- value:
has_or_had_type: InstitutionalAffiliation
has_or_had_description: "Must be affiliated with accredited research institution"
annotations:
custodian_types: '["*"]'
specificity_score: 0.5