source: OniSplit/Oni.xsd@ 1185

Last change on this file since 1185 was 1114, checked in by iritscen, 5 years ago

Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years.

File size: 2.0 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<xs:schema targetNamespace="Oni" attributeFormDefault="unqualified" elementFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3 <xs:complexType id="ObjectHeader" name="ObjectHeader">
4 <xs:sequence>
5 <xs:element name="Flags" type="xs:string"/>
6 <xs:element name="Position" type="xs:string"/>
7 <xs:element name="Rotation" type="xs:string"/>
8 </xs:sequence>
9 </xs:complexType>
10 <xs:complexType id="DoorOsd" name="DoorOsd">
11 <xs:sequence>
12 <xs:element name="Class" type="xs:string"/>
13 <xs:element name="DoorId" type="xs:unsignedByte"/>
14 <xs:element name="KeyId" type="xs:unsignedByte"/>
15 <xs:element name="Flags" type="xs:string"/>
16 <xs:element name="Center" type="xs:string"/>
17 <xs:element minOccurs="0" name="SquaredActivationRadius" type="xs:unsignedShort"/>
18 <xs:element minOccurs="0" name="ActivationRadius" type="xs:decimal"/>
19 <xs:element name="Texture1" type="xs:string"/>
20 <xs:element name="Texture2" type="xs:string"/>
21 <xs:element name="Events"/>
22 </xs:sequence>
23 </xs:complexType>
24 <xs:complexType id="Door" name="Door">
25 <xs:sequence>
26 <xs:element name="Header" type="ObjectHeader"/>
27 <xs:element name="OSD" type="DoorOsd"/>
28 </xs:sequence>
29 <xs:attribute name="Id" type="xs:unsignedShort" use="required"/>
30 </xs:complexType>
31 <xs:element name="Oni">
32 <xs:complexType>
33 <xs:sequence>
34 <xs:element name="Objects">
35 <xs:complexType>
36 <xs:sequence>
37 <xs:element maxOccurs="unbounded" name="DOOR" type="Door"/>
38 </xs:sequence>
39 </xs:complexType>
40 </xs:element>
41 </xs:sequence>
42 </xs:complexType>
43 </xs:element>
44</xs:schema>
Note: See TracBrowser for help on using the repository browser.