App\Domain\User\Model\Embeddable\Address:
    properties:
        city:
            - NotBlank:
                message: 'user_address.city.not_blank'
                groups: ['default']
            - Length:
                max: 255
                groups: ['default']
        lineOne:
            - NotBlank:
                message: 'user_address.line_one.not_blank'
                groups: ['default']
            - Length:
                max: 255
                groups: ['default']
        lineTwo:
            - Length:
                max: 255
                groups: ['default']
        insee:
            - NotBlank:
                message: 'user_address.insee.not_blank'
                groups: ['default']
            - Length:
                max: 255
                groups: ['default']
        zipCode:
            - NotBlank:
                message: 'user_address.zip_code.not_blank'
                groups: ['default']
            - Regex:
                pattern: '/^[0-9]{2,5}$/'
                message: 'user_address.zip_code.regex'
                groups: ['default']
