From 8eaad1803f85de7ae36bcd287648092c9daf9c2f Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Sat, 4 Mar 2017 23:23:17 +0000 Subject: [PATCH] bip-xchgrate: Allow currency-pairs to have arbitrary descriptions --- bip-xchgrate.mediawiki | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bip-xchgrate.mediawiki b/bip-xchgrate.mediawiki index 4524f156..434f3abf 100644 --- a/bip-xchgrate.mediawiki +++ b/bip-xchgrate.mediawiki @@ -61,6 +61,8 @@ Each currency-pair will receive a separate result, a JSON Object, with the follo * ''cp'' - The currency-pair token. * ''cc'' - The currency code for the primary currency. * ''alt'' - The currency code for the secondary currency. +* ''desc'' - Optional description. For example, it could be "Based on Florida BTM prices." or any other short String that provides information useful to the user. +* ''longdesc'' - Optional description, but may be longer and formatted using HTML. * ''symbol'' - An Array of prefix and suffix for the primary currency. Each may be either a fixed String, an Array of two Strings (negative and positive), or null. Any positive or negative symbols must be included in this prefix/suffix; it MUST NOT be implied otherwise. * ''digits'' - The type of digits to use for the primary currency's numbers. "arabic" should be used for common 0-9 digits. * ''grouping'' - An Array alternating between Numbers representing a series of digits, and Strings used as delimiters. If terminated by a zero, the final grouping is to be repeated continually. For example, the common US locale thousands grouping would be [3, ",", 0]