comparison mod_rest/res/schema-xmpp.json @ 4726:611bc06c4160

mod_rest: Add mapping for XEP-0215: External Service Discovery Enough to query and retrieve services.
author Kim Alvefur <zash@zash.se>
date Tue, 26 Oct 2021 17:52:15 +0200
parents 71bec9c21dcd
children 607cac9b9393
comparison
equal deleted inserted replaced
4725:dcafddc31b1c 4726:611bc06c4160
60 } 60 }
61 }, 61 },
62 "properties" : { 62 "properties" : {
63 "iq" : { 63 "iq" : {
64 "properties" : { 64 "properties" : {
65 "extdisco" : {
66 "properties" : {
67 "services" : {
68 "items" : {
69 "properties" : {
70 "expires" : {
71 "format" : "datetime",
72 "type" : "string",
73 "xml" : {
74 "attribute" : true
75 }
76 },
77 "host" : {
78 "required" : true,
79 "type" : "string",
80 "xml" : {
81 "attribute" : true
82 }
83 },
84 "name" : {
85 "type" : "string",
86 "xml" : {
87 "attribute" : true
88 }
89 },
90 "password" : {
91 "type" : "string",
92 "xml" : {
93 "attribute" : true
94 }
95 },
96 "port" : {
97 "type" : "integer",
98 "xml" : {
99 "attribute" : true
100 }
101 },
102 "restricted" : {
103 "type" : "boolean",
104 "xml" : {
105 "attribute" : true
106 }
107 },
108 "transport" : {
109 "type" : "string",
110 "xml" : {
111 "attribute" : true
112 }
113 },
114 "type" : {
115 "required" : true,
116 "type" : "string",
117 "xml" : {
118 "attribute" : true
119 }
120 },
121 "username" : {
122 "type" : "string",
123 "xml" : {
124 "attribute" : true
125 }
126 }
127 },
128 "type" : "object",
129 "xml" : {
130 "name" : "service"
131 }
132 },
133 "type" : "array"
134 },
135 "type" : {
136 "type" : "string",
137 "xml" : {
138 "attribute" : true
139 }
140 }
141 },
142 "title" : "XEP-0215: External Service Discovery",
143 "type" : "object",
144 "xml" : {
145 "name" : "services",
146 "namespace" : "urn:xmpp:extdisco:2"
147 }
148 },
65 "gateway" : { 149 "gateway" : {
66 "properties" : { 150 "properties" : {
67 "desc" : { 151 "desc" : {
68 "type" : "text" 152 "type" : "text"
69 }, 153 },