MobilityData / gbfs-json-schema

JSON Schema for GBFS feeds, managed by MobilityData. The versions are organized by folders. CC BY 4.0
Apache License 2.0
24 stars 25 forks source link

Update Java model with list of time zones #148

Open richfab opened 4 hours ago

richfab commented 4 hours ago

Follow-up of https://github.com/MobilityData/gbfs-json-schema/issues/146

Context

The time zones in the schemas were replaced with the content of the TZ identifier column from this list.

Problem

The Java models are inconsistent with the spec because they use the previous list of time zones.

Solution

Update the Java models with the list of time zones from the schemas.

leonardehrenfried commented 3 hours ago

You actually don't need to do much. The compiler will regenerate the types for you.