# ItemsArray.xsd Sample

This topic inludes the source code for the ItemsArray.xsd Sample.

## Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/Schemas/

## Sample Source Code

`01 <xs:schema targetNamespace="http://openuri.org/dbcontrol/xmlbean" 02 xmlns:xs="http://www.w3.org/2001/XMLSchema" 03 xmlns:db="http://openuri.org/dbcontrol/xmlbean" 04 elementFormDefault="qualified"> 05 <xs:complexType name="ItemType"> 06 <xs:sequence> 07 <xs:element name="itemName" type="xs:string"/> 08 <xs:element name="itemNumber" type="xs:short"/> 09 <xs:element name="price" type="xs:decimal"/> 10 <xs:element name="quantityAvailable" type="xs:byte"/> 11 </xs:sequence> 12 </xs:complexType> 13 <xs:element name="ItemsArray"> 14 <xs:complexType> 15 <xs:sequence> 16 <xs:element name="Item" type="db:ItemType" maxOccurs="unbounded"/> 17 </xs:sequence> 18 </xs:complexType> 19 </xs:element> 20 </xs:schema>`