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
# Service - Service offering class
|
|
#
|
|
# Created per slot_fixes.yaml migration for: visitor_service
|
|
# Creation date: 2026-01-14
|
|
|
|
id: https://nde.nl/ontology/hc/class/Service
|
|
name: Service
|
|
title: Service
|
|
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
|
|
default_prefix: hc
|
|
|
|
imports:
|
|
- ./ServiceType
|
|
- linkml:types
|
|
- ../slots/has_or_had_type
|
|
|
|
classes:
|
|
Service:
|
|
class_uri: schema:Service
|
|
description: |
|
|
A service offered by an institution.
|
|
|
|
**USAGE**:
|
|
Used for:
|
|
- Visitor services (guided tours, audio guides)
|
|
- Research services (reference, reproductions)
|
|
- Conservation services
|
|
|
|
slots:
|
|
- has_or_had_type
|
|
|
|
slot_usage:
|
|
has_or_had_type:
|
|
range: ServiceType
|
|
description: Type of service
|
|
|
|
attributes:
|
|
service_name:
|
|
range: string
|
|
required: true
|
|
description: Name of the service
|
|
|
|
service_description:
|
|
range: string
|
|
description: Description of the service
|
|
|
|
price:
|
|
range: string
|
|
description: Price or fee for the service
|
|
|
|
availability:
|
|
range: string
|
|
description: Availability schedule
|
|
|
|
exact_mappings:
|
|
- schema:Service
|
|
|
|
annotations:
|
|
specificity_score: "0.40"
|
|
specificity_rationale: "Moderately specific - services common in public institutions."
|
|
|
|
examples:
|
|
- value:
|
|
service_name: "Guided Tours"
|
|
service_description: "Expert-led tours of the collection"
|
|
price: "€15 per person"
|
|
description: Guided tour service
|