- Implement `normalize_linkml_alt_descriptions.py` to convert structured alt_descriptions to the expected scalar form. - Implement `normalize_linkml_structured_aliases.py` to flatten language-keyed structured_aliases into a standard list-of-objects format. - Implement `validate_linkml_schema_integrity.py` to validate the integrity of LinkML schema bundles, checking for import resolution, YAML parsing, and reference existence.
113 lines
4 KiB
YAML
113 lines
4 KiB
YAML
id: https://nde.nl/ontology/hc/class/Price
|
|
name: Price
|
|
title: Price Class
|
|
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_currency
|
|
- ../slots/has_type
|
|
- ../slots/has_value
|
|
default_prefix: hc
|
|
classes:
|
|
Price:
|
|
class_uri: schema:PriceSpecification
|
|
description: >-
|
|
Structured representation of cost information including monetary value,
|
|
currency, and optional pricing category or range classification.
|
|
alt_descriptions:
|
|
nl: >-
|
|
Gestructureerde weergave van kosteninformatie inclusief monetaire waarde,
|
|
valuta en optionele prijs categorie of bereikclassificatie.
|
|
de: >-
|
|
Strukturierte Darstellung von Kosteninformationen einschließlich Geldwert,
|
|
Währung und optionaler Preiskategorie oder Bereichsklassifizierung.
|
|
fr: >-
|
|
Représentation structurée des informations de coût incluant la valeur monétaire,
|
|
la devise et la classification optionnelle par catégorie ou fourchette de prix.
|
|
es: >-
|
|
Representación estructurada de información de costos incluyendo valor monetario,
|
|
moneda y clasificación opcional por categoría o rango de precios.
|
|
ar: >-
|
|
تمثيل منظم لمعلومات التكلفة بما في ذلك القيمة النقدية
|
|
والعملة وتصنيف فئة السعر أو النطاق الاختياري.
|
|
id: >-
|
|
Representasi terstruktur dari informasi biaya termasuk nilai moneter,
|
|
mata uang, dan klasifikasi kategori harga atau rentang opsional.
|
|
zh: >-
|
|
成本信息的结构化表示,包括货币价值、货币
|
|
和可选的价格类别或范围分类。
|
|
exact_mappings:
|
|
- schema:PriceSpecification
|
|
- gr:PriceSpecification
|
|
slots:
|
|
- has_value
|
|
- has_currency
|
|
- has_type
|
|
slot_usage:
|
|
has_value:
|
|
description: >-
|
|
The price value. Can be numeric (15.00), symbolic (€€€),
|
|
or descriptive (free, donation suggested).
|
|
has_currency:
|
|
range: Currency
|
|
inlined: true
|
|
has_type:
|
|
range: PriceRange
|
|
inlined: true
|
|
comments:
|
|
- Supports exact prices and symbolic price ranges
|
|
- Created per slot_fixes.yaml migration (Rule 53/56)
|
|
examples:
|
|
- value:
|
|
has_value: "€€€€"
|
|
has_type:
|
|
has_name: Luxury
|
|
has_description: "Over €60 per person"
|
|
description: Luxury price category
|
|
- value:
|
|
has_value: "€"
|
|
has_type:
|
|
has_name: Budget
|
|
has_description: "Under €15 per person"
|
|
description: Budget price category
|
|
- value:
|
|
has_value: '15.00'
|
|
has_currency:
|
|
has_code: EUR
|
|
has_symbol: "€"
|
|
description: Exact price with currency
|
|
keywords:
|
|
- price
|
|
- cost
|
|
- currency
|
|
- pricing
|
|
- budget
|
|
notes:
|
|
- |
|
|
Preserved from prior description (commit c2cdbed6):
|
|
|
|
"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"
|
|
annotations:
|
|
specificity_score: 0.45
|
|
specificity_rationale: Universal pricing representation class
|
|
custodian_types: "['*']"
|
|
structured_aliases:
|
|
- literal_form: prijs
|
|
predicate: EXACT_SYNONYM
|
|
in_language: nl
|
|
- literal_form: prijsinformatie
|
|
predicate: RELATED_SYNONYM
|
|
in_language: nl
|
|
- literal_form: Preis
|
|
predicate: EXACT_SYNONYM
|
|
in_language: de
|
|
- literal_form: prix
|
|
predicate: EXACT_SYNONYM
|
|
in_language: fr
|
|
- literal_form: precio
|
|
predicate: EXACT_SYNONYM
|
|
in_language: es
|