fix: set transfer from and to stop ids as conditional required fields#1772
fix: set transfer from and to stop ids as conditional required fields#1772davidgamez merged 2 commits intomasterfrom
Conversation
|
✅ Rule acceptance tests passed. |
.../main/java/org/mobilitydata/gtfsvalidator/validator/TransferStopIdsConditionalValidator.java
Show resolved
Hide resolved
|
✅ Rule acceptance tests passed. |
Summary:
This PR aligns the validator response with the specification on the transfers.txt from and to stop IDs. The specification marks these fields as required for all records except those with a transfer_type of 4 or 5.
Closes #1621
Expected behavior:
For transfers.txt records with transfer types 4 and 5(in seat transfer types), the missing required field is not triggered.
Please make sure these boxes are checked before submitting your pull request - thanks!
gradle testto make sure you didn't break anything