| | |
| | | 'id' => 'ctype_digit', |
| | | ], |
| | | '/geoserviceDispatcher/services/vehicleinfo/vehicles' => [ |
| | | // 'lastUpdate' => 'ctype_digit', |
| | | 'positionType' => function($type) { return in_array($type, ['CORRECTED']); }, |
| | | 'lastUpdate' => 'ctype_digit', |
| | | 'positionType' => function($type) { return in_array($type, ['CORRECTED', 'NORMAL']); }, |
| | | 'colorType' => function($type) { return in_array($type, ['ROUTE_BASED']); }, |
| | | ], |
| | | '/services/routeInfo/routeStops' => [ |
| | | 'routeId' => 'ctype_digit', |
| | | ], |
| | | '/services/stopInfo/stop' => [ |
| | | 'stop' => 'ctype_digit', |
| | | ], |
| | | '/services/stopInfo/stopPoint' => [ |
| | | 'stopPoint' => 'ctype_digit', |
| | | ], |