glam/schemas/20251121/linkml/modules/classes/Price.yaml
2026-02-04 00:24:46 +01:00

55 lines
2.2 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/20260202_matang/has_currency
- ../slots/20260202_matang/has_type
- ../slots/20260202_matang/has_value
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_value
- has_currency
- has_type
slot_usage:
has_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_currency:
range: Currency
inlined: true
has_type:
range: PriceRange
inlined: true
exact_mappings:
- schema:PriceSpecification
- gr:PriceSpecification
examples:
- value:
has_value: "\u20AC\u20AC\u20AC\u20AC"
has_type:
has_name: Luxury
has_description: "Over \u20AC60 per person"
- value:
has_value: "\u20AC"
has_type:
has_name: Budget
has_description: "Under \u20AC15 per person"
- value:
has_value: '15.00'
has_currency:
has_code: EUR
has_symbol: "\u20AC"
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"