This file is indexed.

/usr/share/games/enigma/schemas/ratings.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" xml:lang="en">
  <xs:annotation>
    <xs:documentation>
      XML Schema definitions for Enigma public ratings "ratings.xml".
      Copyright © 2006,2007,2008,2009,2010 Ronald Lamprecht

      This program is free software; you can redistribute it and/or
      modify it under the terms of the GNU General Public License
      as published by the Free Software Foundation; either version 2
      of the License, or (at your option) any later version.

      This program is distributed in the hope that it will be useful,
      but WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      GNU General Public License for more details.

      You should have received a copy of the GNU General Public License along
      with this program; if not, write to the Free Software Foundation, Inc.,
      51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    </xs:documentation>
  </xs:annotation>
  <xs:element name="ratings">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="update" minOccurs="1" maxOccurs="1">
          <xs:annotation>
            <xs:documentation>
              Information for online update of public ratings
              date            -- version date in UTC
              urlFull         -- url for a complete update
              urlIncremental  -- url for an incremental update
              delay           -- delay for next update in days
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="date" type="xs:dateTime" use="required"/>
            <xs:attribute name="urlFull" type="xs:anyURI" use="required"/>
            <xs:attribute name="urlIncremental" type="xs:anyURI" use="required"/>
            <xs:attribute name="delay" type="xs:unsignedShort" use="optional" default="1"/>
          </xs:complexType>
        </xs:element> <!-- update -->
        <xs:element name="levels" minOccurs="1" maxOccurs="1">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="level" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>
                    The attributes are cryptic acronyms for reasons of space and
                    bandwidth: with 1000 levels we have a 200k rating file and
                    with 50000 downloads it sums up to 10G!
                    id     -  level id
                    sv     -  score version
                    int    -  rating intelligence
                    dex    -  rating dexterity
                    pat    -  rating patience
                    kno    -  rating knowledge
                    spe    -  rating speed
                    bse    -  best score easy
                    bseh   -  best score easy holder
                    bsd    -  best score difficult
                    bsdh   -  best score difficult holder
                    pare   -  par score easy
                    pard   -  par score difficult
                    solvne -  number of users who solved easy
                    solvpe -  percentage of users who solved easy * 100, 
                    solvnd -  number of users who solved difficult
                    solvpd -  percentage of users who solved difficult * 100
                    avgur   -  average user rating * 10
                  </xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:attribute name="id" type="xs:string" use="required"/>
                  <xs:attribute name="sv" type="xs:unsignedShort" use="required"/>
                  <xs:attribute name="int" type="xs:short" use="optional"/>
                  <xs:attribute name="dex" type="xs:short" use="optional"/>
                  <xs:attribute name="pat" type="xs:short" use="optional"/>
                  <xs:attribute name="kno" type="xs:short" use="optional"/>
                  <xs:attribute name="spe" type="xs:short" use="optional"/>
                  <xs:attribute name="bse" type="scoreType" use="optional"/>
                  <xs:attribute name="bseh" type="xs:string" use="optional"/>
                  <xs:attribute name="bsd" type="scoreType" use="optional"/>
                  <xs:attribute name="bsdh" type="xs:string" use="optional"/>
                  <xs:attribute name="pare" type="scoreType" use="optional"/>
                  <xs:attribute name="pard" type="scoreType" use="optional"/>
                  <xs:attribute name="solvne" type="xs:unsignedInt" use="optional"/>
                  <xs:attribute name="solvpe" type="xs:unsignedShort" use="optional"/>
                  <xs:attribute name="solvnd" type="xs:unsignedInt" use="optional"/>
                  <xs:attribute name="solvpd" type="xs:unsignedShort" use="optional"/>
                  <xs:attribute name="avgur" type="xs:short" use="optional"/>
                  <xs:anyAttribute namespace="##local" processContents="lax"/>
                </xs:complexType>
              </xs:element> <!-- level -->
            </xs:sequence>
          </xs:complexType>
        </xs:element> <!-- levels -->
        <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="skip">
          <xs:annotation>
            <xs:documentation>
              Ignore any future incompatible extensions.
            </xs:documentation>
          </xs:annotation>
        </xs:any>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  
  <xs:simpleType name="scoreType">
    <xs:restriction base="xs:short">
      <xs:minInclusive value="-1"/>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>