Software /
code /
prosody-modules
Changeset
4720:71bec9c21dcd
mod_rest: Add XEP-0100 gateway to mapping schema
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Oct 2021 14:20:16 +0200 |
parents | 4719:5a06c711649c |
children | 4721:2db804a1c9f0 |
files | mod_rest/res/schema-xmpp.json |
diffstat | 1 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_rest/res/schema-xmpp.json Wed Oct 20 22:16:14 2021 +0200 +++ b/mod_rest/res/schema-xmpp.json Sat Oct 23 14:20:16 2021 +0200 @@ -62,6 +62,25 @@ "properties" : { "iq" : { "properties" : { + "gateway" : { + "properties" : { + "desc" : { + "type" : "text" + }, + "jid" : { + "type" : "string" + }, + "prompt" : { + "type" : "string" + } + }, + "title" : "XEP-0100: Gateway Interaction", + "type" : "object", + "xml" : { + "name" : "query", + "namespace" : "jabber:iq:gateway" + } + }, "lastactivity" : { "properties" : { "seconds" : {