Skip to content
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

Missing AvailabilityCondition #630

Open
jomes-db opened this issue Dec 29, 2023 · 2 comments
Open

Missing AvailabilityCondition #630

jomes-db opened this issue Dec 29, 2023 · 2 comments
Assignees

Comments

@jomes-db
Copy link

Since this is a service that despite being bookable online is also bookable via phone call. This call center may not be staffed 24/7 (so the case for Deutsche Bahn), this is why I would assume an optional AvailabilityCondition could be very helpful in those cases.

<xsd:element name="BookingContact" type="ContactStructure" minOccurs="0">

What is your opinion on that?

@ue71603
Copy link
Contributor

ue71603 commented Feb 2, 2024

@jomes-db
I think you should do this on the level of the bookingArrangements.
If you have a call center that has a limited opening hour you would add a Booking Arrangement for that with a validityCondition that reflects that:

<bookingArrangements>
		<BookingArrangement version="any" id="tbd:9100WIMBLDN@A1_SF">
			<validityConditions>
				<ValidityConditionRef ref="businessHours"></ValidityConditionRef>
			</validityConditions>
			<LatestBookingTime>16:00:00</LatestBookingTime>
			<MinimumBookingPeriod>PT1H</MinimumBookingPeriod>
			<BookingUrl>assistance.org.uk/wimbledon</BookingUrl>
			<BookingNote>Be nice.</BookingNote>
		</BookingArrangement>
</bookingArrangements>

This may result in you needing multiple BookingArrangements for different services.

@Aurige @skinkie do you concur?

@ue71603
Copy link
Contributor

ue71603 commented Feb 2, 2024

You can also use different things within the validityConditions to express what you really want to express (e.g. Timeband)

@ue71603 ue71603 added this to the release_independent milestone Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants