# JmsSchemas.xsd Sample

This topic inludes the source code for the JmsSchemas.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 <?xml version="1.0" encoding="UTF-8"?> 02 <!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by BEA Systems, Inc. (BEA Systems, Inc.) --> 03 <xs:schema targetNamespace="http://openuri.org/bea/samples/workshop/jms/account" xmlns:ms="http://openuri.org/bea/samples/workshop/jms/account" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> 04 <xs:element name="accountTransaction"> 05 <xs:annotation> 06 <xs:documentation>Transaction amount</xs:documentation> 07 </xs:annotation> 08 <xs:complexType> 09 <xs:sequence> 10 <xs:element name="transactionAmount" type="xs:decimal"/> 11 </xs:sequence> 12 </xs:complexType> 13 </xs:element> 14 <xs:element name="person"> 15 <xs:annotation> 16 <xs:documentation>Account owner</xs:documentation> 17 </xs:annotation> 18 <xs:complexType> 19 <xs:sequence> 20 <xs:element name="lastname" type="xs:string"/> 21 <xs:element name="firstname" type="xs:string"/> 22 </xs:sequence> 23 </xs:complexType> 24 </xs:element> 25 </xs:schema>`