<?php //resource_metadata_da8722ab355d97984ff0bcfef44b1860

return [PHP_INT_MAX, static function () { return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate(
    $o = [
        clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['ApiPlatform\\Core\\Metadata\\Resource\\ResourceMetadata'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('ApiPlatform\\Core\\Metadata\\Resource\\ResourceMetadata')),
    ],
    null,
    [
        'ApiPlatform\\Core\\Metadata\\Resource\\ResourceMetadata' => [
            'shortName' => [
                'Journey',
            ],
            'description' => [
                'RDEX+ : Journey'."\n"
                    .'Documentation : https://rdex.fabmob.io/'."\n"
                    .'Exemple of a regular round trip'."\n"
                    .'{'."\n"
                    .'  "type":"planned",'."\n"
                    .'  "user":{'."\n"
                    .'      "id":"18"'."\n"
                    .'  },'."\n"
                    .' "isRoundTrip":true,'."\n"
                    .' "frequency":"regular",'."\n"
                    .' "price":{'."\n"
                    .'     "amount":0.06,'."\n"
                    .'     "type":"variable"'."\n"
                    .' },'."\n"
                    .' "carpoolerType":"driver",'."\n"
                    .' "from":{'."\n"
                    .'   "latitude": 48.690303,'."\n"
                    .'   "longitude": 6.178289,'."\n"
                    .'   "city": "Nancy"'."\n"
                    .' },'."\n"
                    .' "to":{'."\n"
                    .'   "latitude": 49.115164,'."\n"
                    .'   "longitude": 6.17963,'."\n"
                    .'   "city": "Metz"'."\n"
                    .' },'."\n"
                    .' "numberOfWaypoints":1,'."\n"
                    .' "waypoints":['."\n"
                    .'   {'."\n"
                    .'       "latitude": 48.7658301,'."\n"
                    .'       "longitude": 6.1229922,'."\n"
                    .'       "city": "Pompey"'."\n"
                    .'   },'."\n"
                    .'   {'."\n"
                    .'       "latitude": 48.9025946,'."\n"
                    .'       "longitude": 6.0547691,'."\n"
                    .'       "city": "Pont-à-Mousson"'."\n"
                    .'   }'."\n"
                    .'  ],'."\n"
                    .' "outward":{'."\n"
                    .'   "departureDate":1622448000,'."\n"
                    .'   "regularSchedule":['."\n"
                    .'       {'."\n"
                    .'           "mondayTime":"08:00",'."\n"
                    .'           "wednesdayTime":"08:00"'."\n"
                    .'       },'."\n"
                    .'       {'."\n"
                    .'           "fridayTime":"09:00"'."\n"
                    .'       }'."\n"
                    .'   ]'."\n"
                    .' },'."\n"
                    .' "return":{'."\n"
                    .'   "departureDate":1622484000,'."\n"
                    .'   "regularSchedule":['."\n"
                    .'       {'."\n"
                    .'           "mondayTime":"18:00",'."\n"
                    .'           "wednesdayTime":"18:00"'."\n"
                    .'       },'."\n"
                    .'       {'."\n"
                    .'           "fridayTime":"19:00"'."\n"
                    .'       }'."\n"
                    .'   ]'."\n"
                    .' }'."\n"
                    .'}'."\n"
                    .'The RDEX+ protocol does\'nt require the POST route. We did it anyway.',
            ],
            'itemOperations' => [
                [
                    'rdex_plus_journey_get_item' => [
                        'method' => 'GET',
                        'path' => '/journeys/{id}',
                        'security' => 'is_granted(\'reject\',object)',
                        'swagger_context' => [
                            'summary' => 'Get a journey (not implemented)',
                            'tags' => [
                                'Interoperability',
                                'RDEX+',
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'input_formats' => [
                            'jsonld' => [
                                'application/ld+json',
                            ],
                            'json' => [
                                'application/json',
                            ],
                            'xml' => [
                                'application/xml',
                                'text/xml',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                        'output_formats' => [
                            'jsonld' => [
                                'application/ld+json',
                            ],
                            'json' => [
                                'application/json',
                            ],
                            'xml' => [
                                'application/xml',
                                'text/xml',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                ],
            ],
            'collectionOperations' => [
                [
                    'rdex_plus_journey_get' => [
                        'method' => 'GET',
                        'path' => '/journeys',
                        'security' => 'is_granted(\'ad_list\',object)',
                        'swagger_context' => [
                            'summary' => 'Search for matching journeys',
                            'tags' => [
                                'Interoperability',
                                'RDEX+',
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'input_formats' => [
                            'jsonld' => [
                                'application/ld+json',
                            ],
                            'json' => [
                                'application/json',
                            ],
                            'xml' => [
                                'application/xml',
                                'text/xml',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                        'output_formats' => [
                            'jsonld' => [
                                'application/ld+json',
                            ],
                            'json' => [
                                'application/json',
                            ],
                            'xml' => [
                                'application/xml',
                                'text/xml',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                    'rdex_plus_journey_post' => [
                        'method' => 'POST',
                        'path' => '/journeys',
                        'security_post_denormalize' => 'is_granted(\'ad_search_create\',object)',
                        'swagger_context' => [
                            'summary' => 'Publish a journey',
                            'tags' => [
                                'Interoperability',
                                'RDEX+',
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'input_formats' => [
                            'jsonld' => [
                                'application/ld+json',
                            ],
                            'json' => [
                                'application/json',
                            ],
                            'xml' => [
                                'application/xml',
                                'text/xml',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                        'output_formats' => [
                            'jsonld' => [
                                'application/ld+json',
                            ],
                            'json' => [
                                'application/json',
                            ],
                            'xml' => [
                                'application/xml',
                                'text/xml',
                            ],
                            'html' => [
                                'text/html',
                            ],
                        ],
                    ],
                ],
            ],
            'graphql' => [
                [
                    'item_query' => [],
                    'collection_query' => [],
                    'delete' => [],
                    'update' => [],
                    'create' => [],
                ],
            ],
            'attributes' => [
                [
                    'normalization_context' => [
                        'groups' => [
                            'rdexPlusRead',
                        ],
                        'enable_max_depth' => 'true',
                    ],
                    'denormalization_context' => [
                        'groups' => [
                            'rdexPlusWrite',
                        ],
                    ],
                    'route_prefix' => '/interoperability',
                    'input' => null,
                    'output' => null,
                ],
            ],
        ],
    ],
    $o[0],
    []
); }];
