[
{
"decoder": "string",
"input": "a"
},
{
"decoder": "string",
"input": null
},
{
"decoder": "string",
"input": 1
},
{
"decoder": "string",
"input": [
1
]
},
{
"decoder": "string_normalized_email",
"input": " Ken@Example.COM "
},
{
"decoder": "string_normalized_email",
"input": "ken@example"
},
{
"decoder": "string_non_blank",
"input": " "
},
{
"decoder": "string_non_blank",
"input": ""
},
{
"decoder": "string_min_3",
"input": "日本"
},
{
"decoder": "string_min_3",
"input": "日本語"
},
{
"decoder": "string_max_3",
"input": "abcd"
},
{
"decoder": "string_length_4",
"input": "abc"
},
{
"decoder": "string_one_of",
"input": "c"
},
{
"decoder": "string_one_of",
"input": "a"
},
{
"decoder": "string_starts_with",
"input": "xab"
},
{
"decoder": "string_ends_with",
"input": "abx"
},
{
"decoder": "string_contains",
"input": "zzz"
},
{
"decoder": "string_ipv4",
"input": "192.168.0.1"
},
{
"decoder": "string_ipv4",
"input": "192.168.00.1"
},
{
"decoder": "string_ipv6",
"input": "[2001:db8::1]"
},
{
"decoder": "string_ipv6",
"input": "2001:db8::g"
},
{
"decoder": "string_ip",
"input": "::1"
},
{
"decoder": "string_ip",
"input": "localhost"
},
{
"decoder": "string_ulid",
"input": "01ARZ3NDEKTSV4RRFFQ69G5FAV"
},
{
"decoder": "string_ulid",
"input": "01ARZ3NDEKTSV4RRFFQ69G5FAI"
},
{
"decoder": "string_cuid",
"input": "cjld2cjxh0000qzrmn831i7rn"
},
{
"decoder": "string_cuid",
"input": "xjld2cjxh0000qzrmn831i7rn"
},
{
"decoder": "string_pattern",
"input": "abc1"
},
{
"decoder": "string_pattern",
"input": "abc1x"
},
{
"decoder": "string_uuid",
"input": "123e4567-e89b-12d3-a456-426614174000"
},
{
"decoder": "string_uuid",
"input": "not-a-uuid"
},
{
"decoder": "string_url",
"input": "https://example.com/a?b=c"
},
{
"decoder": "string_url",
"input": "ftp://example.com"
},
{
"decoder": "string_url",
"input": "https://"
},
{
"decoder": "int",
"input": 42
},
{
"decoder": "int",
"input": null
},
{
"decoder": "int",
"input": "42"
},
{
"decoder": "int",
"input": 1.5
},
{
"decoder": "int",
"input": true
},
{
"decoder": "int_min_1",
"input": 0
},
{
"decoder": "int_max_10",
"input": 11
},
{
"decoder": "int_range",
"input": 200
},
{
"decoder": "int_range",
"input": -1
},
{
"decoder": "int_range",
"input": 150
},
{
"decoder": "int_positive",
"input": 0
},
{
"decoder": "int_negative",
"input": 0
},
{
"decoder": "int_non_negative",
"input": -1
},
{
"decoder": "int_non_positive",
"input": 1
},
{
"decoder": "int_multiple_of_3",
"input": 4
},
{
"decoder": "int_one_of",
"input": 2
},
{
"decoder": "long",
"input": 9007199254740993
},
{
"decoder": "long",
"input": "1"
},
{
"decoder": "long",
"input": 1.0
},
{
"decoder": "double",
"input": 1.25
},
{
"decoder": "double",
"input": 2
},
{
"decoder": "double",
"input": "1.0"
},
{
"decoder": "double_positive",
"input": 0
},
{
"decoder": "double_negative",
"input": 0.5
},
{
"decoder": "double_range",
"input": 2.0
},
{
"decoder": "double_min",
"input": 0.25
},
{
"decoder": "double_one_of",
"input": 3.0
},
{
"decoder": "decimal",
"input": 12.5
},
{
"decoder": "decimal",
"input": "12.5"
},
{
"decoder": "decimal_scale_2",
"input": 1.125
},
{
"decoder": "decimal_positive",
"input": 0
},
{
"decoder": "decimal_range",
"input": 10.5
},
{
"decoder": "bool",
"input": true
},
{
"decoder": "bool",
"input": "true"
},
{
"decoder": "bool",
"input": null
},
{
"decoder": "bool_is_true",
"input": false
},
{
"decoder": "list_int",
"input": [
1,
2,
3
]
},
{
"decoder": "list_int",
"input": [
1,
"a",
3,
null
]
},
{
"decoder": "list_int",
"input": {
"a": 1
}
},
{
"decoder": "list_int",
"input": null
},
{
"decoder": "list_non_empty",
"input": []
},
{
"decoder": "list_min_2",
"input": [
1
]
},
{
"decoder": "list_max_2",
"input": [
1,
2,
3
]
},
{
"decoder": "list_size_2",
"input": [
1
]
},
{
"decoder": "list_unique",
"input": [
1,
2,
1,
3,
2,
1
]
},
{
"decoder": "person",
"input": {
"name": "Ken",
"age": 30
}
},
{
"decoder": "person",
"input": {}
},
{
"decoder": "person",
"input": {
"name": 1,
"age": "x"
}
},
{
"decoder": "person",
"input": [
1
]
},
{
"decoder": "person",
"input": null
},
{
"decoder": "person",
"input": "str"
},
{
"decoder": "person_strict",
"input": {
"name": "Ken",
"age": 30,
"zeta": 1,
"alpha": 2
}
},
{
"decoder": "person_strict",
"input": {
"name": 1,
"age": 30,
"extra": true
}
},
{
"decoder": "person_strict",
"input": [
1
]
},
{
"decoder": "escaped_keys",
"input": {}
},
{
"decoder": "optional",
"input": {
"id": 1
}
},
{
"decoder": "optional",
"input": {
"id": 1,
"nick": "k"
}
},
{
"decoder": "optional",
"input": {
"id": 1,
"nick": null
}
},
{
"decoder": "optional",
"input": {
"id": 1,
"nick": 3
}
},
{
"decoder": "nullable",
"input": {
"id": 1,
"note": null
}
},
{
"decoder": "nullable",
"input": {
"id": 1
}
},
{
"decoder": "nullable",
"input": {
"id": 1,
"note": "x"
}
},
{
"decoder": "presence",
"input": {
"id": 1
}
},
{
"decoder": "presence",
"input": {
"id": 1,
"n": null
}
},
{
"decoder": "presence",
"input": {
"id": 1,
"n": 5
}
},
{
"decoder": "presence",
"input": {
"id": 1,
"n": "x"
}
},
{
"decoder": "nested",
"input": {
"items": [
{
"name": "a",
"qty": 1
},
{
"qty": "x"
},
{
"name": "",
"qty": 0
}
]
}
},
{
"decoder": "nested",
"input": {
"items": "x"
}
},
{
"decoder": "dict",
"input": {
"a": 1,
"b": "x",
"c": 3
}
},
{
"decoder": "dict",
"input": [
1
]
},
{
"decoder": "enum",
"input": "RED"
},
{
"decoder": "enum",
"input": "blue"
},
{
"decoder": "enum",
"input": 1
},
{
"decoder": "literal",
"input": "v1"
},
{
"decoder": "literal",
"input": "v2"
},
{
"decoder": "shape",
"input": {
"kind": "rect",
"w": 2,
"h": 3
}
},
{
"decoder": "shape",
"input": {
"kind": "circle"
}
},
{
"decoder": "shape",
"input": {}
},
{
"decoder": "shape",
"input": {
"kind": "rect",
"w": "2"
}
},
{
"decoder": "one_of",
"input": 5
},
{
"decoder": "one_of",
"input": "abc"
},
{
"decoder": "one_of",
"input": "ab"
},
{
"decoder": "with_default",
"input": {}
},
{
"decoder": "with_default",
"input": {
"page": null
}
},
{
"decoder": "with_default",
"input": {
"page": "x"
}
},
{
"decoder": "recover",
"input": {
"page": "x"
}
},
{
"decoder": "period",
"input": {
"start": 1,
"end": 2
}
},
{
"decoder": "period",
"input": {
"start": 3,
"end": 2
}
},
{
"decoder": "period",
"input": {
"start": "a",
"end": "b"
}
},
{
"decoder": "string_trim",
"input": "\u0000abc"
},
{
"decoder": "string_trim",
"input": " 山田 "
},
{
"decoder": "string_trim",
"input": " x "
},
{
"decoder": "string_trim",
"input": "\t x \n"
},
{
"decoder": "string_trim",
"input": "
x
"
},
{
"decoder": "string_trim",
"input": "\u001fx\u001f"
},
{
"decoder": "string_non_blank",
"input": " "
},
{
"decoder": "string_non_blank",
"input": " "
},
{
"decoder": "string_non_blank",
"input": " "
},
{
"decoder": "string_non_blank",
"input": "\u001c"
},
{
"decoder": "string_non_blank",
"input": "
"
},
{
"decoder": "string_non_blank",
"input": ""
},
{
"decoder": "string_non_blank",
"input": "
"
},
{
"decoder": "string_min_3",
"input": "😀😀"
},
{
"decoder": "string_max_3",
"input": "😀😀😀😀"
},
{
"decoder": "string_one_of_astral",
"input": "z"
},
{
"decoder": "string_lower",
"input": "ΟΔΟΣ"
},
{
"decoder": "string_lower",
"input": "İ"
},
{
"decoder": "string_upper",
"input": "ß"
},
{
"decoder": "string_upper",
"input": "fi"
},
{
"decoder": "string_ipv6",
"input": "::ffff:1.2.3.4"
},
{
"decoder": "string_ipv6",
"input": "fe80::1%1"
},
{
"decoder": "string_ipv6",
"input": "::1.2.3.4"
},
{
"decoder": "string_ipv6",
"input": "::"
},
{
"decoder": "string_ipv6",
"input": "1::2::3"
},
{
"decoder": "string_ip",
"input": "::ffff:1.2.3.4"
},
{
"decoder": "string_email",
"input": "ä@b.co"
},
{
"decoder": "string_email",
"input": "a@b.co"
},
{
"decoder": "string_uuid",
"input": "123E4567-E89B-12D3-A456-426614174000"
},
{
"decoder": "string_uuid",
"input": "123e4567e89b12d3a456426614174000"
},
{
"decoder": "string_uuid",
"input": "{123e4567-e89b-12d3-a456-426614174000}"
},
{
"decoder": "string_uuid",
"input": "1-1-1-1-1"
},
{
"decoder": "string_url",
"input": "http://my_host.com"
},
{
"decoder": "string_url",
"input": "https://example.com"
},
{
"decoder": "string_url",
"input": "https://日本.jp/"
},
{
"decoder": "string_url",
"input": "http://example.com:99999/"
},
{
"decoder": "int",
"input_json": "-0"
},
{
"decoder": "long",
"input_json": "-0"
},
{
"decoder": "long",
"input_json": "-0.0"
},
{
"decoder": "long",
"input": 1e+30
},
{
"decoder": "long",
"input_json": "12345678901234567890"
},
{
"decoder": "double_min_1e7",
"input": 1
},
{
"decoder": "double_max_small",
"input": 1
},
{
"decoder": "double_one_of_big",
"input": 3
},
{
"decoder": "decimal",
"input": 0.0001
},
{
"decoder": "decimal_min_small",
"input": 0.0001
},
{
"decoder": "optional_only",
"input": {
"a": "x"
}
},
{
"decoder": "optional_only",
"input": {}
},
{
"decoder": "optional_only",
"input": "x"
},
{
"decoder": "optional_only",
"input": null
},
{
"decoder": "optional_only",
"input": [
1
]
},
{
"decoder": "shape",
"input": "rect"
},
{
"decoder": "string_ipv6",
"input": "::1%lo0"
},
{
"decoder": "string_ipv6",
"input": "fe80::1%eth0"
},
{
"decoder": "string_ipv6",
"input": "ff0e::1%x"
},
{
"decoder": "string_ipv6",
"input": "ff02::1%x"
},
{
"decoder": "string_ipv6",
"input": "::00001"
},
{
"decoder": "string_ipv6",
"input": "[::1]"
},
{
"decoder": "string_ip",
"input": "fe80::1%eth0"
},
{
"decoder": "enum",
"input": "Red"
},
{
"decoder": "string_trim",
"input": "x"
},
{
"decoder": "long",
"input_json": "123456789012345678901"
},
{
"decoder": "int",
"input_json": "3000000000"
}
]