Mercurial > prosody-modules
annotate mod_rest/res/schema-xmpp.json @ 4740:beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
For use with MAM and such
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 04 Nov 2021 19:36:11 +0100 |
parents | 755dd83e9214 |
children | 3f2342eacb26 |
rev | line source |
---|---|
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 "_common" : { |
4740
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
3 "dataform" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
4 "properties" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
5 "fields" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
6 "items" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
7 "properties" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
8 "desc" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
9 "type" : "string" |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
10 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
11 "label" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
12 "type" : "string", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
13 "xml" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
14 "attribute" : true |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
15 } |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
16 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
17 "options" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
18 "items" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
19 "properties" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
20 "label" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
21 "type" : "string", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
22 "xml" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
23 "attribute" : true |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
24 } |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
25 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
26 "value" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
27 "type" : "string" |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
28 } |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
29 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
30 "type" : "object", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
31 "xml" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
32 "name" : "option" |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
33 } |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
34 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
35 "type" : "array" |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
36 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
37 "required" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
38 "type" : "boolean", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
39 "xml" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
40 "x_name_is_value" : true |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
41 } |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
42 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
43 "type" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
44 "enum" : [ |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
45 "boolean", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
46 "fixed", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
47 "hidden", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
48 "jid-multi", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
49 "jid-single", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
50 "list-multi", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
51 "list-single", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
52 "text-multi", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
53 "text-private", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
54 "text-single" |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
55 ], |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
56 "type" : "string", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
57 "xml" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
58 "attribute" : true |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
59 } |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
60 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
61 "values" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
62 "items" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
63 "type" : "string", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
64 "xml" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
65 "name" : "value" |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
66 } |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
67 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
68 "type" : "array" |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
69 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
70 "var" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
71 "type" : "string", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
72 "xml" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
73 "attribute" : true |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
74 } |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
75 } |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
76 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
77 "type" : "object", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
78 "xml" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
79 "name" : "field" |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
80 } |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
81 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
82 "type" : "array" |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
83 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
84 "instructions" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
85 "type" : "string" |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
86 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
87 "title" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
88 "type" : "string" |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
89 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
90 "type" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
91 "enum" : [ |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
92 "cancel", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
93 "form", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
94 "result", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
95 "submit" |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
96 ], |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
97 "type" : "string", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
98 "xml" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
99 "attribute" : true |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
100 } |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
101 } |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
102 }, |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
103 "title" : "XEP-0004: Data Forms", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
104 "type" : "object", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
105 "xml" : { |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
106 "name" : "x", |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
107 "namespace" : "jabber:x:data" |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
108 } |
beeacb25dea9
mod_rest: Add XEP-0004 mapping for future reuse
Kim Alvefur <zash@zash.se>
parents:
4733
diff
changeset
|
109 }, |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
110 "delay" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
111 "format" : "date-time", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
112 "title" : "XEP-0203: Delayed Delivery", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
113 "type" : "string", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
114 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
115 "name" : "delay", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
116 "namespace" : "urn:xmpp:delay", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
117 "x_single_attribute" : "stamp" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
118 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
119 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
120 "from" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
121 "description" : "the sender of the stanza", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
122 "example" : "bob@example.net", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
123 "format" : "xmpp-jid", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
124 "type" : "string", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
125 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
126 "attribute" : true |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
127 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
128 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
129 "id" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
130 "description" : "Reasonably unique id. mod_rest generates one if left out.", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
131 "type" : "string", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
132 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
133 "attribute" : true |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
134 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
135 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
136 "lang" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
137 "description" : "Language code", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
138 "example" : "en", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
139 "type" : "string", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
140 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
141 "attribute" : true, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
142 "prefix" : "xml" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
143 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
144 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
145 "nick" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
146 "type" : "string", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
147 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
148 "name" : "nick", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
149 "namespace" : "http://jabber.org/protocol/nick" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
150 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
151 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
152 "to" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
153 "description" : "the intended recipient for the stanza", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
154 "example" : "alice@another.example", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
155 "format" : "xmpp-jid", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
156 "type" : "string", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
157 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
158 "attribute" : true |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
159 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
160 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
161 "type" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
162 "description" : "Stanza type", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
163 "type" : "string", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
164 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
165 "attribute" : true |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
166 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
167 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
168 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
169 "properties" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
170 "iq" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
171 "properties" : { |
4726
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
172 "extdisco" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
173 "properties" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
174 "services" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
175 "items" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
176 "properties" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
177 "expires" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
178 "format" : "datetime", |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
179 "type" : "string", |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
180 "xml" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
181 "attribute" : true |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
182 } |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
183 }, |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
184 "host" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
185 "required" : true, |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
186 "type" : "string", |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
187 "xml" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
188 "attribute" : true |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
189 } |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
190 }, |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
191 "name" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
192 "type" : "string", |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
193 "xml" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
194 "attribute" : true |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
195 } |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
196 }, |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
197 "password" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
198 "type" : "string", |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
199 "xml" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
200 "attribute" : true |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
201 } |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
202 }, |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
203 "port" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
204 "type" : "integer", |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
205 "xml" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
206 "attribute" : true |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
207 } |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
208 }, |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
209 "restricted" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
210 "type" : "boolean", |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
211 "xml" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
212 "attribute" : true |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
213 } |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
214 }, |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
215 "transport" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
216 "type" : "string", |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
217 "xml" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
218 "attribute" : true |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
219 } |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
220 }, |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
221 "type" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
222 "required" : true, |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
223 "type" : "string", |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
224 "xml" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
225 "attribute" : true |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
226 } |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
227 }, |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
228 "username" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
229 "type" : "string", |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
230 "xml" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
231 "attribute" : true |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
232 } |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
233 } |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
234 }, |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
235 "type" : "object", |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
236 "xml" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
237 "name" : "service" |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
238 } |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
239 }, |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
240 "type" : "array" |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
241 }, |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
242 "type" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
243 "type" : "string", |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
244 "xml" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
245 "attribute" : true |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
246 } |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
247 } |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
248 }, |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
249 "title" : "XEP-0215: External Service Discovery", |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
250 "type" : "object", |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
251 "xml" : { |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
252 "name" : "services", |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
253 "namespace" : "urn:xmpp:extdisco:2" |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
254 } |
611bc06c4160
mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents:
4720
diff
changeset
|
255 }, |
4720
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
256 "gateway" : { |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
257 "properties" : { |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
258 "desc" : { |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
259 "type" : "text" |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
260 }, |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
261 "jid" : { |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
262 "type" : "string" |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
263 }, |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
264 "prompt" : { |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
265 "type" : "string" |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
266 } |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
267 }, |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
268 "title" : "XEP-0100: Gateway Interaction", |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
269 "type" : "object", |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
270 "xml" : { |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
271 "name" : "query", |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
272 "namespace" : "jabber:iq:gateway" |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
273 } |
71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents:
4633
diff
changeset
|
274 }, |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
275 "lastactivity" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
276 "properties" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
277 "seconds" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
278 "minimum" : 0, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
279 "type" : "integer", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
280 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
281 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
282 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
283 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
284 "status" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
285 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
286 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
287 "text" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
288 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
289 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
290 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
291 "title" : "XEP-0012: Last Activity", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
292 "type" : "object", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
293 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
294 "name" : "query", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
295 "namespace" : "jabber:iq:last" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
296 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
297 }, |
4523
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
298 "oob" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
299 "properties" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
300 "desc" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
301 "type" : "string" |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
302 }, |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
303 "url" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
304 "format" : "uri", |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
305 "type" : "string" |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
306 } |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
307 }, |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
308 "title" : "XEP-0066: Out of Band Data", |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
309 "type" : "object", |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
310 "xml" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
311 "name" : "query", |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
312 "namespace" : "jabber:iq:oob" |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
313 } |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
314 }, |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
315 "ping" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
316 "description" : "Test reachability of some XMPP address", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
317 "enum" : [ |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
318 true |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
319 ], |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
320 "title" : "XEP-0199: XMPP Ping", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
321 "type" : "boolean", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
322 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
323 "name" : "ping", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
324 "namespace" : "urn:xmpp:ping", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
325 "x_name_is_value" : true |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
326 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
327 }, |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
328 "register" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
329 "description" : "Register with a service", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
330 "properties" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
331 "address" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
332 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
333 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
334 "city" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
335 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
336 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
337 "date" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
338 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
339 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
340 "email" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
341 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
342 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
343 "first" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
344 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
345 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
346 "instructions" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
347 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
348 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
349 "key" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
350 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
351 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
352 "last" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
353 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
354 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
355 "misc" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
356 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
357 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
358 "name" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
359 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
360 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
361 "nick" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
362 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
363 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
364 "password" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
365 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
366 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
367 "phone" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
368 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
369 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
370 "registered" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
371 "type" : "boolean", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
372 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
373 "x_name_is_value" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
374 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
375 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
376 "remove" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
377 "type" : "boolean", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
378 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
379 "x_name_is_value" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
380 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
381 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
382 "state" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
383 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
384 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
385 "text" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
386 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
387 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
388 "url" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
389 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
390 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
391 "username" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
392 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
393 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
394 "zip" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
395 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
396 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
397 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
398 "required" : [ |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
399 "username", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
400 "password" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
401 ], |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
402 "title" : "XEP-0077: In-Band Registration", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
403 "type" : "object", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
404 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
405 "name" : "query", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
406 "namespace" : "jabber:iq:register" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
407 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
408 }, |
4519
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
409 "stats" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
410 "description" : "Simple statistics gathering, array of (name, unit, value) tuples.", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
411 "items" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
412 "properties" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
413 "name" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
414 "type" : "string", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
415 "xml" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
416 "attribute" : true |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
417 } |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
418 }, |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
419 "unit" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
420 "type" : "string", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
421 "xml" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
422 "attribute" : true |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
423 } |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
424 }, |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
425 "value" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
426 "type" : "number", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
427 "xml" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
428 "attribute" : true |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
429 } |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
430 } |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
431 }, |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
432 "type" : "object", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
433 "xml" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
434 "name" : "stat" |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
435 } |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
436 }, |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
437 "title" : "XEP-0039: Statistics Gathering", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
438 "type" : "array", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
439 "xml" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
440 "name" : "query", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
441 "namespace" : "http://jabber.org/protocol/stats", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
442 "wrapped" : true |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
443 } |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
444 }, |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
445 "version" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
446 "description" : "Ask about software version information", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
447 "properties" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
448 "name" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
449 "example" : "My Software", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
450 "type" : "string" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
451 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
452 "os" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
453 "example" : "Linux", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
454 "type" : "string" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
455 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
456 "version" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
457 "example" : "1.0.0", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
458 "type" : "string" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
459 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
460 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
461 "required" : [ |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
462 "name", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
463 "version" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
464 ], |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
465 "title" : "XEP-0092: Software Version", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
466 "type" : "object", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
467 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
468 "name" : "query", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
469 "namespace" : "jabber:iq:version" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
470 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
471 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
472 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
473 "type" : "object", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
474 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
475 "name" : "iq" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
476 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
477 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
478 "message" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
479 "properties" : { |
4733
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
480 "archive" : { |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
481 "properties" : { |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
482 "forward" : { |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
483 "$ref" : "#forwarded" |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
484 }, |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
485 "queryid" : { |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
486 "type" : "string", |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
487 "xml" : { |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
488 "attribute" : true |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
489 } |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
490 } |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
491 }, |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
492 "type" : "object", |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
493 "xml" : { |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
494 "name" : "result", |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
495 "namespace" : "urn:xmpp:mam:2" |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
496 } |
755dd83e9214
mod_rest: Add JSON mapping of XEP-0313 archive result container
Kim Alvefur <zash@zash.se>
parents:
4732
diff
changeset
|
497 }, |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
498 "attach_to" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
499 "title" : "XEP-0367: Message Attaching", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
500 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
501 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
502 "name" : "attach-to", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
503 "namespace" : "urn:xmpp:message-attaching:1", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
504 "x_single_attribute" : "id" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
505 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
506 }, |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
507 "body" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
508 "description" : "Human-readable chat message", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
509 "example" : "Hello, World!", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
510 "type" : "string" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
511 }, |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
512 "displayed" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
513 "description" : "Message ID of a message that has been displayed", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
514 "title" : "XEP-0333: Chat Markers", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
515 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
516 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
517 "namespace" : "urn:xmpp:chat-markers:0" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
518 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
519 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
520 "fallback" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
521 "title" : "XEP-0428: Fallback Indication", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
522 "type" : "boolean", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
523 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
524 "name" : "fallback", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
525 "namespace" : "urn:xmpp:fallback:0", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
526 "x_name_is_value" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
527 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
528 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
529 "forwarded" : { |
4732
607cac9b9393
mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents:
4726
diff
changeset
|
530 "properties" : { |
607cac9b9393
mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents:
4726
diff
changeset
|
531 "delay" : { |
607cac9b9393
mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents:
4726
diff
changeset
|
532 "$ref" : "#_common/delay" |
607cac9b9393
mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents:
4726
diff
changeset
|
533 }, |
607cac9b9393
mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents:
4726
diff
changeset
|
534 "message" : { |
607cac9b9393
mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents:
4726
diff
changeset
|
535 "type" : "object", |
607cac9b9393
mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents:
4726
diff
changeset
|
536 "xml" : { |
607cac9b9393
mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents:
4726
diff
changeset
|
537 "namespace" : "jabber:client" |
607cac9b9393
mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents:
4726
diff
changeset
|
538 } |
607cac9b9393
mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents:
4726
diff
changeset
|
539 } |
607cac9b9393
mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents:
4726
diff
changeset
|
540 }, |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
541 "title" : "XEP-0297: Stanza Forwarding", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
542 "type" : "object", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
543 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
544 "name" : "forwarded", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
545 "namespace" : "urn:xmpp:forward:0" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
546 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
547 }, |
4549
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
548 "invite" : { |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
549 "properties" : { |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
550 "continue" : { |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
551 "type" : "boolean", |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
552 "xml" : { |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
553 "attribute" : true |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
554 } |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
555 }, |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
556 "jid" : { |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
557 "format" : "xmpp-jid", |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
558 "type" : "string", |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
559 "xml" : { |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
560 "attribute" : true |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
561 } |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
562 }, |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
563 "password" : { |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
564 "type" : "string", |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
565 "xml" : { |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
566 "attribute" : true |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
567 } |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
568 }, |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
569 "reason" : { |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
570 "type" : "string", |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
571 "xml" : { |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
572 "attribute" : true |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
573 } |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
574 }, |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
575 "thread" : { |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
576 "type" : "string", |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
577 "xml" : { |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
578 "attribute" : true |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
579 } |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
580 } |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
581 }, |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
582 "required" : [ |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
583 "jid" |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
584 ], |
4633
63c91f2a86e5
mod_rest: Fix typo (thanks codespell)
Kim Alvefur <zash@zash.se>
parents:
4549
diff
changeset
|
585 "title" : "XEP-0249: Direct MUC Invitations", |
4549
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
586 "type" : "object", |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
587 "xml" : { |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
588 "name" : "x", |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
589 "namespace" : "jabber:x:conference" |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
590 } |
cce0e1ec8a74
mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents:
4547
diff
changeset
|
591 }, |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
592 "markable" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
593 "title" : "XEP-0333: Chat Markers", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
594 "type" : "boolean", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
595 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
596 "namespace" : "urn:xmpp:chat-markers:0", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
597 "x_name_is_value" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
598 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
599 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
600 "occupant_id" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
601 "title" : "XEP-0421: Anonymous unique occupant identifiers for MUCs", |
4533
578375759510
mod_rest: Remodel occupant-id (XEP-0421) as single attribute tag
Kim Alvefur <zash@zash.se>
parents:
4531
diff
changeset
|
602 "type" : "string", |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
603 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
604 "name" : "occupant-id", |
4533
578375759510
mod_rest: Remodel occupant-id (XEP-0421) as single attribute tag
Kim Alvefur <zash@zash.se>
parents:
4531
diff
changeset
|
605 "namespace" : "urn:xmpp:occupant-id:0", |
578375759510
mod_rest: Remodel occupant-id (XEP-0421) as single attribute tag
Kim Alvefur <zash@zash.se>
parents:
4531
diff
changeset
|
606 "x_single_attribute" : "id" |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
607 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
608 }, |
4523
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
609 "oob" : { |
4547
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4534
diff
changeset
|
610 "description" : "Reference a media file", |
4523
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
611 "properties" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
612 "desc" : { |
4547
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4534
diff
changeset
|
613 "description" : "Optional description", |
4523
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
614 "type" : "string" |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
615 }, |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
616 "url" : { |
4547
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4534
diff
changeset
|
617 "description" : "The URL of the attached media file", |
a9e997d5eb94
mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents:
4534
diff
changeset
|
618 "example" : "https://media.example.net/thisfile.jpg", |
4523
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
619 "format" : "uri", |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
620 "type" : "string" |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
621 } |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
622 }, |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
623 "title" : "XEP-0066: Out of Band Data", |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
624 "type" : "object", |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
625 "xml" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
626 "name" : "x", |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
627 "namespace" : "jabber:x:oob" |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
628 } |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
629 }, |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
630 "reactions" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
631 "properties" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
632 "id" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
633 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
634 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
635 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
636 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
637 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
638 "reactions" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
639 "items" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
640 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
641 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
642 "name" : "reaction" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
643 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
644 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
645 "type" : "array", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
646 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
647 "name" : "reactions", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
648 "wrapped" : false |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
649 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
650 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
651 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
652 "title" : "XEP-0444: Message Reactions", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
653 "type" : "object", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
654 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
655 "namespace" : "urn:xmpp:reactions:0" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
656 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
657 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
658 "reference" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
659 "properties" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
660 "begin" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
661 "minimum" : 0, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
662 "type" : "integer", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
663 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
664 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
665 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
666 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
667 "end" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
668 "minimum" : 0, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
669 "type" : "integer", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
670 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
671 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
672 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
673 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
674 "type" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
675 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
676 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
677 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
678 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
679 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
680 "uri" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
681 "format" : "uri", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
682 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
683 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
684 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
685 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
686 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
687 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
688 "required" : [ |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
689 "type", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
690 "uri" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
691 ], |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
692 "title" : "XEP-0372: References", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
693 "type" : "object", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
694 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
695 "namespace" : "urn:xmpp:reference:0" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
696 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
697 }, |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
698 "replace" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
699 "description" : "For indicating that a message is a correction of the last sent message.", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
700 "title" : "XEP-0308: Last Message Correction", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
701 "type" : "string", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
702 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
703 "name" : "replace", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
704 "namespace" : "urn:xmpp:message-correct:0", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
705 "x_single_attribute" : "id" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
706 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
707 }, |
4534
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
708 "stanza_ids" : { |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
709 "items" : { |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
710 "properties" : { |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
711 "by" : { |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
712 "format" : "xmpp-jid", |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
713 "type" : "string", |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
714 "xml" : { |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
715 "attribute" : true |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
716 } |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
717 }, |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
718 "id" : { |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
719 "type" : "string", |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
720 "xml" : { |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
721 "attribute" : true |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
722 } |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
723 } |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
724 }, |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
725 "required" : [ |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
726 "id", |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
727 "by" |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
728 ], |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
729 "type" : "object", |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
730 "xml" : { |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
731 "name" : "stanza-id", |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
732 "namespace" : "urn:xmpp:sid:0" |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
733 } |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
734 }, |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
735 "title" : "XEP-0359: Unique and Stable Stanza IDs", |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
736 "type" : "array" |
9837c73826d2
mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents:
4533
diff
changeset
|
737 }, |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
738 "state" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
739 "description" : "Chat state notifications, e.g. \"is typing...\"", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
740 "enum" : [ |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
741 "active", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
742 "inactive", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
743 "gone", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
744 "composing", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
745 "paused" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
746 ], |
4531
60fe204b980f
mod_rest: Add a 'title' to XEP-0085 mapping (for documentation)
Kim Alvefur <zash@zash.se>
parents:
4530
diff
changeset
|
747 "title" : "XEP-0085: Chat State Notifications", |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
748 "type" : "string", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
749 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
750 "namespace" : "http://jabber.org/protocol/chatstates", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
751 "x_name_is_value" : true |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
752 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
753 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
754 "subject" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
755 "description" : "Subject of message or group chat", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
756 "example" : "Talking about stuff", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
757 "type" : "string" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
758 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
759 "thread" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
760 "description" : "Message thread identifier", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
761 "properties" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
762 "id" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
763 "type" : "string", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
764 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
765 "text" : true |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
766 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
767 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
768 "parent" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
769 "type" : "string", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
770 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
771 "attribute" : true |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
772 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
773 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
774 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
775 "type" : "object" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
776 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
777 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
778 "type" : "object", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
779 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
780 "name" : "message" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
781 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
782 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
783 "presence" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
784 "properties" : { |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
785 "caps" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
786 "properties" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
787 "ext" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
788 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
789 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
790 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
791 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
792 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
793 "hash" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
794 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
795 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
796 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
797 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
798 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
799 "node" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
800 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
801 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
802 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
803 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
804 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
805 "ver" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
806 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
807 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
808 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
809 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
810 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
811 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
812 "title" : "XEP-0115: Entity Capabilities", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
813 "type" : "object", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
814 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
815 "name" : "c", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
816 "namespace" : "http://jabber.org/protocol/caps" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
817 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
818 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
819 "idle_since" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
820 "format" : "date-time", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
821 "title" : "XEP-0319: Last User Interaction in Presence", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
822 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
823 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
824 "name" : "idle", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
825 "namespace" : "urn:xmpp:idle:1", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
826 "x_single_attribute" : "since" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
827 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
828 }, |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
829 "priority" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
830 "description" : "Presence priority", |
4520
bd320ec2c2fc
mod_rest: Declare presence priority an integer in -128..127 per RFC6121
Kim Alvefur <zash@zash.se>
parents:
4519
diff
changeset
|
831 "maximum" : 127, |
bd320ec2c2fc
mod_rest: Declare presence priority an integer in -128..127 per RFC6121
Kim Alvefur <zash@zash.se>
parents:
4519
diff
changeset
|
832 "minimum" : -128, |
bd320ec2c2fc
mod_rest: Declare presence priority an integer in -128..127 per RFC6121
Kim Alvefur <zash@zash.se>
parents:
4519
diff
changeset
|
833 "type" : "integer" |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
834 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
835 "show" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
836 "description" : "indicator of availability, ie away or not", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
837 "enum" : [ |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
838 "away", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
839 "chat", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
840 "dnd", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
841 "xa" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
842 ], |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
843 "type" : "string" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
844 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
845 "status" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
846 "description" : "Textual status message.", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
847 "type" : "string" |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
848 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
849 "vcard_update" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
850 "properties" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
851 "photo" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
852 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
853 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
854 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
855 "title" : "XEP-0153: vCard-Based Avatars", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
856 "type" : "object", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
857 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
858 "name" : "x", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
859 "namespace" : "vcard-temp:x:update" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
860 } |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
861 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
862 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
863 "type" : "object", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
864 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
865 "name" : "presence" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
866 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
867 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
868 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
869 "type" : "object", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
870 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
871 "name" : "xmpp", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
872 "namespace" : "jabber:client" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
873 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
874 } |