Software /
code /
prosody-modules
Comparison
mod_rest/res/schema-xmpp.json @ 6038:7201266ce3dd
mod_rest: Add XEP-0191 blocking to JSON mapping
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 06 Nov 2024 00:33:38 +0100 |
parent | 5922:7371320813a7 |
child | 6039:4ed37206cd9e |
comparison
equal
deleted
inserted
replaced
6037:277ccafb4826 | 6038:7201266ce3dd |
---|---|
264 "xml" : { | 264 "xml" : { |
265 "name" : "query", | 265 "name" : "query", |
266 "namespace" : "urn:xmpp:mam:2" | 266 "namespace" : "urn:xmpp:mam:2" |
267 } | 267 } |
268 }, | 268 }, |
269 "block" : { | |
270 "items" : { | |
271 "properties" : { | |
272 "jid" : { | |
273 "type" : "string", | |
274 "xml" : { | |
275 "attribute" : true | |
276 } | |
277 } | |
278 }, | |
279 "type" : "object", | |
280 "xml" : { | |
281 "name" : "item" | |
282 } | |
283 }, | |
284 "type" : "array", | |
285 "xml" : { | |
286 "name" : "block", | |
287 "namespace" : "urn:xmpp:blocking", | |
288 "wrapped" : true | |
289 } | |
290 }, | |
269 "dataform" : { | 291 "dataform" : { |
270 "$ref" : "#/_common/dataform" | 292 "$ref" : "#/_common/dataform" |
271 }, | 293 }, |
272 "delay" : { | 294 "delay" : { |
273 "$ref" : "#/_common/delay" | 295 "$ref" : "#/_common/delay" |