From 0e11ddf0e58ac47404de257b178a67a45eca0ef8 Mon Sep 17 00:00:00 2001 From: Konrad Markus Date: Tue, 24 Oct 2023 10:59:10 +0300 Subject: [PATCH 1/2] Remove maxLength restrictions from product paymentInstructions and description --- maas-schemas/schemas/core/product.json | 4 +--- maas-schemas/src/io-ts/_translation.log | 4 ---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/maas-schemas/schemas/core/product.json b/maas-schemas/schemas/core/product.json index 959f128eb..fad073bfa 100644 --- a/maas-schemas/schemas/core/product.json +++ b/maas-schemas/schemas/core/product.json @@ -14,8 +14,7 @@ }, "description": { "type": "string", - "minLength": 1, - "maxLength": 255 + "minLength": 1 }, "icon": { "type": "string", @@ -43,7 +42,6 @@ "paymentInstruction": { "type": "string", "minLength": 1, - "maxLength": 255, "description": "A product may define a text to be shown in Detailed Pricing segment, due to regulatory or partner mandated requirement. This is informed by product.paymentInstruction object, containing localized text string" } }, diff --git a/maas-schemas/src/io-ts/_translation.log b/maas-schemas/src/io-ts/_translation.log index 1148ab4ed..882b9a6ce 100644 --- a/maas-schemas/src/io-ts/_translation.log +++ b/maas-schemas/src/io-ts/_translation.log @@ -1194,8 +1194,6 @@ INFO: primitive type "string" used outside top-level definitions in schemas/core/product.json WARNING: minLength field not supported outside top-level definitions in schemas/core/product.json -WARNING: maxLength field not supported outside top-level definitions - in schemas/core/product.json INFO: primitive type "string" used outside top-level definitions in schemas/core/product.json WARNING: minLength field not supported outside top-level definitions @@ -1216,8 +1214,6 @@ INFO: primitive type "string" used outside top-level definitions in schemas/core/product.json WARNING: minLength field not supported outside top-level definitions in schemas/core/product.json -WARNING: maxLength field not supported outside top-level definitions - in schemas/core/product.json INFO: missing description in schemas/core/product.json INFO: missing description From 854c907946334039d107b51dd11f5a3e53f1b642 Mon Sep 17 00:00:00 2001 From: Konrad Markus Date: Tue, 24 Oct 2023 13:55:34 +0300 Subject: [PATCH 2/2] Version 20.6.0 --- maas-schemas/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maas-schemas/package.json b/maas-schemas/package.json index 9a5ad5969..81eda6d26 100644 --- a/maas-schemas/package.json +++ b/maas-schemas/package.json @@ -1,6 +1,6 @@ { "name": "maas-schemas", - "version": "20.5.0", + "version": "20.6.0", "description": "Schemas for MaaS infrastructure", "main": "index.js", "engine": {