/usr/share/games/enigma/schemas/state.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 | <?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 state
Copyright © 2006 Ronald Lamprecht
GPL2
</xs:documentation>
</xs:annotation>
<xs:element name="state">
<xs:complexType>
<xs:sequence>
<xs:element name="properties" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>
All simple key-value-properties:
UserName, CurrentGroup, NextLevelMode, Difficulty
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="property" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="key" type="xs:string" use="required"/>
<xs:attribute name="value" type="xs:string" use="required"/>
</xs:complexType>
</xs:element> <!-- property -->
</xs:sequence>
</xs:complexType>
</xs:element> <!-- properties -->
<xs:element name="groups" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Users levelpack group state:
title - group title as displayed
curindex - title of index that is currently selected in this group
curcolumn - display column of selected index
The sequence of the group elements is the display sequence in the
levelpack menu.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="group" minOccurs="0" maxOccurs="unbounded" >
<xs:complexType>
<xs:attribute name="title" type="xs:string" use="required"/>
<xs:attribute name="curindex" type="xs:string" use="required"/>
<xs:attribute name="curcolumn" type="xs:string" use="required"/>
<xs:anyAttribute namespace="##targetNamespace" processContents="skip"/>
</xs:complexType>
</xs:element> <!-- group -->
</xs:sequence>
</xs:complexType>
</xs:element> <!-- groups -->
<xs:element name="indices" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Users levelpack index state:
title - index title as index id
group - title of group to which the user assigned this levelpack
location - sorting priority within a group
curposition - position of last selected level
curfirst - position of first visible level in levelmenu
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="index" minOccurs="0" maxOccurs="unbounded" >
<xs:complexType>
<xs:attribute name="title" type="xs:string" use="required"/>
<xs:attribute name="group" type="xs:string" use="required"/>
<xs:attribute name="location" type="xs:float" use="required"/>
<xs:attribute name="curposition" type="xs:short" use="required"/>
<xs:attribute name="curfirst" type="xs:short" use="required"/>
<xs:anyAttribute namespace="##targetNamespace" processContents="skip"/>
</xs:complexType>
</xs:element> <!-- index -->
</xs:sequence>
</xs:complexType>
</xs:element> <!-- indices -->
<xs:element name="levels" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Users level state:
id - level id
annotation - users annotation to this level
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="level" minOccurs="0" maxOccurs="unbounded" >
<xs:complexType>
<xs:attribute name="id" type="xs:string" use="required"/>
<xs:attribute name="annotation" type="xs:string" use="required"/>
<xs:anyAttribute namespace="##targetNamespace" processContents="skip"/>
</xs:complexType>
</xs:element> <!-- level -->
</xs:sequence>
</xs:complexType>
</xs:element> <!-- levels -->
<xs:any namespace="##targetNamespace" minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element> <!-- state -->
</xs:schema>
|