openactive / modelling-opportunity-data

OpenActive Modelling Opportunity Data specification
https://www.openactive.io/modelling-opportunity-data/
Other
6 stars 6 forks source link

acceptedPaymentMethod #121

Open nickevansuk opened 6 years ago

nickevansuk commented 6 years ago

Proposer

EMD, Open Sessions, O2 Touch Rugby

Use Case

As a potential participant, I want to know what payment options are available for the session.

Why is this not covered by existing properties?

acceptedPaymentMethod exists in schema.org, but has not been well-defined for this usecase.

Example data

The following are defined by EMD:

{
  "id": "http://openactive.io/ns#PaymentMethodPrepayOnline",
  "identifier": "prepay-online",
  "name": "Pre-pay online",
  "type": "PaymentMethod"
},
{
  "id": "http://openactive.io/ns#PaymentMethodPrepayPhone",
  "identifier": "prepay-phone",
  "name": "Pre-pay by phone",
  "type": "PaymentMethod"
},
{
  "id": "http://purl.org/goodrelations/v1#Cash",
  "identifier": "cash",
  "name": "Cash",
  "type": "PaymentMethod"
},
{
  "id": "http://purl.org/goodrelations/v1#PaymentMethodCreditCard",
  "identifier": "card",
  "name": "Card",
  "type": "PaymentMethod"
}

Proposal

Add acceptedPaymentMethod to the OpenActive profile, and define additional PaymentMethods to cover the options above (where they are not already defined by goodrelations).

nickevansuk commented 6 years ago

Updated proposal

Further Proposal given https://github.com/openactive/modelling-opportunity-data/issues/98#issuecomment-421012557, https://github.com/openactive/modelling-opportunity-data/issues/161, https://github.com/openactive/modelling-opportunity-data/issues/160 - separating channels from payment methods

acceptedPaymentMethod

Suggest we add https://schema.org/acceptedPaymentMethod to the OpenActive profile, with the following specifically recognised values, but with the option to use others from http://purl.org/goodrelations/v1 (including CheckInAdvance - American spelling of Cheque).

We should specify that in the OpenActive context acceptedPaymentMethod specifically relates to payment available at the Event (e.g. "cash on the door") rather than prepayment.

Note that the above use of acceptedPaymentMethod is already implemented in Open Sessions and EMD in this way.

Suggested conformance rules

nickevansuk commented 5 years ago

Proposed way forward

Agree on updated proposal: that acceptedPaymentMethod specifically relates to payment available at the Event (e.g. "cash on the door") rather than prepayment