-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathactivity.xsd
111 lines (105 loc) · 4.92 KB
/
activity.xsd
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
<?xml version='1.0' encoding='UTF-8'?>
<xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace='http://jabber.org/protocol/activity'
xmlns='http://jabber.org/protocol/activity'
elementFormDefault='qualified'>
<xs:annotation>
<xs:documentation>
The protocol documented by this schema is defined in
XEP-0108: https://xmpp.org/extensions/xep-0108.html
</xs:documentation>
</xs:annotation>
<xs:element name='activity'>
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:element name='doing_chores' type='general'/>
<xs:element name='drinking' type='general'/>
<xs:element name='eating' type='general'/>
<xs:element name='exercising' type='general'/>
<xs:element name='grooming' type='general'/>
<xs:element name='having_appointment' type='general'/>
<xs:element name='inactive' type='general'/>
<xs:element name='relaxing' type='general'/>
<xs:element name='talking' type='general'/>
<xs:element name='traveling' type='general'/>
<xs:element name='working' type='general'/>
</xs:choice>
<xs:element name='text' minOccurs='0' type='xs:string'/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name='general'>
<xs:choice minOccurs='0'>
<xs:choice minOccurs='0'>
<xs:element name='at_the_spa' type='specific'/>
<xs:element name='brushing_teeth' type='specific'/>
<xs:element name='buying_groceries' type='specific'/>
<xs:element name='cleaning' type='specific'/>
<xs:element name='coding' type='specific'/>
<xs:element name='commuting' type='specific'/>
<xs:element name='cooking' type='specific'/>
<xs:element name='cycling' type='specific'/>
<xs:element name='day_off' type='specific'/>
<xs:element name='doing_maintenance' type='specific'/>
<xs:element name='doing_the_dishes' type='specific'/>
<xs:element name='doing_the_laundry' type='specific'/>
<xs:element name='driving' type='specific'/>
<xs:element name='gaming' type='specific'/>
<xs:element name='gardening' type='specific'/>
<xs:element name='getting_a_haircut' type='specific'/>
<xs:element name='going_out' type='specific'/>
<xs:element name='hanging_out' type='specific'/>
<xs:element name='having_a_beer' type='specific'/>
<xs:element name='having_a_snack' type='specific'/>
<xs:element name='having_breakfast' type='specific'/>
<xs:element name='having_coffee' type='specific'/>
<xs:element name='having_dinner' type='specific'/>
<xs:element name='having_lunch' type='specific'/>
<xs:element name='having_tea' type='specific'/>
<xs:element name='hiking' type='specific'/>
<xs:element name='in_a_car' type='specific'/>
<xs:element name='in_a_meeting' type='specific'/>
<xs:element name='in_real_life' type='specific'/>
<xs:element name='jogging' type='specific'/>
<xs:element name='on_a_bus' type='specific'/>
<xs:element name='on_a_plane' type='specific'/>
<xs:element name='on_a_train' type='specific'/>
<xs:element name='on_a_trip' type='specific'/>
<xs:element name='on_the_phone' type='specific'/>
<xs:element name='on_vacation' type='specific'/>
<xs:element name='other' type='specific'/>
<xs:element name='partying' type='specific'/>
<xs:element name='playing_sports' type='specific'/>
<xs:element name='reading' type='specific'/>
<xs:element name='rehearsing' type='specific'/>
<xs:element name='running' type='specific'/>
<xs:element name='running_an_errand' type='specific'/>
<xs:element name='scheduled_holiday' type='specific'/>
<xs:element name='shaving' type='specific'/>
<xs:element name='shopping' type='specific'/>
<xs:element name='skiing' type='specific'/>
<xs:element name='sleeping' type='specific'/>
<xs:element name='socializing' type='specific'/>
<xs:element name='studying' type='specific'/>
<xs:element name='sunbathing' type='specific'/>
<xs:element name='swimming' type='specific'/>
<xs:element name='taking_a_bath' type='specific'/>
<xs:element name='taking_a_shower' type='specific'/>
<xs:element name='walking' type='specific'/>
<xs:element name='walking_the_dog' type='specific'/>
<xs:element name='watching_tv' type='specific'/>
<xs:element name='watching_a_movie' type='specific'/>
<xs:element name='working_out' type='specific'/>
<xs:element name='writing' type='specific'/>
</xs:choice>
<xs:any namespace='##other'/>
</xs:choice>
</xs:complexType>
<xs:complexType name='specific'>
<xs:sequence minOccurs='0'>
<xs:any namespace='##other'/>
</xs:sequence>
</xs:complexType>
</xs:schema>