Skip to content

Support additional properties in diff output models #8

@cka-y

Description

@cka-y

Summary

Update the Pydantic models in src/gtfs_diff/models.py to allow extra fields in the JSON output, matching the upcoming schema change that sets additionalProperties: true.

Context

The GTFS Diff v2 schema is being updated ([MobilityData/gtfs_diff schema issue]) to allow additional properties on objects, enabling tools to attach custom metadata. The engine's Pydantic models currently use the default strict behavior which will strip/reject extra fields.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions