<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
    <services>
        <service id="api_platform.metadata.property.metadata_factory.validator" class="ApiPlatform\Symfony\Validator\Metadata\Property\ValidatorPropertyMetadataFactory" decorates="api_platform.metadata.property.metadata_factory" decoration-priority="20" public="false">
            <argument type="service" id="validator" />
            <argument type="service" id="api_platform.metadata.property.metadata_factory.validator.inner" />
            <argument type="tagged_iterator" tag="api_platform.metadata.property_schema_restriction" />
        </service>

        <service id="api_platform.metadata.property_schema.choice_restriction" class="ApiPlatform\Symfony\Validator\Metadata\Property\Restriction\PropertySchemaChoiceRestriction" public="false">
            <tag name="api_platform.metadata.property_schema_restriction"/>
        </service>

        <service id="api_platform.metadata.property_schema.collection_restriction" class="ApiPlatform\Symfony\Validator\Metadata\Property\Restriction\PropertySchemaCollectionRestriction" public="false">
            <argument type="tagged_iterator" tag="api_platform.metadata.property_schema_restriction" />
            <tag name="api_platform.metadata.property_schema_restriction"/>
        </service>

        <service id="api_platform.metadata.property_schema.count_restriction" class="ApiPlatform\Symfony\Validator\Metadata\Property\Restriction\PropertySchemaCountRestriction" public="false">
            <tag name="api_platform.metadata.property_schema_restriction"/>
        </service>

        <service id="api_platform.metadata.property_schema.greater_than_or_equal_restriction" class="ApiPlatform\Symfony\Validator\Metadata\Property\Restriction\PropertySchemaGreaterThanOrEqualRestriction" public="false">
            <tag name="api_platform.metadata.property_schema_restriction"/>
        </service>

        <service id="api_platform.metadata.property_schema.greater_than_restriction" class="ApiPlatform\Symfony\Validator\Metadata\Property\Restriction\PropertySchemaGreaterThanRestriction" public="false">
            <tag name="api_platform.metadata.property_schema_restriction"/>
        </service>

        <service id="api_platform.metadata.property_schema.length_restriction" class="ApiPlatform\Symfony\Validator\Metadata\Property\Restriction\PropertySchemaLengthRestriction" public="false">
            <tag name="api_platform.metadata.property_schema_restriction"/>
        </service>

        <service id="api_platform.metadata.property_schema.less_than_or_equal_restriction" class="ApiPlatform\Symfony\Validator\Metadata\Property\Restriction\PropertySchemaLessThanOrEqualRestriction" public="false">
            <tag name="api_platform.metadata.property_schema_restriction"/>
        </service>

        <service id="api_platform.metadata.property_schema.less_than_restriction" class="ApiPlatform\Symfony\Validator\Metadata\Property\Restriction\PropertySchemaLessThanRestriction" public="false">
            <tag name="api_platform.metadata.property_schema_restriction"/>
        </service>

        <service id="api_platform.metadata.property_schema.one_of_restriction" class="ApiPlatform\Symfony\Validator\Metadata\Property\Restriction\PropertySchemaOneOfRestriction" public="false">
            <argument type="tagged_iterator" tag="api_platform.metadata.property_schema_restriction" />
            <tag name="api_platform.metadata.property_schema_restriction"/>
        </service>

        <service id="api_platform.metadata.property_schema.range_restriction" class="ApiPlatform\Symfony\Validator\Metadata\Property\Restriction\PropertySchemaRangeRestriction" public="false">
            <tag name="api_platform.metadata.property_schema_restriction"/>
        </service>

        <service id="api_platform.metadata.property_schema.regex_restriction" class="ApiPlatform\Symfony\Validator\Metadata\Property\Restriction\PropertySchemaRegexRestriction" public="false">
            <tag name="api_platform.metadata.property_schema_restriction"/>
        </service>

        <service id="api_platform.metadata.property_schema.format_restriction" class="ApiPlatform\Symfony\Validator\Metadata\Property\Restriction\PropertySchemaFormat" public="false">
            <tag name="api_platform.metadata.property_schema_restriction"/>
        </service>

        <service id="api_platform.metadata.property_schema.unique_restriction" class="ApiPlatform\Symfony\Validator\Metadata\Property\Restriction\PropertySchemaUniqueRestriction" public="false">
            <tag name="api_platform.metadata.property_schema_restriction"/>
        </service>

    </services>
</container>
