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

179 lines
No EOL
7.2 KiB
YAML

id: https://nde.nl/ontology/hc/class/Photography
name: photography_class
title: Photography Class
description: >-
Represents photography permission in a heritage custodian facility.
Models whether researchers may photograph materials (usually with personal cameras)
and under what conditions.
**MIGRATION NOTE** (2026-01-14):
Created as part of slot migration from `allows_photography` and
`allows_or_allowed_photography` to generic `allows_or_allowed` slot
with typed class. See slot_fixes.yaml for migration specification.
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
dcterms: http://purl.org/dc/terms/
skos: http://www.w3.org/2004/02/skos/core#
imports:
- linkml:types
- ../slots/excludes_or_excluded
- ../slots/has_or_had_description
- ../slots/has_or_had_score # was: template_specificity
- ../slots/is_permitted
- ../slots/poses_or_posed_condition
- ../slots/requires_declaration
- ../slots/temporal_extent # was: valid_from + valid_to
default_prefix: hc
default_range: string
classes:
Photography:
class_uri: schema:LocationFeatureSpecification
description: >-
Permission specification for photography in reading rooms or collection areas.
**DEFINITION**:
A policy specification indicating whether researchers may photograph
materials for personal research use when consulting collections.
**SCHEMA.ORG ALIGNMENT**:
Maps to `schema:LocationFeatureSpecification` as it describes a feature
or amenity availability at a location.
**TYPICAL CONDITIONS**:
- Personal research use only
- No flash photography
- No tripods
- Some materials excluded (fragile, copyright)
- Declaration/waiver may be required
**COPYRIGHT CONSIDERATIONS**:
Photography permissions typically apply to:
- Public domain materials
- Materials where institution holds rights
- Personal research use (fair use/dealing)
Materials still under third-party copyright may have different rules.
**TEMPORAL SEMANTICS**:
Photography policies have evolved significantly:
- Pre-2000s: Generally prohibited, had to order copies
- 2000s-2010s: Gradual liberalization
- 2010s onwards: Many institutions allow free photography
**EXAMPLE**:
```yaml
allows_or_allowed:
- permitted_item: Photography
is_permitted: true
conditions:
- "Personal research use only"
- "No flash"
- "Fragile materials excluded"
valid_from: "2018-01-01"
```
exact_mappings:
- schema:LocationFeatureSpecification
close_mappings:
- schema:amenityFeature
- dcterms:accessRights
slots:
- is_permitted
- has_or_had_description
# MIGRATED 2026-01-22: condition → poses_or_posed_condition + Condition (Rule 53)
- poses_or_posed_condition
- requires_declaration
- excludes_or_excluded
- temporal_extent # was: valid_from + valid_to
- has_or_had_score # was: template_specificity - migrated per Rule 53 (2026-01-17)
slot_usage:
is_permitted:
range: boolean
required: true
# MIGRATED 2026-01-22: condition → poses_or_posed_condition + Condition (Rule 53)
poses_or_posed_condition:
range: Condition
multivalued: true
inlined: true
inlined_as_list: true
examples:
- value:
- has_or_had_type: UseCondition
has_or_had_description:
description_text: "No flash photography"
- has_or_had_type: UseCondition
has_or_had_description:
description_text: "Personal research use only"
requires_declaration:
range: boolean
excludes_or_excluded:
range: Material
multivalued: true
inlined: true
examples:
- value:
has_or_had_identifier: "https://nde.nl/ontology/hc/material/fragile-manuscripts"
has_or_had_label: "Fragile manuscripts"
- value:
has_or_had_identifier: "https://nde.nl/ontology/hc/material/copyrighted-materials"
has_or_had_label: "Materials under copyright"
annotations:
custodian_types: '["*"]'
custodian_types_rationale: >-
Applicable to all heritage custodian types with physical collections.
custodian_types_primary: M
specificity_score: 0.5
specificity_rationale: >-
Moderately specific - broadly applicable to institutions with collections.
comments:
- Part of reading room amenity specification system
- Replaces boolean allows_photography and allows_or_allowed_photography slots
- Created from slot_fixes.yaml migration (2026-01-14)
see_also:
- https://schema.org/LocationFeatureSpecification
- https://schema.org/amenityFeature
examples:
# MIGRATED 2026-01-22: condition → poses_or_posed_condition + Condition (Rule 53)
- value:
id: hc:photography-policy/nationaal-archief
is_permitted: true
poses_or_posed_condition:
- has_or_had_type: UseCondition
has_or_had_description:
description_text: "No flash"
- has_or_had_type: UseCondition
has_or_had_description:
description_text: "Personal research use only"
- has_or_had_type: ReproductionCondition
has_or_had_description:
description_text: "No commercial use without permission"
requires_declaration: true
temporal_extent:
begin_of_the_begin: "2015-01-01"
- value:
id: hc:photography-policy/special-collections-restricted
is_permitted: false
poses_or_posed_condition:
- has_or_had_type: UseCondition
has_or_had_description:
description_text: "Reproduction service available"
- has_or_had_type: UseCondition
has_or_had_description:
description_text: "Digital scans may be ordered"
excludes_or_excluded:
- has_or_had_label: "All materials in this reading room"
temporal_extent:
begin_of_the_begin: "2020-01-01"
- value:
id: hc:photography-policy/museum-gallery
is_permitted: true
poses_or_posed_condition:
- has_or_had_type: UseCondition
has_or_had_description:
description_text: "No flash"
- has_or_had_type: UseCondition
has_or_had_description:
description_text: "No tripods or selfie sticks"
- has_or_had_type: UseCondition
has_or_had_description:
description_text: "Temporary exhibitions may have different rules"
excludes_or_excluded:
- has_or_had_label: "Loan items marked with no-photography symbol"
- has_or_had_label: "Temporary exhibitions unless noted"
temporal_extent:
begin_of_the_begin: "2018-06-01"
# REMOVED inline slots 2026-01-16 - Rule 48 violation
# Slots are imported from ../slots/ - do not define inline