comparison mod_rest/res/schema-xmpp.json @ 5528:ce6e071d61a0

mod_rest: Merge some common properties between openapi and schema
author Kim Alvefur <zash@zash.se>
date Wed, 07 Jun 2023 15:59:34 +0200
parents 048e339706ba
children 3276750332ea
comparison
equal deleted inserted replaced
5527:5268049915d8 5528:ce6e071d61a0
106 "name" : "x", 106 "name" : "x",
107 "namespace" : "jabber:x:data" 107 "namespace" : "jabber:x:data"
108 } 108 }
109 }, 109 },
110 "delay" : { 110 "delay" : {
111 "description" : "Timestamp of when a stanza was delayed, in ISO 8601 / XEP-0082 format.",
111 "format" : "date-time", 112 "format" : "date-time",
112 "title" : "XEP-0203: Delayed Delivery", 113 "title" : "XEP-0203: Delayed Delivery",
113 "type" : "string", 114 "type" : "string",
114 "xml" : { 115 "xml" : {
115 "name" : "delay", 116 "name" : "delay",
202 "namespace" : "http://jabber.org/protocol/rsm" 203 "namespace" : "http://jabber.org/protocol/rsm"
203 } 204 }
204 }, 205 },
205 "to" : { 206 "to" : {
206 "description" : "the intended recipient for the stanza", 207 "description" : "the intended recipient for the stanza",
207 "example" : "alice@another.example", 208 "example" : "alice@example.com",
208 "format" : "xmpp-jid", 209 "format" : "xmpp-jid",
209 "type" : "string", 210 "type" : "string",
210 "xml" : { 211 "xml" : {
211 "attribute" : true 212 "attribute" : true
212 } 213 }