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

63 lines
2.1 KiB
YAML

id: https://nde.nl/ontology/hc/class/PriceRange
name: PriceRange
title: Price Range
description: 'Represents a price range or price category classification.
This class provides structured metadata for price level indicators
commonly used for restaurants, cafes, and other hospitality services.
Created per slot_fixes.yaml revision for catering_price_range migration (Rule 53/56).
'
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
skos: http://www.w3.org/2004/02/skos/core#
imports:
- linkml:types
- ../slots/has_or_had_description
- ../slots/has_or_had_name
- ../slots/has_or_had_symbol
default_prefix: hc
classes:
PriceRange:
class_uri: skos:Concept
description: "A price range or category classification.\n\nStandard price range categories:\n- Budget (\u20AC): Under \u20AC15 per person\n- Moderate (\u20AC\u20AC): \u20AC15-30 per person\n- Upscale (\u20AC\u20AC\u20AC): \u20AC30-60 per person\n- Luxury (\u20AC\u20AC\u20AC\u20AC): Over \u20AC60 per person\n- Free: No charge\n- Donation: Suggested donation\n"
slots:
- has_or_had_name
- has_or_had_description
- has_or_had_symbol
slot_usage:
has_or_had_name:
required: true
has_or_had_symbol:
has_or_had_description:
exact_mappings:
- skos:Concept
close_mappings:
- schema:priceRange
examples:
- value:
has_or_had_name: Budget
has_or_had_symbol: "\u20AC"
has_or_had_description: "Under \u20AC15 per person"
- value:
has_or_had_name: Moderate
has_or_had_symbol: "\u20AC\u20AC"
has_or_had_description: "\u20AC15-30 per person"
- value:
has_or_had_name: Upscale
has_or_had_symbol: "\u20AC\u20AC\u20AC"
has_or_had_description: "\u20AC30-60 per person"
- value:
has_or_had_name: Luxury
has_or_had_symbol: "\u20AC\u20AC\u20AC\u20AC"
has_or_had_description: "Over \u20AC60 per person"
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"