- Added `id`, `name`, `title`, and `description` fields to multiple LinkML class YAML files. - Standardized prefixes across all class definitions. - Introduced a new script `fix_linkml_metadata.py` to automate the addition of metadata to class files. - Updated existing class files to ensure compliance with the new metadata structure.
83 lines
2.4 KiB
YAML
83 lines
2.4 KiB
YAML
id: https://nde.nl/ontology/hc/class/PaymentMethod
|
|
name: PaymentMethod
|
|
title: Payment Method
|
|
description: LinkML class definition for Payment Method
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
schema: http://schema.org/
|
|
skos: http://www.w3.org/2004/02/skos/core#
|
|
rico: https://www.ica.org/standards/RiC/ontology#
|
|
wd: http://www.wikidata.org/entity/
|
|
# PaymentMethod - Payment methods accepted by an institution
|
|
# Created per slot_fixes.yaml migration for: accepts_or_accepted_payment_method
|
|
# Creation date: 2026-01-14
|
|
|
|
id: https://nde.nl/ontology/hc/classes/PaymentMethod
|
|
name: PaymentMethod
|
|
title: PaymentMethod
|
|
|
|
prefixes:
|
|
linkml: https://w3id.org/linkml/
|
|
hc: https://nde.nl/ontology/hc/
|
|
schema: http://schema.org/
|
|
|
|
imports:
|
|
- linkml:types
|
|
|
|
default_range: string
|
|
|
|
classes:
|
|
PaymentMethod:
|
|
description: >-
|
|
A payment method accepted by an institution for tickets, services, or purchases.
|
|
|
|
**EXAMPLES**:
|
|
- Credit cards (Visa, Mastercard, Amex)
|
|
- Debit cards (Maestro, V-Pay)
|
|
- Digital payments (iDEAL, Apple Pay, Google Pay)
|
|
- Cash
|
|
- Museum passes (Museumkaart, etc.)
|
|
|
|
Used with `accepts_or_accepted` slot to indicate payment options.
|
|
|
|
class_uri: schema:PaymentMethod
|
|
|
|
attributes:
|
|
method_type:
|
|
range: string
|
|
required: true
|
|
description: >-
|
|
Type of payment method (e.g., "credit_card", "debit_card", "digital", "cash").
|
|
|
|
provider:
|
|
range: string
|
|
description: >-
|
|
Payment provider or brand (e.g., "Visa", "iDEAL", "Apple Pay").
|
|
|
|
note:
|
|
range: string
|
|
description: >-
|
|
Additional notes about this payment method.
|
|
|
|
annotations:
|
|
custodian_types: '["M", "G", "B", "H"]'
|
|
custodian_types_rationale: >-
|
|
Payment methods primarily relevant for visitor-facing institutions.
|
|
custodian_types_primary: "M"
|
|
specificity_score: 0.6
|
|
specificity_rationale: >-
|
|
Moderate-high specificity - specific to ticketing/commerce.
|
|
|
|
examples:
|
|
- value: |
|
|
PaymentMethod:
|
|
method_type: "credit_card"
|
|
provider: "Visa"
|
|
description: Visa credit card payment.
|
|
|
|
- value: |
|
|
PaymentMethod:
|
|
method_type: "digital"
|
|
provider: "iDEAL"
|
|
note: "Dutch bank transfer system"
|
|
description: iDEAL digital payment method.
|