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

Should OnStreetParking's allowedVehicleType be a single value instead of an array? #21

Closed
Nanner opened this issue Feb 22, 2022 · 7 comments

Comments

@Nanner
Copy link

Nanner commented Feb 22, 2022

Hello everyone,

In the schema for the OnStreetParking model, the description for the allowedVehicleType attribute mentions "Vehicle type allowed (only one per on street parking)". However, this attribute is defined as an array of values, instead of a single value.

The old Fiware Datamodel documentation used to describe this attribute as a Text value instead of List of Text, if I'm not mistaken. Is this just an outdated description for the updated model, or should this field still only allow for a single value? The description for the same attribute in the OffStreetParking model, on the other hand, does mention it can hold multiple values.

Thank you very much in advance and I apologize for any misunderstanding on my end. Have a good day!

@Nanner Nanner changed the title Should allowedVehicleType be a single value instead of an array? Should OnStreetParking's allowedVehicleType be a single value instead of an array? Feb 22, 2022
@albertoabellagarcia
Copy link
Contributor

Thank you.
It has to be an array, like in offstreetparking.

Already fixed

thanks

@jpnbastos
Copy link

I think the description has not been changed yet because we were having similar doubts and only this closed issue solved it :) the array solution is perfect!

@jpnbastos
Copy link

I will make a proposal on a PR if it helps

@albertoabellagarcia
Copy link
Contributor

the schema was changed, but we forgot for the spec (I guess it possibly throws some unnoticed error).

@albertoabellagarcia
Copy link
Contributor

running the update

@albertoabellagarcia
Copy link
Contributor

albertoabellagarcia commented Aug 18, 2022

I can confirm that there is an issue, that only affects the English translation... (the other languages' specs seem to be right)

@albertoabellagarcia
Copy link
Contributor

I guess that it is a problem of the unbearable delay between an update of a file and the availability of the raw version on github. we run the script after the update but the raw version is not updated. Thus, it seems that the script did not worked while we need is to wait some minutes?? till this is updated.

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