Mercurial > prosody-modules
comparison mod_rest/res/schema-xmpp.json @ 4800:1e2f53fb2099
mod_rest: Fix mistaken way of specifying required fields in XEP-0215 map
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Nov 2021 21:26:52 +0100 |
parents | a6b94f4fb065 |
children | e9b7c8db3ebd |
comparison
equal
deleted
inserted
replaced
4799:18b12ad263f0 | 4800:1e2f53fb2099 |
---|---|
232 "xml" : { | 232 "xml" : { |
233 "attribute" : true | 233 "attribute" : true |
234 } | 234 } |
235 }, | 235 }, |
236 "host" : { | 236 "host" : { |
237 "required" : true, | |
238 "type" : "string", | 237 "type" : "string", |
239 "xml" : { | 238 "xml" : { |
240 "attribute" : true | 239 "attribute" : true |
241 } | 240 } |
242 }, | 241 }, |
269 "xml" : { | 268 "xml" : { |
270 "attribute" : true | 269 "attribute" : true |
271 } | 270 } |
272 }, | 271 }, |
273 "type" : { | 272 "type" : { |
274 "required" : true, | |
275 "type" : "string", | 273 "type" : "string", |
276 "xml" : { | 274 "xml" : { |
277 "attribute" : true | 275 "attribute" : true |
278 } | 276 } |
279 }, | 277 }, |
282 "xml" : { | 280 "xml" : { |
283 "attribute" : true | 281 "attribute" : true |
284 } | 282 } |
285 } | 283 } |
286 }, | 284 }, |
285 "required" : [ | |
286 "type", | |
287 "host" | |
288 ], | |
287 "type" : "object", | 289 "type" : "object", |
288 "xml" : { | 290 "xml" : { |
289 "name" : "service" | 291 "name" : "service" |
290 } | 292 } |
291 }, | 293 }, |