# HG changeset patch # User Kim Alvefur # Date 1636051598 -3600 # Node ID 3f2342eacb265f5c53eaa49968c0af49f04eb2af # Parent beeacb25dea9c8628534fb890ffe0e5dbb345be9 mod_rest: Add XEP-0059 mapping Will be useful for MAM diff -r beeacb25dea9 -r 3f2342eacb26 mod_rest/res/schema-xmpp.json --- a/mod_rest/res/schema-xmpp.json Thu Nov 04 19:36:11 2021 +0100 +++ b/mod_rest/res/schema-xmpp.json Thu Nov 04 19:46:38 2021 +0100 @@ -149,6 +149,37 @@ "namespace" : "http://jabber.org/protocol/nick" } }, + "rsm" : { + "properties" : { + "after" : { + "type" : "string" + }, + "before" : { + "type" : "string" + }, + "count" : { + "type" : "integer" + }, + "first" : { + "type" : "string" + }, + "index" : { + "type" : "integer" + }, + "last" : { + "type" : "string" + }, + "max" : { + "type" : "integer" + } + }, + "title" : "XEP-0059: Result Set Management", + "type" : "object", + "xml" : { + "name" : "set", + "namespace" : "http://jabber.org/protocol/rsm" + } + }, "to" : { "description" : "the intended recipient for the stanza", "example" : "alice@another.example",