<?php //resource_metadata_36d2db1ff5e230c9f134f8be4d4f7657

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' => [
                'RdexConnection',
            ],
            'description' => [
                'An RDEX Connection (conctact a user on a rdex platform)',
            ],
            'itemOperations' => [
                [
                    'get' => [
                        'security' => 'is_granted(\'reject\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'RDEX',
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'method' => 'GET',
                        'input_formats' => [
                            'xml' => [
                                'application/xml',
                                'text/xml',
                            ],
                            'jsonld' => [
                                'application/ld+json',
                            ],
                            'json' => [
                                'application/json',
                            ],
                        ],
                        'output_formats' => [
                            'xml' => [
                                'application/xml',
                                'text/xml',
                            ],
                            'jsonld' => [
                                'application/ld+json',
                            ],
                            'json' => [
                                'application/json',
                            ],
                        ],
                    ],
                ],
            ],
            'collectionOperations' => [
                [
                    'get' => [
                        'security' => 'is_granted(\'reject\',object)',
                        'swagger_context' => [
                            'tags' => [
                                'RDEX',
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'method' => 'GET',
                        'input_formats' => [
                            'xml' => [
                                'application/xml',
                                'text/xml',
                            ],
                            'jsonld' => [
                                'application/ld+json',
                            ],
                            'json' => [
                                'application/json',
                            ],
                        ],
                        'output_formats' => [
                            'xml' => [
                                'application/xml',
                                'text/xml',
                            ],
                            'jsonld' => [
                                'application/ld+json',
                            ],
                            'json' => [
                                'application/json',
                            ],
                        ],
                    ],
                    'post' => [
                        'path' => '/connections',
                        'controller' => 'App\\Rdex\\Controller\\ConnectionController',
                        'swagger_context' => [
                            'summary' => 'Contact a user using RDEX protocol',
                            'tags' => [
                                'RDEX',
                            ],
                            'parameters' => [
                                [
                                    'name' => 'timestamp',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'string',
                                    'description' => 'The timestamp',
                                ],
                                [
                                    'name' => 'apikey',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'string',
                                    'description' => 'The api key',
                                ],
                                [
                                    'name' => 'p[driver][uuid]',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'int',
                                    'description' => 'Uuid of the driver',
                                ],
                                [
                                    'name' => 'p[driver][state]',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'string',
                                    'enum' => [
                                        'sender',
                                        'recipient',
                                    ],
                                    'description' => 'If the driver is the sender or the recipient of this contact',
                                ],
                                [
                                    'name' => 'p[passenger][uuid]',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'int',
                                    'description' => 'Uuid of the passenger',
                                ],
                                [
                                    'name' => 'p[passenger][state]',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'string',
                                    'enum' => [
                                        'sender',
                                        'recipient',
                                    ],
                                    'description' => 'If the passenger is the sender or the recipient of this contact',
                                ],
                                [
                                    'name' => 'p[journeys][uuid]',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'int',
                                    'description' => 'Uuid of the journey',
                                ],
                                [
                                    'name' => 'signature',
                                    'in' => 'query',
                                    'required' => 'true',
                                    'type' => 'string',
                                    'description' => 'The signature',
                                ],
                            ],
                        ],
                        'input' => null,
                        'output' => null,
                        'method' => 'POST',
                        'input_formats' => [
                            'xml' => [
                                'application/xml',
                                'text/xml',
                            ],
                            'jsonld' => [
                                'application/ld+json',
                            ],
                            'json' => [
                                'application/json',
                            ],
                        ],
                        'output_formats' => [
                            'xml' => [
                                'application/xml',
                                'text/xml',
                            ],
                            'jsonld' => [
                                'application/ld+json',
                            ],
                            'json' => [
                                'application/json',
                            ],
                        ],
                    ],
                ],
            ],
            'graphql' => [
                [
                    'item_query' => [],
                    'collection_query' => [],
                    'delete' => [],
                    'update' => [],
                    'create' => [],
                ],
            ],
            'attributes' => [
                [
                    'formats' => [
                        'xml',
                        'jsonld',
                        'json',
                    ],
                    'normalization_context' => [
                        'groups' => [
                            'rdex',
                        ],
                        'enable_max_depth' => 'true',
                    ],
                    'route_prefix' => '/rdex',
                    'input' => null,
                    'output' => null,
                ],
            ],
        ],
    ],
    $o[0],
    []
); }];
