Data Modeling Structure

In SAP Hybris when we create any new item type then need to define there details in respective extension *_items.xml file and this file always gets validate againts schema file called item schema which is XSD file (items.xsd). In this schema file what order is defined by hybris that should be match with defined item definition otherwise we will build issue. That stcructure is actully modeling structure :

Structure of items.xml :

<items 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:noNamespaceSchemaLocation="items.xsd">

	<atomictypes>
	...
	</atomictypes>

	<collectiontypes>
	...
	</collectiontypes>

	<enumtypes>
	...
	</enumtypes>

	<maptypes>
	...
	</maptypes>

	<relations>
	...
	</relations>

	<itemtypes>
	...
	</itemtypes>
</items>

Leave a comment