CRX/de node structure for Components used in Experience Fragments
Hi,
When I create an Experience Fragment using AEM, I can use the following image components, either "wcm/foundation/components/image" or "weretail/components/content/image", although these components appear and render the same in the Experience Fragment editor, but in crx/de,
the image component node with resourceType "weretail/components/content/image" stores the complete image asset in the node and "wcm/foundation/components/image" stores the reference to the image in the node property "fileReference". I need to know where these node structures are defined and how AEM understands whether to store the asset or store the reference to file in jcr node property.
Or Generally speaking,
How does AEM understand what component requires what JCR properties in their nodes/how the component stores data in their JCR nodes.

