Skip to main content
summaryrefslogtreecommitdiffstats
blob: f8868465a814b03f38489f4c2a39b8fd8f4c648d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://www.example.org/beans" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" targetNamespace="http://www.example.org/beans">
	<xsd:complexType name="root">
		<xsd:sequence>
			<xsd:element maxOccurs="unbounded" minOccurs="0" name="project" type="project"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="project">
		<xsd:sequence>
			<xsd:element maxOccurs="unbounded" minOccurs="0" name="beanModel" type="beanModel"/>
		</xsd:sequence>
		<xsd:attribute name="name" type="xsd:string"/>
	</xsd:complexType>

	<xsd:complexType name="beanModel">
		<xsd:sequence>
			<xsd:element maxOccurs="unbounded" minOccurs="0" name="bean" type="bean"/>
		</xsd:sequence>
		<xsd:attribute name="name" type="xsd:string"/>
		<xsd:attribute name="basePackage" type="xsd:string"/>
	</xsd:complexType>

	<xsd:complexType name="bean">
		<xsd:sequence>
			<xsd:element maxOccurs="unbounded" minOccurs="0" name="attribute" type="attribute"/>
		</xsd:sequence>
		<xsd:attribute name="name" type="xsd:string"/>
	</xsd:complexType>

	<xsd:complexType name="attribute">
		<xsd:sequence>
			<xsd:element maxOccurs="1" minOccurs="0" name="doc" type="xsd:string"/>
		</xsd:sequence>
		<xsd:attribute name="name" type="xsd:string"/>
		<xsd:attribute name="type" type="xsd:string"/>
		<xsd:attribute name="kind" type="xsd:string"/>
        <xsd:attribute name="name-with_hyphen" type="xsd:string" use="optional"/>
	</xsd:complexType>

	<xsd:element name="root" type="root"/>

</xsd:schema>

Back to the top