-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample_observer.xml
90 lines (79 loc) · 2.49 KB
/
example_observer.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<observer>
<id>org.ohmage.blah.ExampleProbe</id>
<version>2013012300</version>
<name>ExampleProbe</name>
<description>An example probe to highlight the ohmageProbeLibrary.</description>
<versionString>1.0</versionString>
<stream>
<id>simple</id>
<version>2012071200</version>
<name>Just a string</name>
<description>This only records a string</description>
<schema>
{
"type":"object",
"namespace":"org.ohmage.ExampleProbeSimple",
"name":"simple",
"doc":"Only records a string.",
"schema":[
{
"name":"simple_text",
"doc":"Random text.",
"type":"string"
}
]
}
</schema>
</stream>
<stream>
<id>kittens</id>
<version>2012071200</version>
<name>Kittens</name>
<description>Where and when do we see kittens?</description>
<metadata>
<id />
<timestamp />
</metadata>
<schema>
{
"type":"object",
"namespace":"org.ohmage.ExampleProbeKittens",
"name":"kittens",
"doc":"Documents the number of kittens seen.",
"schema":[
{
"name":"count",
"doc":"The number of kittens seen.",
"type":"number"
}
]
}
</schema>
</stream>
<stream>
<id>list</id>
<version>2012071200</version>
<name>List</name>
<description>This is just a list.</description>
<schema>
{
"type":"object",
"namespace":"org.ohmage.ExampleProbeList",
"name":"list",
"doc":"Just a list of strings",
"schema":[
{
"name":"items",
"doc":"The list of strings",
"type":"array",
"schema":{
"doc":"Each individual list item.",
"type":"string"
}
}
]
}
</schema>
</stream>
</observer>