- Introduced dual_class_role, emic_name, employer_linkedin_url, employer_name, employment_dates_raw, employment_end_date, employment_start_date, end_date, end_seconds, end_time, ended_at_time, endowment_draw, engagement_rate, enriched_date, enrichment_metadata_whatsapp, enrichment_method_whatsapp, exhibition_timespan, has_timespan, policy_effective_from, policy_effective_to, start_date, can_or_could_be_retrieved_from, documents_or_documented, has_or_had_contributor, has_or_had_drawer, has_or_had_email, has_or_had_endowment_draw, has_or_had_engagement_metric, has_or_had_metadata, has_or_had_summary, is_or_was_employed_by, and is_or_was_expired_at slots. - Each slot includes detailed descriptions, ranges, and mappings to ensure compliance with ontology standards.
110 lines
3.4 KiB
YAML
110 lines
3.4 KiB
YAML
# Policy base class
|
|
# Created 2026-01-22 per slot_fixes.yaml revision for condition_policy (Rule 53)
|
|
#
|
|
# Generation date: 2026-01-22
|
|
# Rule compliance: 53 (slot_fixes.yaml), 39 (RiC-O naming), 0b (Type/Types pattern)
|
|
#
|
|
# Base class for all policy types (TransferPolicy, ConditionPolicy, AccessPolicy, etc.)
|
|
|
|
id: https://nde.nl/ontology/hc/class/Policy
|
|
name: policy_class
|
|
title: Policy Base Class
|
|
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
odrl: http://www.w3.org/ns/odrl/2/
|
|
dcterms: http://purl.org/dc/terms/
|
|
schema: http://schema.org/
|
|
|
|
default_prefix: hc
|
|
|
|
imports:
|
|
- linkml:types
|
|
- ../slots/policy_id
|
|
- ../slots/policy_name
|
|
- ../slots/policy_description
|
|
- ../slots/is_or_was_effective_at
|
|
- ../slots/is_or_was_expired_at
|
|
- ../slots/note
|
|
|
|
classes:
|
|
Policy:
|
|
class_uri: odrl:Policy
|
|
abstract: true
|
|
description: |
|
|
Abstract base class for all policy types.
|
|
|
|
**DEFINITION**:
|
|
|
|
A Policy defines rules, constraints, and conditions that govern
|
|
activities, resources, or entities within a heritage custodian context.
|
|
|
|
**SUBCLASSES**:
|
|
|
|
- **TransferPolicy**: Policies governing custody/ownership transfers
|
|
- **ConditionPolicy**: Policies specifying required conditions
|
|
- **AccessPolicy**: Policies defining access rights and restrictions
|
|
- **RetentionPolicy**: Policies for record retention schedules
|
|
|
|
**ODRL ALIGNMENT**:
|
|
|
|
`odrl:Policy` - "A Policy is a named entity for a rule-based system
|
|
for specifying permissions, prohibitions, and obligations."
|
|
|
|
**SEMANTIC PATTERN**:
|
|
|
|
Policy classes define WHAT SHOULD BE (normative).
|
|
Observation classes capture WHAT IS (descriptive).
|
|
The gap between policy and observation is a key quality metric.
|
|
|
|
Created as part of condition_policy migration per slot_fixes.yaml (Rule 53).
|
|
|
|
exact_mappings:
|
|
- odrl:Policy
|
|
close_mappings:
|
|
- schema:GovernmentService
|
|
- dcterms:Policy
|
|
|
|
slots:
|
|
- policy_id
|
|
- policy_name
|
|
- policy_description
|
|
- is_or_was_effective_at
|
|
- is_or_was_expired_at
|
|
- note
|
|
|
|
slot_usage:
|
|
policy_id:
|
|
required: false
|
|
description: Unique identifier for the policy.
|
|
policy_name:
|
|
required: true
|
|
description: Human-readable name for the policy.
|
|
policy_description:
|
|
description: Detailed description of the policy's scope and requirements.
|
|
is_or_was_effective_at:
|
|
description: |
|
|
Date when this policy became/becomes effective.
|
|
MIGRATED from policy_effective_from (2026-01-26).
|
|
range: date
|
|
required: false
|
|
is_or_was_expired_at:
|
|
description: |
|
|
Date when this policy expired/expires.
|
|
MIGRATED from policy_effective_to (2026-01-26).
|
|
range: date
|
|
required: false
|
|
note:
|
|
description: Additional notes about the policy.
|
|
|
|
annotations:
|
|
custodian_types: '["*"]'
|
|
custodian_types_rationale: Policies apply to all heritage custodian types.
|
|
specificity_score: 0.35
|
|
specificity_rationale: General base class for all policy types.
|
|
|
|
comments:
|
|
- "Abstract base class - use subclasses for specific policy types"
|
|
- "Follows ODRL policy model for rule-based systems"
|
|
- "Created 2026-01-22 per slot_fixes.yaml condition_policy migration"
|