File: button_mapping.xsd

package info (click to toggle)
congruity 18-1.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 816 kB
  • ctags: 1,136
  • sloc: python: 8,425; makefile: 52
file content (69 lines) | stat: -rw-r--r-- 2,377 bytes parent folder | download | duplicates (3)
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
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://schemas.datacontract.org/2004/07/Logitech.Harmony.Services.DataContract.ButtonMapping"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:ns1="http://schemas.datacontract.org/2004/07/Logitech.Harmony.Services.Common.Contracts.Data"
  xmlns:ns7="http://schemas.datacontract.org/2004/07/Logitech.Harmony.Services.DataContract.ButtonMapping"
  xmlns="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="qualified"
  attributeFormDefault="qualified">
  <import namespace="http://schemas.datacontract.org/2004/07/Logitech.Harmony.Services.Common.Contracts.Data" location="data.xsd"/>

  <complexType name="ButtonAssignment" abstract="true">
    <sequence>
    </sequence>
  </complexType>

  <complexType name="CommandButtonAssignment">
    <complexContent>
      <extension base="ns7:ButtonAssignment">
	<sequence>
	  <element name="CommandId" type="ns1:Id"/>
	  <element name="OverriddenButtonMapType" type="xsd:string"/>
	  <element name="OverriddenDeviceId" type="ns1:Id" nillable="true"/>
	</sequence>
      </extension>
    </complexContent>
  </complexType>

  <complexType name="ChannelButtonAssignment">
    <complexContent>
      <extension base="ns7:ButtonAssignment">
	<sequence>
	  <element name="Channel" type="xsd:string"/>
	  <element name="DeviceId" type="ns1:Id"/>
	</sequence>
      </extension>
    </complexContent>
  </complexType>

  <complexType name="HardButton">
    <sequence>
      <element name="ButtonAssignment" type="ns7:ButtonAssignment"/>
      <element name="ButtonKey" type="xsd:string"/>
    </sequence>
  </complexType>

  <complexType name="Buttons">
    <sequence>
      <element name="AbstractButton" type="ns7:HardButton"/>
    </sequence>
  </complexType>

  <complexType name="ButtonMap">
    <sequence>
      <element name="ButtonMapId" type="ns1:Id"/>
      <element name="ButtonMapType" type="xsd:string"/>
      <element name="Buttons" type="ns7:Buttons"/>
      <element name="PrimaryDeviceReferenceId" type="ns1:Id"/>
      <element name="Remote" type="xsd:string" nillable="true"/>
      <element name="SurfaceId" type="xsd:string"/>
    </sequence>
  </complexType>

  <complexType name="buttonMaps">
    <sequence>
      <element name="ButtonMap" type="ns7:ButtonMap" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
  </complexType>

</schema>