# HG changeset patch # User Kim Alvefur # Date 1616544178 -3600 # Node ID 9837c73826d24a043f3b50fe5d604d9bb739b871 # Parent 578375759510d674724b7f32d4abc0f047b677ea mod_rest: Add XEP-0359 ids to schema mapping diff -r 578375759510 -r 9837c73826d2 mod_rest/res/schema-xmpp.json --- a/mod_rest/res/schema-xmpp.json Tue Mar 23 23:53:04 2021 +0100 +++ b/mod_rest/res/schema-xmpp.json Wed Mar 24 01:02:58 2021 +0100 @@ -418,6 +418,36 @@ "x_single_attribute" : "id" } }, + "stanza_ids" : { + "items" : { + "properties" : { + "by" : { + "format" : "xmpp-jid", + "type" : "string", + "xml" : { + "attribute" : true + } + }, + "id" : { + "type" : "string", + "xml" : { + "attribute" : true + } + } + }, + "required" : [ + "id", + "by" + ], + "type" : "object", + "xml" : { + "name" : "stanza-id", + "namespace" : "urn:xmpp:sid:0" + } + }, + "title" : "XEP-0359: Unique and Stable Stanza IDs", + "type" : "array" + }, "state" : { "description" : "Chat state notifications, e.g. \"is typing...\"", "enum" : [