glam/schemas/20251121/linkml/modules/classes/Price.yaml
kempersc ca4a54181e Refactor schema files to improve clarity and maintainability
- Updated WorldCatIdentifier.yaml to remove unnecessary description and ensure consistent formatting.
- Enhanced WorldHeritageSite.yaml by breaking long description into multiple lines for better readability and removed unused attributes.
- Simplified WritingSystem.yaml by removing redundant attributes and ensuring consistent formatting.
- Cleaned up XPathScore.yaml by removing unnecessary attributes and ensuring consistent formatting.
- Improved YoutubeChannel.yaml by breaking long description into multiple lines for better readability.
- Enhanced YoutubeEnrichment.yaml by breaking long description into multiple lines for better readability.
- Updated YoutubeVideo.yaml to break long description into multiple lines and removed legacy field name.
- Refined has_or_had_affiliation.yaml by removing unnecessary comments and ensuring clarity.
- Cleaned up is_or_was_retrieved_at.yaml by removing unnecessary comments and ensuring clarity.
- Added rules for generic slots and avoiding rough edits in schema files to maintain structural integrity.
- Introduced changes_or_changed_through.yaml to define a new slot for linking entities to change events.
2026-01-31 00:46:23 +01:00

57 lines
2.3 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_currency
- ../slots/has_or_had_type
- ../slots/has_or_had_value
- ./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:
range: Currency
inlined: true
has_or_had_type:
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"
- value:
has_or_had_value: "\u20AC"
has_or_had_type:
has_or_had_name: Budget
has_or_had_description: "Under \u20AC15 per person"
- value:
has_or_had_value: '15.00'
has_or_had_currency:
has_or_had_code: EUR
has_or_had_symbol: "\u20AC"
annotations:
specificity_score: 0.1
specificity_rationale: Generic utility class/slot created during migration
custodian_types: "['*']"