openactive / modelling-opportunity-data

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

Accepts donations boolean #238

Open JoshuaLevett opened 4 years ago

JoshuaLevett commented 4 years ago

Proposer

Playwaze

Use Case

To make the participant aware that the activity is funded, at least in part, by donations, and they may be asked for a contribution.

Why is this not covered by existing properties?

Whilst issue 234 adds a donation link to the activity, this can only be used before they move to the activity. This boolean would be used to tell users that an activity can be donated to, without the actual donation prompt. The key difference being, that some platforms/providers may only wish to prompt donations after the session has been run, or at some other point in the user journey.

Proposal

Add a new AcceptsDonations property to Events of type bool to show that donations are accepted, though they may be prompted later in the user's journey

Example

"AcceptsDonations": true

thill-odi commented 4 years ago

Just a minor point that this should be cased as acceptsDonations for consistency with schema.org (and hence other properties within OpenActive specifications.