github.com/kaptinlin/jsonschema@v0.4.6/testdata/JSON-Schema-Test-Suite/tests/draft3/optional/format/email.json (about) 1 [ 2 { 3 "description": "validation of e-mail addresses", 4 "schema": { "format": "email" }, 5 "tests": [ 6 { 7 "description": "a valid e-mail address", 8 "data": "joe.bloggs@example.com", 9 "valid": true 10 }, 11 { 12 "description": "an invalid e-mail address", 13 "data": "2962", 14 "valid": false 15 }, 16 { 17 "description": "tilde in local part is valid", 18 "data": "te~st@example.com", 19 "valid": true 20 }, 21 { 22 "description": "tilde before local part is valid", 23 "data": "~test@example.com", 24 "valid": true 25 }, 26 { 27 "description": "tilde after local part is valid", 28 "data": "test~@example.com", 29 "valid": true 30 }, 31 { 32 "description": "dot before local part is not valid", 33 "data": ".test@example.com", 34 "valid": false 35 }, 36 { 37 "description": "dot after local part is not valid", 38 "data": "test.@example.com", 39 "valid": false 40 }, 41 { 42 "description": "two separated dots inside local part are valid", 43 "data": "te.s.t@example.com", 44 "valid": true 45 }, 46 { 47 "description": "two subsequent dots inside local part are not valid", 48 "data": "te..st@example.com", 49 "valid": false 50 } 51 ] 52 } 53 ]