This file is indexed.

/usr/share/kde4/apps/kremotecontrol/profiles/profile.xsd is in kremotecontrol 4:4.14.2-1.

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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<?xml version="1.0" encoding="UTF-8"?>

<!-- 
*************************************************************************
* Copyright: (C) 2010 Frank Scheffold <fscheffold@googlemail.com>       *
*                                                                       *
* 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) version 3 or any later version        *
* accepted by the membership of KDE e.V. (or its successor approved     *
* by the membership of KDE e.V.), which shall act as a proxy            *
* defined in Section 14 of version 3 of the license.                    *
*                                                                       *
* 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, see <http://www.gnu.org/licenses/>. *
*************************************************************************

  Created on:   09.01.2009
  Author:       Frank Scheffold

-->

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ps="urn:org-kde-kremotecontrol"
  targetNamespace="urn:org-kde-kremotecontrol" elementFormDefault="qualified">


  <xs:element name="profile" type="ps:profile">
    <xs:unique name="buttonId">
      <xs:selector xpath="ps:action"/>
      <xs:field xpath="@button"/>
    </xs:unique>
    <xs:unique name="actionId">
      <xs:selector xpath="ps:action"/>
      <xs:field xpath="@id"/>
    </xs:unique>
  </xs:element>


  <xs:complexType name="profile">
    <xs:sequence>
      <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
      <xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1"/>
      <xs:element name="version">
        <xs:simpleType>          
          <xs:restriction base="xs:string">
            <xs:pattern value="[0-9]+\.[0-9]+"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="author" type="xs:string"/>
      <xs:element name="action" type="ps:action" minOccurs="1" maxOccurs="unbounded"
      > </xs:element>
    </xs:sequence>
  </xs:complexType>


  <xs:complexType name="action">
    <xs:sequence>
      <xs:element name="prototype" type="ps:prototype" minOccurs="0"/>
      <xs:element name="script" type="ps:script" minOccurs="0"/>
      <xs:element name="button" type="ps:button" minOccurs="0" maxOccurs="1"/>
      <xs:element name="repeat" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
      <xs:element name="autostart" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
      <xs:element name="ifmulti" type="ps:ifmulti" default="unique" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation> TODO: Document me! </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="id" type="xs:string" use="required"/>
    <xs:attribute name="name" type="xs:string" use="required"/>
    <xs:attribute name="description" type="xs:string" use="required"/>
  </xs:complexType>



  <xs:complexType name="prototype">
    <xs:sequence>
      <xs:element name="serviceName" type="xs:string"/>
      <xs:element name="node" type="xs:string"/>
      <xs:element name="interface" type="xs:string" minOccurs="0"/>
      <xs:element name="function" type="xs:string"/>
      <xs:element name="return" type="xs:string" default="void" minOccurs="0"/>
      <xs:element name="arguments" minOccurs="0">
        <xs:complexType>
          <xs:sequence>            
            <xs:element name="argument" type="ps:argument" minOccurs="1" maxOccurs="unbounded"/>                        
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  
  <xs:complexType name="script">
    <xs:sequence>
      <xs:element name="serviceName" type="xs:string"/>
      <xs:element name="node" type="xs:string"/>
      <xs:element name="scripttext" type="xs:string"/>
      <xs:element name="return" type="xs:string" default="void" minOccurs="0"/>
      <xs:element name="arguments" minOccurs="0">
        <xs:complexType>
          <xs:sequence>            
            <xs:element name="argument" type="ps:argument" minOccurs="1" maxOccurs="unbounded"/>                        
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  
  <xs:complexType name="argument">
    <xs:sequence>
      <xs:element name="default" type="xs:string" minOccurs="0"></xs:element>
    </xs:sequence>
    <xs:attribute name="type" type="ps:argument.type" use="required"/>
    <xs:attribute name="comment" type="xs:string" use="required"/>
  </xs:complexType>

  <xs:simpleType name="argument.type">
    <xs:restriction base="xs:string">
      <xs:enumeration value="int"/>
      <xs:enumeration value="uint"/>
      <xs:enumeration value="QString"/>
      <xs:enumeration value="QCString"/>
      <xs:enumeration value="QStringList"/>
      <xs:enumeration value="bool"/>
      <xs:enumeration value="double"/>
      <xs:enumeration value="QByteArray"/>      
    </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="ifmulti">
    <xs:restriction base="xs:string">
      <xs:enumeration value="unique"/>
      <xs:enumeration value="sendtotop"/>
      <xs:enumeration value="sendtobottom"/>
      <xs:enumeration value="sendtoall"/>
      <xs:enumeration value="dontsend"/>
    </xs:restriction>
  </xs:simpleType>


  <xs:simpleType name="button">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Number0"/>
      <xs:enumeration value="Number1"/>
      <xs:enumeration value="Number2"/>
      <xs:enumeration value="Number3"/>
      <xs:enumeration value="Number4"/>
      <xs:enumeration value="Number5"/>
      <xs:enumeration value="Number6"/>
      <xs:enumeration value="Number7"/>
      <xs:enumeration value="Number8"/>
      <xs:enumeration value="Number9"/>
      <xs:enumeration value="Play"/>
      <xs:enumeration value="Pause"/>
      <xs:enumeration value="PlayPause"/>
      <xs:enumeration value="Stop"/>
      <xs:enumeration value="SkipForward"/>
      <xs:enumeration value="SkipBackward"/>
      <xs:enumeration value="FastForward"/>
      <xs:enumeration value="Rewind"/>
      <xs:enumeration value="ChannelDown"/>
      <xs:enumeration value="ChannelUp"/>
      <xs:enumeration value="VolumeDown"/>
      <xs:enumeration value="VolumeUp"/>
      <xs:enumeration value="Mute"/>
      <xs:enumeration value="Info"/>
      <xs:enumeration value="Eject"/>
      <xs:enumeration value="Power"/>
      <xs:enumeration value="Up"/>
      <xs:enumeration value="Down"/>
      <xs:enumeration value="Left"/>
      <xs:enumeration value="Right"/>
      <xs:enumeration value="Select"/>
      <xs:enumeration value="Back"/>
      <xs:enumeration value="Menu"/>
      <xs:enumeration value="Aux"/>
      <xs:enumeration value="CD"/>
      <xs:enumeration value="DVD"/>
      <xs:enumeration value="EPG"/>
      <xs:enumeration value="Favorites"/>
      <xs:enumeration value="Help"/>
      <xs:enumeration value="Home"/>
      <xs:enumeration value="Music"/>
      <xs:enumeration value="Text"/>
      <xs:enumeration value="TV"/>
      <xs:enumeration value="Blue"/>
      <xs:enumeration value="Green"/>
      <xs:enumeration value="Red"/>
      <xs:enumeration value="Yellow "/>
    </xs:restriction>
  </xs:simpleType>

</xs:schema>