| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <!-- |
|---|
| 3 | ** |
|---|
| 4 | ** This is the schema definition for additional information on SQL |
|---|
| 5 | ** tables. This additional information (meta information) is used |
|---|
| 6 | ** by the SqlTransformer to enhance SQL scripts. |
|---|
| 7 | ** |
|---|
| 8 | --> |
|---|
| 9 | <xs:schema |
|---|
| 10 | xmlns:xs="http://www.w3.org/2001/XMLSchema" |
|---|
| 11 | xmlns:jxb="http://java.sun.com/xml/ns/jaxb" |
|---|
| 12 | xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" |
|---|
| 13 | jxb:extensionBindingPrefixes="xjc" |
|---|
| 14 | jxb:version="1.0"> |
|---|
| 15 | |
|---|
| 16 | <!-- copied from JAXB sample schema --> |
|---|
| 17 | <xs:annotation> |
|---|
| 18 | <xs:appinfo> |
|---|
| 19 | |
|---|
| 20 | <jxb:globalBindings |
|---|
| 21 | fixedAttributeAsConstantProperty="true" |
|---|
| 22 | collectionType="java.util.ArrayList" |
|---|
| 23 | typesafeEnumBase="xs:NCName" |
|---|
| 24 | choiceContentProperty="true" |
|---|
| 25 | typesafeEnumMemberName="generateError" |
|---|
| 26 | enableFailFastCheck="false" |
|---|
| 27 | generateIsSetMethod="true" |
|---|
| 28 | underscoreBinding="asCharInWord"> |
|---|
| 29 | <xjc:serializable uid="14988"/> |
|---|
| 30 | </jxb:globalBindings> |
|---|
| 31 | <jxb:schemaBindings> |
|---|
| 32 | <jxb:package name="org.jcoderz.phoenix.sqlparser.jaxb"/> |
|---|
| 33 | </jxb:schemaBindings> |
|---|
| 34 | </xs:appinfo> |
|---|
| 35 | </xs:annotation> |
|---|
| 36 | |
|---|
| 37 | <xs:element name="default" type="xs:string"/> |
|---|
| 38 | |
|---|
| 39 | <xs:element name="index"> |
|---|
| 40 | <xs:complexType> |
|---|
| 41 | <xs:simpleContent> |
|---|
| 42 | <xs:extension base="xs:string"> |
|---|
| 43 | <xs:attribute name="name" type="xs:NMTOKEN" use="required"/> |
|---|
| 44 | </xs:extension> |
|---|
| 45 | </xs:simpleContent> |
|---|
| 46 | </xs:complexType> |
|---|
| 47 | </xs:element> |
|---|
| 48 | |
|---|
| 49 | <xs:element name="table"> |
|---|
| 50 | <xs:complexType> |
|---|
| 51 | <xs:simpleContent> |
|---|
| 52 | <xs:extension base="xs:string"> |
|---|
| 53 | <xs:attribute name="name" type="xs:NMTOKEN" use="required"/> |
|---|
| 54 | </xs:extension> |
|---|
| 55 | </xs:simpleContent> |
|---|
| 56 | </xs:complexType> |
|---|
| 57 | </xs:element> |
|---|
| 58 | |
|---|
| 59 | <xs:element name="create-index"> |
|---|
| 60 | <xs:complexType> |
|---|
| 61 | <xs:sequence> |
|---|
| 62 | <xs:element ref="default"/> |
|---|
| 63 | <xs:element ref="index" minOccurs="0" maxOccurs="unbounded"/> |
|---|
| 64 | </xs:sequence> |
|---|
| 65 | </xs:complexType> |
|---|
| 66 | </xs:element> |
|---|
| 67 | |
|---|
| 68 | <xs:element name="create-table"> |
|---|
| 69 | <xs:complexType> |
|---|
| 70 | <xs:sequence> |
|---|
| 71 | <xs:element ref="default"/> |
|---|
| 72 | <xs:element ref="table" minOccurs="0" maxOccurs="unbounded"/> |
|---|
| 73 | </xs:sequence> |
|---|
| 74 | </xs:complexType> |
|---|
| 75 | </xs:element> |
|---|
| 76 | |
|---|
| 77 | <xs:element name="sql-metainf"> |
|---|
| 78 | <xs:complexType> |
|---|
| 79 | <xs:sequence> |
|---|
| 80 | <xs:element ref="create-table"/> |
|---|
| 81 | <xs:element ref="create-index"/> |
|---|
| 82 | </xs:sequence> |
|---|
| 83 | </xs:complexType> |
|---|
| 84 | </xs:element> |
|---|
| 85 | |
|---|
| 86 | </xs:schema> |
|---|