Sylius\Component\Product\Model\Product:
    exclusion_policy: ALL
    xml_root_name: product
    properties:
        id:
            expose: true
            type: integer
            xml_attribute: true
            groups: [Default, Detailed, Autocomplete]
        code:
            expose: true
            type: string
            groups: [Default, Detailed, Autocomplete]
        options:
            expose: true
            type: iterable
            groups: [Default, Detailed]
        attributes:
            expose: true
            type: iterable
            groups: [Detailed]
        associations:
            expose: true
            type: iterable
            groups: [Detailed]
        translations:
            expose: true
            type: iterable
            groups: [Detailed]
    virtual_properties:
        getName:
            serialized_name: name
            groups: [Default, Detailed, Autocomplete]
        getDescriptor:
            serialized_name: descriptor
            groups: [Autocomplete]
