-
-
Notifications
You must be signed in to change notification settings - Fork 215
/
Copy pathemail.json
63 lines (63 loc) · 2.06 KB
/
email.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[
{
"description": "validation of e-mail addresses",
"schema": { "format": "email" },
"tests": [
{
"description": "a valid e-mail address",
"data": "[email protected]",
"valid": true
},
{
"description": "an invalid e-mail address",
"data": "2962",
"valid": false
},
{
"description": "tilde in local part is valid",
"data": "[email protected]",
"valid": true
},
{
"description": "tilde before local part is valid",
"data": "[email protected]",
"valid": true
},
{
"description": "tilde after local part is valid",
"data": "[email protected]",
"valid": true
},
{
"description": "dot before local part is not valid",
"data": "[email protected]",
"valid": false
},
{
"description": "dot after local part is not valid",
"data": "[email protected]",
"valid": false
},
{
"description": "two separated dots inside local part are valid",
"data": "[email protected]",
"valid": true
},
{
"description": "two subsequent dots inside local part are not valid",
"data": "[email protected]",
"valid": false
},
{
"description": "two email addresses is not valid",
"data": "[email protected], [email protected]",
"valid": false
},
{
"description": "full \"From\" header is invalid",
"data": "\"Winston Smith\" <[email protected]> (Records Department)",
"valid": false
}
]
}
]