Annotate

mod_rest/res/schema-xmpp.json @ 4732:607cac9b9393

mod_rest: Add recursive properties of XEP-0297 forwarded container Let's pray nobody invents a way to loop stanza references as well.
author Kim Alvefur <zash@zash.se>
date Wed, 27 Oct 2021 20:45:28 +0200
parent 4726:611bc06c4160
child 4733:755dd83e9214
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 "delay" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 "format" : "date-time",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 "title" : "XEP-0203: Delayed Delivery",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 "type" : "string",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 "name" : "delay",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 "namespace" : "urn:xmpp:delay",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10 "x_single_attribute" : "stamp"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 "from" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14 "description" : "the sender of the stanza",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15 "example" : "bob@example.net",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16 "format" : "xmpp-jid",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 "type" : "string",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19 "attribute" : true
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
22 "id" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
23 "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
24 "type" : "string",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
25 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
26 "attribute" : true
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
27 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
28 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
29 "lang" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
30 "description" : "Language code",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
31 "example" : "en",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
32 "type" : "string",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
33 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
34 "attribute" : true,
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
35 "prefix" : "xml"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
36 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
37 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
38 "nick" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
39 "type" : "string",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
40 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
41 "name" : "nick",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
42 "namespace" : "http://jabber.org/protocol/nick"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
43 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
44 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
45 "to" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
46 "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
47 "example" : "alice@another.example",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
48 "format" : "xmpp-jid",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
49 "type" : "string",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
50 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
51 "attribute" : true
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
52 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
53 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
54 "type" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
55 "description" : "Stanza type",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
56 "type" : "string",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
57 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
58 "attribute" : true
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
59 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
60 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
61 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
62 "properties" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
63 "iq" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
64 "properties" : {
4726
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
65 "extdisco" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
66 "properties" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
67 "services" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
68 "items" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
69 "properties" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
70 "expires" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
71 "format" : "datetime",
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
72 "type" : "string",
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
73 "xml" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
74 "attribute" : true
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
75 }
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
76 },
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
77 "host" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
78 "required" : true,
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
79 "type" : "string",
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
80 "xml" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
81 "attribute" : true
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
82 }
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
83 },
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
84 "name" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
85 "type" : "string",
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
86 "xml" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
87 "attribute" : true
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
88 }
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
89 },
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
90 "password" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
91 "type" : "string",
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
92 "xml" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
93 "attribute" : true
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
94 }
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
95 },
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
96 "port" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
97 "type" : "integer",
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
98 "xml" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
99 "attribute" : true
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
100 }
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
101 },
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
102 "restricted" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
103 "type" : "boolean",
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
104 "xml" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
105 "attribute" : true
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
106 }
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
107 },
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
108 "transport" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
109 "type" : "string",
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
110 "xml" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
111 "attribute" : true
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
112 }
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
113 },
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
114 "type" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
115 "required" : true,
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
116 "type" : "string",
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
117 "xml" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
118 "attribute" : true
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
119 }
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
120 },
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
121 "username" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
122 "type" : "string",
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
123 "xml" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
124 "attribute" : true
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
125 }
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
126 }
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
127 },
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
128 "type" : "object",
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
129 "xml" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
130 "name" : "service"
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
131 }
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
132 },
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
133 "type" : "array"
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
134 },
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
135 "type" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
136 "type" : "string",
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
137 "xml" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
138 "attribute" : true
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
139 }
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
140 }
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
141 },
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
142 "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
143 "type" : "object",
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
144 "xml" : {
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
145 "name" : "services",
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
146 "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
147 }
611bc06c4160 mod_rest: Add mapping for XEP-0215: External Service Discovery
Kim Alvefur <zash@zash.se>
parents: 4720
diff changeset
148 },
4720
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
149 "gateway" : {
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
150 "properties" : {
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
151 "desc" : {
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
152 "type" : "text"
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
153 },
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
154 "jid" : {
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
155 "type" : "string"
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
156 },
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
157 "prompt" : {
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
158 "type" : "string"
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
159 }
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
160 },
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
161 "title" : "XEP-0100: Gateway Interaction",
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
162 "type" : "object",
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
163 "xml" : {
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
164 "name" : "query",
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
165 "namespace" : "jabber:iq:gateway"
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
166 }
71bec9c21dcd mod_rest: Add XEP-0100 gateway to mapping schema
Kim Alvefur <zash@zash.se>
parents: 4633
diff changeset
167 },
4530
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
168 "lastactivity" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
169 "properties" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
170 "seconds" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
171 "minimum" : 0,
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
172 "type" : "integer",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
173 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
174 "attribute" : true
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
175 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
176 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
177 "status" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
178 "type" : "string",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
179 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
180 "text" : true
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
181 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
182 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
183 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
184 "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
185 "type" : "object",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
186 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
187 "name" : "query",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
188 "namespace" : "jabber:iq:last"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
189 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
190 },
4523
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
191 "oob" : {
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
192 "properties" : {
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
193 "desc" : {
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
194 "type" : "string"
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
195 },
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
196 "url" : {
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
197 "format" : "uri",
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
198 "type" : "string"
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
199 }
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
200 },
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
201 "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
202 "type" : "object",
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
203 "xml" : {
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
204 "name" : "query",
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
205 "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
206 }
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
207 },
4518
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
208 "ping" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
209 "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
210 "enum" : [
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
211 true
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
212 ],
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
213 "title" : "XEP-0199: XMPP Ping",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
214 "type" : "boolean",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
215 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
216 "name" : "ping",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
217 "namespace" : "urn:xmpp:ping",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
218 "x_name_is_value" : true
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
219 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
220 },
4530
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
221 "register" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
222 "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
223 "properties" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
224 "address" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
225 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
226 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
227 "city" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
228 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
229 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
230 "date" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
231 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
232 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
233 "email" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
234 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
235 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
236 "first" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
237 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
238 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
239 "instructions" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
240 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
241 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
242 "key" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
243 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
244 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
245 "last" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
246 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
247 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
248 "misc" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
249 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
250 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
251 "name" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
252 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
253 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
254 "nick" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
255 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
256 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
257 "password" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
258 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
259 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
260 "phone" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
261 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
262 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
263 "registered" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
264 "type" : "boolean",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
265 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
266 "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
267 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
268 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
269 "remove" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
270 "type" : "boolean",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
271 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
272 "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
273 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
274 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
275 "state" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
276 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
277 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
278 "text" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
279 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
280 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
281 "url" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
282 "type" : "string"
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 "username" : {
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 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
287 "zip" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
288 "type" : "string"
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 "required" : [
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
292 "username",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
293 "password"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
294 ],
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
295 "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
296 "type" : "object",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
297 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
298 "name" : "query",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
299 "namespace" : "jabber:iq:register"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
300 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
301 },
4519
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
302 "stats" : {
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
303 "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
304 "items" : {
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
305 "properties" : {
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
306 "name" : {
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
307 "type" : "string",
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
308 "xml" : {
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
309 "attribute" : true
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
310 }
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
311 },
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
312 "unit" : {
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
313 "type" : "string",
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
314 "xml" : {
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
315 "attribute" : true
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
316 }
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
317 },
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
318 "value" : {
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
319 "type" : "number",
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
320 "xml" : {
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
321 "attribute" : true
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
322 }
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
323 }
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
324 },
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
325 "type" : "object",
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
326 "xml" : {
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
327 "name" : "stat"
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
328 }
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
329 },
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
330 "title" : "XEP-0039: Statistics Gathering",
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
331 "type" : "array",
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
332 "xml" : {
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
333 "name" : "query",
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
334 "namespace" : "http://jabber.org/protocol/stats",
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
335 "wrapped" : true
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
336 }
ea1fd703bb27 mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents: 4518
diff changeset
337 },
4518
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
338 "version" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
339 "description" : "Ask about software version information",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
340 "properties" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
341 "name" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
342 "example" : "My Software",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
343 "type" : "string"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
344 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
345 "os" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
346 "example" : "Linux",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
347 "type" : "string"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
348 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
349 "version" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
350 "example" : "1.0.0",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
351 "type" : "string"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
352 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
353 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
354 "required" : [
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
355 "name",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
356 "version"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
357 ],
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
358 "title" : "XEP-0092: Software Version",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
359 "type" : "object",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
360 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
361 "name" : "query",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
362 "namespace" : "jabber:iq:version"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
363 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
364 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
365 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
366 "type" : "object",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
367 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
368 "name" : "iq"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
369 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
370 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
371 "message" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
372 "properties" : {
4530
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
373 "attach_to" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
374 "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
375 "type" : "string",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
376 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
377 "name" : "attach-to",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
378 "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
379 "x_single_attribute" : "id"
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 },
4518
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
382 "body" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
383 "description" : "Human-readable chat message",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
384 "example" : "Hello, World!",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
385 "type" : "string"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
386 },
4530
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
387 "displayed" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
388 "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
389 "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
390 "type" : "string",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
391 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
392 "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
393 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
394 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
395 "fallback" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
396 "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
397 "type" : "boolean",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
398 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
399 "name" : "fallback",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
400 "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
401 "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
402 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
403 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
404 "forwarded" : {
4732
607cac9b9393 mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents: 4726
diff changeset
405 "properties" : {
607cac9b9393 mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents: 4726
diff changeset
406 "delay" : {
607cac9b9393 mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents: 4726
diff changeset
407 "$ref" : "#_common/delay"
607cac9b9393 mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents: 4726
diff changeset
408 },
607cac9b9393 mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents: 4726
diff changeset
409 "message" : {
607cac9b9393 mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents: 4726
diff changeset
410 "type" : "object",
607cac9b9393 mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents: 4726
diff changeset
411 "xml" : {
607cac9b9393 mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents: 4726
diff changeset
412 "namespace" : "jabber:client"
607cac9b9393 mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents: 4726
diff changeset
413 }
607cac9b9393 mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents: 4726
diff changeset
414 }
607cac9b9393 mod_rest: Add recursive properties of XEP-0297 forwarded container
Kim Alvefur <zash@zash.se>
parents: 4726
diff changeset
415 },
4530
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
416 "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
417 "type" : "object",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
418 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
419 "name" : "forwarded",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
420 "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
421 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
422 },
4549
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
423 "invite" : {
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
424 "properties" : {
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
425 "continue" : {
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
426 "type" : "boolean",
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
427 "xml" : {
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
428 "attribute" : true
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
429 }
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
430 },
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
431 "jid" : {
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
432 "format" : "xmpp-jid",
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
433 "type" : "string",
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
434 "xml" : {
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
435 "attribute" : true
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
436 }
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
437 },
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
438 "password" : {
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
439 "type" : "string",
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
440 "xml" : {
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
441 "attribute" : true
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
442 }
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
443 },
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
444 "reason" : {
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
445 "type" : "string",
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
446 "xml" : {
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
447 "attribute" : true
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
448 }
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
449 },
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
450 "thread" : {
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
451 "type" : "string",
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
452 "xml" : {
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
453 "attribute" : true
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
454 }
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
455 }
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
456 },
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
457 "required" : [
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
458 "jid"
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
459 ],
4633
63c91f2a86e5 mod_rest: Fix typo (thanks codespell)
Kim Alvefur <zash@zash.se>
parents: 4549
diff changeset
460 "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
461 "type" : "object",
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
462 "xml" : {
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
463 "name" : "x",
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
464 "namespace" : "jabber:x:conference"
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
465 }
cce0e1ec8a74 mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
Kim Alvefur <zash@zash.se>
parents: 4547
diff changeset
466 },
4530
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
467 "markable" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
468 "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
469 "type" : "boolean",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
470 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
471 "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
472 "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
473 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
474 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
475 "occupant_id" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
476 "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
477 "type" : "string",
4530
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
478 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
479 "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
480 "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
481 "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
482 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
483 },
4523
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
484 "oob" : {
4547
a9e997d5eb94 mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents: 4534
diff changeset
485 "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
486 "properties" : {
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
487 "desc" : {
4547
a9e997d5eb94 mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents: 4534
diff changeset
488 "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
489 "type" : "string"
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
490 },
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
491 "url" : {
4547
a9e997d5eb94 mod_rest: Replace 'oob_url' with datamapper-native 'oob'
Kim Alvefur <zash@zash.se>
parents: 4534
diff changeset
492 "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
493 "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
494 "format" : "uri",
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
495 "type" : "string"
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
496 }
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
497 },
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
498 "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
499 "type" : "object",
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
500 "xml" : {
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
501 "name" : "x",
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
502 "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
503 }
6e20e6bf96f0 mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents: 4520
diff changeset
504 },
4530
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
505 "reactions" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
506 "properties" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
507 "id" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
508 "type" : "string",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
509 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
510 "attribute" : true
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
511 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
512 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
513 "reactions" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
514 "items" : {
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 "name" : "reaction"
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 "type" : "array",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
521 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
522 "name" : "reactions",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
523 "wrapped" : false
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
524 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
525 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
526 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
527 "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
528 "type" : "object",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
529 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
530 "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
531 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
532 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
533 "reference" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
534 "properties" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
535 "begin" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
536 "minimum" : 0,
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
537 "type" : "integer",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
538 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
539 "attribute" : true
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
540 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
541 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
542 "end" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
543 "minimum" : 0,
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
544 "type" : "integer",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
545 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
546 "attribute" : true
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
547 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
548 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
549 "type" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
550 "type" : "string",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
551 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
552 "attribute" : true
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
553 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
554 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
555 "uri" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
556 "format" : "uri",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
557 "type" : "string",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
558 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
559 "attribute" : true
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
560 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
561 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
562 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
563 "required" : [
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
564 "type",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
565 "uri"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
566 ],
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
567 "title" : "XEP-0372: References",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
568 "type" : "object",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
569 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
570 "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
571 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
572 },
4518
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
573 "replace" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
574 "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
575 "title" : "XEP-0308: Last Message Correction",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
576 "type" : "string",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
577 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
578 "name" : "replace",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
579 "namespace" : "urn:xmpp:message-correct:0",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
580 "x_single_attribute" : "id"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
581 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
582 },
4534
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
583 "stanza_ids" : {
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
584 "items" : {
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
585 "properties" : {
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
586 "by" : {
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
587 "format" : "xmpp-jid",
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
588 "type" : "string",
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
589 "xml" : {
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
590 "attribute" : true
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
591 }
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
592 },
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
593 "id" : {
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
594 "type" : "string",
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
595 "xml" : {
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
596 "attribute" : true
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
597 }
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
598 }
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
599 },
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
600 "required" : [
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
601 "id",
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
602 "by"
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
603 ],
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
604 "type" : "object",
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
605 "xml" : {
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
606 "name" : "stanza-id",
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
607 "namespace" : "urn:xmpp:sid:0"
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
608 }
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
609 },
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
610 "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
611 "type" : "array"
9837c73826d2 mod_rest: Add XEP-0359 ids to schema mapping
Kim Alvefur <zash@zash.se>
parents: 4533
diff changeset
612 },
4518
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
613 "state" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
614 "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
615 "enum" : [
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
616 "active",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
617 "inactive",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
618 "gone",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
619 "composing",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
620 "paused"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
621 ],
4531
60fe204b980f mod_rest: Add a 'title' to XEP-0085 mapping (for documentation)
Kim Alvefur <zash@zash.se>
parents: 4530
diff changeset
622 "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
623 "type" : "string",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
624 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
625 "namespace" : "http://jabber.org/protocol/chatstates",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
626 "x_name_is_value" : true
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
627 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
628 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
629 "subject" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
630 "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
631 "example" : "Talking about stuff",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
632 "type" : "string"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
633 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
634 "thread" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
635 "description" : "Message thread identifier",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
636 "properties" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
637 "id" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
638 "type" : "string",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
639 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
640 "text" : true
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
641 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
642 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
643 "parent" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
644 "type" : "string",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
645 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
646 "attribute" : true
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
647 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
648 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
649 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
650 "type" : "object"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
651 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
652 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
653 "type" : "object",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
654 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
655 "name" : "message"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
656 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
657 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
658 "presence" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
659 "properties" : {
4530
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
660 "caps" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
661 "properties" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
662 "ext" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
663 "type" : "string",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
664 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
665 "attribute" : true
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 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
668 "hash" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
669 "type" : "string",
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 "node" : {
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 "ver" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
681 "type" : "string",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
682 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
683 "attribute" : true
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
684 }
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 "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
688 "type" : "object",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
689 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
690 "name" : "c",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
691 "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
692 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
693 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
694 "idle_since" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
695 "format" : "date-time",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
696 "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
697 "type" : "string",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
698 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
699 "name" : "idle",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
700 "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
701 "x_single_attribute" : "since"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
702 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
703 },
4518
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
704 "priority" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
705 "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
706 "maximum" : 127,
bd320ec2c2fc mod_rest: Declare presence priority an integer in -128..127 per RFC6121
Kim Alvefur <zash@zash.se>
parents: 4519
diff changeset
707 "minimum" : -128,
bd320ec2c2fc mod_rest: Declare presence priority an integer in -128..127 per RFC6121
Kim Alvefur <zash@zash.se>
parents: 4519
diff changeset
708 "type" : "integer"
4518
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
709 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
710 "show" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
711 "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
712 "enum" : [
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
713 "away",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
714 "chat",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
715 "dnd",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
716 "xa"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
717 ],
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
718 "type" : "string"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
719 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
720 "status" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
721 "description" : "Textual status message.",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
722 "type" : "string"
4530
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
723 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
724 "vcard_update" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
725 "properties" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
726 "photo" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
727 "type" : "string"
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
728 }
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
729 },
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
730 "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
731 "type" : "object",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
732 "xml" : {
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
733 "name" : "x",
33c149d0261d mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents: 4523
diff changeset
734 "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
735 }
4518
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
736 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
737 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
738 "type" : "object",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
739 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
740 "name" : "presence"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
741 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
742 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
743 },
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
744 "type" : "object",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
745 "xml" : {
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
746 "name" : "xmpp",
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
747 "namespace" : "jabber:client"
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
748 }
073f5397c1d2 mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff changeset
749 }