Akeneo\Channel\Component\Model\Locale:
    constraints:
        - Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity: code
        - Akeneo\Tool\Component\StorageUtils\Validator\Constraints\Immutable:
            properties:
                - code
    properties:
        code:
            - Akeneo\Channel\Component\Validator\Constraint\LocaleCode: ~
