Schema Migration Fixes: - Fix YAML import indentation in ~650 slot files (linkml:types and enum imports) - Rename slot reference: has_or_had_holds_record_set_type → hold_or_held_record_set_type (70+ archive class files, main schema, manifest.json) - Fix ProvenanceBlock.yaml: remove invalid any_of range, use string with multivalued - Fix has_or_had_provenance.yaml: remove nested template_specificity from annotations Validation Status: - 0 errors (was multiple import/reference errors) - 30 warnings (missing descriptions on inline slots, intentional SCREAMING_CASE names) Files changed: ~3,850 (slots, classes, main schema, manifest)
72 lines
1.6 KiB
YAML
72 lines
1.6 KiB
YAML
# Facility - Facility/amenity class
|
|
#
|
|
# Created per slot_fixes.yaml migration for: visitor_facility
|
|
# Creation date: 2026-01-14
|
|
|
|
id: https://nde.nl/ontology/hc/class/Facility
|
|
name: Facility
|
|
title: Facility
|
|
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
|
|
default_prefix: hc
|
|
|
|
imports:
|
|
- ./FacilityType
|
|
- linkml:types
|
|
- ../slots/has_or_had_type
|
|
|
|
classes:
|
|
Facility:
|
|
class_uri: schema:Place
|
|
description: |
|
|
A facility or amenity at an institution.
|
|
|
|
**USAGE**:
|
|
Used for:
|
|
- Visitor facilities (café, shop, parking)
|
|
- Research facilities (reading room, lab)
|
|
- Accessibility facilities
|
|
|
|
slots:
|
|
- has_or_had_type
|
|
|
|
slot_usage:
|
|
has_or_had_type:
|
|
range: FacilityType
|
|
description: Type of facility
|
|
|
|
attributes:
|
|
facility_name:
|
|
range: string
|
|
required: true
|
|
description: Name of the facility
|
|
|
|
facility_description:
|
|
range: string
|
|
description: Description of the facility
|
|
|
|
capacity:
|
|
range: integer
|
|
description: Capacity of the facility
|
|
|
|
accessibility:
|
|
range: string
|
|
description: Accessibility features
|
|
|
|
close_mappings:
|
|
- schema:Place
|
|
|
|
annotations:
|
|
specificity_score: "0.40"
|
|
specificity_rationale: "Moderately specific - facilities common in institutions."
|
|
|
|
examples:
|
|
- value:
|
|
facility_name: "Museum Café"
|
|
facility_description: "On-site café with terrace"
|
|
capacity: 50
|
|
description: Café facility at museum
|