From 6f81ed1c54dc39de23bc63e9637633ceb8608943 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Tue, 10 Mar 2020 15:18:23 -0300 Subject: Add product images to ContractTerms and PoS config --- core/api-common.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'core/api-common.rst') diff --git a/core/api-common.rst b/core/api-common.rst index a7ebe3a7..8a885f03 100644 --- a/core/api-common.rst +++ b/core/api-common.rst @@ -342,6 +342,20 @@ When no sign is present, the amount is assumed to be positive. type SignedAmount = string; +Images +^^^^^^ + +.. ts:def:: ImageDataUrl + + // The string must be a data URL according to RFC 2397 + // with explicit mediatype and base64 parameters. + // + // ``data:;base64,`` + // + // Supported mediatypes are ``image/jpeg`` and ``image/png``. + // Invalid strings will be rejected by the wallet. + type ImageDataUrl = string; + -------------- Binary Formats -- cgit v1.2.3