Software /
code /
prosody-modules
Annotate
mod_rest/res/schema-xmpp.json @ 4530:33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Look ma, programming in JSON!
XEP-0012: Last Activity
XEP-0077: In-Band Registration
XEP-0115: Entity Capabilities
XEP-0153: vCard-Based Avatars
XEP-0297: Stanza Forwarding
XEP-0308: Last Message Correction
XEP-0319: Last User Interaction in Presence
XEP-0333: Chat Markers
XEP-0367: Message Attaching
XEP-0372: References
XEP-0421: Anonymous unique occupant identifiers for MUCs
XEP-0428: Fallback Indication
XEP-0444: Message Reactions
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 23 Mar 2021 23:18:33 +0100 |
parent | 4523:6e20e6bf96f0 |
child | 4531:60fe204b980f |
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" : { |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
65 "lastactivity" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
66 "properties" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
67 "seconds" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
68 "minimum" : 0, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
69 "type" : "integer", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
70 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
71 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
72 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
73 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
74 "status" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
75 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
76 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
77 "text" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
78 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
79 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
80 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
81 "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
|
82 "type" : "object", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
83 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
84 "name" : "query", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
85 "namespace" : "jabber:iq:last" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
86 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
87 }, |
4523
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
88 "oob" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
89 "properties" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
90 "desc" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
91 "type" : "string" |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
92 }, |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
93 "url" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
94 "format" : "uri", |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
95 "type" : "string" |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
96 } |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
97 }, |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
98 "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
|
99 "type" : "object", |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
100 "xml" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
101 "name" : "query", |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
102 "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
|
103 } |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
104 }, |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
105 "ping" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
106 "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
|
107 "enum" : [ |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
108 true |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
109 ], |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
110 "title" : "XEP-0199: XMPP Ping", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
111 "type" : "boolean", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
112 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
113 "name" : "ping", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
114 "namespace" : "urn:xmpp:ping", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
115 "x_name_is_value" : true |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
116 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
117 }, |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
118 "register" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
119 "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
|
120 "properties" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
121 "address" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
122 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
123 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
124 "city" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
125 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
126 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
127 "date" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
128 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
129 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
130 "email" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
131 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
132 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
133 "first" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
134 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
135 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
136 "instructions" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
137 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
138 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
139 "key" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
140 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
141 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
142 "last" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
143 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
144 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
145 "misc" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
146 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
147 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
148 "name" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
149 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
150 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
151 "nick" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
152 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
153 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
154 "password" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
155 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
156 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
157 "phone" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
158 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
159 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
160 "registered" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
161 "type" : "boolean", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
162 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
163 "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
|
164 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
165 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
166 "remove" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
167 "type" : "boolean", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
168 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
169 "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
|
170 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
171 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
172 "state" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
173 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
174 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
175 "text" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
176 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
177 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
178 "url" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
179 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
180 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
181 "username" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
182 "type" : "string" |
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 "zip" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
185 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
186 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
187 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
188 "required" : [ |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
189 "username", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
190 "password" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
191 ], |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
192 "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
|
193 "type" : "object", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
194 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
195 "name" : "query", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
196 "namespace" : "jabber:iq:register" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
197 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
198 }, |
4519
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
199 "stats" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
200 "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
|
201 "items" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
202 "properties" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
203 "name" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
204 "type" : "string", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
205 "xml" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
206 "attribute" : true |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
207 } |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
208 }, |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
209 "unit" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
210 "type" : "string", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
211 "xml" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
212 "attribute" : true |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
213 } |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
214 }, |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
215 "value" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
216 "type" : "number", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
217 "xml" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
218 "attribute" : true |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
219 } |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
220 } |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
221 }, |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
222 "type" : "object", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
223 "xml" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
224 "name" : "stat" |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
225 } |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
226 }, |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
227 "title" : "XEP-0039: Statistics Gathering", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
228 "type" : "array", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
229 "xml" : { |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
230 "name" : "query", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
231 "namespace" : "http://jabber.org/protocol/stats", |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
232 "wrapped" : true |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
233 } |
ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
Kim Alvefur <zash@zash.se>
parents:
4518
diff
changeset
|
234 }, |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
235 "version" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
236 "description" : "Ask about software version information", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
237 "properties" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
238 "name" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
239 "example" : "My Software", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
240 "type" : "string" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
241 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
242 "os" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
243 "example" : "Linux", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
244 "type" : "string" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
245 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
246 "version" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
247 "example" : "1.0.0", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
248 "type" : "string" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
249 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
250 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
251 "required" : [ |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
252 "name", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
253 "version" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
254 ], |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
255 "title" : "XEP-0092: Software Version", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
256 "type" : "object", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
257 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
258 "name" : "query", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
259 "namespace" : "jabber:iq:version" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
260 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
261 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
262 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
263 "type" : "object", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
264 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
265 "name" : "iq" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
266 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
267 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
268 "message" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
269 "properties" : { |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
270 "attach_to" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
271 "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
|
272 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
273 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
274 "name" : "attach-to", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
275 "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
|
276 "x_single_attribute" : "id" |
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 }, |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
279 "body" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
280 "description" : "Human-readable chat message", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
281 "example" : "Hello, World!", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
282 "type" : "string" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
283 }, |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
284 "displayed" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
285 "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
|
286 "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
|
287 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
288 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
289 "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
|
290 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
291 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
292 "fallback" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
293 "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
|
294 "type" : "boolean", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
295 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
296 "name" : "fallback", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
297 "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
|
298 "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
|
299 } |
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 "forwarded" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
302 "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
|
303 "type" : "object", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
304 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
305 "name" : "forwarded", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
306 "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
|
307 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
308 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
309 "markable" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
310 "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
|
311 "type" : "boolean", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
312 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
313 "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
|
314 "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
|
315 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
316 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
317 "occupant_id" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
318 "properties" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
319 "id" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
320 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
321 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
322 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
323 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
324 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
325 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
326 "title" : "XEP-0421: Anonymous unique occupant identifiers for MUCs", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
327 "type" : "object", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
328 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
329 "name" : "occupant-id", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
330 "namespace" : "urn:xmpp:occupant-id:0" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
331 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
332 }, |
4523
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
333 "oob" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
334 "properties" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
335 "desc" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
336 "type" : "string" |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
337 }, |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
338 "url" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
339 "format" : "uri", |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
340 "type" : "string" |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
341 } |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
342 }, |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
343 "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
|
344 "type" : "object", |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
345 "xml" : { |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
346 "name" : "x", |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
347 "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
|
348 } |
6e20e6bf96f0
mod_rest: Add XEP-0066 to mapping schema (breaking from previous jsonmap)
Kim Alvefur <zash@zash.se>
parents:
4520
diff
changeset
|
349 }, |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
350 "reactions" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
351 "properties" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
352 "id" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
353 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
354 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
355 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
356 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
357 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
358 "reactions" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
359 "items" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
360 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
361 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
362 "name" : "reaction" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
363 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
364 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
365 "type" : "array", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
366 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
367 "name" : "reactions", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
368 "wrapped" : false |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
369 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
370 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
371 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
372 "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
|
373 "type" : "object", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
374 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
375 "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
|
376 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
377 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
378 "reference" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
379 "properties" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
380 "begin" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
381 "minimum" : 0, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
382 "type" : "integer", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
383 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
384 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
385 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
386 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
387 "end" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
388 "minimum" : 0, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
389 "type" : "integer", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
390 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
391 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
392 } |
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 "type" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
395 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
396 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
397 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
398 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
399 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
400 "uri" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
401 "format" : "uri", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
402 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
403 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
404 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
405 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
406 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
407 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
408 "required" : [ |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
409 "type", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
410 "uri" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
411 ], |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
412 "title" : "XEP-0372: References", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
413 "type" : "object", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
414 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
415 "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
|
416 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
417 }, |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
418 "replace" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
419 "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
|
420 "title" : "XEP-0308: Last Message Correction", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
421 "type" : "string", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
422 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
423 "name" : "replace", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
424 "namespace" : "urn:xmpp:message-correct:0", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
425 "x_single_attribute" : "id" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
426 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
427 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
428 "state" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
429 "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
|
430 "enum" : [ |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
431 "active", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
432 "inactive", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
433 "gone", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
434 "composing", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
435 "paused" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
436 ], |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
437 "type" : "string", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
438 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
439 "namespace" : "http://jabber.org/protocol/chatstates", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
440 "x_name_is_value" : true |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
441 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
442 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
443 "subject" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
444 "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
|
445 "example" : "Talking about stuff", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
446 "type" : "string" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
447 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
448 "thread" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
449 "description" : "Message thread identifier", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
450 "properties" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
451 "id" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
452 "type" : "string", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
453 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
454 "text" : true |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
455 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
456 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
457 "parent" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
458 "type" : "string", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
459 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
460 "attribute" : true |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
461 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
462 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
463 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
464 "type" : "object" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
465 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
466 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
467 "type" : "object", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
468 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
469 "name" : "message" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
470 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
471 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
472 "presence" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
473 "properties" : { |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
474 "caps" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
475 "properties" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
476 "ext" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
477 "type" : "string", |
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 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
480 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
481 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
482 "hash" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
483 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
484 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
485 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
486 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
487 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
488 "node" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
489 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
490 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
491 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
492 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
493 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
494 "ver" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
495 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
496 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
497 "attribute" : true |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
498 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
499 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
500 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
501 "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
|
502 "type" : "object", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
503 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
504 "name" : "c", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
505 "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
|
506 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
507 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
508 "idle_since" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
509 "format" : "date-time", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
510 "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
|
511 "type" : "string", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
512 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
513 "name" : "idle", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
514 "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
|
515 "x_single_attribute" : "since" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
516 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
517 }, |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
518 "priority" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
519 "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
|
520 "maximum" : 127, |
bd320ec2c2fc
mod_rest: Declare presence priority an integer in -128..127 per RFC6121
Kim Alvefur <zash@zash.se>
parents:
4519
diff
changeset
|
521 "minimum" : -128, |
bd320ec2c2fc
mod_rest: Declare presence priority an integer in -128..127 per RFC6121
Kim Alvefur <zash@zash.se>
parents:
4519
diff
changeset
|
522 "type" : "integer" |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
523 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
524 "show" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
525 "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
|
526 "enum" : [ |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
527 "away", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
528 "chat", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
529 "dnd", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
530 "xa" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
531 ], |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
532 "type" : "string" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
533 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
534 "status" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
535 "description" : "Textual status message.", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
536 "type" : "string" |
4530
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
537 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
538 "vcard_update" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
539 "properties" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
540 "photo" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
541 "type" : "string" |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
542 } |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
543 }, |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
544 "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
|
545 "type" : "object", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
546 "xml" : { |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
547 "name" : "x", |
33c149d0261d
mod_rest: Add mappings for a whole pile of XEPs
Kim Alvefur <zash@zash.se>
parents:
4523
diff
changeset
|
548 "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
|
549 } |
4518
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
550 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
551 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
552 "type" : "object", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
553 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
554 "name" : "presence" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
555 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
556 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
557 }, |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
558 "type" : "object", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
559 "xml" : { |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
560 "name" : "xmpp", |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
561 "namespace" : "jabber:client" |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
562 } |
073f5397c1d2
mod_rest: Replace most mappings by using util.datamapper
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
563 } |