-
Notifications
You must be signed in to change notification settings - Fork 281
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
error in system_alerts example #377
Comments
We moved this issue to the gbfs validator repo, so I'm closing it here. |
Hi @albertoabellagarcia, thanks for opening this issue!
"start": {
"description": "Start time of the alert.",
"type": "number",
"minimum": 1450155600
},
"end": {
"description": "End time of the alert.",
"type": "number",
"minimum": 1450155600
} This is how the
Could you explain those errors a little more? Is it an error in the validator itself? |
If you take the schema for system_alerts and the payload in the examples is wrong because the figures are quoted (therefore it is a string) while they should be unquoted to be a number. (for times subproperty of data->alerts) |
Oh okay I see :) |
The example of payload for the system_alerts data model does not validate against its schema, start and end should be literal numbers and not strings as provided.
Additionally in other examples of data models (sorry I did not take notes of which ones) failed validations against their schemas because the version attribute has not the enumeration value "3.0"
The text was updated successfully, but these errors were encountered: