Add storeSone() method to sone database.
[Sone.git] / src / test / resources / sone-parser / missing-time.xml
1 <?xml version="1.0" encoding="utf-8" ?>
2 <sone>
3
4         <protocol-version>0</protocol-version>
5
6         <client>
7                 <name>Sone</name>
8                 <version>0.8.7</version>
9         </client>
10
11         <profile>
12                 <first-name>First</first-name>
13                 <middle-name>M.</middle-name>
14                 <last-name>Last</last-name>
15                 <birth-day>22</birth-day>
16                 <birth-month>10</birth-month>
17                 <birth-year>2013</birth-year>
18                 <avatar>96431abe-3add-11e3-8a46-67047503bf6d</avatar>
19                 <fields>
20                         <field>
21                                 <field-name>Field1</field-name>
22                                 <field-value>Value1</field-value>
23                         </field>
24                         <field>
25                                 <field-name>Field2</field-name>
26                                 <field-value>Value2</field-value>
27                         </field>
28                 </fields>
29         </profile>
30
31         <posts>
32                 <post>
33                         <id>bbb7ebf0-3adb-11e3-8a0b-630cd8f21cf3</id>
34                         <recipient></recipient>
35                         <time>1382420140000</time>
36                         <text>Hello, World!</text>
37                 </post>
38                 <post>
39                         <id>d8c9586e-3adb-11e3-bb31-171fc040e645</id>
40                         <recipient>0rpD4gL8mszav2trndhIdKIxvKUCNAe2kjA3dLV8CVU</recipient>
41                         <time>1382420181000</time>
42                         <text>Hello, User!</text>
43                 </post>
44         </posts>
45
46         <replies>
47                 <reply>
48                         <id>f09fa448-3adb-11e3-a783-ab54a11aacc4</id>
49                         <post-id>bbb7ebf0-3adb-11e3-8a0b-630cd8f21cf3</post-id>
50                         <time>1382420224000</time>
51                         <text>Talking to myself.</text>
52                 </reply>
53                 <reply>
54                         <id>0a376440-3adc-11e3-8f45-c7cc157436a5</id>
55                         <post-id>11ebe86e-3adc-11e3-b7b9-7f2c88018a33</post-id>
56                         <time>1382420271000</time>
57                         <text>Talking to somebody I can't see.</text>
58                 </reply>
59         </replies>
60
61         <post-likes>
62                 <post-like>bbb7ebf0-3adb-11e3-8a0b-630cd8f21cf3</post-like>
63                 <post-like>305d85e6-3adc-11e3-be45-8b53dd91f0af</post-like>
64         </post-likes>
65
66         <reply-likes>
67                 <reply-like>f09fa448-3adb-11e3-a783-ab54a11aacc4</reply-like>
68                 <reply-like>3ba28960-3adc-11e3-93c7-6713d170f44c</reply-like>
69         </reply-likes>
70
71         <albums>
72                 <album>
73                         <id>6a73c6e6-3adc-11e3-b091-577b10a725ad</id>
74                         <title>Album1</title>
75                         <description>First album with stuff.</description>
76                         <album-image>e3707102-3adc-11e3-b828-9f4de99f0bc4</album-image>
77                         <images>
78                                 <image>
79                                         <id>8966f69a-3adc-11e3-802d-0f57b63c8809</id>
80                                         <creation-time>1382420473000</creation-time>
81                                         <key>SSK@JvW9oZ8AriNGbwBosJD1gyMdiMHc5AgSmhNBU1CmAb8,na1IPpMcYiZLaWSv9EWq9NcDPPGplQBw8kJsLobXIG4,AQACAAE/8966f69a-3adc-11e3-802d-0f57b63c8809.jpg</key>
82                                         <title>Stuff</title>
83                                         <description>Yes, it's stuff!</description>
84                                         <width>640</width>
85                                         <height>480</height>
86                                 </image>
87                                 <image>
88                                         <id>e3707102-3adc-11e3-b828-9f4de99f0bc4</id>
89                                         <creation-time>1382420624000</creation-time>
90                                         <key>SSK@dM1er7A9tG242bG-Xxy0kmprD7YkqEDE9mrZ98C~L3E,Np3iWiaGyd~er86edP9ndpH3pPKk2owDmAT2TQZNBA0,AQACAAE/e3707102-3adc-11e3-b828-9f4de99f0bc4.jpg</key>
91                                         <title>More Stuff</title>
92                                         <description>Yes, it's more stuff!</description>
93                                         <width>640</width>
94                                         <height>360</height>
95                                 </image>
96                         </images>
97                 </album>
98                 <album>
99                         <id>1e73b52a-3add-11e3-ba45-cb0c28da9c2a</id>
100                         <parent>6a73c6e6-3adc-11e3-b091-577b10a725ad</parent>
101                         <title>Nested Album</title>
102                         <description>Nested album with stuff.</description>
103                         <album-image>312182ba-3add-11e3-bd76-13e7278f0161</album-image>
104                         <images>
105                                 <image>
106                                         <id>312182ba-3add-11e3-bd76-13e7278f0161</id>
107                                         <creation-time>1382420756000</creation-time>
108                                         <key>SSK@0rpD4gL8mszav2trndhIdKIxvKUCNAe2kjA3dLV8CVU,2KP8WDSaQvyJ16pXBHQrE1vj~fAaYPIsk35lM-ec4B0,AQACAAE/312182ba-3add-11e3-bd76-13e7278f0161.jpg</key>
109                                         <title>Other Stuff</title>
110                                         <description>Yes, it's other stuff!</description>
111                                         <width>640</width>
112                                         <height>272</height>
113                                 </image>
114                         </images>
115                 </album>
116                 <album>
117                         <id>8a04b5fa-3add-11e3-afe2-676e721c04bd</id>
118                         <title>Avatars</title>
119                         <description>The avatar collection.</description>
120                         <album-image>96431abe-3add-11e3-8a46-67047503bf6d</album-image>
121                         <images>
122                                 <image>
123                                         <id>96431abe-3add-11e3-8a46-67047503bf6d</id>
124                                         <creation-time>1382420923000</creation-time>
125                                         <key>SSK@v6Js3ZJBMB23IB0JvdgiPynHQBYEvkFSi3~D8RDdj3s,FfLhjRC4bqYLHVexT33Pv6agXl6Ft~TDhX1jIM5w2n4,AQACAAE/96431abe-3add-11e3-8a46-67047503bf6d.png</key>
126                                         <title>Avatar 1</title>
127                                         <description>The first avatar.</description>
128                                         <width>64</width>
129                                         <height>64</height>
130                                 </image>
131                         </images>
132                 </album>
133         </albums>
134
135 </sone>