glam/schemas/20251121/linkml/modules/classes/Price.yaml

63 lines
2.7 KiB
YAML

id: https://nde.nl/ontology/hc/class/Price
name: Price
title: Price
description: "Represents price or pricing information with value, currency, and optional range.\n\nThis class supports:\n- Exact prices (e.g., \u20AC15.00 admission)\n- Price ranges (e.g., \u20AC to \u20AC\u20AC\u20AC\u20AC for restaurants)\n- Price categories (budget, moderate, premium)\n\nCreated per slot_fixes.yaml revision for catering_price_range migration (Rule 53/56).\n"
prefixes:
linkml: https://w3id.org/linkml/
hc: https://nde.nl/ontology/hc/
schema: http://schema.org/
gr: http://purl.org/goodrelations/v1#
imports:
- linkml:types
- ../slots/has_or_had_value
- ../slots/has_or_had_currency
- ../slots/has_or_had_type
- ./Currency
- ./PriceRange
default_prefix: hc
classes:
Price:
class_uri: schema:PriceSpecification
description: "Price information including value, currency, and optional range/category.\n\nFor catering and services, price ranges use symbolic notation:\n- \u20AC (budget): Under \u20AC15 per person\n- \u20AC\u20AC (moderate): \u20AC15-30 per person\n- \u20AC\u20AC\u20AC (upscale): \u20AC30-60 per person\n- \u20AC\u20AC\u20AC\u20AC (luxury): Over \u20AC60 per person\n"
slots:
- has_or_had_value
- has_or_had_currency
- has_or_had_type
slot_usage:
has_or_had_value:
description: "The price value. Can be:\n- Numeric (e.g., \"15.00\")\n- Symbolic (e.g., \"\u20AC\u20AC\u20AC\")\n- Descriptive (e.g., \"free\", \"donation suggested\")\n"
has_or_had_currency:
description: The currency for this price (e.g., EUR, USD, GBP).
range: Currency
inlined: true
has_or_had_type:
description: Price range classification (budget, moderate, premium, luxury).
range: PriceRange
inlined: true
exact_mappings:
- schema:PriceSpecification
- gr:PriceSpecification
examples:
- value:
has_or_had_value: "\u20AC\u20AC\u20AC\u20AC"
has_or_had_type:
has_or_had_name: Luxury
has_or_had_description: "Over \u20AC60 per person"
description: Luxury restaurant price range
- value:
has_or_had_value: "\u20AC"
has_or_had_type:
has_or_had_name: Budget
has_or_had_description: "Under \u20AC15 per person"
description: Budget cafe price range
- value:
has_or_had_value: '15.00'
has_or_had_currency:
has_or_had_code: EUR
has_or_had_symbol: "\u20AC"
description: Exact admission price
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"
custodian_types_rationale: Universal utility concept