summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-11-09 18:07:37 +0000
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-11-09 18:32:36 +0000
commita1f943c809232021db6d831f0e9869bb0584dcfc (patch)
tree2ae13b30a9b25672e894364bb011b15d896138da
parentdd7cbb323b1ed31f34f2babff8d066f7e88bc3c9 (diff)
extensions: update FT.Metadata draft
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--extensions/Channel_Interface_File_Transfer_Metadata.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/extensions/Channel_Interface_File_Transfer_Metadata.xml b/extensions/Channel_Interface_File_Transfer_Metadata.xml
index ea42332da..1e102fc24 100644
--- a/extensions/Channel_Interface_File_Transfer_Metadata.xml
+++ b/extensions/Channel_Interface_File_Transfer_Metadata.xml
@@ -57,7 +57,7 @@
</property>
<property name="Metadata" tp:name-for-bindings="Metadata"
- type="a{ss}" tp:type="String_String_Map" access="readwrite"
+ type="a{sas}" tp:type="Metadata" access="readwrite"
tp:immutable="sì" tp:requestable="naturalmente">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>Additional information about the file transfer set by the
@@ -66,6 +66,18 @@
</tp:docstring>
</property>
+ <tp:mapping name="Metadata" type="a{ua{sv}}">
+ <tp:docstring>
+ A mapping from string key to a list of strings, used in the
+ <tp:member-ref>Metadata</tp:member-ref> property. To emulate a
+ simple string → string hash table one should have exactly one
+ member in the value string list. A string list is used instead
+ of a single string so one can transfer RDF triples.
+ </tp:docstring>
+ <tp:member name="Key" type="s"/>
+ <tp:member name="Values" type="as"/>
+ </tp:mapping>
+
</interface>
</node>
<!-- vim:set sw=2 sts=2 et ft=xml: -->