Software /
code /
prosody-modules
Comparison
mod_rest/res/schema-xmpp.json @ 4519:ea1fd703bb27
mod_rest: Convert XEP-0039 to datamapping
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 22 Mar 2021 00:21:27 +0100 |
parent | 4518:073f5397c1d2 |
child | 4520:bd320ec2c2fc |
comparison
equal
deleted
inserted
replaced
4518:073f5397c1d2 | 4519:ea1fd703bb27 |
---|---|
71 "type" : "boolean", | 71 "type" : "boolean", |
72 "xml" : { | 72 "xml" : { |
73 "name" : "ping", | 73 "name" : "ping", |
74 "namespace" : "urn:xmpp:ping", | 74 "namespace" : "urn:xmpp:ping", |
75 "x_name_is_value" : true | 75 "x_name_is_value" : true |
76 } | |
77 }, | |
78 "stats" : { | |
79 "description" : "Simple statistics gathering, array of (name, unit, value) tuples.", | |
80 "items" : { | |
81 "properties" : { | |
82 "name" : { | |
83 "type" : "string", | |
84 "xml" : { | |
85 "attribute" : true | |
86 } | |
87 }, | |
88 "unit" : { | |
89 "type" : "string", | |
90 "xml" : { | |
91 "attribute" : true | |
92 } | |
93 }, | |
94 "value" : { | |
95 "type" : "number", | |
96 "xml" : { | |
97 "attribute" : true | |
98 } | |
99 } | |
100 }, | |
101 "type" : "object", | |
102 "xml" : { | |
103 "name" : "stat" | |
104 } | |
105 }, | |
106 "title" : "XEP-0039: Statistics Gathering", | |
107 "type" : "array", | |
108 "xml" : { | |
109 "name" : "query", | |
110 "namespace" : "http://jabber.org/protocol/stats", | |
111 "wrapped" : true | |
76 } | 112 } |
77 }, | 113 }, |
78 "version" : { | 114 "version" : { |
79 "description" : "Ask about software version information", | 115 "description" : "Ask about software version information", |
80 "properties" : { | 116 "properties" : { |