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": { 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