Fix 'Unable to drag a VFC on to composition if an existing VFC instance has the same...
[sdc.git] / catalog-ui / configurations / validation.json
1 {
2     "propertyValue": {
3         "max": 2500,
4         "min": 0
5     },
6
7     "validationPatterns": {
8         "string": "^[\\sa-zA-Z0-9+-]+$",
9         "stringOrEmpty": "^[\\sa-zA-Z0-9&-]*$",
10         "comment": "^[\\u0000-\\u00BF]*$",
11         "integer": "^(([-+]?\\d+)|([-+]?0x[0-9a-fA-F]+))$",
12         "componentName": "^(?=.*[^. ])[\\s\\w\\&_.:-]{1,1024}$",
13         "propertyName": "^[a-zA-Z0-9_:-]{1,50}$",
14         "tag": "^[\\s\\w_.-]{1,50}$",
15         "vendorRelease": "^[\\x20-\\x21\\x23-\\x29\\x2B-\\x2E\\x30-\\x39\\x3B\\x3D\\x40-\\x5B\\x5D-\\x7B\\x7D-\\xFF]{1,25}$",
16         "vendorName": "^[\\x20-\\x21\\x23-\\x29\\x2B-\\x2E\\x30-\\x39\\x3B\\x3D\\x40-\\x5B\\x5D-\\x7B\\x7D-\\xFF]{1,60}$",
17         "vendorModelNumber": "^[\\x20-\\x21\\x23-\\x29\\x2B-\\x2E\\x30-\\x39\\x3B\\x3D\\x40-\\x5B\\x5D-\\x7B\\x7D-\\xFF]{1,65}$",
18         "serviceTypeAndRole": "^[\\x20-\\x21\\x23-\\x29\\x2B-\\x2E\\x30-\\x39\\x3B\\x3D\\x40-\\x5B\\x5D-\\x7B\\x7D-\\xFF]{1,256}$",
19         "contactId": "^[\\s\\w-]{1,50}$",
20         "userId": "^[\\s\\w-]{1,50}$",
21         "label": "^[\\sa-zA-Z0-9+-]{1,25}$",
22         "integerNoLeadingZero": "^(0|[-+]?[1-9][0-9]*|[-+]?0x[0-9a-fA-F]+|[-+]?0o[0-7]+)$",
23         "float": "^[-+]?[0-9]*.?[0-9]+([eE][-+]?[0-9]+)?f?$",
24         "number": "^((([-+]?\\d+)|([-+]?0x[0-9a-fA-F]+))|([-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?))$",
25         "key": "^[\\s\\w-]{1,50}$",
26         "boolean": "^([Tt][Rr][Uu][Ee]|[Ff][Aa][Ll][Ss][Ee])$",
27         "mapKey": "^[\\w]{1,50}$"
28     }
29 }