Sylius\Component\Taxonomy\Model\Taxon:
    exclusion_policy: ALL
    xml_root_name: taxon
    properties:
        id:
            expose: true
            type: integer
            xml_attribute: true
            groups: [Default, Detailed, Autocomplete]
        code:
            expose: true
            type: string
            groups: [Default, Detailed, Autocomplete]
        children:
            expose: true
            type: iterable
            groups: [Detailed]
        root:
            expose: true
            max_depth: 2
            groups: [Default, Detailed, Autocomplete]
        parent:
            expose: true
            max_depth: 2
            groups: [Default, Detailed, Autocomplete]
        left:
            expose: true
            type: integer
            groups: [Detailed]
        right:
            expose: true
            type: integer
            groups: [Detailed]
        level:
            expose: true
            type: integer
            groups: [Detailed, Autocomplete]
        position:
            expose: true
            type: integer
            groups: [Default, Detailed]
        translations:
            expose: true
            type: iterable
            groups: [Default, Detailed]
    virtual_properties:
        getName:
            serialized_name: name
            groups: [Default, Detailed, Autocomplete]
        hasChildren:
            serialized_name: hasChildren
            groups: [Autocomplete]
        getFullname:
            serialized_name: fullname
            groups: [Autocomplete]
