Skip to content

Implementations ​

LIVR is a specification, so you need an implementation for your language. All of them use the same rules format and return the same error codes. The latest version of the specification is 2.5: it adds rules to 2.0, the previous one, so an implementation of LIVR 2.0 has every rule except the new ones. The version before 2.0 was 0.4.

JavaScript

LIVR 2.5Test suite: 70/70
npm
livrv2.13.3
Docs
js.livr-spec.org
Maintainer
@koorchik
Last activity
Nov 2026 ★ 185

Reference implementation. Sync and async validators, TypeScript type inference.

Raku

LIVR 2.5Test suite: 70/70
raku.land
LIVR
Maintainer
@koorchik
Last activity
Nov 2026 ★ 6

Formerly Perl 6.

Dart

LIVR 2.5Test suite: 70/70
pub.dev
livrv0.2.2
Maintainer
@koorchik
Last activity
Nov 2026

Rust

LIVR 2.5Test suite: 70/70
crates.io
livrv0.2.2
Maintainer
@koorchik
Last activity
Nov 2026

Java

LIVR 2.0Test suite: 70/70
Maven Central
io.github.vlbaluk:validator-livrv2.0.2
Maintainer
@vlbaluk
Last activity
Oct 2026 ★ 14

Returns the standard error codes, but wraps each one together with the invalid value: {"code": "REQUIRED", "fieldValue": …}.

Swift

LIVR 2.0Test suite: 63/70 (v1.0.5)
CocoaPods
Livrv1.0.4
Maintainer
@olxbr
Last activity
Jul 2026 ★ 8

Python

LIVR 2.0Test suite: 53/70
PyPI
LIVRv2.0.1
Maintainer
@asholok
Last activity
Dec 2017 ★ 26

Package versions and repository activity are refreshed every time the site is built.

Test suite results ​

Every implementation is checked against the shared test suite. Every week, and whenever the specification changes, CI installs each implementation the way a user would and runs all test cases against it. The score is for the LIVR 2.0 suite; the "2.5" columns show the separate suite of the rules added in LIVR 2.5: its validation cases and its schema error cases.

ImplementationTested versionPassed2.52.5 schema errorsDetails
JavaScript2.13.370 / 7084 / 84179 / 179All cases pass
Perl2.2270 / 7084 / 84179 / 179All cases pass
PHPdev-master@28079c568 / 684 / 82153 / 179All cases pass
78 failing 2.5 cases
26 failing 2.5 schema error cases
2 cases not counted
  • negative/22-not_empty_list
    PHP decodes {} and [] to the same array, so an empty object can't be told apart from an empty list. php-validator-livr's own copy of the test suite adjusts this case.
  • negative/27-any_object
    PHP decodes {} and [] to the same array, so an empty object can't be told apart from an empty list. php-validator-livr's own copy of the test suite adjusts this case.
Java2.0.270 / 702 / 84147 / 179

Errors are returned as {"code": …, "fieldValue": …} objects instead of plain error codes (the library adds the invalid value to every error), so only the codes are compared.

All cases pass
82 failing 2.5 cases
32 failing 2.5 schema error cases
Raku2.3.170 / 7084 / 84179 / 179

Run on Rakudo Star 2024.02: LIVR 2.1.0 no longer compiles on current Rakudo (a rx:P5 regex in LIVR::Rules::Special).

All cases pass
Dart0.2.270 / 7084 / 84179 / 179All cases pass
Rust0.2.270 / 7084 / 84179 / 179All cases pass
Ruby2.1.168 / 703 / 84153 / 179
2 failing cases
  • positive/24-iso_date
    expected no errors, got {"iso_date8":"WRONG_DATE"}
  • negative/24-iso_date
    expected errors {"iso_date1":"WRONG_DATE","iso_date2":"WRONG_DATE","iso_date3":"WRONG_DATE","iso_date4":"WRONG_DATE","iso_date5":"WRONG_DATE","iso_date6":"WRONG_DATE","iso_date7":"WRONG_DATE","iso_date8":"WRONG_DATE","iso_date9":"WRONG_DATE","iso_date10":"WRONG_DATE","like_iso_da…
81 failing 2.5 cases
26 failing 2.5 schema error cases
Gov2.0.0+incompatible66 / 703 / 84153 / 179
4 failing cases
  • positive/16-email
    expected no errors, got {"email10":"WRONG_EMAIL","email11":"WRONG_EMAIL","email12":"WRONG_EMAIL","email13":"WRONG_EMAIL","email20":"WRONG_EMAIL","email21":"WRONG_EMAIL","email22":"WRONG_EMAIL","email23":"WRONG_EMAIL","email25":"WRONG_EMAIL","email26":"WRONG_EMAIL","email4":"WRONG…
  • negative/21-list_of_different_objects
    exception: interface conversion: interface {} is []interface {}, not string
  • negative/28-variable_object
    exception: interface conversion: interface {} is []interface {}, not string
  • negative/29-or
    expected errors {"id1-1":"NOT_POSITIVE_INTEGER","id2-1":"NOT_POSITIVE_INTEGER","id3-1":"WRONG_EMAIL","id4-1":"CANNOT_BE_EMPTY","id4-2":"REQUIRED","products":[{"name":"REQUIRED","product_type":"NOT_ALLOWED_VALUE"},{"name":"REQUIRED"}]}, got {"id1-1":"NOT_POSITIVE_INTEGER","id2-1":…
81 failing 2.5 cases
26 failing 2.5 schema error cases
Swift1.0.5@a36235363 / 704 / 840 / 179

Apple platforms only: it relies on NSPredicate format strings, which Foundation on Linux doesn't provide. Built from source in Swift 4.2 language mode on macOS.

7 failing cases
  • positive/16-email
    expected no errors, got {"email7":"WRONG_EMAIL","email8":"WRONG_EMAIL","email10":"WRONG_EMAIL","email12":"WRONG_EMAIL","email13":"WRONG_EMAIL","email20":"WRONG_EMAIL","email21":"WRONG_EMAIL","email22":"WRONG_EMAIL","email23":"WRONG_EMAIL","email25":"WRONG_EMAIL","email26":"WRONG_…
  • positive/18-nested_object
    expected output {"address":{"building":10,"country":"Ukraine","street":"10","zip":12345},"builtin_names":{"constructor":"Constructor value","toString":"ToString value"},"null_value":null,"should_be_empty":{},"should_not_be_errored":""}, got {"address":{"building":10,"country":"Uk…
  • positive/30-trim
    expected output {"decimal_value":"1.2","list_of_string_values":["value1",{"key":"123"},"value2"],"object":{"string_value":"some value"},"string_value":"value","unicode_string":"Привет"}, got {"decimal_value":1.2,"list_of_string_values":["value1",{"key":"123"},"value2"],"object":{…
  • negative/16-email
    expected errors {"email1":"WRONG_EMAIL","email2":"WRONG_EMAIL","email3":"WRONG_EMAIL","email4":"WRONG_EMAIL","email5":"WRONG_EMAIL","email6":"WRONG_EMAIL","email7":"WRONG_EMAIL","email8":"WRONG_EMAIL","email9":"WRONG_EMAIL","email10":"WRONG_EMAIL","email11":"WRONG_EMAIL","email12…
  • negative/21-list_of_different_objects
    expected errors {"null_item":["FORMAT_ERROR"],"object_value":"FORMAT_ERROR","only_wrong_items":["FORMAT_ERROR","FORMAT_ERROR","FORMAT_ERROR","FORMAT_ERROR","FORMAT_ERROR"],"order_id":"NOT_POSITIVE_INTEGER","products":[{"material_id":"NOT_POSITIVE_INTEGER","quantity":"REQUIRED"},{…
  • negative/24-iso_date
    expected errors {"iso_date1":"WRONG_DATE","iso_date2":"WRONG_DATE","iso_date3":"WRONG_DATE","iso_date4":"WRONG_DATE","iso_date5":"WRONG_DATE","iso_date6":"WRONG_DATE","iso_date7":"WRONG_DATE","iso_date8":"WRONG_DATE","iso_date9":"WRONG_DATE","iso_date10":"WRONG_DATE","like_iso_da…
  • negative/29-or
    expected errors {"id1-1":"NOT_POSITIVE_INTEGER","id2-1":"NOT_POSITIVE_INTEGER","id3-1":"WRONG_EMAIL","id4-1":"CANNOT_BE_EMPTY","id4-2":"REQUIRED","products":[{"name":"REQUIRED","product_type":"NOT_ALLOWED_VALUE"},{"name":"REQUIRED"}]}, got {"id1-1":"NOT_POSITIVE_INTEGER","id2-1":…
80 failing 2.5 cases
  • positive/01-boolean
    expected output {"empty_field":"","false_string":false,"false_value":false,"minus_zero_number":false,"null_field":null,"one_number":true,"one_point_zero_number":true,"one_string":true,"required_false":false,"required_zero_string":false,"true_string":true,"true_value":true,"zero_n…
  • positive/02-not_one_of
    expected output {"boolean_value":false,"case_sensitive":"Admin","decimal_string_vs_number":"1.0","empty_field":"","exponent_vs_exponent_string":1000,"leading_zero_vs_number":"01","minus_zero_vs_minus_zero_string":false,"null_field":null,"number_arguments":"4","number_value":2,"on…
  • positive/03-max_decimals
    expected output {"amount":1.23,"amount_string":1.23,"argument_in_list":0.125,"empty_field":"","exponent_integer":1000,"fewer_decimals":1.2,"integer":5,"integer_string":5,"long_string_zero_tail":0.10000000000000001,"minus_zero":false,"negative":-1.5,"negative_string":-1.5,"negativ…
  • positive/04-digits
    expected output {"all_digits":"0123456789","big_integer":"123456789012345","empty_field":"","exponent":"1000","hundred":"100","leading_zeros":"007","minus_zero":"0","null_field":null,"number":"7","one_point_zero":"1","otp":"000123","otp_number":"123456","zero_number":"0","zero_st…
  • positive/05-starts_with
    expected output {"big_integer":"123456789012345","boolean":"true","empty_field":"","exponent":"1000","fraction":"0.1","minus_zero":"0","negative_fraction":"-12.25","null_field":null,"number":"123","number_argument":"123","number_argument_number_value":"15","number_with_trailing_z…
  • positive/06-ends_with
    expected output {"big_integer":"123456789012345","boolean":"false","empty_field":"","exponent":"1000","file":"report.pdf","file_in_list":".pdf","image1":"photo.jpg","image2":"photo.png","minus_zero":"0","negative_fraction":"-12.25","null_field":null,"number":"100"}, got <null>
  • positive/07-contains
    expected output {"big_integer":"123456789012345","boolean":"true","comment":"user@example.com","comment_in_list":"@","empty_field":"","exponent":"1000","fraction":"0.1","negative_fraction":"-12.25","null_field":null,"number":"12345","number_fraction":"0.5","one_of_several":"a bar…
  • positive/09-iso_datetime
    expected output {"date_min_after_relative_max_builds":"","date_min_equal_to_datetime_max":"2026-10-18T00:00:00.000Z","empty_arguments":"2026-10-29T10:00:00.000Z","empty_field":"","empty_options":"2026-10-29T10:00:00.000Z","empty_options_in_argument_list":"2026-10-29T10:00:00.000Z…
  • positive/10-iso_time
    expected output {"bounds_empty_value":"","bounds_inside":"12:30:15","bounds_max_equal":"18:00","bounds_min_equal":"09:00","bounds_min_equal_with_seconds":"09:00:00.000","bounds_null_value":null,"empty_field":"","empty_options":"00:00","empty_options_with_seconds":"07:05:09","last…
  • positive/11-required_if
    expected output {"a\/b":"yes","a~b":"yes","account":{"type":"person"},"address":{"country":"US"},"address_ua":{"country":"UA"},"checkbox_one":true,"company":{"type":"person"},"count":true,"count_note":"x","country":"UA","email":"user@example.com","email_flag_off_empty":"","email_…
  • positive/12-when
    expected output {"address":{"country":"UA"},"admin_case":"ABC","admin_false_case":"abc","any_false_branch":"AbC","any_true_branch":"AbC","buyer":{"country":"UA","seller_country":"PL"},"buyer_vat":"UA12345678","cond_default":10,"cond_empty_ref":"abc","cond_missing_ref":"abc","cond…
  • positive/13-values
    expected output {"empty_field":"","empty_values_inside":{"a":"","b":null},"lists":{"a":[true,2],"b":[]},"modifier":{"de":"HALLO","en":"HELLO"},"nested_objects":{"u1":{"name":"Jane Doe"},"u2":{"name":"John Doe"}},"null_field":null,"prototype_keys":{"__proto__":true,"constructor":2…
  • positive/14-keys
    expected output {"empty_field":"","like_keys":{"first_name":true,"last_name":{"x":[true]}},"modifier_output_ignored":{"ab":"cd"},"null_field":null,"rule_list":{"en":2,"uk":true},"translations":{"en":"Hello","uk":"Привіт"},"values_not_validated":{"a":{"b":"c"},"d":null}}, got <nul…
  • positive/15-any
    expected output {"boolean":false,"empty_field":"","empty_list":[],"empty_object":{},"list":[true,"two",{"three":3},[4],"<null>"],"metadata":{"a":{"b":[true,{"c":null}]},"d":""},"null_field":null,"number":1.5,"number_string":"1.50","required_any":{"x":true},"string":"text","zero":…
  • positive/16-list_length
    expected output {"empty_field":"","items_max_equal":[{"a":true},{"b":2}],"min_and_max_object":["<null>","",3],"min_max_equal":[true,2,3],"null_field":null,"pair":[true,2],"pair_in_list":["a","b"],"photos":["photo.jpg"],"string_argument":["a","b"],"string_arguments_min_max":["a"],…
  • positive/17-unique
    expected output {"addresses":[{"country":"UA","zip":"01001"},{"country":"UA","zip":"01002"},{"country":"PL","zip":"01001"}],"composite_comma_not_joined":[{"a":"a,b","b":"c"},{"a":"a","b":"b,c"}],"composite_json_like_not_joined":[{"a":"x\",\"y","b":"z"},{"a":"x","b":"y\",\"z"}],"c…
  • positive/18-split
    expected no errors, got {"ids":"FORMAT_ERROR","ids_number":"FORMAT_ERROR","ids_single":"FORMAT_ERROR"}
  • positive/19-uuid
    expected output {"all_versions":"1ec9414c-232a-6b00-b3c8-9f6bdeced846","empty_field":"","max":"ffffffff-ffff-ffff-ffff-ffffffffffff","max_uppercase":"FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF","mixed_case":"F47ac10b-58CC-4372-A567-0e02b2c3d479","nil":"00000000-0000-0000-0000-000000000…
  • positive/20-ip
    expected output {"empty_field":"","ipv4":"192.0.2.1","ipv4_empty_arguments":"203.0.113.0","ipv4_max":"255.255.255.255","ipv4_rule_list":"198.51.100.255","ipv4_zeros":"0.0.0.0","ipv6":"2001:db8::1","ipv6_double_colon_one_group":"2001:db8:1:2:3:4:5::","ipv6_double_colon_one_group_m…
  • positive/21-cidr
    expected output {"empty_field":"","ipv4":"192.0.2.0\/24","ipv4_host":"192.0.2.1\/32","ipv4_host_bits":"10.0.0.1\/8","ipv4_zero_prefix":"0.0.0.0\/0","ipv6":"2001:db8::\/32","ipv6_embedded_ipv4":"::ffff:192.0.2.0\/120","ipv6_host":"2001:db8::1\/128","ipv6_host_bits":"2001:DB8::1\/6…
  • positive/22-hostname
    expected output {"digit_labels":"123.example","digit_labels_except_last":"192.0.2.example","domain":"example.com","empty_field":"","hyphens":"my-host--1.example-site.com","label_63":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com","label_starts_with_digit":"1…
  • positive/23-base64
    expected output {"empty_field":"","exponent_number":"1000","null_field":null,"number":"1234","standard":"SGVsbG8=","standard_alphabet":"+\/AZaz09","standard_double_padding":"SA==","standard_no_padding_needed":"SGVsbG8h","true_string":"true","unused_bits_not_checked":"SB==","url":…
  • positive/24-hex
    expected output {"all_digits":"0123456789abcdefABCDEF","big_integer":"123456789012345","empty_field":"","exponent_number":"1000","hundred_number":"100","minus_zero_number":"0","mixed_case":"deadBEEF","null_field":null,"number":"123","odd_length":"abc","one_point_zero_number":"1",…
  • positive/25-digest
    expected output {"all_algorithms":"aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d","empty_field":"","md5":"5d41402abc4b2a76b9719d911017c592","md5_in_list":"5d41402abc4b2a76b9719d911017c592","md5_or_sha1_1":"5d41402abc4b2a76b9719d911017c592","md5_or_sha1_2":"aaf4c61ddcc5e8a2dabede0f3b48…
  • positive/26-mongo_id
    expected output {"empty_field":"","id":"507f1f77bcf86cd799439011","null_field":null,"uppercase":"507F1F77BCF86CD799439011","zeros":"000000000000000000000000"}, got <null>
  • positive/27-hex_color
    expected output {"eight":"#A1B2c3D4","empty_field":"","four":"#FFFA","null_field":null,"six":"#a1b2c3","three":"#fff"}, got <null>
  • positive/28-mac
    expected output {"colons":"00:1A:2b:3c:4D:5e","dashes":"00-1a-2b-3c-4d-5e","empty_field":"","eui64_colons":"00:1A:2b:3c:4D:5e:6F:70","eui64_dashes":"70-B3-D5-7E-D0-00-12-34","eui64_empty":"","mac48_explicit":"00:1a:2b:3c:4d:5e","null_field":null,"string_argument":"00:1A:2b:3c:4D:…
  • positive/29-e164
    expected output {"empty_field":"","max_length":"+123456789012345","min_length":"+1234567","null_field":null,"phone":"+15555550100","zeros_after_first":"+10000000"}, got <null>
  • positive/30-semver
    expected output {"build_with_leading_zeros":"1.0.0+001.0002","empty_field":"","null_field":null,"pre_release_hyphen_only":"1.0.0--","version1":"0.0.0","version2":"1.0.0","version3":"10.20.30","version4":"1.0.0-alpha","version5":"1.0.0-alpha.1","version6":"1.0.0-0.3.7","version7":…
  • positive/31-jwt
    expected output {"empty_field":"","empty_payload":"eyJhbGciOiJIUzI1NiJ9.e30.XmNK3GpH3Ys_7wsYBfq4C3M6goz71I7dTgUkuIa5lyQ","es256":"eyJhbGciOiJFUzI1NiJ9.eyJzdWIiOiJ1c2VyQGV4YW1wbGUuY29tIiwicm9sZXMiOlsiYWRtaW4iXSwibmVzdGVkIjp7ImEiOlsxLDJdfX0.wLweCPl0Oy1Q1fFgdQO_ToSa8Ocp_KiWUVvqlV1wo…
  • positive/32-luhn
    expected output {"card":"4111111111111111","classic":"79927398713","empty_field":"","exponent_number":"18","long":"50000000000000000009","null_field":null,"number":"79927398713","one_point_zero_number":"18","two_digits":"18","two_zeros":"00"}, got <null>
  • positive/33-credit_card
    expected output {"amex":"378282246310005","discover":"6011111111111117","empty_field":"","fourteen_digits":"40000000000002","mastercard":"5555555555554444","nineteen_digits":"6000000000000000004","null_field":null,"number":"4111111111111111","twelve_digits":"500000000009","visa":…
  • positive/34-iban
    expected output {"be":"BE68539007547034","de":"DE89370400440532013000","empty_field":"","fr":"FR1420041010050500013M02606","gb":"GB82WEST12345698765432","lc":"LC55HEMM000100010012001200023015","mt":"MT84MALT011000012345MTLCAST001S","nl":"NL91ABNA0417164300","no_shortest_15":"NO93…
  • positive/35-object_or_list
    expected output {"keys_empty_object":{},"keys_numeric_keys_unchanged":{"1":"a","20":"b"},"list_length_exact_zero":[],"list_length_max_only":[],"list_length_min_zero":[],"unique_empty_list":[],"unique_with_key_empty_list":[],"values_empty_object":{},"values_required_empty_object":…
  • positive/36-url
    expected no errors, got {"ipv4_port_one_digit":"WRONG_URL","port_one_digit":"WRONG_URL","port_one_digit_path":"WRONG_URL"}
  • negative/01-boolean
    expected errors {"capitalized_true":"NOT_BOOLEAN","decimal_string":"NOT_BOOLEAN","fraction_number":"NOT_BOOLEAN","minus_one_number":"NOT_BOOLEAN","null_string":"NOT_BOOLEAN","on_string":"NOT_BOOLEAN","one_with_space":"NOT_BOOLEAN","required_missing":"REQUIRED","space_string":"NOT…
  • negative/02-not_one_of
    expected errors {"argument_trailing_zero":"NOT_ALLOWED_VALUE","big_integer_vs_string":"NOT_ALLOWED_VALUE","exponent_vs_string":"NOT_ALLOWED_VALUE","false_vs_string":"NOT_ALLOWED_VALUE","fraction_vs_string":"NOT_ALLOWED_VALUE","minus_zero_vs_string":"NOT_ALLOWED_VALUE","negative_f…
  • negative/03-max_decimals
    expected errors {"boolean":"NOT_NUMBER","comma_decimal":"NOT_NUMBER","exponent_string":"NOT_NUMBER","fraction_number":"TOO_MANY_DECIMALS","long_string_decimals":"TOO_MANY_DECIMALS","negative":"TOO_MANY_DECIMALS","negative_two_decimals":"TOO_MANY_DECIMALS","non_ascii_digits":"NOT_…
  • negative/04-digits
    expected errors {"boolean":"NOT_DIGITS","decimal_number":"NOT_DIGITS","decimal_string":"NOT_DIGITS","devanagari_digits":"NOT_DIGITS","fraction":"NOT_DIGITS","fullwidth_digits":"NOT_DIGITS","inner_space":"NOT_DIGITS","leading_newline":"NOT_DIGITS","leading_space":"NOT_DIGITS","min…
  • negative/05-starts_with
    expected errors {"boolean":"WRONG_FORMAT","exponent":"WRONG_FORMAT","fraction_without_leading_zero":"WRONG_FORMAT","leading_space":"WRONG_FORMAT","minus_zero":"WRONG_FORMAT","number":"WRONG_FORMAT","number_argument":"WRONG_FORMAT","number_string_form":"WRONG_FORMAT","other_scheme…
  • negative/06-ends_with
    expected errors {"boolean":"WRONG_FORMAT","exponent":"WRONG_FORMAT","image":"WRONG_FORMAT","number_string_form":"WRONG_FORMAT","one_point_zero":"WRONG_FORMAT","other_extension":"WRONG_FORMAT","suffix_in_the_middle":"WRONG_FORMAT","trailing_newline":"WRONG_FORMAT","trailing_space"…
  • negative/07-contains
    expected errors {"boolean":"WRONG_FORMAT","case_sensitive":"WRONG_FORMAT","exponent":"WRONG_FORMAT","minus_zero":"WRONG_FORMAT","missing_at":"WRONG_FORMAT","none_of_several":"WRONG_FORMAT","number":"WRONG_FORMAT","one_point_zero":"WRONG_FORMAT","value_is_array":"FORMAT_ERROR","va…
  • negative/08-iso_date
    expected errors {"arabic_indic_digits":"WRONG_DATE","arabic_indic_digits_with_bounds":"WRONG_DATE","boolean_value":"WRONG_DATE","bounds_given_datetime":"WRONG_DATE","bounds_given_datetime_date_part_valid":"WRONG_DATE","bounds_leading_space":"WRONG_DATE","bounds_trailing_newline":…
  • negative/09-iso_datetime
    expected errors {"after_last_year_in_utc":"WRONG_DATETIME","after_last_year_in_utc_with_max":"WRONG_DATETIME","arabic_indic_digit_in_time":"WRONG_DATETIME","arabic_indic_digits":"WRONG_DATETIME","arabic_indic_fraction":"WRONG_DATETIME","before_first_year_in_utc":"WRONG_DATETIME",…
  • negative/10-iso_time
    expected errors {"arabic_indic_digit_in_minutes":"WRONG_TIME","arabic_indic_digits":"WRONG_TIME","arabic_indic_digits_with_bounds":"WRONG_TIME","arabic_indic_fraction":"WRONG_TIME","boolean":"WRONG_TIME","boolean_false_empty_options":"WRONG_TIME","boolean_with_bounds":"WRONG_TIME…
  • negative/11-required_if
    expected validation to fail, got output {"account":{"role":"user"},"address":{"country":"UA"},"category_account":{"category":"company"},"codes_padded_key":{"01":"UA"},"contacts":[{"type":"phone"},{"type":"email"},{"type":"email"}],"count":true,"country":"UA","email_null":null,"it…
  • negative/12-when
    expected errors {"buyer_ua_vat":"REQUIRED","buyer_vat":"NOT_ALLOWED_VALUE","cond_empty_ref":"REQUIRED","cond_false_error":"WRONG_EMAIL","cond_missing_ref":"REQUIRED","cond_true_error":"NOT_POSITIVE_INTEGER","contact_bad_email":{"email":"WRONG_EMAIL"},"contact_empty_values":{"emai…
  • negative/13-values
    expected errors {"lists":{"a":["<null>","NOT_POSITIVE_INTEGER"],"b":"FORMAT_ERROR"},"nested_objects":{"u2":{"name":"REQUIRED"}},"null_inside":{"a":"REQUIRED"},"prototype_keys":{"__proto__":"NOT_POSITIVE_INTEGER","hasOwnProperty":"REQUIRED"},"several_failing":{"a":"NOT_POSITIVE_IN…
  • negative/14-keys
    expected errors {"empty_key":{"":"WRONG_KEY"},"keys_before_values":{"fr":"WRONG_KEY"},"like_keys":{"firstName":"WRONG_KEY"},"translations":{"fr":"WRONG_KEY"},"value_is_array":"FORMAT_ERROR","value_is_number":"FORMAT_ERROR","value_is_string":"FORMAT_ERROR","values_after_keys":{"en…
  • negative/15-any
    expected errors {"empty_kept_for_next_rule":"REQUIRED","list_to_list_of":["<null>","NOT_POSITIVE_INTEGER"],"null_kept_for_next_rule":"REQUIRED","object_to_nested_object":{"a":"REQUIRED"},"object_to_string":"FORMAT_ERROR","required_empty":"REQUIRED","required_missing":"REQUIRED","…
  • negative/16-list_length
    expected errors {"exact_zero":"TOO_MANY_ITEMS","items_max":"TOO_MANY_ITEMS","min_and_max_object_high":"TOO_MANY_ITEMS","min_and_max_object_low":"TOO_FEW_ITEMS","pair_in_list":"TOO_MANY_ITEMS","pair_one":"TOO_FEW_ITEMS","pair_three":"TOO_MANY_ITEMS","string_argument":"TOO_FEW_ITEM…
  • negative/17-unique
    expected errors {"addresses":"NOT_UNIQUE_ITEMS","composite_number_and_string":"NOT_UNIQUE_ITEMS","exponent_and_string":"NOT_UNIQUE_ITEMS","item_is_list":"FORMAT_ERROR","item_is_list_with_keys":"FORMAT_ERROR","item_is_object":"FORMAT_ERROR","item_is_primitive_with_keys":"FORMAT_ER…
  • negative/18-split
    expected errors {"empty_kept":"REQUIRED","ids_empty_part":["<null>","REQUIRED","<null>"],"ids_list_kept":["<null>","NOT_POSITIVE_INTEGER"],"ids_list_not_split":["NOT_POSITIVE_INTEGER"],"ids_trailing_separator":["<null>","<null>","REQUIRED"],"ids_wrong_item":["<null>","NOT_POSITIV…
  • negative/19-uuid
    expected errors {"all_versions_given_nil":"WRONG_UUID","almost_max":"WRONG_UUID","almost_nil":"WRONG_UUID","arabic_indic_digit":"WRONG_UUID","arabic_indic_version_digit":"WRONG_UUID","big_integer":"WRONG_UUID","boolean_false":"WRONG_UUID","boolean_true":"WRONG_UUID","braces":"WRO…
  • negative/20-ip
    expected errors {"boolean_false":"WRONG_IP","boolean_true":"WRONG_IP","exponent_number":"WRONG_IP","fraction_number":"WRONG_IP","ipv4_arabic_indic_digit_in_octet":"WRONG_IP","ipv4_arabic_indic_digits":"WRONG_IP","ipv4_double_zero":"WRONG_IP","ipv4_empty_part":"WRONG_IP","ipv4_fiv…
  • negative/21-cidr
    expected errors {"arabic_indic_address":"WRONG_CIDR","arabic_indic_prefix":"WRONG_CIDR","boolean_false":"WRONG_CIDR","boolean_true":"WRONG_CIDR","fraction_number":"WRONG_CIDR","fullwidth_prefix":"WRONG_CIDR","ipv4_leading_zero":"WRONG_CIDR","ipv4_prefix_33":"WRONG_CIDR","ipv4_pre…
  • negative/22-hostname
    expected errors {"all_digit_last_label":"WRONG_HOSTNAME","all_digit_single_label":"WRONG_HOSTNAME","arabic_indic_digits":"WRONG_HOSTNAME","big_integer":"WRONG_HOSTNAME","boolean_false":"WRONG_HOSTNAME","boolean_true":"WRONG_HOSTNAME","empty_label":"WRONG_HOSTNAME","exponent_numbe…
  • negative/23-base64
    expected errors {"arabic_indic_digits":"WRONG_BASE64","boolean_false":"WRONG_BASE64","boolean_true":"WRONG_BASE64","fraction_number":"WRONG_BASE64","fullwidth_letters":"WRONG_BASE64","number":"WRONG_BASE64","standard_extra_padding":"WRONG_BASE64","standard_line_break":"WRONG_BASE…
  • negative/24-hex
    expected errors {"arabic_indic_digits":"WRONG_HEX","boolean":"WRONG_HEX","boolean_false":"WRONG_HEX","dash":"WRONG_HEX","decimal_number":"WRONG_HEX","fraction_number":"WRONG_HEX","fullwidth_letters":"WRONG_HEX","g_letter":"WRONG_HEX","hash_sign":"WRONG_HEX","negative_fraction_num…
  • negative/25-digest
    expected errors {"all_algorithms_odd_length":"WRONG_DIGEST","boolean_false":"WRONG_DIGEST","boolean_true":"WRONG_DIGEST","md5_arabic_indic_digit":"WRONG_DIGEST","md5_fullwidth_letter":"WRONG_DIGEST","md5_given_sha1":"WRONG_DIGEST","md5_not_hex":"WRONG_DIGEST","md5_or_sha256_given…
  • negative/26-mongo_id
    expected errors {"arabic_indic_digit":"WRONG_MONGO_ID","boolean_false":"WRONG_MONGO_ID","boolean_true":"WRONG_MONGO_ID","fullwidth_letter":"WRONG_MONGO_ID","not_hex":"WRONG_MONGO_ID","number":"WRONG_MONGO_ID","object_id_call":"WRONG_MONGO_ID","too_long":"WRONG_MONGO_ID","too_shor…
  • negative/27-hex_color
    expected errors {"arabic_indic_digits":"WRONG_HEX_COLOR","boolean_false":"WRONG_HEX_COLOR","boolean_true":"WRONG_HEX_COLOR","color_name":"WRONG_HEX_COLOR","double_hash":"WRONG_HEX_COLOR","five":"WRONG_HEX_COLOR","fullwidth_letters":"WRONG_HEX_COLOR","leading_space":"WRONG_HEX_COL…
  • negative/28-mac
    expected errors {"arabic_indic_digit":"WRONG_MAC","big_integer":"WRONG_MAC","boolean_true":"WRONG_MAC","dots":"WRONG_MAC","eui64_boolean_false":"WRONG_MAC","eui64_given_mac48":"WRONG_MAC","eui64_mixed_separators":"WRONG_MAC","eui64_nine_pairs":"WRONG_MAC","eui64_seven_pairs":"WRO…
  • negative/29-e164
    expected errors {"arabic_indic_digits":"WRONG_E164","boolean_false":"WRONG_E164","boolean_true":"WRONG_E164","dashes":"WRONG_E164","double_plus":"WRONG_E164","fullwidth_digit":"WRONG_E164","fullwidth_plus":"WRONG_E164","international_prefix":"WRONG_E164","leading_newline":"WRONG_…
  • negative/30-semver
    expected errors {"arabic_indic_build":"WRONG_SEMVER","arabic_indic_digits":"WRONG_SEMVER","arabic_indic_major":"WRONG_SEMVER","arabic_indic_pre_release":"WRONG_SEMVER","boolean_false":"WRONG_SEMVER","boolean_true":"WRONG_SEMVER","fullwidth_minor":"WRONG_SEMVER","leading_newline":…
  • negative/31-jwt
    expected errors {"arabic_indic_digit_in_signature":"WRONG_JWT","bearer_prefix":"WRONG_JWT","boolean":"WRONG_JWT","boolean_false":"WRONG_JWT","dots_only":"WRONG_JWT","empty_header":"WRONG_JWT","empty_payload_segment":"WRONG_JWT","four_segments":"WRONG_JWT","jwe":"WRONG_JWT","leadi…
  • negative/32-luhn
    expected errors {"arabic_indic_digit_mixed":"WRONG_CHECKSUM","boolean_false":"WRONG_CHECKSUM","boolean_true":"WRONG_CHECKSUM","dashes":"WRONG_CHECKSUM","fraction_number":"WRONG_CHECKSUM","fullwidth_digits":"WRONG_CHECKSUM","leading_space":"WRONG_CHECKSUM","letter":"WRONG_CHECKSUM…
  • negative/33-credit_card
    expected errors {"arabic_indic_digits":"WRONG_CREDIT_CARD_NUMBER","boolean_false":"WRONG_CREDIT_CARD_NUMBER","boolean_true":"WRONG_CREDIT_CARD_NUMBER","dashes":"WRONG_CREDIT_CARD_NUMBER","eleven_digits":"WRONG_CREDIT_CARD_NUMBER","fraction_number":"WRONG_CREDIT_CARD_NUMBER","full…
  • negative/34-iban
    expected errors {"arabic_indic_check_digits":"WRONG_IBAN","boolean_false":"WRONG_IBAN","boolean_true":"WRONG_IBAN","dash":"WRONG_IBAN","digits_in_country":"WRONG_IBAN","fullwidth_letters":"WRONG_IBAN","leading_newline":"WRONG_IBAN","letter_in_check_digits":"WRONG_IBAN","lowercase…
  • negative/35-object_or_list
    expected errors {"keys_empty_list":"FORMAT_ERROR","keys_numeric_keys":{"0":"WRONG_KEY","a":"WRONG_KEY"},"list_length_empty_list":"TOO_FEW_ITEMS","list_length_empty_object":"FORMAT_ERROR","list_length_min_empty_list":"TOO_FEW_ITEMS","required_if_digit_key_note":"REQUIRED","unique_…
  • negative/36-url
    expected errors {"google_dot":"WRONG_URL","ipv4_trailing_dot":"WRONG_URL","label_64":"WRONG_URL","port_65536":"WRONG_URL","port_99999":"WRONG_URL","port_six_digits":"WRONG_URL","tld_64":"WRONG_URL","trailing_dot":"WRONG_URL","trailing_dot_path":"WRONG_URL","trailing_dot_port":"WR…
  • aliases_positive/02-contact
    expected output {"contact1":{"email":"user@example.com"},"contact2":{"phone":"+15550100123"},"contact3":{"email":"user@example.com","phone":"+15550100123"}}, got {"contact1":{"email":"user@example.com"},"contact2":{"extra":true,"phone":"+15550100123"},"contact3":{"email":"user@ex…
  • aliases_positive/03-coordinates
    expected no errors, got {"path":"FORMAT_ERROR"}
  • aliases_positive/05-when_aliases
    expected output {"data":{"iban":"GB82WEST12345698765432"},"either":"ABC","items":["abc"],"labels":{"a":"abc","mode":"upper"},"mode":"upper","pay_type":"bank","person":{"type":"person"},"sections":[{"mode":"lower","title":"abc"},{"mode":"upper","title":"ABC"}],"subtitle":"ABC","ti…
  • aliases_positive/06-equal_to_field_alias
    expected no errors, got {"account":{"password2":"FIELDS_NOT_EQUAL"},"password2":"FIELDS_NOT_EQUAL","password3":"PASSWORDS_DIFFER","users":[{"password2":"PASSWORDS_DIFFER"},{"password2":"PASSWORDS_DIFFER"}]}
  • aliases_negative/02-contact
    expected validation to fail, got output {"contact1":{},"contact2":{"email":"user@example.com","phone":"555-0100"},"contact3":{"email":"","phone":null}}
  • aliases_negative/03-coordinates
    expected errors {"path":["<null>",["<null>","REQUIRED"],"FORMAT_ERROR"],"place1":{"lat":"TOO_HIGH"},"place2":{"lat":"REQUIRED","lng":"TOO_LOW"},"places":["<null>","FORMAT_ERROR"],"point1":"TOO_FEW_ITEMS","point2":"TOO_MANY_ITEMS","point3":["<null>","NOT_DECIMAL"]}, got {"path":[[…
  • aliases_negative/04-vat_required_if
    expected errors {"bad_strict_vat_number":"WRONG_FORMAT","company":{"vat_number":"REQUIRED"},"members":[{"vat_number":"VAT_REQUIRED"},"<null>",{"vat_number":"VAT_REQUIRED"}],"person":{"vat_number":"REQUIRED"},"strict_vat_number":"REQUIRED","vat_number":"REQUIRED"}, got {"bad_stric…
  • aliases_negative/05-when_aliases
    expected validation to fail, got output {"data":{"number":"4111111111111112"},"orders":[{"data":{"number":"4111111111111111"}},{"data":""}],"pay_type":"card","payments":[{"number":"4111111111111111"}],"person":{"type":"person","vat_number":"UA12345678"},"type":"company"}
  • aliases_negative/06-equal_to_field_alias
    expected errors {"account":{"password2":"FIELDS_NOT_EQUAL"},"alias_copies":["PASSWORDS_DIFFER"],"copies":["FIELDS_NOT_EQUAL","<null>"],"either":"FIELDS_NOT_EQUAL","password2":"FIELDS_NOT_EQUAL","password3":"PASSWORDS_DIFFER","password4":"REQUIRED","users":["<null>",{"password2":"…
179 failing 2.5 schema error cases
Lua0.5.161 / 683 / 80149 / 175

Installed with the optional lrexlib-pcre2 and luautf8 rocks, which the `like` rule and Unicode-aware to_lc/to_uc need.

7 failing cases
  • positive/16-email
    expected no errors, got {"email10":"WRONG_EMAIL","email20":"WRONG_EMAIL","email8":"WRONG_EMAIL","email25":"WRONG_EMAIL","email22":"WRONG_EMAIL","email21":"WRONG_EMAIL","email26":"WRONG_EMAIL","email7":"WRONG_EMAIL","email12":"WRONG_EMAIL","email11":"WRONG_EMAIL","email13":"WRONG_…
  • negative/08-like
    expected errors {"value_is_hash":"FORMAT_ERROR","zip_text_before_newline":"WRONG_FORMAT","code_trailing_newline":"WRONG_FORMAT","zip_trailing_newline":"WRONG_FORMAT","first_name":"WRONG_FORMAT","middle_name":"WRONG_FORMAT","last_name":"WRONG_FORMAT","value_is_empty_array":"FORMAT…
  • negative/16-email
    expected errors {"email10":"WRONG_EMAIL","email17":"WRONG_EMAIL","value_is_empty_array":"FORMAT_ERROR","email1":"WRONG_EMAIL","email24":"WRONG_EMAIL","value_is_empty_hash":"FORMAT_ERROR","email25":"WRONG_EMAIL","value_is_array":"FORMAT_ERROR","value_is_hash":"FORMAT_ERROR","email…
  • negative/19-list_of
    expected errors {"product_ids1":["NOT_POSITIVE_INTEGER","REQUIRED",null,"TOO_HIGH"],"user_ids":"FORMAT_ERROR","object_value":"FORMAT_ERROR","product_ids3":["NOT_POSITIVE_INTEGER"],"product_ids2":["NOT_POSITIVE_INTEGER","REQUIRED",null,"TOO_HIGH"]}, got {"product_ids3":["NOT_POSIT…
  • negative/20-list_of_objects
    expected errors {"products":[{"product_id":"NOT_POSITIVE_INTEGER","quantity":"REQUIRED"},null,{"product_id":"NOT_POSITIVE_INTEGER"},"FORMAT_ERROR"],"users":"FORMAT_ERROR","object_value":"FORMAT_ERROR"}, got {"users":"FORMAT_ERROR","products":[{"product_id":"NOT_POSITIVE_INTEGER",…
  • negative/21-list_of_different_objects
    expected errors {"only_wrong_items":["FORMAT_ERROR","FORMAT_ERROR","FORMAT_ERROR","FORMAT_ERROR","FORMAT_ERROR"],"selector_is_not_string":["FORMAT_ERROR","FORMAT_ERROR"],"selector_is_builtin_property":["FORMAT_ERROR","FORMAT_ERROR","FORMAT_ERROR","FORMAT_ERROR"],"object_value":"F…
  • negative/29-or
    expected errors {"id4-2":"REQUIRED","products":[{"product_type":"NOT_ALLOWED_VALUE","name":"REQUIRED"},{"name":"REQUIRED"}],"id2-1":"NOT_POSITIVE_INTEGER","id1-1":"NOT_POSITIVE_INTEGER","id4-1":"CANNOT_BE_EMPTY","id3-1":"WRONG_EMAIL"}, got {"id2-1":"NOT_POSITIVE_INTEGER","id3-1":…
77 failing 2.5 cases
  • positive/01-boolean
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [boolean] not registered
  • positive/02-not_one_of
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [not_one_of] not registered
  • positive/03-max_decimals
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [max_decimals] not registered
  • positive/04-digits
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [digits] not registered
  • positive/05-starts_with
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [starts_with] not registered
  • positive/06-ends_with
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [ends_with] not registered
  • positive/07-contains
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [contains] not registered
  • positive/08-iso_date
    expected output {"plain_form":"2026-10-29","min_today":"2026-10-18","season_start":"2026-06-01","null_argument":"2026-01-01","max_today":"2026-10-18","min_today_future":"2030-01-01","season_end":"2026-08-31","same_min_and_max":"2024-02-29","empty_options":"2026-10-29","min_tomorr…
  • positive/09-iso_datetime
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [iso_datetime] not registered
  • positive/10-iso_time
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [iso_time] not registered
  • positive/11-required_if
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [values] not registered
  • positive/12-when
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [when] not registered
  • positive/13-values
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [values] not registered
  • positive/14-keys
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [keys] not registered
  • positive/15-any
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [any] not registered
  • positive/17-unique
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [unique] not registered
  • positive/18-split
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [split] not registered
  • positive/19-uuid
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [uuid] not registered
  • positive/20-ip
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [ip] not registered
  • positive/21-cidr
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [cidr] not registered
  • positive/22-hostname
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [hostname] not registered
  • positive/23-base64
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [base64] not registered
  • positive/24-hex
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [hex] not registered
  • positive/25-digest
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [digest] not registered
  • positive/26-mongo_id
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [mongo_id] not registered
  • positive/27-hex_color
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [hex_color] not registered
  • positive/28-mac
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [mac] not registered
  • positive/29-e164
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [e164] not registered
  • positive/30-semver
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [semver] not registered
  • positive/31-jwt
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [jwt] not registered
  • positive/32-luhn
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [luhn] not registered
  • positive/33-credit_card
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [credit_card] not registered
  • positive/34-iban
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [iban] not registered
  • negative/01-boolean
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [boolean] not registered
  • negative/02-not_one_of
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [not_one_of] not registered
  • negative/03-max_decimals
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [max_decimals] not registered
  • negative/04-digits
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [digits] not registered
  • negative/05-starts_with
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [starts_with] not registered
  • negative/06-ends_with
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [ends_with] not registered
  • negative/07-contains
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [contains] not registered
  • negative/08-iso_date
    expected errors {"fullwidth_digits":"WRONG_DATE","bounds_given_datetime":"WRONG_DATE","arabic_indic_digits":"WRONG_DATE","max_date":"DATE_TOO_LATE","plain_form_number":"WRONG_DATE","season_after":"DATE_TOO_LATE","empty_options_day_00":"WRONG_DATE","empty_options_slashes":"WRONG_D…
  • negative/09-iso_datetime
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [iso_datetime] not registered
  • negative/10-iso_time
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [iso_time] not registered
  • negative/11-required_if
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [required_if] not registered
  • negative/12-when
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [when] not registered
  • negative/14-keys
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [keys] not registered
  • negative/15-any
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [any] not registered
  • negative/16-list_length
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [list_length] not registered
  • negative/17-unique
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [unique] not registered
  • negative/18-split
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [split] not registered
  • negative/19-uuid
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [uuid] not registered
  • negative/20-ip
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [ip] not registered
  • negative/21-cidr
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [cidr] not registered
  • negative/22-hostname
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [hostname] not registered
  • negative/23-base64
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [base64] not registered
  • negative/24-hex
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [hex] not registered
  • negative/25-digest
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [digest] not registered
  • negative/26-mongo_id
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [mongo_id] not registered
  • negative/27-hex_color
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [hex_color] not registered
  • negative/28-mac
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [mac] not registered
  • negative/29-e164
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [e164] not registered
  • negative/30-semver
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [semver] not registered
  • negative/31-jwt
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [jwt] not registered
  • negative/32-luhn
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [luhn] not registered
  • negative/33-credit_card
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [credit_card] not registered
  • negative/34-iban
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [iban] not registered
  • negative/36-url
    expected errors {"port_99999":"WRONG_URL","port_65536":"WRONG_URL","google_dot":"WRONG_URL","trailing_dot_port":"WRONG_URL","tld_64":"WRONG_URL","port_six_digits":"WRONG_URL","trailing_dot_path":"WRONG_URL","ipv4_trailing_dot":"WRONG_URL","trailing_dot":"WRONG_URL","trailing_dot_…
  • aliases_positive/02-contact
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [when] not registered
  • aliases_positive/03-coordinates
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [list_length] not registered
  • aliases_positive/04-vat_required_if
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [required_if] not registered
  • aliases_positive/05-when_aliases
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [when] not registered
  • aliases_positive/06-equal_to_field_alias
    expected no errors, got {"either_alias":"PASSWORDS_DIFFER","account":{"password2":"FIELDS_NOT_EQUAL"},"password2":"FIELDS_NOT_EQUAL","users":[{"password2":"PASSWORDS_DIFFER"},{"password2":"PASSWORDS_DIFFER"}],"password3":"PASSWORDS_DIFFER","either":"FIELDS_NOT_EQUAL"}
  • aliases_negative/02-contact
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [when] not registered
  • aliases_negative/03-coordinates
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [list_length] not registered
  • aliases_negative/04-vat_required_if
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [required_if] not registered
  • aliases_negative/05-when_aliases
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [when] not registered
  • aliases_negative/06-equal_to_field_alias
    exception: /usr/local/share/lua/5.4/LIVR/Validator.lua:166: Rule [values] not registered
26 failing 2.5 schema error cases
2 cases not counted
  • negative/22-not_empty_list
    Lua decodes {} and [] to the same empty table, so an empty object can't be told apart from an empty list. lua-LIVR's own copy of the test suite adjusts this case.
  • negative/27-any_object
    Lua decodes {} and [] to the same empty table, so an empty object can't be told apart from an empty list. lua-LIVR's own copy of the test suite adjusts this case.
Erlang · Olifer2.0.2@dafdf9c61 / 702 / 845 / 179

Not published on hex; built from the repository.

9 failing cases
  • positive/11-decimal
    expected no errors, got {"negative_integer":"NOT_DECIMAL","zero":"NOT_DECIMAL","null_value":"FORMAT_ERROR"}
  • positive/12-positive_decimal
    expected no errors, got {"integer_number":"NOT_POSITIVE_DECIMAL"}
  • positive/16-email
    expected no errors, got {"null_value":"FORMAT_ERROR"}
  • positive/18-nested_object
    expected no errors, got {"null_value":"FORMAT_ERROR"}
  • positive/26-string
    expected no errors, got {"null_value":"FORMAT_ERROR"}
  • positive/29-or
    expected output {"id1-1":"User@mail.com","id1-2":123,"id2-1":"user@mail.com","id2-2":"123","id3-1":"user@mail.com","id3-2":"UserUserUser@mail.com","id4-1":"","products":[{"product_type":"material","material_id":123,"quantity":10,"warehouse_id":321},{"product_type":"service","name…
  • negative/19-list_of
    expected errors {"product_ids1":["NOT_POSITIVE_INTEGER","REQUIRED",null,"TOO_HIGH"],"product_ids2":["NOT_POSITIVE_INTEGER","REQUIRED",null,"TOO_HIGH"],"product_ids3":["NOT_POSITIVE_INTEGER",null,null,null],"user_ids":"FORMAT_ERROR","object_value":"FORMAT_ERROR"}, got {"product_id…
  • negative/20-list_of_objects
    expected errors {"products":[{"product_id":"NOT_POSITIVE_INTEGER","quantity":"REQUIRED"},null,{"product_id":"NOT_POSITIVE_INTEGER"},"FORMAT_ERROR"],"users":"FORMAT_ERROR","object_value":"FORMAT_ERROR"}, got {"products":[{"product_id":"NOT_POSITIVE_INTEGER","quantity":"REQUIRED"},…
  • negative/21-list_of_different_objects
    expected errors {"order_id":"NOT_POSITIVE_INTEGER","products":[{"material_id":"NOT_POSITIVE_INTEGER","quantity":"REQUIRED"},{"warehouse_id":"NOT_POSITIVE_INTEGER"},{"name":"TOO_LONG"},"FORMAT_ERROR","FORMAT_ERROR"],"only_wrong_items":["FORMAT_ERROR","FORMAT_ERROR","FORMAT_ERROR",…
82 failing 2.5 cases
  • positive/01-boolean
    exception: error:{case_clause,{<<"0">>,<<"0">>,<<"Rule 'boolean' not_registered">>,false}}
  • positive/02-not_one_of
    exception: error:{case_clause,{null,null,<<"Rule 'not_one_of' not_registered">>,false}}
  • positive/03-max_decimals
    exception: error:{case_clause,{null,null,<<"Rule 'max_decimals' not_registered">>,false}}
  • positive/04-digits
    exception: error:{case_clause,{123456,123456,<<"Rule 'digits' not_registered">>,false}}
  • positive/05-starts_with
    exception: error:{case_clause,{null,null,<<"Rule 'starts_with' not_registered">>,false}}
  • positive/06-ends_with
    exception: error:{case_clause,{null,null,<<"Rule 'ends_with' not_registered">>,false}}
  • positive/07-contains
    exception: error:{case_clause,{null,null,<<"Rule 'contains' not_registered">>,false}}
  • positive/08-iso_date
    expected no errors, got {"empty_options":"FORMAT_ERROR","empty_options_leap_day":"FORMAT_ERROR","empty_options_leap_century":"FORMAT_ERROR","options_in_argument_list":"FORMAT_ERROR","empty_options_in_argument_list":"FORMAT_ERROR","min_date_equal":"FORMAT_ERROR","max_date_equal":"…
  • positive/09-iso_datetime
    exception: error:{case_clause,{null,null,<<"Rule 'iso_datetime' not_registered">>,false}}
  • positive/10-iso_time
    exception: error:{case_clause,{null,null,<<"Rule 'iso_time' not_registered">>,false}}
  • positive/11-required_if
    exception: error:{case_clause,{[{<<>>,1}],[{<<>>,1}],<<"Rule 'keys' not_registered">>,false}}
  • positive/12-when
    exception: error:{case_clause,{[{<<"a">>,1}],[{<<"a">>,1}],<<"Rule 'keys' not_registered">>,false}}
  • positive/13-values
    exception: error:{case_clause,{null,null,<<"Rule 'values' not_registered">>,false}}
  • positive/14-keys
    exception: error:{case_clause,{null,null,<<"Rule 'keys' not_registered">>,false}}
  • positive/15-any
    exception: error:{case_clause,{[{<<"x">>,1}],[{<<"x">>,1}],<<"Rule 'any' not_registered">>,false}}
  • positive/16-list_length
    exception: error:{case_clause,{null,null,<<"Rule 'list_length' not_registered">>,false}}
  • positive/17-unique
    exception: error:{case_clause,{[[{<<"id">>,true}],[{<<"id">>,1}]],[[{<<"id">>,true}],[{<<"id">>,1}]],<<"Rule 'unique' not_registered">>,false}}
  • positive/18-split
    exception: error:{case_clause,{null,null,<<"Rule 'split' not_registered">>,false}}
  • positive/19-uuid
    exception: error:{case_clause,{<<"1ec9414c-232a-6b00-b3c8-9f6bdeced846">>,<<"1ec9414c-232a-6b00-b3c8-9f6bdeced846">>,<<"Rule 'uuid' not_registered">>,false}}
  • positive/20-ip
    exception: error:{case_clause,{<<"::ffff:192.0.2.1">>,<<"::ffff:192.0.2.1">>,<<"Rule 'ip' not_registered">>,false}}
  • positive/21-cidr
    exception: error:{case_clause,{<<"2001:db8::/100">>,<<"2001:db8::/100">>,<<"Rule 'cidr' not_registered">>,false}}
  • positive/22-hostname
    exception: error:{case_clause,{<<"a">>,<<"a">>,<<"Rule 'hostname' not_registered">>,false}}
  • positive/23-base64
    exception: error:{case_clause,{123,123,<<"Rule 'base64' not_registered">>,false}}
  • positive/24-hex
    exception: error:{case_clause,{<<"0123456789abcdefABCDEF">>,<<"0123456789abcdefABCDEF">>,<<"Rule 'hex' not_registered">>,false}}
  • positive/25-digest
    exception: error:{case_clause,{null,null,<<"Rule 'digest' not_registered">>,false}}
  • positive/26-mongo_id
    exception: error:{case_clause,{<<"000000000000000000000000">>,<<"000000000000000000000000">>,<<"Rule 'mongo_id' not_registered">>,false}}
  • positive/27-hex_color
    exception: error:{case_clause,{<<"#a1b2c3">>,<<"#a1b2c3">>,<<"Rule 'hex_color' not_registered">>,false}}
  • positive/28-mac
    exception: error:{case_clause,{<<"00-1a-2b-3c-4d-5e">>,<<"00-1a-2b-3c-4d-5e">>,<<"Rule 'mac' not_registered">>,false}}
  • positive/29-e164
    exception: error:{case_clause,{<<"+123456789012345">>,<<"+123456789012345">>,<<"Rule 'e164' not_registered">>,false}}
  • positive/30-semver
    exception: error:{case_clause,{<<"10.20.30">>,<<"10.20.30">>,<<"Rule 'semver' not_registered">>,false}}
  • positive/31-jwt
    expected no errors, got {"hs256":"Rule 'jwt' not_registered","rs256":"Rule 'jwt' not_registered","es256":"Rule 'jwt' not_registered","empty_payload":"Rule 'jwt' not_registered","utf8_payload":"Rule 'jwt' not_registered","unsecured_jwt_alg_none":"Rule 'jwt' not_registered","short_…
  • positive/32-luhn
    exception: error:{case_clause,{<<"18">>,<<"18">>,<<"Rule 'luhn' not_registered">>,false}}
  • positive/33-credit_card
    exception: error:{case_clause,{<<"378282246310005">>,<<"378282246310005">>,<<"Rule 'credit_card' not_registered">>,false}}
  • positive/34-iban
    exception: error:{case_clause,{<<"GB82WEST12345698765432">>,<<"GB82WEST12345698765432">>,<<"Rule 'iban' not_registered">>,false}}
  • positive/35-object_or_list
    exception: error:{case_clause,{[{<<"1">>,<<"a">>},{<<"20">>,<<"b">>}],[{<<"1">>,<<"a">>},{<<"20">>,<<"b">>}],<<"Rule 'keys' not_registered">>,false}}
  • positive/36-url
    expected no errors, got {"port_one_digit":"WRONG_URL","port_one_digit_path":"WRONG_URL","ipv4_port_one_digit":"WRONG_URL"}
  • negative/01-boolean
    expected errors {"capitalized_true":"NOT_BOOLEAN","uppercase_false":"NOT_BOOLEAN","yes_string":"NOT_BOOLEAN","on_string":"NOT_BOOLEAN","two_number":"NOT_BOOLEAN","minus_one_number":"NOT_BOOLEAN","decimal_string":"NOT_BOOLEAN","one_with_space":"NOT_BOOLEAN","true_with_space":"NOT_…
  • negative/02-not_one_of
    exception: error:{case_clause,{[],[],<<"Rule 'not_one_of' not_registered">>,false}}
  • negative/03-max_decimals
    exception: error:{case_clause,{[],[],<<"Rule 'max_decimals' not_registered">>,false}}
  • negative/04-digits
    exception: error:{case_clause,{<<"12345a">>,<<"12345a">>,<<"Rule 'digits' not_registered">>,false}}
  • negative/05-starts_with
    exception: error:{case_clause,{[],[],<<"Rule 'starts_with' not_registered">>,false}}
  • negative/06-ends_with
    exception: error:{case_clause,{[],[],<<"Rule 'ends_with' not_registered">>,false}}
  • negative/07-contains
    exception: error:{case_clause,{[],[],<<"Rule 'contains' not_registered">>,false}}
  • negative/08-iso_date
    expected errors {"plain_form_datetime":"WRONG_DATE","empty_options_given_datetime":"WRONG_DATE","bounds_given_datetime":"WRONG_DATE","bounds_given_datetime_date_part_valid":"WRONG_DATE","empty_options_invalid_date":"WRONG_DATE","empty_options_not_leap_century":"WRONG_DATE","empty…
  • negative/09-iso_datetime
    exception: error:{case_clause,{[],[],<<"Rule 'iso_datetime' not_registered">>,false}}
  • negative/10-iso_time
    exception: error:{case_clause,{[{<<"a">>,1}],[{<<"a">>,1}],<<"Rule 'iso_time' not_registered">>,false}}
  • negative/11-required_if
    exception: error:{case_clause,{<<>>,<<>>,<<"Rule 'required_if' not_registered">>,false}}
  • negative/12-when
    exception: error:{case_clause,{<<"x">>,<<"x">>,<<"Rule 'when' not_registered">>,false}}
  • negative/13-values
    exception: error:{case_clause,{null,null,<<"Rule 'values' not_registered">>,false}}
  • negative/14-keys
    exception: error:{case_clause,{null,null,<<"Rule 'keys' not_registered">>,false}}
  • negative/15-any
    exception: error:{case_clause,{[{<<"a">>,1}],[{<<"a">>,1}],<<"Rule 'any' not_registered">>,false}}
  • negative/16-list_length
    exception: error:{case_clause,{null,null,<<"Rule 'list_length' not_registered">>,false}}
  • negative/17-unique
    exception: error:{case_clause,{[[{<<"a">>,1.0},{<<"b">>,true}],[{<<"a">>,<<"1">>},{<<"b">>,<<"true">>}]],[[{<<"a">>,1.0},{<<"b">>,true}],[{<<"a">>,<<"1">>},{<<"b">>,<<"true">>}]],<<"Rule 'unique' not_registered">>,false}}
  • negative/18-split
    exception: error:{case_clause,{<<"abc">>,<<"abc">>,<<"Rule 'split' not_registered">>,false}}
  • negative/19-uuid
    exception: error:{case_clause,{<<"f47ac10b-58cc-Ù¤372-a567-0e02b2c3d479">>,<<"f47ac10b-58cc-Ù¤372-a567-0e02b2c3d479">>,<<"Rule 'uuid' not_registered">>,false}}
  • negative/20-ip
    exception: error:{case_clause,{<<"192.0.2.1\n">>,<<"192.0.2.1\n">>,<<"Rule 'ip' not_registered">>,false}}
  • negative/21-cidr
    exception: error:{case_clause,{<<"192.0.2.0/24">>,<<"192.0.2.0/24">>,<<"Rule 'cidr' not_registered">>,false}}
  • negative/22-hostname
    exception: error:{case_clause,{false,false,<<"Rule 'hostname' not_registered">>,false}}
  • negative/23-base64
    exception: error:{case_clause,{true,true,<<"Rule 'base64' not_registered">>,false}}
  • negative/24-hex
    exception: error:{case_clause,{<<"xyz">>,<<"xyz">>,<<"Rule 'hex' not_registered">>,false}}
  • negative/25-digest
    exception: error:{case_clause,{[],[],<<"Rule 'digest' not_registered">>,false}}
  • negative/26-mongo_id
    exception: error:{case_clause,{<<"507f1f77bcf86cd79943901z">>,<<"507f1f77bcf86cd79943901z">>,<<"Rule 'mongo_id' not_registered">>,false}}
  • negative/27-hex_color
    exception: error:{case_clause,{<<"#ff">>,<<"#ff">>,<<"Rule 'hex_color' not_registered">>,false}}
  • negative/28-mac
    exception: error:{case_clause,{<<"00:1a:2b:3c:4d:5e">>,<<"00:1a:2b:3c:4d:5e">>,<<"Rule 'mac' not_registered">>,false}}
  • negative/29-e164
    exception: error:{case_clause,{<<"+1234567890123456">>,<<"+1234567890123456">>,<<"Rule 'e164' not_registered">>,false}}
  • negative/30-semver
    expected errors {"version1":"WRONG_SEMVER","version2":"WRONG_SEMVER","version3":"WRONG_SEMVER","version4":"WRONG_SEMVER","version5":"WRONG_SEMVER","version6":"WRONG_SEMVER","version7":"WRONG_SEMVER","version8":"WRONG_SEMVER","version9":"WRONG_SEMVER","version10":"WRONG_SEMVER","v…
  • negative/31-jwt
    expected errors {"one_segment":"WRONG_JWT","two_segments":"WRONG_JWT","four_segments":"WRONG_JWT","jwe":"WRONG_JWT","empty_header":"WRONG_JWT","empty_payload_segment":"WRONG_JWT","padding":"WRONG_JWT","standard_base64_alphabet":"WRONG_JWT","segment_length_mod_1":"WRONG_JWT","lead…
  • negative/32-luhn
    exception: error:{case_clause,{<<"7992 7398 713">>,<<"7992 7398 713">>,<<"Rule 'luhn' not_registered">>,false}}
  • negative/33-credit_card
    exception: error:{case_clause,{<<"50000000000000000009">>,<<"50000000000000000009">>,<<"Rule 'credit_card' not_registered">>,false}}
  • negative/34-iban
    exception: error:{case_clause,{false,false,<<"Rule 'iban' not_registered">>,false}}
  • negative/35-object_or_list
    exception: error:{case_clause,{[{<<"0">>,1},{<<"a">>,2},{<<"5">>,3}],[{<<"0">>,1},{<<"a">>,2},{<<"5">>,3}],<<"Rule 'keys' not_registered">>,false}}
  • negative/36-url
    expected errors {"google_dot":"WRONG_URL","trailing_dot":"WRONG_URL","trailing_dot_path":"WRONG_URL","trailing_dot_port":"WRONG_URL","trailing_dot_query":"WRONG_URL","ipv4_trailing_dot":"WRONG_URL","label_64":"WRONG_URL","tld_64":"WRONG_URL","port_65536":"WRONG_URL","port_99999":…
  • aliases_positive/02-contact
    exception: error:{case_clause,{<<"+15550100123">>,<<"+15550100123">>,<<"Rule 'when' not_registered">>,false}}
  • aliases_positive/03-coordinates
    exception: error:{case_clause,{[0,0],[0,0],<<"Rule 'list_length' not_registered">>,false}}
  • aliases_positive/04-vat_required_if
    exception: error:{case_clause,{<<>>,<<>>,<<"Rule 'required_if' not_registered">>,false}}
  • aliases_positive/05-when_aliases
    exception: error:{case_clause,{<<"AbC">>,<<"AbC">>,<<"Rule 'when' not_registered">>,false}}
  • aliases_positive/06-equal_to_field_alias
    expected no errors, got {"either":"FIELDS_NOT_EQUAL","either_alias":"PASSWORDS_DIFFER"}
  • aliases_negative/02-contact
    exception: error:{case_clause,{null,null,<<"Rule 'when' not_registered">>,false}}
  • aliases_negative/03-coordinates
    exception: error:{case_clause,{[0,0],[0,0],<<"Rule 'list_length' not_registered">>,false}}
  • aliases_negative/04-vat_required_if
    exception: error:{case_clause,{<<>>,<<>>,<<"Rule 'required_if' not_registered">>,false}}
  • aliases_negative/05-when_aliases
    exception: error:{case_clause,{<<>>,<<>>,<<"Rule 'when' not_registered">>,false}}
  • aliases_negative/06-equal_to_field_alias
    exception: error:{case_clause,{[{<<"password">>,<<"s3cret">>},{<<"other">>,<<"s3cret">>}],[{<<"password">>,<<"s3cret">>},{<<"other">>,<<"s3cret">>}],<<"Rule 'values' not_registered">>,false}}
174 failing 2.5 schema error cases
Erlang · Liver1.1.055 / 701 / 840 / 179

Validated with liver's `rule_set => livr_spec` mode.

liver has no API for registering data-defined rule aliases, so the alias cases fail.

15 failing cases
  • positive/11-decimal
    expected no errors, got {"negative_integer":"NOT_DECIMAL","null_value":"FORMAT_ERROR","zero":"NOT_DECIMAL"}
  • positive/12-positive_decimal
    expected no errors, got {"integer_number":"NOT_POSITIVE_DECIMAL"}
  • positive/16-email
    expected no errors, got {"null_value":"FORMAT_ERROR"}
  • positive/17-equal_to_field
    expected no errors, got {"number_as_string":"FIELDS_NOT_EQUAL"}
  • positive/18-nested_object
    expected no errors, got {"null_value":"FORMAT_ERROR"}
  • positive/26-string
    expected no errors, got {"null_value":"FORMAT_ERROR"}
  • negative/08-like
    expected errors {"age":"WRONG_FORMAT","code_trailing_newline":"WRONG_FORMAT","first_name":"WRONG_FORMAT","last_name":"WRONG_FORMAT","middle_name":"WRONG_FORMAT","value_is_array":"FORMAT_ERROR","value_is_empty_array":"FORMAT_ERROR","value_is_empty_hash":"FORMAT_ERROR","value_is_ha…
  • negative/16-email
    expected errors {"email1":"WRONG_EMAIL","email10":"WRONG_EMAIL","email11":"WRONG_EMAIL","email12":"WRONG_EMAIL","email13":"WRONG_EMAIL","email14":"WRONG_EMAIL","email15":"WRONG_EMAIL","email16":"WRONG_EMAIL","email17":"WRONG_EMAIL","email18":"WRONG_EMAIL","email19":"WRONG_EMAIL",…
  • negative/29-or
    expected errors {"id1-1":"NOT_POSITIVE_INTEGER","id2-1":"NOT_POSITIVE_INTEGER","id3-1":"WRONG_EMAIL","id4-1":"CANNOT_BE_EMPTY","id4-2":"REQUIRED","products":[{"name":"REQUIRED","product_type":"NOT_ALLOWED_VALUE"},{"name":"REQUIRED"}]}, got {"id1-1":"NOT_POSITIVE_INTEGER","id2-1":…
  • aliases_positive/01-adult_age
    liver has no API for registering aliased rules
  • aliases_positive/02-address
    liver has no API for registering aliased rules
  • aliases_positive/03-adult_age_in_user
    liver has no API for registering aliased rules
  • aliases_negative/01-adult_age
    liver has no API for registering aliased rules
  • aliases_negative/02-address
    liver has no API for registering aliased rules
  • aliases_negative/03-adult_age_in_user
    liver has no API for registering aliased rules
83 failing 2.5 cases
  • positive/01-boolean
    expected no errors, got #{<<"empty_field">> => {unimplemented_rule,boolean},<<"false_string">> => {unimplemented_rule,boolean},<<"false_value">> => {unimplemented_rule,boolean},<<"minus_zero_number">> => {unimplemented_rule,boolean},<<"null_field">> => {unimplemented_rule,boolean…
  • positive/02-not_one_of
    expected no errors, got #{<<"boolean_value">> => {unimplemented_rule,not_one_of},<<"case_sensitive">> => {unimplemented_rule,not_one_of},<<"decimal_string_vs_number">> => {unimplemented_rule,not_one_of},<<"empty_field">> => {unimplemented_rule,not_one_of},<<"exponent_vs_exponent_…
  • positive/03-max_decimals
    expected no errors, got #{<<"amount">> => {unimplemented_rule,max_decimals},<<"amount_string">> => {unimplemented_rule,max_decimals},<<"argument_in_list">> => {unimplemented_rule,max_decimals},<<"empty_field">> => {unimplemented_rule,max_decimals},<<"exponent_integer">> => {unimp…
  • positive/04-digits
    expected no errors, got #{<<"all_digits">> => {unimplemented_rule,digits},<<"big_integer">> => {unimplemented_rule,digits},<<"empty_field">> => {unimplemented_rule,digits},<<"exponent">> => {unimplemented_rule,digits},<<"hundred">> => {unimplemented_rule,digits},<<"leading_zeros"…
  • positive/05-starts_with
    expected no errors, got #{<<"big_integer">> => {unimplemented_rule,starts_with},<<"boolean">> => {unimplemented_rule,starts_with},<<"empty_field">> => {unimplemented_rule,starts_with},<<"exponent">> => {unimplemented_rule,starts_with},<<"fraction">> => {unimplemented_rule,starts_…
  • positive/06-ends_with
    expected no errors, got #{<<"big_integer">> => {unimplemented_rule,ends_with},<<"boolean">> => {unimplemented_rule,ends_with},<<"empty_field">> => {unimplemented_rule,ends_with},<<"exponent">> => {unimplemented_rule,ends_with},<<"file">> => {unimplemented_rule,ends_with},<<"file_…
  • positive/07-contains
    expected no errors, got #{<<"big_integer">> => {unimplemented_rule,contains},<<"boolean">> => {unimplemented_rule,contains},<<"comment">> => {unimplemented_rule,contains},<<"comment_in_list">> => {unimplemented_rule,contains},<<"empty_field">> => {unimplemented_rule,contains},<<"…
  • positive/08-iso_date
    expected no errors, got {"null_field":"FORMAT_ERROR"}
  • positive/09-iso_datetime
    expected no errors, got #{<<"truncated_not_rounded_end_of_year">> => {unimplemented_rule,iso_datetime},<<"min_bound_before_first_year_in_utc">> => {unimplemented_rule,iso_datetime},<<"positive_offset_previous_year">> => {unimplemented_rule,iso_datetime},<<"last_year_truncated">> …
  • positive/10-iso_time
    expected no errors, got #{<<"bounds_empty_value">> => {unimplemented_rule,iso_time},<<"bounds_inside">> => {unimplemented_rule,iso_time},<<"bounds_max_equal">> => {unimplemented_rule,iso_time},<<"bounds_min_equal">> => {unimplemented_rule,iso_time},<<"bounds_min_equal_with_second…
  • positive/11-required_if
    expected no errors, got #{<<"checkbox_one">> => {unimplemented_rule,boolean},<<"count_note">> => {unimplemented_rule,required_if},<<"email">> => {unimplemented_rule,required_if},<<"email_flag_off_empty">> => {unimplemented_rule,required_if},<<"email_flag_off_null">> => {unimpleme…
  • positive/12-when
    expected no errors, got #{<<"newsletter_email">> => {unimplemented_rule,'when'},<<"list_cases">> => [{unimplemented_rule,'when'}],<<"or_when">> => {unimplemented_rule,'when'},<<"admin_false_case">> => {unimplemented_rule,'when'},<<"value_cases">> => {unimplemented_rule,values},<<…
  • positive/13-values
    expected no errors, got #{<<"empty_field">> => {unimplemented_rule,values},<<"empty_values_inside">> => {unimplemented_rule,values},<<"lists">> => {unimplemented_rule,values},<<"modifier">> => {unimplemented_rule,values},<<"nested_objects">> => {unimplemented_rule,values},<<"null…
  • positive/14-keys
    expected no errors, got #{<<"empty_field">> => {unimplemented_rule,keys},<<"like_keys">> => {unimplemented_rule,keys},<<"modifier_output_ignored">> => {unimplemented_rule,keys},<<"null_field">> => {unimplemented_rule,keys},<<"rule_list">> => {unimplemented_rule,keys},<<"translati…
  • positive/15-any
    expected no errors, got #{<<"boolean">> => {unimplemented_rule,any},<<"empty_field">> => {unimplemented_rule,any},<<"empty_list">> => {unimplemented_rule,any},<<"empty_object">> => {unimplemented_rule,any},<<"list">> => {unimplemented_rule,any},<<"metadata">> => {unimplemented_ru…
  • positive/16-list_length
    expected no errors, got #{<<"empty_field">> => {unimplemented_rule,list_length},<<"items_max_equal">> => {unimplemented_rule,list_length},<<"min_and_max_object">> => {unimplemented_rule,list_length},<<"min_max_equal">> => {unimplemented_rule,list_length},<<"null_field">> => {unim…
  • positive/17-unique
    expected no errors, got #{<<"addresses">> => {unimplemented_rule,unique},<<"composite_comma_not_joined">> => {unimplemented_rule,unique},<<"composite_json_like_not_joined">> => {unimplemented_rule,unique},<<"composite_null_char_not_joined">> => {unimplemented_rule,unique},<<"comp…
  • positive/18-split
    expected no errors, got #{<<"boolean">> => {unimplemented_rule,split},<<"boolean_false">> => {unimplemented_rule,split},<<"decimal_number">> => {unimplemented_rule,split},<<"empty_field">> => {unimplemented_rule,split},<<"empty_list_unchanged">> => {unimplemented_rule,split},<<"e…
  • positive/19-uuid
    expected no errors, got #{<<"all_versions">> => {unimplemented_rule,uuid},<<"empty_field">> => {unimplemented_rule,uuid},<<"max">> => {unimplemented_rule,uuid},<<"max_uppercase">> => {unimplemented_rule,uuid},<<"mixed_case">> => {unimplemented_rule,uuid},<<"nil">> => {unimplement…
  • positive/20-ip
    expected no errors, got #{<<"empty_field">> => {unimplemented_rule,ip},<<"ipv4">> => {unimplemented_rule,ip},<<"ipv4_empty_arguments">> => {unimplemented_rule,ip},<<"ipv4_max">> => {unimplemented_rule,ip},<<"ipv4_rule_list">> => {unimplemented_rule,ip},<<"ipv4_zeros">> => {unimpl…
  • positive/21-cidr
    expected no errors, got #{<<"empty_field">> => {unimplemented_rule,cidr},<<"ipv4">> => {unimplemented_rule,cidr},<<"ipv4_host">> => {unimplemented_rule,cidr},<<"ipv4_host_bits">> => {unimplemented_rule,cidr},<<"ipv4_zero_prefix">> => {unimplemented_rule,cidr},<<"ipv6">> => {unimp…
  • positive/22-hostname
    expected no errors, got #{<<"digit_labels">> => {unimplemented_rule,hostname},<<"digit_labels_except_last">> => {unimplemented_rule,hostname},<<"domain">> => {unimplemented_rule,hostname},<<"empty_field">> => {unimplemented_rule,hostname},<<"hyphens">> => {unimplemented_rule,host…
  • positive/23-base64
    expected no errors, got #{<<"empty_field">> => {unimplemented_rule,base64},<<"exponent_number">> => {unimplemented_rule,base64},<<"null_field">> => {unimplemented_rule,base64},<<"number">> => {unimplemented_rule,base64},<<"standard">> => {unimplemented_rule,base64},<<"standard_al…
  • positive/24-hex
    expected no errors, got #{<<"all_digits">> => {unimplemented_rule,hex},<<"big_integer">> => {unimplemented_rule,hex},<<"empty_field">> => {unimplemented_rule,hex},<<"exponent_number">> => {unimplemented_rule,hex},<<"hundred_number">> => {unimplemented_rule,hex},<<"minus_zero_numb…
  • positive/25-digest
    expected no errors, got #{<<"all_algorithms">> => {unimplemented_rule,digest},<<"empty_field">> => {unimplemented_rule,digest},<<"md5">> => {unimplemented_rule,digest},<<"md5_in_list">> => {unimplemented_rule,digest},<<"md5_or_sha1_1">> => {unimplemented_rule,digest},<<"md5_or_sh…
  • positive/26-mongo_id
    expected no errors, got #{<<"empty_field">> => {unimplemented_rule,mongo_id},<<"id">> => {unimplemented_rule,mongo_id},<<"null_field">> => {unimplemented_rule,mongo_id},<<"uppercase">> => {unimplemented_rule,mongo_id},<<"zeros">> => {unimplemented_rule,mongo_id}}
  • positive/27-hex_color
    expected no errors, got #{<<"eight">> => {unimplemented_rule,hex_color},<<"empty_field">> => {unimplemented_rule,hex_color},<<"four">> => {unimplemented_rule,hex_color},<<"null_field">> => {unimplemented_rule,hex_color},<<"six">> => {unimplemented_rule,hex_color},<<"three">> => {…
  • positive/28-mac
    expected no errors, got #{<<"colons">> => {unimplemented_rule,mac},<<"dashes">> => {unimplemented_rule,mac},<<"empty_field">> => {unimplemented_rule,mac},<<"eui64_colons">> => {unimplemented_rule,mac},<<"eui64_dashes">> => {unimplemented_rule,mac},<<"eui64_empty">> => {unimplemen…
  • positive/29-e164
    expected no errors, got #{<<"empty_field">> => {unimplemented_rule,e164},<<"max_length">> => {unimplemented_rule,e164},<<"min_length">> => {unimplemented_rule,e164},<<"null_field">> => {unimplemented_rule,e164},<<"phone">> => {unimplemented_rule,e164},<<"zeros_after_first">> => {…
  • positive/30-semver
    expected no errors, got #{<<"build_with_leading_zeros">> => {unimplemented_rule,semver},<<"empty_field">> => {unimplemented_rule,semver},<<"null_field">> => {unimplemented_rule,semver},<<"pre_release_hyphen_only">> => {unimplemented_rule,semver},<<"version1">> => {unimplemented_r…
  • positive/31-jwt
    expected no errors, got #{<<"empty_field">> => {unimplemented_rule,jwt},<<"empty_payload">> => {unimplemented_rule,jwt},<<"es256">> => {unimplemented_rule,jwt},<<"hs256">> => {unimplemented_rule,jwt},<<"not_decoded_alg_none_with_signature">> => {unimplemented_rule,jwt},<<"not_dec…
  • positive/32-luhn
    expected no errors, got #{<<"card">> => {unimplemented_rule,luhn},<<"classic">> => {unimplemented_rule,luhn},<<"empty_field">> => {unimplemented_rule,luhn},<<"exponent_number">> => {unimplemented_rule,luhn},<<"long">> => {unimplemented_rule,luhn},<<"null_field">> => {unimplemente…
  • positive/33-credit_card
    expected no errors, got #{<<"amex">> => {unimplemented_rule,credit_card},<<"discover">> => {unimplemented_rule,credit_card},<<"empty_field">> => {unimplemented_rule,credit_card},<<"fourteen_digits">> => {unimplemented_rule,credit_card},<<"mastercard">> => {unimplemented_rule,cred…
  • positive/34-iban
    expected no errors, got #{<<"be">> => {unimplemented_rule,iban},<<"de">> => {unimplemented_rule,iban},<<"empty_field">> => {unimplemented_rule,iban},<<"fr">> => {unimplemented_rule,iban},<<"gb">> => {unimplemented_rule,iban},<<"lc">> => {unimplemented_rule,iban},<<"mt">> => {unim…
  • positive/35-object_or_list
    expected no errors, got #{<<"keys_empty_object">> => {unimplemented_rule,keys},<<"keys_numeric_keys_unchanged">> => {unimplemented_rule,keys},<<"list_length_exact_zero">> => {unimplemented_rule,list_length},<<"list_length_max_only">> => {unimplemented_rule,list_length},<<"list_le…
  • negative/01-boolean
    expected errors {"capitalized_true":"NOT_BOOLEAN","decimal_string":"NOT_BOOLEAN","fraction_number":"NOT_BOOLEAN","minus_one_number":"NOT_BOOLEAN","null_string":"NOT_BOOLEAN","on_string":"NOT_BOOLEAN","one_with_space":"NOT_BOOLEAN","required_missing":"REQUIRED","space_string":"NOT…
  • negative/02-not_one_of
    expected errors {"argument_trailing_zero":"NOT_ALLOWED_VALUE","big_integer_vs_string":"NOT_ALLOWED_VALUE","exponent_vs_string":"NOT_ALLOWED_VALUE","false_vs_string":"NOT_ALLOWED_VALUE","fraction_vs_string":"NOT_ALLOWED_VALUE","minus_zero_vs_string":"NOT_ALLOWED_VALUE","negative_f…
  • negative/03-max_decimals
    expected errors {"boolean":"NOT_NUMBER","comma_decimal":"NOT_NUMBER","exponent_string":"NOT_NUMBER","fraction_number":"TOO_MANY_DECIMALS","long_string_decimals":"TOO_MANY_DECIMALS","negative":"TOO_MANY_DECIMALS","negative_two_decimals":"TOO_MANY_DECIMALS","non_ascii_digits":"NOT_…
  • negative/04-digits
    expected errors {"boolean":"NOT_DIGITS","decimal_number":"NOT_DIGITS","decimal_string":"NOT_DIGITS","devanagari_digits":"NOT_DIGITS","fraction":"NOT_DIGITS","fullwidth_digits":"NOT_DIGITS","inner_space":"NOT_DIGITS","leading_newline":"NOT_DIGITS","leading_space":"NOT_DIGITS","min…
  • negative/05-starts_with
    expected errors {"boolean":"WRONG_FORMAT","exponent":"WRONG_FORMAT","fraction_without_leading_zero":"WRONG_FORMAT","leading_space":"WRONG_FORMAT","minus_zero":"WRONG_FORMAT","number":"WRONG_FORMAT","number_argument":"WRONG_FORMAT","number_string_form":"WRONG_FORMAT","other_scheme…
  • negative/06-ends_with
    expected errors {"boolean":"WRONG_FORMAT","exponent":"WRONG_FORMAT","image":"WRONG_FORMAT","number_string_form":"WRONG_FORMAT","one_point_zero":"WRONG_FORMAT","other_extension":"WRONG_FORMAT","suffix_in_the_middle":"WRONG_FORMAT","trailing_newline":"WRONG_FORMAT","trailing_space"…
  • negative/07-contains
    expected errors {"boolean":"WRONG_FORMAT","case_sensitive":"WRONG_FORMAT","exponent":"WRONG_FORMAT","minus_zero":"WRONG_FORMAT","missing_at":"WRONG_FORMAT","none_of_several":"WRONG_FORMAT","number":"WRONG_FORMAT","one_point_zero":"WRONG_FORMAT","value_is_array":"FORMAT_ERROR","va…
  • negative/08-iso_date
    expected errors {"max_date":"DATE_TOO_LATE","same_min_and_max_after":"DATE_TOO_LATE","invalid_value_with_bounds":"WRONG_DATE","min_yesterday_max_tomorrow_low":"DATE_TOO_EARLY","value_is_empty_array":"FORMAT_ERROR","bounds_trailing_newline":"WRONG_DATE","boolean_value":"WRONG_DATE…
  • negative/09-iso_datetime
    expected errors {"max_datetime":"DATETIME_TOO_LATE","offset_hours_only":"WRONG_DATETIME","comma_fraction":"WRONG_DATETIME","max_date":"DATETIME_TOO_LATE","min_bound_truncated":"DATETIME_TOO_EARLY","z_and_offset":"WRONG_DATETIME","trailing_newline_with_bounds":"WRONG_DATETIME","in…
  • negative/10-iso_time
    expected errors {"night_middle_with_fraction":"TIME_TOO_EARLY","only_min_before":"TIME_TOO_EARLY","without_colon":"WRONG_TIME","trailing_newline_with_bounds":"WRONG_TIME","value_is_empty_array":"FORMAT_ERROR","trailing_space":"WRONG_TIME","datetime":"WRONG_TIME","one_digit_hour":…
  • negative/11-required_if
    expected errors {"account":{"permissions":"REQUIRED"},"category_account":{"vat":"REQUIRED"},"company_code":"REQUIRED","contacts":[null,{"email":"REQUIRED"},null],"count_note":"REQUIRED","count_string_note":"REQUIRED","email":"REQUIRED","email_empty":"REQUIRED","email_null":"REQUI…
  • negative/12-when
    expected errors {"zip_bad":"NOT_DIGITS","list_condition":[null,"NOT_ALLOWED_VALUE"],"mode_upper_switch":"NOT_ALLOWED_VALUE","buyer_ua_vat":"REQUIRED","zip_us":"NOT_ALLOWED_VALUE","key_switch":{"en":"WRONG_KEY"},"or_condition":"REQUIRED","switch_missing_ref":"NOT_ALLOWED_VALUE","v…
  • negative/13-values
    expected errors {"lists":{"a":[null,"NOT_POSITIVE_INTEGER"],"b":"FORMAT_ERROR"},"nested_objects":{"u2":{"name":"REQUIRED"}},"null_inside":{"a":"REQUIRED"},"prototype_keys":{"__proto__":"NOT_POSITIVE_INTEGER","hasOwnProperty":"REQUIRED"},"several_failing":{"a":"NOT_POSITIVE_INTEGE…
  • negative/14-keys
    expected errors {"empty_key":{"":"WRONG_KEY"},"keys_before_values":{"fr":"WRONG_KEY"},"like_keys":{"firstName":"WRONG_KEY"},"translations":{"fr":"WRONG_KEY"},"value_is_array":"FORMAT_ERROR","value_is_number":"FORMAT_ERROR","value_is_string":"FORMAT_ERROR","values_after_keys":{"en…
  • negative/15-any
    expected errors {"empty_kept_for_next_rule":"REQUIRED","list_to_list_of":[null,"NOT_POSITIVE_INTEGER"],"null_kept_for_next_rule":"REQUIRED","object_to_nested_object":{"a":"REQUIRED"},"object_to_string":"FORMAT_ERROR","required_empty":"REQUIRED","required_missing":"REQUIRED","requ…
  • negative/16-list_length
    expected errors {"exact_zero":"TOO_MANY_ITEMS","items_max":"TOO_MANY_ITEMS","min_and_max_object_high":"TOO_MANY_ITEMS","min_and_max_object_low":"TOO_FEW_ITEMS","pair_in_list":"TOO_MANY_ITEMS","pair_one":"TOO_FEW_ITEMS","pair_three":"TOO_MANY_ITEMS","string_argument":"TOO_FEW_ITEM…
  • negative/17-unique
    expected errors {"addresses":"NOT_UNIQUE_ITEMS","composite_number_and_string":"NOT_UNIQUE_ITEMS","exponent_and_string":"NOT_UNIQUE_ITEMS","item_is_list":"FORMAT_ERROR","item_is_list_with_keys":"FORMAT_ERROR","item_is_object":"FORMAT_ERROR","item_is_primitive_with_keys":"FORMAT_ER…
  • negative/18-split
    expected errors {"empty_kept":"REQUIRED","ids_empty_part":[null,"REQUIRED",null],"ids_list_kept":[null,"NOT_POSITIVE_INTEGER"],"ids_list_not_split":["NOT_POSITIVE_INTEGER"],"ids_trailing_separator":[null,null,"REQUIRED"],"ids_wrong_item":[null,"NOT_POSITIVE_INTEGER",null],"missin…
  • negative/19-uuid
    expected errors {"version_v4_wrong_variant":"WRONG_UUID","braces":"WRONG_UUID","wrong_groups":"WRONG_UUID","value_is_empty_array":"FORMAT_ERROR","too_long":"WRONG_UUID","versions_3_5_given_4":"WRONG_UUID","boolean_true":"WRONG_UUID","variant_7":"WRONG_UUID","urn":"WRONG_UUID","va…
  • negative/20-ip
    expected errors {"ipv4_leading_zero":"WRONG_IP","ipv6_single_leading_colon":"WRONG_IP","exponent_number":"WRONG_IP","ipv6_seven_groups":"WRONG_IP","ipv6_single_trailing_colon":"WRONG_IP","ipv4_trailing_dot":"WRONG_IP","ipv6_arabic_indic_digits":"WRONG_IP","value_is_empty_array":"…
  • negative/21-cidr
    expected errors {"ipv4_leading_zero":"WRONG_CIDR","netmask":"WRONG_CIDR","prefix_leading_zero":"WRONG_CIDR","value_is_empty_array":"FORMAT_ERROR","only_ipv4_given_ipv6":"WRONG_CIDR","boolean_true":"WRONG_CIDR","prefix_plus":"WRONG_CIDR","only_ipv6_given_ipv4":"WRONG_CIDR","value_…
  • negative/22-hostname
    expected errors {"trailing_crlf":"WRONG_HOSTNAME","trailing_hyphen":"WRONG_HOSTNAME","exponent_number":"WRONG_HOSTNAME","only_dot":"WRONG_HOSTNAME","all_digit_single_label":"WRONG_HOSTNAME","one_point_zero_number":"WRONG_HOSTNAME","value_is_empty_array":"FORMAT_ERROR","boolean_tr…
  • negative/23-base64
    expected errors {"url_trailing_newline":"WRONG_BASE64","standard_url_alphabet":"WRONG_BASE64","value_is_empty_array":"FORMAT_ERROR","boolean_true":"WRONG_BASE64","standard_wrong_char":"WRONG_BASE64","standard_space":"WRONG_BASE64","value_is_empty_hash":"FORMAT_ERROR","arabic_indi…
  • negative/24-hex
    expected errors {"arabic_indic_digits":"WRONG_HEX","boolean":"WRONG_HEX","boolean_false":"WRONG_HEX","dash":"WRONG_HEX","decimal_number":"WRONG_HEX","fraction_number":"WRONG_HEX","fullwidth_letters":"WRONG_HEX","g_letter":"WRONG_HEX","hash_sign":"WRONG_HEX","negative_fraction_num…
  • negative/25-digest
    expected errors {"all_algorithms_odd_length":"WRONG_DIGEST","boolean_false":"WRONG_DIGEST","boolean_true":"WRONG_DIGEST","md5_arabic_indic_digit":"WRONG_DIGEST","md5_fullwidth_letter":"WRONG_DIGEST","md5_given_sha1":"WRONG_DIGEST","md5_not_hex":"WRONG_DIGEST","md5_or_sha256_given…
  • negative/26-mongo_id
    expected errors {"arabic_indic_digit":"WRONG_MONGO_ID","boolean_false":"WRONG_MONGO_ID","boolean_true":"WRONG_MONGO_ID","fullwidth_letter":"WRONG_MONGO_ID","not_hex":"WRONG_MONGO_ID","number":"WRONG_MONGO_ID","object_id_call":"WRONG_MONGO_ID","too_long":"WRONG_MONGO_ID","too_shor…
  • negative/27-hex_color
    expected errors {"arabic_indic_digits":"WRONG_HEX_COLOR","boolean_false":"WRONG_HEX_COLOR","boolean_true":"WRONG_HEX_COLOR","color_name":"WRONG_HEX_COLOR","double_hash":"WRONG_HEX_COLOR","five":"WRONG_HEX_COLOR","fullwidth_letters":"WRONG_HEX_COLOR","leading_space":"WRONG_HEX_COL…
  • negative/28-mac
    expected errors {"arabic_indic_digit":"WRONG_MAC","big_integer":"WRONG_MAC","boolean_true":"WRONG_MAC","dots":"WRONG_MAC","eui64_boolean_false":"WRONG_MAC","eui64_given_mac48":"WRONG_MAC","eui64_mixed_separators":"WRONG_MAC","eui64_nine_pairs":"WRONG_MAC","eui64_seven_pairs":"WRO…
  • negative/29-e164
    expected errors {"arabic_indic_digits":"WRONG_E164","boolean_false":"WRONG_E164","boolean_true":"WRONG_E164","dashes":"WRONG_E164","double_plus":"WRONG_E164","fullwidth_digit":"WRONG_E164","fullwidth_plus":"WRONG_E164","international_prefix":"WRONG_E164","leading_newline":"WRONG_…
  • negative/30-semver
    expected errors {"version3":"WRONG_SEMVER","version2":"WRONG_SEMVER","version11":"WRONG_SEMVER","one_point_zero_number":"WRONG_SEMVER","value_is_empty_array":"FORMAT_ERROR","boolean_true":"WRONG_SEMVER","value_is_empty_hash":"FORMAT_ERROR","version4":"WRONG_SEMVER","arabic_indic_…
  • negative/31-jwt
    expected errors {"arabic_indic_digit_in_signature":"WRONG_JWT","bearer_prefix":"WRONG_JWT","boolean":"WRONG_JWT","boolean_false":"WRONG_JWT","dots_only":"WRONG_JWT","empty_header":"WRONG_JWT","empty_payload_segment":"WRONG_JWT","four_segments":"WRONG_JWT","jwe":"WRONG_JWT","leadi…
  • negative/32-luhn
    expected errors {"arabic_indic_digit_mixed":"WRONG_CHECKSUM","boolean_false":"WRONG_CHECKSUM","boolean_true":"WRONG_CHECKSUM","dashes":"WRONG_CHECKSUM","fraction_number":"WRONG_CHECKSUM","fullwidth_digits":"WRONG_CHECKSUM","leading_space":"WRONG_CHECKSUM","letter":"WRONG_CHECKSUM…
  • negative/33-credit_card
    expected errors {"arabic_indic_digits":"WRONG_CREDIT_CARD_NUMBER","boolean_false":"WRONG_CREDIT_CARD_NUMBER","boolean_true":"WRONG_CREDIT_CARD_NUMBER","dashes":"WRONG_CREDIT_CARD_NUMBER","eleven_digits":"WRONG_CREDIT_CARD_NUMBER","fraction_number":"WRONG_CREDIT_CARD_NUMBER","full…
  • negative/34-iban
    expected errors {"arabic_indic_check_digits":"WRONG_IBAN","boolean_false":"WRONG_IBAN","boolean_true":"WRONG_IBAN","dash":"WRONG_IBAN","digits_in_country":"WRONG_IBAN","fullwidth_letters":"WRONG_IBAN","leading_newline":"WRONG_IBAN","letter_in_check_digits":"WRONG_IBAN","lowercase…
  • negative/35-object_or_list
    expected errors {"keys_empty_list":"FORMAT_ERROR","keys_numeric_keys":{"0":"WRONG_KEY","a":"WRONG_KEY"},"list_length_empty_list":"TOO_FEW_ITEMS","list_length_empty_object":"FORMAT_ERROR","list_length_min_empty_list":"TOO_FEW_ITEMS","required_if_digit_key_note":"REQUIRED","unique_…
  • negative/36-url
    expected errors {"google_dot":"WRONG_URL","ipv4_trailing_dot":"WRONG_URL","label_64":"WRONG_URL","port_65536":"WRONG_URL","port_99999":"WRONG_URL","port_six_digits":"WRONG_URL","tld_64":"WRONG_URL","trailing_dot":"WRONG_URL","trailing_dot_path":"WRONG_URL","trailing_dot_port":"WR…
  • aliases_positive/01-ulid
    liver has no API for registering aliased rules
  • aliases_positive/02-contact
    liver has no API for registering aliased rules
  • aliases_positive/03-coordinates
    liver has no API for registering aliased rules
  • aliases_positive/04-vat_required_if
    liver has no API for registering aliased rules
  • aliases_positive/05-when_aliases
    liver has no API for registering aliased rules
  • aliases_positive/06-equal_to_field_alias
    liver has no API for registering aliased rules
  • aliases_negative/01-ulid
    liver has no API for registering aliased rules
  • aliases_negative/02-contact
    liver has no API for registering aliased rules
  • aliases_negative/03-coordinates
    liver has no API for registering aliased rules
  • aliases_negative/04-vat_required_if
    liver has no API for registering aliased rules
  • aliases_negative/05-when_aliases
    liver has no API for registering aliased rules
  • aliases_negative/06-equal_to_field_alias
    liver has no API for registering aliased rules
179 failing 2.5 schema error cases
Python2.0.153 / 704 / 84153 / 179
17 failing cases
  • positive/11-decimal
    expected no errors, got {"negative_integer": "NOT_DECIMAL", "negative_integer_string": "NOT_DECIMAL"}
  • positive/17-equal_to_field
    expected no errors, got {"number_as_string": "FIELDS_NOT_EQUAL"}
  • positive/18-nested_object
    expected output {"address": {"building": 10, "country": "Ukraine", "street": "10", "zip": 12345}, "builtin_names": {"constructor": "Constructor value", "toString": "ToString value"}, "null_value": null, "should_be_empty": {}, "should_not_be_errored": ""}, got {"address": {"buildi…
  • positive/33-remove
    expected output {"list_of_string_values": ["value1", {"key": "123"}, "value"], "object": {"string_value": "Vluelue Vlue"}, "string_value": "aluevaluealue"}, got {"list_of_string_values": ["value1", {"key": "123"}, "value"], "object": {"string_value": "V- V"}, "string_value": "alu…
  • positive/34-leave_only
    expected output {"list_of_string_values": ["", {"key": "123"}, "23"], "object": {"string_value": "a-vaa"}, "string_value": "Vl l Vl"}, got {"list_of_string_values": ["", {"key": "123"}, "23"], "object": {"string_value": "aluevaluealue"}, "string_value": "Vl l Vl"}
  • negative/08-like
    expected errors {"age": "WRONG_FORMAT", "code_trailing_newline": "WRONG_FORMAT", "first_name": "WRONG_FORMAT", "last_name": "WRONG_FORMAT", "middle_name": "WRONG_FORMAT", "value_is_array": "FORMAT_ERROR", "value_is_empty_array": "FORMAT_ERROR", "value_is_empty_hash": "FORMAT_ERRO…
  • negative/12-positive_decimal
    expected errors {"number1": "NOT_POSITIVE_DECIMAL", "number2": "NOT_POSITIVE_DECIMAL", "number3": "NOT_POSITIVE_DECIMAL", "number4": "NOT_POSITIVE_DECIMAL", "value_is_array": "FORMAT_ERROR", "value_is_empty_array": "FORMAT_ERROR", "value_is_empty_hash": "FORMAT_ERROR", "value_is_…
  • negative/16-email
    expected errors {"email1": "WRONG_EMAIL", "email10": "WRONG_EMAIL", "email11": "WRONG_EMAIL", "email12": "WRONG_EMAIL", "email13": "WRONG_EMAIL", "email14": "WRONG_EMAIL", "email15": "WRONG_EMAIL", "email16": "WRONG_EMAIL", "email17": "WRONG_EMAIL", "email18": "WRONG_EMAIL", "ema…
  • negative/17-equal_to_field
    exception: KeyError: 'missing_field'
  • negative/19-list_of
    expected errors {"object_value": "FORMAT_ERROR", "product_ids1": ["NOT_POSITIVE_INTEGER", "REQUIRED", null, "TOO_HIGH"], "product_ids2": ["NOT_POSITIVE_INTEGER", "REQUIRED", null, "TOO_HIGH"], "product_ids3": ["NOT_POSITIVE_INTEGER", null, null, null], "user_ids": "FORMAT_ERROR"}…
  • negative/20-list_of_objects
    expected errors {"object_value": "FORMAT_ERROR", "products": [{"product_id": "NOT_POSITIVE_INTEGER", "quantity": "REQUIRED"}, null, {"product_id": "NOT_POSITIVE_INTEGER"}, "FORMAT_ERROR"], "users": "FORMAT_ERROR"}, got {"products": [{"product_id": "NOT_POSITIVE_INTEGER", "quantit…
  • negative/21-list_of_different_objects
    exception: TypeError: argument of type 'int' is not iterable
  • negative/23-url
    expected errors {"url1": "WRONG_URL", "url2": "WRONG_URL", "url3": "WRONG_URL", "url4": "WRONG_URL", "url5": "WRONG_URL", "value_is_array": "FORMAT_ERROR", "value_is_empty_array": "FORMAT_ERROR", "value_is_empty_hash": "FORMAT_ERROR", "value_is_hash": "FORMAT_ERROR"}, got {"url1"…
  • negative/24-iso_date
    expected errors {"iso_date1": "WRONG_DATE", "iso_date10": "WRONG_DATE", "iso_date2": "WRONG_DATE", "iso_date3": "WRONG_DATE", "iso_date4": "WRONG_DATE", "iso_date5": "WRONG_DATE", "iso_date6": "WRONG_DATE", "iso_date7": "WRONG_DATE", "iso_date8": "WRONG_DATE", "iso_date9": "WRONG…
  • negative/28-variable_object
    exception: KeyError: 'product_type'
  • negative/29-or
    expected errors {"id1-1": "NOT_POSITIVE_INTEGER", "id2-1": "NOT_POSITIVE_INTEGER", "id3-1": "WRONG_EMAIL", "id4-1": "CANNOT_BE_EMPTY", "id4-2": "REQUIRED", "products": [{"name": "REQUIRED", "product_type": "NOT_ALLOWED_VALUE"}, {"name": "REQUIRED"}]}, got {"id1-1": "NOT_POSITIVE_…
  • aliases_positive/01-adult_age
    expected output {"age1": 32, "age1_custom_error": 37, "age2": 33, "age2_custom_error": 38, "age3": 35, "age3_custom_error": 100, "age4": 36, "age4_custom_error": 110, "empty_age": ""}, got {"age1": 32, "age1_custom_error": 37, "age2": 33, "age2_custom_error": 38, "age3": 35, "age…
80 failing 2.5 cases
26 failing 2.5 schema error cases

Results of running the LIVR 2.0 test suite (70 cases) against the latest version of each implementation: the published package, or the default branch when it is not published. Checked on November 9, 2026. The runners live in the conformance/ directory. Some failures come from newer test cases that were added after an implementation's last release. Cases that an implementation can't pass because of its language (for example, PHP and Lua decode {} and [] to the same value) are not counted, so its score is out of the remaining cases. The "2.5" columns run the LIVR 2.5 suite with the rules added in LIVR 2.5. They are shown separately and are not part of the score: "2.5" has the validation cases (84), "2.5 schema errors" the schema cases (179), invalid rule arguments that must fail when the validator is built. A version without the 2.5 rules passes many schema cases, because it rejects every rule it does not know.

Add your implementation ​

Wrote a LIVR implementation? Great!

  1. Check that it passes the test suite, see Create own implementation.
  2. Add it to docs/data/implementations.json and, if you can, add a test suite runner to conformance/.
  3. Run npm run readme to update the list in the repository README and open a pull request.