glam/schemas/20251121/linkml/modules/classes/PaymentMethod.yaml
kempersc fc405445c6 Refactor and update schema definitions
- Removed obsolete slots: `has_or_had_custodian_observation`, `provider`, and `specificity_annotation`.
- Updated `has_or_had_score` slot to use `SpecificityScore` class and modified its description and examples.
- Added new slots: `end_seconds`, `end_time`, `has_archive_path`, `has_or_had_custodian_name`, `protocol_name`, and `protocol_version`.
- Introduced a script `check_annotation_types.py` to validate the presence and structure of `custodian_types` in YAML files.
- Added a script `update_specificity.py` to automate updates related to `SpecificityAnnotation` to `SpecificityScore`.
2026-02-01 19:55:38 +01:00

40 lines
1.4 KiB
YAML

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
- ../slots/provider
- ../slots/note
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
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:\n method_type: \"credit_card\"\n provider: \"Visa\"\
\n"
description: Visa credit card payment.
- value: "PaymentMethod:\n method_type: \"digital\"\n provider: \"iDEAL\"\n\
\ note: \"Dutch bank transfer system\"\n"
description: iDEAL digital payment method.
slots:
- provider
- note