Skip to content

Conversation

michael-danko-passport
Copy link
Collaborator

@michael-danko-passport michael-danko-passport commented Sep 3, 2025

CDS Pull Request

Explain pull request

  1. Documentation updates to the descriptions of vehicle_detected (new) and enter_area (existing) events to distinguish between these.
  2. A new enforcement.is_warning boolean (true/false) field to discern between real violation events and those which are related to citation warnings
  3. Changing the structure of the enforcement object to be a single object (instead of an array)
    1. Within that object, a new violations array that can contain details (municipal_code, violation_name, and violation_cost) for the one-to-many violations associated to a single citation.
  4. Update the description of enforcement_id to indicate values can be repeated across multiple CDS Curb Events

Is this a breaking change

N/A - Making adjustments to an already existing PR created for the CDS 1.1 release

Impacted Spec

Which API(s) will this pull request impact?

  • Events

Additional context

Discussions happened by WGSC after last WG review, by Zoom, Slack, and email.

Documentation updates:
- Clarifies distinction between vehicle detection and enter/exit event types.
- Text formatting changes
Applies changes discussed via Slack with members from WGSC.
- Documentation updates to the descriptions of vehicle_detected (new) and enter_area (existing) events to distinguish between these.
- Adds a new `enforcement.is_warning` field
- Adds a new `enforcement.violations` array
- Defines a new `Violations` object
- Moves violation specific fields to the new violations array
@michael-danko-passport michael-danko-passport requested a review from a team as a code owner September 3, 2025 20:05
- Previously was an array of Enforcement objects
- Change aligns with a single enforcement object for each event, with the Enforcement object now containing an array of violations
@schnuerle schnuerle changed the title Incorporates changes from the WGSC Slack discussions Incorporates changes from the WGSC discussions Sep 4, 2025
@schnuerle schnuerle changed the title Incorporates changes from the WGSC discussions Incorporate Enforcement updates from WGSC discussions Sep 4, 2025
@schnuerle schnuerle added this to the 1.1 milestone Sep 4, 2025
Copy link
Member

@schnuerle schnuerle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this work @michael-danko-passport !

@schnuerle schnuerle merged commit 156c3f0 into jacobmalleau-enforcementimprovements Sep 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants