/usr/share/games/enigma/schemas/objects.xsd is in enigma-data 1.20-dfsg.1-2.1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' version="0.1" xml:lang="en">
<xs:annotation>
<xs:documentation>
XML schema definitions for Enigma objects
Copyright © 2008 Ronald Lamprecht
GPL2
</xs:documentation>
</xs:annotation>
<xs:element name="objects">
<xs:complexType>
<xs:sequence>
<xs:element name="attributes" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>
All attributes of all objects with their default behaviour
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="attr" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="type" type="valueType" use="required"/>
<xs:attribute name="default" type="xs:string" use="required"/>
<xs:attribute name="min" type="xs:string" use="optional" default="0"/>
<xs:attribute name="max" type="xs:string" use="optional" default="1"/>
<xs:attribute name="rw" type="xs:string" use="required"/>
<xs:anyAttribute namespace="##targetNamespace" processContents="skip"/>
</xs:complexType>
</xs:element> <!-- attr -->
</xs:sequence>
</xs:complexType>
</xs:element> <!-- attributes -->
<xs:element name="messages" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>
All messages of all objects with their value types
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="msg" minOccurs="0" maxOccurs="unbounded" >
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="type" type="valueType" use="required"/>
<xs:anyAttribute namespace="##targetNamespace" processContents="skip"/>
</xs:complexType>
</xs:element> <!-- msg -->
</xs:sequence>
</xs:complexType>
</xs:element> <!-- messages -->
<xs:element name="zoo" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The zoo of all existing objects
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="object" minOccurs="0" maxOccurs="unbounded" >
<xs:complexType>
<xs:sequence>
<xs:element name="attr" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="type" type="valueType" use="optional"/>
<xs:attribute name="default" type="xs:string" use="optional"/>
<xs:attribute name="min" type="xs:string" use="optional"/>
<xs:attribute name="max" type="xs:string" use="optional"/>
<xs:attribute name="rw" type="xs:string" use="optional"/>
<xs:attribute name="value" type="xs:string" use="optional"/>
<xs:anyAttribute namespace="##targetNamespace" processContents="skip"/>
</xs:complexType>
</xs:element> <!-- attr -->
<xs:element name="action" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="type" type="valueType" use="required"/>
<xs:anyAttribute namespace="##targetNamespace" processContents="skip"/>
</xs:complexType>
</xs:element> <!-- action -->
<xs:element name="msg" minOccurs="0" maxOccurs="unbounded" >
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="type" type="valueType" use="optional"/>
<xs:anyAttribute namespace="##targetNamespace" processContents="skip"/>
</xs:complexType>
</xs:element> <!-- msg -->
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="super" type="xs:string" use="optional" default="-"/>
<xs:attribute name="abtract" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="states" type="xs:int" use="optional" default="-1"/>
<xs:attribute name="init" type="xs:boolean" use="optional" default="false"/>
<xs:anyAttribute namespace="##targetNamespace" processContents="skip"/>
</xs:complexType>
</xs:element> <!-- object -->
</xs:sequence>
</xs:complexType>
</xs:element> <!-- zoo -->
<xs:any namespace="##targetNamespace" minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element> <!-- objects -->
<xs:simpleType name="valueType">
<xs:restriction base="xs:string">
<xs:enumeration value="bool"/>
<xs:enumeration value="int"/>
<xs:enumeration value="double"/>
<xs:enumeration value="nil"/>
<xs:enumeration value="dir"/>
<xs:enumeration value="pos"/>
<xs:enumeration value="string"/>
<xs:enumeration value="enum"/>
<xs:enumeration value="object"/>
<xs:enumeration value="group"/>
<xs:enumeration value="tokens"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
|