/
teleport.xsd
69 lines (65 loc) · 2.3 KB
/
teleport.xsd
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ths="http://schemas.l2jserver2.com/teleport" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd"
targetNamespace="http://schemas.l2jserver2.com/teleport" jaxb:version="2.1"
jaxb:extensionBindingPrefixes="xjc">
<xs:import schemaLocation="l2jserver2.xsd" />
<xs:simpleType name="TeleportationTemplateID">
<xs:annotation>
<xs:appinfo>
<xjc:javaType
adapter="com.l2jserver.util.jaxb.TeleportationTemplateIDAdapter"
name="com.l2jserver.model.id.template.TeleportationTemplateID" />
</xs:appinfo>
</xs:annotation>
<xs:restriction base="TemplateID" />
</xs:simpleType>
<xs:complexType name="TeleportationTemplate">
<xs:annotation>
<xs:appinfo>
<jaxb:class name="TeleportationTemplate" />
</xs:appinfo>
</xs:annotation>
<xs:complexContent>
<xs:extension base="AbstractTemplate">
<xs:sequence>
<xs:element name="point" type="Coordinate" minOccurs="0" />
<xs:element name="restrictions" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="restriction" maxOccurs="unbounded">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="NOBLE" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="ths:TeleportationTemplateID"
use="required">
<xs:annotation>
<xs:appinfo>
<jaxb:property name="iD" />
</xs:appinfo>
</xs:annotation>
</xs:attribute>
<xs:attribute name="name" type="xs:string" />
<xs:attribute name="item" type="xs:int" />
<xs:attribute name="price" type="xs:int" use="required" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="teleports">
<xs:complexType>
<xs:sequence>
<xs:element name="teleport" type="ths:TeleportationTemplate"
minOccurs="1" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>