CODE
[
{
"type": "Boolean",
"regex": "(true|false|1|0)$",
"id": "60cf41c5a12e39c23a81750c"
},
{
"type": "Email",
"regex": "[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)*$",
"id": "60cf41c5a12e39c23a81750d"
},
{
"type": "IP",
"regex": "((^s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))s*$)|(^s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:)))(%.+)?s*$))",
"id": "60cf41c5a12e39c23a81750e"
},
{
"type": "Number",
"regex": "[-+0-9.]+$",
"id": "60cf41c5a12e39c23a81750f"
},
{
"type": "Password",
"regex": "(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[a-zA-Z\\d]{8,256}$",
"id": "60cf41c5a12e39c23a817510"
},
{
"type": "PositiveNumber",
"regex": "[+]?([.]\\d+|\\d+([.]\\d+)?)$",
"id": "60cf41c5a12e39c23a817511"
},
{
"type": "PhoneNumber",
"regex": "[+]?([0-9]+(?:[.][0-9]*)?|.[0-9]+)$",
"id": "60cf41c5a12e39c23a817512"
},
{
"type": "String50",
"regex": ".{1,50}$",
"id": "60cf41c5a12e39c23a817513"
},
{
"type": "String100",
"regex": ".{1,100}$",
"id": "60cf41c5a12e39c23a817514"
},
{
"type": "String2000",
"regex": ".{1,2000}$",
"id": "60cf41c5a12e39c23a817515"
},
{
"type": "URL",
"regex": "((([A-Za-z]{2,9}:(?://)?)(?:[\\-;:&=\\+\\$,\\w]+@)?[A-Za-z0-9\\.\\-]+|(?:www\\.|[\\-;:&=\\+\\$,\\w]+@)[A-Za-z0-9\\.\\-]+)((?:/[\\+~%/\\.\\w\\-_]*)?\\??(?:[\\-\\+=&;%@\\.\\w_]*)#?(?:[\\.\\!/\\\\\\w]*))?)",
"id": "60cf41c5a12e39c23a817516"
},
{
"type": "Alphanum100",
"regex": "[a-zA-Z0-9 ]{1,100}$",
"id": "60d32663a12e39c23a81bc1a"
},
{
"type": "AlphanumSpecial200",
"regex": "[ A-Za-z0-9_@.,;:`~=*'%$!^/#&+()?{}><|-]{0,200}$",
"id": "60d32663a12e39c23a81bc1b"
}
]