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

onStreetParking permitActiveHours schema #20

Closed
modularTaco opened this issue Sep 21, 2021 · 3 comments
Closed

onStreetParking permitActiveHours schema #20

modularTaco opened this issue Sep 21, 2021 · 3 comments

Comments

@modularTaco
Copy link

Hey,

the description of permitActiveHours in the OnStreetParking schema mentions that The syntax must be conformant with schema.org, but it does not mention which schema.org Property it needs to be conformant with.
From the example "blueZonePermit": "Mo, Tu, We, Th, Fr, Sa 09:00-20:00" i guess https://schema.org/openingHours is used. Am i right here?

If openingHours is used, is there any possibility to specify special permitActiveHours for holidays?
If not, maybe it's worth considering the usage of https://schema.org/openingHoursSpecification as a more expressive alternative to openingHours, which allows the dayOfWeek to be PublicHolidays.

@albertoabellagarcia
Copy link
Contributor

That's a nice thing. Do you have a use case for that? Both alternatives are possible. The one used is the one preferred. In fact https://schema.org/openingHoursSpecification is replicated in the commons-schema.json of the overall alternative and it's been used in other data models.

@modularTaco
Copy link
Author

We're currently investigating how we want do model our parking zones in order to import them to Orion.
As i've not received the parking zones data yet i don't know if we really need the implementation of public holidays, but it was part of our internal discussion and i thought others could benefit from it to if it would be used in this datamodel.

Both alternatives are possible.
Does this mean that the current version of the datamodel does not make any assumption if openingHours or openingHoursSpecification is used and both would valid currently?

@albertoabellagarcia
Copy link
Contributor

So then, let me close the issue and please reopen it when you have the information about the zones and what will be the criteria for using one of the alternatives.
thanks a lot

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

2 participants