Conversation
|
|
|
Dropping this here cause unsure of where else to put it. Just some thoughts on schema design for the database: New Table ValidationDiffColumns: Some optional columns to consider: Constraints: New Table DatasetDiffColumns: Some optional columns to consider: Constraints: New Table DiffReportColumns: Some optional columns to consider: Notes: |
Not to necessarily merge, but to continue the discussion on the JSON schema for GTFS validation report diffs. Follows JSON schema version 2020-12. Although I don't think we will actually need a formally defined schema, it conveys an idea of the JSON structure (or somewhere to start).
Rough structure, where some of the "diff" types are described below:
{ "summary": { "metadata": { "validator_version": "diff", "service_window": "diff", "counts": { "agencies": "diff", "blocks": "diff", "routes": "diff", "shapes": "diff", "stops": "diff", "trips": "diff" }, "features": "diff" }, "compliance": { "totalNotices": "diff", "uniqueNotices": "diff", "uniqueErrorNotices": "diff", "uniqueWarningNotices": "diff", "uniqueInfoNotices": "diff" } }, "notices": "same format as validator notices" }Diff types: