glam/schemas/20251121/linkml/modules/classes/Laptop.yaml
kempersc 043ea868b5
All checks were successful
Deploy Frontend / build-and-deploy (push) Successful in 4m31s
fix(schema): Resolve broken imports after slot migration
- Fix empty import list elements (- # comment pattern) in Laptop, Expenses,
  FunctionType, Overview, WebLink, Photography classes
- Replace valid_from/valid_to slots with temporal_extent in class slots lists
- Update slot_usage to use temporal_extent with TimeSpan range
- Update examples to use temporal_extent with begin_of_the_begin/end_of_the_end
- Fix typo is_or_was_is_or_was_archived_at → is_or_was_archived_at in WebObservation
- Add TimeSpan imports to classes using temporal_extent
- Fix relative import paths for Timestamp in temporal slots
- Fix CustodianIdentifier → Identifier imports in FundingAgenda, ReadingRoomAnnex

Schema validates successfully with 902 classes and 2043 slots.
2026-01-15 12:25:27 +01:00

158 lines
4.9 KiB
YAML

id: https://nde.nl/ontology/hc/class/Laptop
name: laptop_class
title: Laptop Class
description: >-
Represents laptop use permission in a heritage custodian facility.
Models whether personal laptops are permitted in reading rooms
and under what conditions.
**MIGRATION NOTE** (2026-01-14):
Created as part of slot migration from `allows_laptops` and
`allows_or_allowed_laptop` 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/id
- ../slots/description
# ARCHIVED: ../slots/valid_from - use temporal_extent instead
# ARCHIVED: ../slots/valid_to - use temporal_extent instead
- ../slots/temporal_extent # was: valid_from + valid_to
- ../slots/condition
- ../slots/specificity_annotation
- ../slots/template_specificity
- ./SpecificityAnnotation
- ./TemplateSpecificityScores
- ./TimeSpan
default_prefix: hc
default_range: string
classes:
Laptop:
class_uri: schema:LocationFeatureSpecification
description: >-
Permission specification for laptop use in reading rooms or study areas.
**DEFINITION**:
A policy specification indicating whether researchers may use personal
laptops when consulting materials in reading rooms.
**SCHEMA.ORG ALIGNMENT**:
Maps to `schema:LocationFeatureSpecification` as it describes an amenity
or feature availability at a location (the reading room).
**TYPICAL CONDITIONS**:
- Silent operation required
- No external keyboards/mice
- Power outlets available
- WiFi access included/separate
**TEMPORAL SEMANTICS**:
Laptop policies may change over time:
- Pre-2010: Many archives prohibited laptops
- 2010s: Most became laptop-friendly
- COVID era: Some restrictions due to spacing
**EXAMPLE**:
```yaml
allows_or_allowed:
- permitted_item: Laptop
is_permitted: true
conditions:
- "Silent operation required"
- "No external keyboards"
valid_from: "2015-01-01"
```
exact_mappings:
- schema:LocationFeatureSpecification
close_mappings:
- schema:amenityFeature
slots:
- id
- is_permitted
- description
- condition
- temporal_extent # was: valid_from + valid_to
- specificity_annotation
- template_specificity
slot_usage:
id:
identifier: true
range: uriorcurie
is_permitted:
range: boolean
required: true
description: >-
Whether laptops are permitted (true) or prohibited (false).
description:
range: string
description: >-
Human-readable description of the laptop policy.
condition:
range: string
multivalued: true
description: >-
Conditions or restrictions on laptop use.
Examples: "Silent operation", "No external keyboards"
annotations:
custodian_types: '["A", "L", "R", "M"]'
custodian_types_rationale: >-
Primarily relevant to archives, libraries, research centers, and museums
with reading rooms or study spaces.
custodian_types_primary: A
specificity_score: 0.75
specificity_rationale: >-
Moderately specific - applies to facilities with on-site research spaces.
comments:
- Part of reading room amenity specification system
- Replaces boolean allows_laptops and allows_or_allowed_laptop slots
- Created from slot_fixes.yaml migration (2026-01-14)
see_also:
- https://schema.org/LocationFeatureSpecification
- https://schema.org/amenityFeature
examples:
- value:
id: hc:laptop-policy/nationaal-archief
is_permitted: true
description: "Laptops welcome in the study room"
condition:
- "Silent operation required"
- "Power outlets available at each desk"
temporal_extent:
begin_of_the_begin: "2010-01-01"
description: Archive laptop-friendly policy
- value:
id: hc:laptop-policy/special-collections-restricted
is_permitted: false
description: "Laptops not permitted in special collections reading room"
condition:
- "Pencils only for note-taking"
- "Institution-provided terminals available"
temporal_extent:
begin_of_the_begin: "2020-01-01"
description: Restricted laptop policy for special collections
slots:
is_permitted:
description: >-
Whether the item or activity is permitted.
range: boolean
slot_uri: schema:value