Debian Codegraph @

encoding/jsonschema/testdata/external/tests/draft2019-09/optional/format/idn-email.json

raw
1 [
2 {
3 "description": "validation of an internationalized e-mail addresses",
4 "schema": {
5 "$schema": "https://json-schema.org/draft/2019-09/schema",
6 "format": "idn-email"
7 },
8 "skip": {
9 "v3-roundtrip": "generation only supported in version https://json-schema.org/draft/2020-12/schema"
10 },
11 "tests": [
12 {
13 "description": "all string formats ignore integers",
14 "data": 12,
15 "valid": true,
16 "skip": {
17 "v3-roundtrip": "could not extract schema"
18 }
19 },
20 {
21 "description": "all string formats ignore floats",
22 "data": 13.7,
23 "valid": true,
24 "skip": {
25 "v3-roundtrip": "could not extract schema"
26 }
27 },
28 {
29 "description": "all string formats ignore objects",
30 "data": {},
31 "valid": true,
32 "skip": {
33 "v3-roundtrip": "could not extract schema"
34 }
35 },
36 {
37 "description": "all string formats ignore arrays",
38 "data": [],
39 "valid": true,
40 "skip": {
41 "v3-roundtrip": "could not extract schema"
42 }
43 },
44 {
45 "description": "all string formats ignore booleans",
46 "data": false,
47 "valid": true,
48 "skip": {
49 "v3-roundtrip": "could not extract schema"
50 }
51 },
52 {
53 "description": "all string formats ignore nulls",
54 "data": null,
55 "valid": true,
56 "skip": {
57 "v3-roundtrip": "could not extract schema"
58 }
59 },
60 {
61 "description": "a valid idn e-mail ([email protected] in Hangul)",
62 "data": "실례@실례.테스트",
63 "valid": true,
64 "skip": {
65 "v3-roundtrip": "could not extract schema"
66 }
67 },
68 {
69 "description": "an invalid idn e-mail address",
70 "data": "2962",
71 "valid": false,
72 "skip": {
73 "v3": "unexpected success",
74 "v3-roundtrip": "could not extract schema"
75 }
76 },
77 {
78 "description": "a valid e-mail address",
79 "data": "[email protected]",
80 "valid": true,
81 "skip": {
82 "v3-roundtrip": "could not extract schema"
83 }
84 },
85 {
86 "description": "an invalid e-mail address",
87 "data": "2962",
88 "valid": false,
89 "skip": {
90 "v3": "unexpected success",
91 "v3-roundtrip": "could not extract schema"
92 }
93 }
94 ]
95 }
96 ]