comparison mod_rest/res/schema-xmpp.json @ 4547:a9e997d5eb94

mod_rest: Replace 'oob_url' with datamapper-native 'oob' While 'oob_url' is simpler and covers all current use, it's harder to describe the XML mapping.
author Kim Alvefur <zash@zash.se>
date Sun, 25 Apr 2021 16:38:20 +0200
parents 9837c73826d2
children cce0e1ec8a74
comparison
equal deleted inserted replaced
4546:cfe196f88e96 4547:a9e997d5eb94
322 "namespace" : "urn:xmpp:occupant-id:0", 322 "namespace" : "urn:xmpp:occupant-id:0",
323 "x_single_attribute" : "id" 323 "x_single_attribute" : "id"
324 } 324 }
325 }, 325 },
326 "oob" : { 326 "oob" : {
327 "description" : "Reference a media file",
327 "properties" : { 328 "properties" : {
328 "desc" : { 329 "desc" : {
330 "description" : "Optional description",
329 "type" : "string" 331 "type" : "string"
330 }, 332 },
331 "url" : { 333 "url" : {
334 "description" : "The URL of the attached media file",
335 "example" : "https://media.example.net/thisfile.jpg",
332 "format" : "uri", 336 "format" : "uri",
333 "type" : "string" 337 "type" : "string"
334 } 338 }
335 }, 339 },
336 "title" : "XEP-0066: Out of Band Data", 340 "title" : "XEP-0066: Out of Band Data",