comparison mod_rest/res/schema-xmpp.json @ 4985:bade04ef0a22

mod_rest: Add JSON mapping for XEP-0461: Message Replies
author Kim Alvefur <zash@zash.se>
date Fri, 12 Aug 2022 17:13:58 +0200
parents 2735e29cf94b
children ce9b836f66d5
comparison
equal deleted inserted replaced
4984:fc6a618bfe4e 4985:bade04ef0a22
940 "name" : "replace", 940 "name" : "replace",
941 "namespace" : "urn:xmpp:message-correct:0", 941 "namespace" : "urn:xmpp:message-correct:0",
942 "x_single_attribute" : "id" 942 "x_single_attribute" : "id"
943 } 943 }
944 }, 944 },
945 "reply" : {
946 "description" : "Reference a message being replied to",
947 "properties" : {
948 "id" : {
949 "type" : "string",
950 "xml" : {
951 "attribute" : true
952 }
953 },
954 "to" : {
955 "type" : "string",
956 "xml" : {
957 "attribute" : true
958 }
959 }
960 },
961 "title" : "XEP-0461: Message Replies",
962 "type" : "object",
963 "xml" : {
964 "name" : "reply",
965 "namespace" : "urn:xmpp:reply:0"
966 }
967 },
945 "rsm" : { 968 "rsm" : {
946 "$ref" : "#/_common/rsm" 969 "$ref" : "#/_common/rsm"
947 }, 970 },
948 "stanza_ids" : { 971 "stanza_ids" : {
949 "items" : { 972 "items" : {