From bb5d3cde1190a3fb220b5d7698b2f23e657bba00 Mon Sep 17 00:00:00 2001 From: Erez Sobel Date: Mon, 13 Jan 2020 14:36:55 +0100 Subject: [PATCH] feat(products/prices/entry): add tax property --- lib/v1/products/prices/book/entry/base.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/v1/products/prices/book/entry/base.js b/lib/v1/products/prices/book/entry/base.js index 3d1ca1308..68da2ad55 100644 --- a/lib/v1/products/prices/book/entry/base.js +++ b/lib/v1/products/prices/book/entry/base.js @@ -113,5 +113,16 @@ module.exports = { minLength: 3, maxLength: 3 }) + }, + tax: { + oneOf: [ + { + type: 'string', + format: 'uuid' + }, + { + type: 'null' + } + ] } }