<?php //%255BApp%255CPublicTransport%255CEntity%255CPTJourney%255D%255B1%255D

return [PHP_INT_MAX, static function () { return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate(
    $o = [
        clone (($p = &\Symfony\Component\VarExporter\Internal\Registry::$prototypes)['Doctrine\\ORM\\Mapping\\Entity'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Doctrine\\ORM\\Mapping\\Entity')),
        clone ($p['ApiPlatform\\Core\\Annotation\\ApiResource'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('ApiPlatform\\Core\\Annotation\\ApiResource')),
    ],
    null,
    [
        'stdClass' => [
            'collectionOperations' => [
                1 => [
                    'get' => [
                        'path' => '/journeys',
                        'swagger_context' => [
                            'tags' => [
                                'Public Transport',
                            ],
                            'parameters' => [
                                [
                                    'name' => 'origin_latitude',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'number',
                                    'format' => 'float',
                                    'description' => 'The latitude of the origin point',
                                ],
                                [
                                    'name' => 'origin_longitude',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'number',
                                    'format' => 'float',
                                    'description' => 'The longitude of the origin point',
                                ],
                                [
                                    'name' => 'destination_latitude',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'number',
                                    'format' => 'float',
                                    'description' => 'The latitude of the destination point',
                                ],
                                [
                                    'name' => 'destination_longitude',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'number',
                                    'format' => 'float',
                                    'description' => 'The longitude of the destination point',
                                ],
                                [
                                    'name' => 'date',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'string',
                                    'format' => 'date-time',
                                    'description' => 'The date of the trip (on RFC3339 format)',
                                ],
                                [
                                    'name' => 'dateType',
                                    'in' => 'query',
                                    'type' => 'string',
                                    'description' => 'The date type of the trip',
                                    'enum' => [
                                        'departure',
                                        'arrival',
                                    ],
                                ],
                                [
                                    'name' => 'modes',
                                    'in' => 'query',
                                    'type' => 'string',
                                    'description' => 'The transport modes accepted for the trip',
                                    'enum' => [
                                        'PT',
                                        'BIKE',
                                        'CAR',
                                        'PT+BIKE',
                                        'PT+CAR',
                                    ],
                                ],
                            ],
                        ],
                    ],
                    'checkThreshold' => [
                        'path' => '/checkThreshold',
                        'method' => 'get',
                        'normalization_context' => [
                            'groups' => [
                                'checkThreshold',
                            ],
                        ],
                        'swagger_context' => [
                            'tags' => [
                                'Public Transport',
                            ],
                            'parameters' => [
                                [
                                    'name' => 'origin_latitude',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'number',
                                    'format' => 'float',
                                    'description' => 'The latitude of the origin point',
                                ],
                                [
                                    'name' => 'origin_longitude',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'number',
                                    'format' => 'float',
                                    'description' => 'The longitude of the origin point',
                                ],
                            ],
                        ],
                    ],
                ],
            ],
            'itemOperations' => [
                1 => [
                    'get' => [
                        'path' => '/journeys/{id}',
                        'swagger_context' => [
                            'tags' => [
                                'Public Transport',
                            ],
                        ],
                    ],
                ],
            ],
            'attributes' => [
                1 => [
                    'normalization_context' => [
                        'groups' => [
                            'pt',
                            'checkThreshold',
                        ],
                        'enable_max_depth' => 'true',
                    ],
                    'route_prefix' => '/public_transport',
                ],
            ],
        ],
    ],
    [
        $o[0],
        $o[1],
    ],
    []
); }];
