-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clubspark Example Endpoint #9
Comments
@dolkensp here's a starter for 10: The below single endpoint will be updated as often as the courses are updated:
For availability, as bookings occur more frequently, this separate endpoint covers availability:
|
Here is the current sample I have working. Still need to confirm some pricing logic with the team. Haven't got the bookings feed running just yet. Added the eligibleCustomerType property to Offers where necessary to indicate when member-only pricing was supplied. |
Looks good! In terms of eligibleCustomerType, http://purl.org/goodrelations/ (referenced from schema.org) doesn't seem to have adequate vocab for this. Suggest we add terms to beta, e.g. Let me know the list of terms you've used - Member is a great one - and I can add them to Beta (or please do so via https://github.com/openactive/ns-beta/issues). One other point to note: there aren't any URLs in the events or offers as yet... |
I've just used "Member" here as a generic term, but I'd also consider just using the name of the specific Membership Packages (which are user defined) for this value. So "Members", "Everyone", "Administrators" might be common generic terms based on our current uses, but "2017 Junior Membership" might be an example of a more specific term. I don't believe we offer this package-specific pricing scheme for Courses currently, but we certainly do for other parts of the system, such as court-access bookings; So it's believable that it may come to courses in the future. And yes, I'm aware I haven't filled in URLs just yet. Will be speaking with the team about the expected landing pages for these. |
Here is the pricing configuration for court bookings, where you can see the different values available for a single club: Everyone, All Members, and Booking Administrators are all System values, the rest are user-controlled. Of note - Responsibilities are admin-assigned, not something a user would ever sign up for, so they won't have a "Url" as such. Memberships can generally be bought/signed up to. Groups are system-defined currently. |
Very interesting @dolkensp - perhaps we stick to just "https://www.openactive.io/ns-beta#Member" for now to distinguish them from non member offers? Representing membership purchase options certainly something to think about in the future, for now it is sufficient to mark offers as "member only" in this way, and then provide a URL in the offer that takes you to the membership purchase screen (for all membership types). |
Another thing that may affect this - member pricing may end up being redacted - I'll need to check with the team on that, as some venues may not want their pricing structure exposed if we do allow the more complex pricing logic. |
That makes sense - probably not relevant to publish full member pricing, but rather just a "From £5" type of thing with a link to find out more about membership. The point of publishing member pricing is for an upsell option, rather than for the user to get granular understanding of it. |
Please add to this thread
The text was updated successfully, but these errors were encountered: