Skip to content

Commit

Permalink
Merge pull request #765 from konker/payment-instructions-len
Browse files Browse the repository at this point in the history
UNI-308 Payment instructions length
  • Loading branch information
konker authored Oct 24, 2023
2 parents 47fc6f5 + 854c907 commit bf32e92
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion maas-schemas/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maas-schemas",
"version": "20.5.0",
"version": "20.6.0",
"description": "Schemas for MaaS infrastructure",
"main": "index.js",
"engine": {
Expand Down
4 changes: 1 addition & 3 deletions maas-schemas/schemas/core/product.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 255
"minLength": 1
},
"icon": {
"type": "string",
Expand Down Expand Up @@ -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"
}
},
Expand Down
4 changes: 0 additions & 4 deletions maas-schemas/src/io-ts/_translation.log
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit bf32e92

Please sign in to comment.