openmobilityfoundation / curb-data-specification

A data specification to help cities manage their curb zone programs and surrounding areas, and measure the utilization and impact.
https://www.openmobilityfoundation.org/about-cds/
Other
47 stars 18 forks source link

Relational Curb Object, Curb Zone, and Curb Policy (1-to-1 or 1-to-many) #152

Open Mu-yi-Zhou opened 1 week ago

Mu-yi-Zhou commented 1 week ago

Is your feature request related to a problem? Please describe.

Sharing a few thoughts on relating Curb Object, Curb Zone, and Curb Policy:

Describe the solution you'd like

when 1-to-many relationship is allowed, will we have records of 1-to-1 relations (e.g. curb_object_id and curb_zone_id), or will we have one record of 1-to-many relationship with an array field to store a series of ids (e.g. curb_object_id and curb_zone_ids)?

Is this a breaking change

A breaking change would require consumers or implementors of an API to modify their code for it to continue to function (ex: renaming of a required field or the change in data type of an existing field). A non-breaking change would allow existing code to continue to function (ex: addition of an optional field or the creation of a new optional endpoint).

Impacted Spec

For which spec is this feature being requested?