diff options
author | ys9693 <ys9693@att.com> | 2020-01-19 13:50:02 +0200 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2020-01-22 12:33:31 +0000 |
commit | 16a9fce0e104a38371a9e5a567ec611ae3fc7f33 (patch) | |
tree | 03a2aff3060ddb5bc26a90115805a04becbaffc9 /catalog-ui/configurations/validation.json | |
parent | aa83a2da4f911c3ac89318b8e9e8403b072942e1 (diff) |
Catalog alignment
Issue-ID: SDC-2724
Signed-off-by: ys9693 <ys9693@att.com>
Change-Id: I52b4aacb58cbd432ca0e1ff7ff1f7dd52099c6fe
Diffstat (limited to 'catalog-ui/configurations/validation.json')
-rw-r--r-- | catalog-ui/configurations/validation.json | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/catalog-ui/configurations/validation.json b/catalog-ui/configurations/validation.json index 01b899d7bd..bd45210fa4 100644 --- a/catalog-ui/configurations/validation.json +++ b/catalog-ui/configurations/validation.json @@ -6,7 +6,24 @@ "validationPatterns": { "string": "^[\\sa-zA-Z0-9+-]+$", + "stringOrEmpty": "^[\\sa-zA-Z0-9&-]*$", "comment": "^[\\u0000-\\u00BF]*$", - "integer": "^(([-+]?\\d+)|([-+]?0x[0-9a-fA-F]+))$" + "integer": "^(([-+]?\\d+)|([-+]?0x[0-9a-fA-F]+))$", + "componentName": "^(?=.*[^. ])[\\s\\w\\&_.:-]{1,1024}$", + "propertyName": "^[a-zA-Z0-9_:-]{1,50}$", + "tag": "^[\\s\\w_.-]{1,50}$", + "vendorRelease": "^[\\x20-\\x21\\x23-\\x29\\x2B-\\x2E\\x30-\\x39\\x3B\\x3D\\x40-\\x5B\\x5D-\\x7B\\x7D-\\xFF]{1,25}$", + "vendorName": "^[\\x20-\\x21\\x23-\\x29\\x2B-\\x2E\\x30-\\x39\\x3B\\x3D\\x40-\\x5B\\x5D-\\x7B\\x7D-\\xFF]{1,60}$", + "vendorModelNumber": "^[\\x20-\\x21\\x23-\\x29\\x2B-\\x2E\\x30-\\x39\\x3B\\x3D\\x40-\\x5B\\x5D-\\x7B\\x7D-\\xFF]{1,65}$", + "serviceTypeAndRole": "^[\\x20-\\x21\\x23-\\x29\\x2B-\\x2E\\x30-\\x39\\x3B\\x3D\\x40-\\x5B\\x5D-\\x7B\\x7D-\\xFF]{1,256}$", + "contactId": "^[\\s\\w-]{1,50}$", + "userId": "^[\\s\\w-]{1,50}$", + "label": "^[\\sa-zA-Z0-9+-]{1,25}$", + "integerNoLeadingZero": "^(0|[-+]?[1-9][0-9]*|[-+]?0x[0-9a-fA-F]+|[-+]?0o[0-7]+)$", + "float": "^[-+]?[0-9]*.?[0-9]+([eE][-+]?[0-9]+)?f?$", + "number": "^((([-+]?\\d+)|([-+]?0x[0-9a-fA-F]+))|([-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?))$", + "key": "^[\\s\\w-]{1,50}$", + "boolean": "^([Tt][Rr][Uu][Ee]|[Ff][Aa][Ll][Ss][Ee])$", + "mapKey": "^[\\w]{1,50}$" } } |