From c13fb06aa05ae731d57967db26ad7df96733f711 Mon Sep 17 00:00:00 2001 From: enaantd Date: Thu, 7 May 2020 23:05:59 +0200 Subject: [PATCH 1/2] fix typo in containers documentation --- doc/JSON_INFO.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/JSON_INFO.md b/doc/JSON_INFO.md index 36181ecefd871..3b655636feb3b 100644 --- a/doc/JSON_INFO.md +++ b/doc/JSON_INFO.md @@ -1880,8 +1880,8 @@ CBMs can be defined like this: Any Item can be a container. To add the ability to contain things to an item, you need to add pocket_data. The below example is a typical container (shown with optional default values, or mandatory if the value is mandatory) -```C++ -"pocket_type": [ +```json +"pocket_data": [ { "pocket_type": "CONTAINER", // the typical container pocket. pockets can also be MAGAZINE "min_item_volume": "0 ml", // the minimum volume of item that can be placed into this pocket From e8b1824927e570031a1b9fa274394c298953bb4c Mon Sep 17 00:00:00 2001 From: Curtis Merrill Date: Thu, 7 May 2020 17:36:59 -0400 Subject: [PATCH 2/2] Update doc/JSON_INFO.md Co-authored-by: ZhilkinSerg --- doc/JSON_INFO.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/JSON_INFO.md b/doc/JSON_INFO.md index 3b655636feb3b..0d2655a60b7b8 100644 --- a/doc/JSON_INFO.md +++ b/doc/JSON_INFO.md @@ -1880,7 +1880,7 @@ CBMs can be defined like this: Any Item can be a container. To add the ability to contain things to an item, you need to add pocket_data. The below example is a typical container (shown with optional default values, or mandatory if the value is mandatory) -```json +```C++ "pocket_data": [ { "pocket_type": "CONTAINER", // the typical container pocket. pockets can also be MAGAZINE