glam/schemas/20251121/linkml/modules/classes/AccessRestriction.yaml
kempersc 0393b321c9 refactor(schema): unify custodian_type slots into has_or_had_custodian_type (Rule 39, 43)
- Migrate 236+ class files from custodian_types to has_or_had_custodian_type
- Archive deprecated slots: custodian_type, custodian_types, custodian_type_broader/narrower/related
- Update main schema and manifest imports
- Fix Custodian.yaml class to use new slot
- Fix annotation format (list→scalar) in has_or_had_custodian_type.yaml

Rules applied:
- Rule 39: RiC-O naming convention (hasOrHad pattern)
- Rule 43: Slot nouns must be singular (multivalued:true for cardinality)
- Rule 38: Slot centralization with semantic URI
2026-01-09 10:55:21 +01:00

69 lines
1.9 KiB
YAML

id: https://nde.nl/ontology/hc/class/AccessRestriction
name: access_restriction_class
title: AccessRestriction Class
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
dcterms: http://purl.org/dc/terms/
default_prefix: hc
default_range: string
imports:
- linkml:types
- ../metadata
- ./SpecificityAnnotation
- ./TemplateSpecificityScores
- ../slots/permission_required
- ../slots/restriction_description
- ../slots/restriction_type
- ../slots/specificity_annotation
- ../slots/template_specificity
- ../slots/years_restricted
classes:
AccessRestriction:
class_uri: dcterms:RightsStatement
description: |
Access restriction information for materials.
slots:
- permission_required
- restriction_description
- restriction_type
- specificity_annotation
- template_specificity
- years_restricted
slot_usage:
restriction_type:
description: Type of restriction (privacy, cabr, closed, etc.)
required: true
restriction_description:
description: Description of the restriction
years_restricted:
description: Number of years materials are restricted
range: integer
permission_required:
description: Whether explicit permission is required
range: boolean
specificity_annotation:
range: SpecificityAnnotation
inlined: true
template_specificity:
range: TemplateSpecificityScores
inlined: true
slots:
restriction_type:
slot_uri: dcterms:type
description: Type of access restriction
range: string
restriction_description:
slot_uri: dcterms:description
description: Description of restriction
range: string
years_restricted:
slot_uri: schema:duration
description: Years restricted
range: integer
permission_required:
slot_uri: dcterms:accessRights
description: Whether permission is required
range: boolean