├── lib ├── json-tests │ ├── n_number_+1.json │ ├── n_number_-01.json │ ├── n_number_-2..json │ ├── n_number_.-1.json │ ├── n_number_0e+.json │ ├── n_number_0e.json │ ├── n_number_Inf.json │ ├── n_number_NaN.json │ ├── n_single_space.json │ ├── y_array_empty.json │ ├── y_array_null.json │ ├── y_number.json │ ├── y_number_0e1.json │ ├── y_object_empty.json │ ├── y_string_pi.json │ ├── y_string_space.json │ ├── n_array_incomplete.json │ ├── n_array_just_comma.json │ ├── n_array_just_minus.json │ ├── n_array_star_inside.json │ ├── n_array_unclosed.json │ ├── n_incomplete_null.json │ ├── n_incomplete_true.json │ ├── n_number_++.json │ ├── n_number_+Inf.json │ ├── n_number_-1.0..json │ ├── n_number_-NaN.json │ ├── n_number_.2e-3.json │ ├── n_number_0.1.2.json │ ├── n_number_0.3e+.json │ ├── n_number_0.3e.json │ ├── n_number_0.e1.json │ ├── n_number_1.0e+.json │ ├── n_number_1.0e-.json │ ├── n_number_1.0e.json │ ├── n_number_1_000.json │ ├── n_number_1eE2.json │ ├── n_number_2.e+3.json │ ├── n_number_2.e-3.json │ ├── n_number_2.e3.json │ ├── n_number_9.e+.json │ ├── n_object_emoji.json │ ├── n_object_no-colon.json │ ├── n_structure_end_array.json │ ├── n_structure_no_data.json │ ├── y_array_false.json │ ├── y_number_0e+1.json │ ├── y_number_minus_zero.json │ ├── y_object_simple.json │ ├── y_string_utf8.json │ ├── n_array_comma_and_number.json │ ├── n_array_double_comma.json │ ├── n_array_extra_close.json │ ├── n_array_extra_comma.json │ ├── n_array_number_and_comma.json │ ├── n_incomplete_false.json │ ├── n_number_0_capital_E+.json │ ├── n_number_0_capital_E.json │ ├── n_number_expression.json │ ├── n_number_hex_1_digit.json │ ├── n_number_hex_2_digits.json │ ├── n_number_infinity.json │ ├── n_number_invalid+-.json │ ├── n_number_minus_space_1.json │ ├── n_number_with_alpha.json │ ├── n_object_missing_key.json │ ├── n_object_missing_value.json │ ├── n_object_non_string_key.json │ ├── n_object_single_quote.json │ ├── n_string_backslash_00.json │ ├── n_string_escape_x.json │ ├── n_string_single_doublequote.json │ ├── n_string_unescaped_tab.json │ ├── n_structure_UTF8_BOM_no_data.json │ ├── n_structure_double_array.json │ ├── n_structure_open_object.json │ ├── n_structure_single_star.json │ ├── n_structure_unclosed_array.json │ ├── y_array_empty-string.json │ ├── y_number_after_space.json │ ├── y_number_int_with_exp.json │ ├── y_number_negative_int.json │ ├── y_number_negative_one.json │ ├── y_number_negative_zero.json │ ├── y_number_real_neg_exp.json │ ├── y_number_simple_int.json │ ├── y_object_basic.json │ ├── y_object_empty_key.json │ ├── y_string_in_array.json │ ├── y_string_u+2029_par_sep.json │ ├── y_string_unicode.json │ ├── y_string_unicode_2.json │ ├── y_structure_lonely_int.json │ ├── y_structure_lonely_null.json │ ├── y_structure_lonely_true.json │ ├── y_structure_string_empty.json │ ├── n_array_comma_after_close.json │ ├── n_array_double_extra_comma.json │ ├── n_array_missing_value.json │ ├── n_multidigit_number_then_00.json │ ├── n_number_starting_with_dot.json │ ├── n_number_with_leading_zero.json │ ├── n_object_bad_value.json │ ├── n_object_bracket_key.json │ ├── n_object_double_colon.json │ ├── n_object_missing_colon.json │ ├── n_object_trailing_comma.json │ ├── n_object_unquoted_key.json │ ├── n_string_escaped_emoji.json │ ├── n_string_incomplete_escape.json │ ├── n_string_start_escape_unclosed.json │ ├── n_string_unicode_CapitalU.json │ ├── n_string_with_trailing_garbage.json │ ├── n_structure_U+2060_word_joined.json │ ├── n_structure_angle_bracket_..json │ ├── n_structure_lone-open-bracket.json │ ├── n_structure_open_array_comma.json │ ├── n_structure_open_array_string.json │ ├── n_structure_open_object_comma.json │ ├── n_structure_unicode-identifier.json │ ├── y_array_arraysWithSpaces.json │ ├── y_array_ending_with_newline.json │ ├── y_array_with_leading_space.json │ ├── y_array_with_trailing_space.json │ ├── y_number_real_capital_e.json │ ├── y_number_real_exponent.json │ ├── y_number_real_pos_exponent.json │ ├── y_number_simple_real.json │ ├── y_string_double_escape_a.json │ ├── y_string_double_escape_n.json │ ├── y_string_null_escape.json │ ├── y_string_one-byte-utf-8.json │ ├── y_string_simple_ascii.json │ ├── y_string_two-byte-utf-8.json │ ├── y_string_u+2028_line_sep.json │ ├── y_structure_lonely_false.json │ ├── y_structure_lonely_string.json │ ├── y_structure_true_in_array.json │ ├── y_structure_whitespace_array.json │ ├── n_array_1_true_without_comma.json │ ├── n_array_colon_instead_of_comma.json │ ├── n_array_incomplete_invalid_value.json │ ├── n_array_inner_array_no_comma.json │ ├── n_array_number_and_several_commas.json │ ├── n_array_unclosed_trailing_comma.json │ ├── n_array_unclosed_with_object_inside.json │ ├── n_number_U+FF11_fullwidth_digit_one.json │ ├── n_number_minus_infinity.json │ ├── n_number_neg_with_garbage_at_end.json │ ├── n_number_real_garbage_after_e.json │ ├── n_object_garbage_at_end.json │ ├── n_object_missing_semicolon.json │ ├── n_object_trailing_comment.json │ ├── n_object_unterminated-value.json │ ├── n_string_accentuated_char_no_quotes.json │ ├── n_string_escaped_backslash_bad.json │ ├── n_string_escaped_ctrl_char_tab.json │ ├── n_string_invalid_backslash_esc.json │ ├── n_string_no_quotes_with_bad_escape.json │ ├── n_string_single_quote.json │ ├── n_string_unescaped_ctrl_char.json │ ├── n_structure_UTF-8_BOM_empty_object.json │ ├── n_structure_angle_bracket_null.json │ ├── n_structure_array_trailing_garbage.json │ ├── n_structure_ascii-unicode-identifier.json │ ├── n_structure_capitalized_True.json │ ├── n_structure_close_unopened_array.json │ ├── n_structure_open_array_apostrophe.json │ ├── n_structure_open_array_open_object.json │ ├── n_structure_open_array_open_string.json │ ├── n_structure_open_object_close_array.json │ ├── n_structure_open_object_open_array.json │ ├── n_structure_open_object_open_string.json │ ├── n_structure_open_open.json │ ├── n_structure_trailing_#.json │ ├── n_structure_whitespace_formfeed.json │ ├── y_array_with_1_and_newline.json │ ├── y_number_neg_int_huge_exp.json │ ├── y_number_real_capital_e_neg_exp.json │ ├── y_number_real_capital_e_pos_exp.json │ ├── y_number_real_underflow.json │ ├── y_object.json │ ├── y_string_backslash_doublequotes.json │ ├── y_string_comments.json │ ├── y_string_three-byte-utf-8.json │ ├── y_string_unescaped_char_delete.json │ ├── y_string_with_del_character.json │ ├── y_structure_lonely_negative_real.json │ ├── y_structure_trailing_newline.json │ ├── n_array_items_separated_by_semicolon.json │ ├── n_number_invalid-negative-real.json │ ├── n_number_neg_int_starting_with_zero.json │ ├── n_number_neg_real_without_int_part.json │ ├── n_number_real_without_fractional_part.json │ ├── n_object_comma_instead_of_colon.json │ ├── n_object_with_trailing_garbage.json │ ├── n_string_1_surrogate_then_escape.json │ ├── n_string_incomplete_surrogate.json │ ├── n_string_invalid_unicode_escape.json │ ├── n_string_single_string_no_double_quotes.json │ ├── n_string_unescaped_newline.json │ ├── n_structure_null-byte-outside-string.json │ ├── n_structure_number_with_trailing_garbage.json │ ├── n_structure_object_unclosed_no_value.json │ ├── n_structure_unclosed_object.json │ ├── y_array_heterogeneous.json │ ├── y_number_double_huge_neg_exp.json │ ├── y_number_pos_double_huge_exp.json │ ├── y_number_real_fraction_exponent.json │ ├── y_number_real_neg_overflow.json │ ├── y_number_real_pos_overflow.json │ ├── y_object_duplicated_key.json │ ├── y_object_key_lone_2nd_surrogate.json │ ├── y_object_with_newlines.json │ ├── y_string_escaped_noncharacter.json │ ├── y_string_invalid_lonely_surrogate.json │ ├── y_string_invalid_surrogate.json │ ├── y_string_lone_second_surrogate.json │ ├── y_string_nbsp_uescaped.json │ ├── y_string_nonCharacterInUTF-8_U+10FFFF.json │ ├── y_string_nonCharacterInUTF-8_U+FFFF.json │ ├── y_string_uescaped_newline.json │ ├── y_string_unicodeEscapedBackslash.json │ ├── y_string_unicode_U+FDD0_nonchar.json │ ├── y_string_unicode_U+FFFE_nonchar.json │ ├── n_array_newlines_unclosed.json │ ├── n_array_spaces_vertical_tab_formfeed.json │ ├── n_array_unclosed_with_new_lines.json │ ├── n_number_minus_sign_with_trailing_garbage.json │ ├── n_object_key_with_single_quotes.json │ ├── n_object_repeated_null_null.json │ ├── n_object_several_trailing_commas.json │ ├── n_object_trailing_comment_open.json │ ├── n_object_trailing_comment_slash_open.json │ ├── n_object_two_commas_in_a_row.json │ ├── n_string_1_surrogate_then_escape_u.json │ ├── n_string_1_surrogate_then_escape_u1.json │ ├── n_string_incomplete_escaped_character.json │ ├── n_string_leading_uescaped_thinspace.json │ ├── n_structure_array_with_extra_array_close.json │ ├── n_structure_array_with_unclosed_string.json │ ├── n_structure_object_followed_by_closing_object.json │ ├── n_structure_uescaped_LF_before_string.json │ ├── n_structure_whitespace_U+2060_word_joiner.json │ ├── y_array_with_several_null.json │ ├── y_number_too_big_pos_int.json │ ├── y_object_escaped_null_in_key.json │ ├── y_string_1st_surrogate_but_2nd_missing.json │ ├── y_string_accepted_surrogate_pair.json │ ├── y_string_allowed_escapes.json │ ├── y_string_backslash_and_u_escaped_zero.json │ ├── y_string_escaped_control_character.json │ ├── y_string_in_array_with_leading_space.json │ ├── y_string_incomplete_surrogate_pair.json │ ├── y_string_last_surrogates_1_and_2.json │ ├── y_string_reservedCharacterInUTF-8_U+1BFFF.json │ ├── y_string_uEscape.json │ ├── y_string_unicode_U+1FFFE_nonchar.json │ ├── y_string_unicode_U+2064_invisible_plus.json │ ├── y_string_unicode_escaped_double_quote.json │ ├── n_number_with_alpha_char.json │ ├── n_object_with_single_string.json │ ├── n_string_1_surrogate_then_escape_u1x.json │ ├── n_structure_comma_instead_of_closing_brace.json │ ├── n_structure_object_with_comment.json │ ├── n_structure_open_object_string_with_apostrophes.json │ ├── n_structure_unclosed_array_partial_null.json │ ├── y_object_duplicated_key_and_value.json │ ├── y_string_inverted_surrogates_U+1D11E.json │ ├── y_string_unicode_U+10FFFE_nonchar.json │ ├── y_string_unicode_U+200B_ZERO_WIDTH_SPACE.json │ ├── n_object_trailing_comment_slash_open_incomplete.json │ ├── n_structure_object_with_trailing_garbage.json │ ├── n_structure_unclosed_array_unfinished_false.json │ ├── n_structure_unclosed_array_unfinished_true.json │ ├── y_number_too_big_neg_int.json │ ├── y_string_1_2_3_bytes_UTF-8_sequences.json │ ├── y_string_1st_valid_surrogate_2nd_invalid.json │ ├── y_string_incomplete_surrogate_and_escape_valid.json │ ├── n_object_non_string_key_but_huge_number_instead.json │ ├── n_string_incomplete_surrogate_escape_invalid.json │ ├── y_object_extreme_numbers.json │ ├── y_string_accepted_surrogate_pairs.json │ ├── y_string_incomplete_surrogates_escape_valid.json │ ├── y_string_surrogates_U+1D11E_MUSICAL_SYMBOL_G_CLEF.json │ ├── y_number_very_big_negative_int.json │ ├── y_number_double_close_to_zero.json │ ├── n_array_invalid_utf8.json │ ├── y_string_iso_latin_1.json │ ├── n_array_a_invalid_utf8.json │ ├── n_string_utf16BE_no_BOM.json │ ├── n_string_utf16LE_no_BOM.json │ ├── y_string_invalid_utf-8.json │ ├── y_string_truncated-utf-8.json │ ├── n_string_UTF-16LE_with_BOM.json │ ├── n_structure_single_eacute.json │ ├── y_object_long_strings.json │ ├── y_object_string_unicode.json │ ├── n_number_invalid-utf-8-in-int.json │ ├── y_string_not_in_unicode_range.json │ ├── n_structure_incomplete_UTF8_BOM.json │ ├── n_structure_lone-invalid-utf-8.json │ ├── y_string_UTF-8_invalid_sequence.json │ ├── y_string_UTF8_surrogate_U+D800.json │ ├── n_number_invalid-utf-8-in-exponent.json │ ├── n_string_invalid-utf-8-in-escape.json │ ├── n_string_invalid_utf8_after_escape.json │ ├── y_string_overlong_sequence_2_bytes.json │ ├── y_string_overlong_sequence_6_bytes.json │ ├── n_number_invalid-utf-8-in-bigger-int.json │ ├── y_string_lone_utf8_continuation_byte.json │ ├── n_number_real_with_invalid_utf8_after_e.json │ ├── y_number_huge_exp.json │ ├── y_string_overlong_sequence_6_bytes_null.json │ └── n_object_lone_continuation_byte_in_key_and_trailing_comma.json ├── keywords │ ├── id.js │ ├── anchor.js │ ├── vocabulary.js │ ├── dynamicAnchor.js │ ├── comment.js │ ├── maxContains.js │ ├── minContains.js │ ├── not.js │ ├── title.js │ ├── default.js │ ├── examples.js │ ├── readOnly.js │ ├── deprecated.js │ ├── writeOnly.js │ ├── description.js │ ├── ref.js │ ├── maximum.js │ ├── minimum.js │ ├── maxItems.js │ ├── minItems.js │ ├── exclusiveMaximum.js │ ├── exclusiveMinimum.js │ ├── const.js │ ├── if.js │ ├── maxLength.js │ ├── minLength.js │ ├── pattern.js │ ├── maxProperties.js │ ├── minProperties.js │ ├── required.js │ ├── unknown.js │ ├── contentEncoding.js │ ├── contentMediaType.js │ └── definitions.js ├── string.schema.yml ├── string.schema.json ├── invalid-schema-error.js ├── bundled.schema.json ├── common.d.ts └── gherkin.ts ├── .github └── FUNDING.yml ├── draft-04 ├── id.js ├── ref.js ├── exclusiveMaximum.js └── exclusiveMinimum.js ├── .gitignore ├── bundle ├── fixtures │ ├── number.schema.json │ └── string.schema.json ├── snapshots │ ├── 047b47772606c7120c55e3e5a7630890 │ ├── 0741f489e460189fecd159bde2a3909f │ ├── 0967a0f89901e6f14b26914653134b1d │ ├── 0968dc2e0f7f9d0fb95859803d130bcf │ ├── 0a273ac7fab536e2a45359cb84d413cd │ ├── 0b0ceb7813068094ba6d811cedd386c8 │ ├── 0b6b4d6720813b423142725687ee3573 │ ├── 0be4480574e49cc72e4900b65cf3bb21 │ ├── 1839eb3563f23d86ce8b82968a925bc6 │ ├── 212e81715b46e10b4ff82e0d9c89c35f │ ├── 26ad73a9da1d5b5a6c552b858a9d69c3 │ ├── 2ac064532f0fce1c30efb679eed17b8e │ ├── 2c8965601028dfe1a687613b46f8ca6f │ ├── 395d3d08843ac8abba09eb133e7978cd │ ├── 4dab68f5d2365c143fb07630081c77f6 │ ├── 4e5064b8cfdbf3699cb3801b6130d41d │ ├── 51843eb00b24ce54724d656356a1a3d9 │ ├── 5211bcaba3d5aa4fb1f25582e1af97eb │ ├── 53c1950ab641eabdb75f07f0ef9eb3a5 │ ├── 5403e6e1f28a5125876658ff3d751cd1 │ ├── 54140ad057190e00ab9871e4da51e291 │ ├── 54e7e0f163e8df9b57359ebfaa226a94 │ ├── 590bff4705440957e5a8b2ca6d90f7c1 │ ├── 61200e833299e7e89f2db13461a60700 │ ├── 615e7ebc2b2e6d54eaba9fcc4250b963 │ ├── 6183fe3ae5936b60f09dda163ec612f0 │ ├── 6238eeda9d76d4c0e29813d5589196ba │ ├── 64240263623b2ea8361210d15f510542 │ ├── 68d8c9a93b5ad1e128f083aea3674876 │ ├── 6eb432d6800eedebc3b303695452452e │ ├── 72f6d93d93ad69b9ecb3f6a6a983d233 │ ├── 76330d600d3b15fd30b669ddc4776ae8 │ ├── 771d2d9d4912ce8383b5fd727f395aa6 │ ├── 7a401386a8407118c2d08def00be2194 │ ├── 7add5d300125d4643ff534a1883bb27a │ ├── 7e6fb0ca2cd5abd9626db94aa9dc9407 │ ├── 7ec890dc859d4c3f364263b647178797 │ ├── 81b72b7adf719c8bcfb135451475714e │ ├── 86f2b8ad3e4813d51ef62a5750efff64 │ ├── 8a4bd1aa80fd36bbc9f7625ed7d27c08 │ ├── 8d82bbac716ea8d8f1b291a86753d588 │ ├── 8eec74a4158bc9d69cfda1c4a81dde09 │ ├── 9702cb06b3fcc40e1c5c428042d0e060 │ ├── 985e90d7802de7c3349c75843168b801 │ ├── 9c71dbde814fe4eaa77f0d80a8aa9334 │ ├── 9ce4df72dc03b59ccb02217c58c003f6 │ ├── 9d2bad6893974aa4328863e942582bfd │ ├── a33fc45568cb12607871e347eb7777e7 │ ├── a44764b7eb85e7c6f7b09ef1bb54dc48 │ ├── a65239996a536da86d96203ed1ed808a │ ├── a6a61ea3cecf6acf4c700df42163592e │ ├── a8c9019b39529bc40550e1d05b4f8e61 │ ├── af8674b9aa39f1247c2e84e529a0bb09 │ ├── af9dd5d3cbf123589528723ebe8d855a │ ├── b4b4e763abddc958fb3f5e8af1c8eade │ ├── d0169f9d559605a043189442fd9e466c │ ├── d0e74fc59e78f89810a7174682ff2eab │ ├── d38405f98674cd4fd4b8862ce702ab4f │ ├── d72143df035b835bc32fac5bb557c0cc │ ├── dd5cca331ef1047721dee94ac88b6a62 │ ├── df5a22f4c0ef094f7f5d83c4d211d23b │ ├── e9bce8eaaef7284eb9cb3f70150637a8 │ ├── eb94b6c590a57596a16a7e0361ef5abb │ ├── ff644bb9835131fc991a4e6bcd8cd9e7 │ ├── ffa03141986d3883b34f4a27356e5fa4 │ ├── 02c66554839e629b28f800fe38f4c622 │ ├── 557769d3f116fb5e2a789f8518bf3d74 │ ├── 72c6d83249113f6fecb541dcf540f493 │ ├── 875bb0e8c8ced01d3cb05a825ae1a583 │ ├── a1b6eafcdd9db65dbb71758ab4b1ed26 │ ├── cabcd717013e39952a0536e1743a6bae │ ├── 0b798cb59af7fb9cfc7249535bd8c234 │ ├── 0fdaaa6dcec04489e9ad4964be3bf39e │ ├── 237670c373245028c385958495661c99 │ ├── 60fe51e112eb96463cc5218866c37ff2 │ ├── 62c4abd5d13ae96506ced0c055f04774 │ ├── b27bf02bb79fd9e56e796e7b28fd85e7 │ ├── f3f0d8bb8e194c2c206ee7a1638f7e60 │ ├── 05f3e43f4075eda59225b747e8372f95 │ ├── 139365710fd189f2fd51509dc69cec43 │ ├── 140107810716e03ab58f4dcf4e4764e5 │ ├── 17764df2d9bd322a6bf6eba674c4467f │ ├── 295e24d541e261e7fc1145930673ec37 │ ├── 33fe31d9d8affc4544295b6842cf2620 │ ├── 3e9eede60da0b5be63b9867c4f025f09 │ ├── 4ee232632e2175763e5b0d9095a0c96f │ ├── 58ba828516dc2a7dd11b211e7b0a4aea │ ├── 66e9dd8ee0228ecdcf6bd47108b92b3d │ ├── 69b106c927b7f7981fd36a8438bace2b │ ├── 7617d040bceda39dd57eb9510703ad14 │ ├── 8c14c43b3216be8b16cae4ab91e59c82 │ ├── 8dacf3eb9819ab76f0cbbb8d7a071939 │ ├── a0a9c59df24729670c60574f20bdc496 │ ├── b7377b8628b8a1223dba9f9126b69c8d │ ├── c13c6d3ec550add3c9198ee10f745274 │ ├── c38b0c2862655f5254c6d38ac0356a40 │ ├── cdfca9e5b3d8afb4d0d9485648ba95b7 │ ├── ce36ff9e106c90dbb7eeaeee1f268316 │ ├── e0a03a42453785f6a21a8aeacd465e74 │ ├── e0e27b1b6ebc852d2ff7e54c764880ae │ ├── e10af529d538f905393cb854c431bdde │ ├── 0847cca3f53b9cd12c08b8ab83d7486b │ ├── 09363ddcdd594c48891fa5b808f41d8f │ ├── 0c091e99424641638fe26b32a6ae54bd │ ├── 0c35d06197a49d13face4aa23020ee13 │ ├── 12a929ec4027ac23a3bfd2a485688590 │ ├── 139eaf7720391e4c1e25605f6e21410f │ ├── 17a2e2c02ca51cfc306983ed174445be │ ├── 185e15fd0af7f6485875e6a467f013cf │ ├── 1cea49df736e17a985371c89f01452da │ ├── 1d97116a722902353c4c7c69d7a45df8 │ ├── 1fa7f5692e8b36aef495e649b044cab0 │ ├── 23e41888dc468f92d7165c0d76363bf5 │ ├── 28c04cb59d9a3e0d0caacbf60dc8404c │ ├── 2b560704f3e005d1716e02a7fd7ad552 │ ├── 2e4080f67b91b77b1b5d2147b47c8a2e │ ├── 315fa750fea0c01f430ff0851285d350 │ ├── 35a365d04a84908c6a6b71df77a6cfc0 │ ├── 361635a018008bcd5f70257cc035a909 │ ├── 36b5b64c677a80297dc2d5e932a54b58 │ ├── 3e668d38678948523249b79c5c21b47e │ ├── 4445a88a53e9d8f8d69e8acd369f5254 │ ├── 44bbf1c8fe84f62e0fc89472a32441de │ ├── 47f0de21a982f0768ceffb58d44a06e9 │ ├── 48b9f39400d58f56b7248e301ad7e7de │ ├── 4954d2a7bb33977e76dc4adb10333cb8 │ ├── 49e532f70ff30fa595e9aef33fadb7d9 │ ├── 50b03a5e75eb98b3e2d3a57b58e9bcaa │ ├── 53f38f6440fff5a02a2fd3114a74cc0a │ ├── 588ce3c3d051294f32f288dc107aeb2a │ ├── 59ef6a103c67e9a30f20398cbf777603 │ ├── 5d1169fc5ced59e974bb0c760165a205 │ ├── 631601f0587d028272797790d9a69293 │ ├── 63cd868ff1cbf34a8528d4d242558f2a │ ├── 66c548e3bf559604741d9ed259ed34d7 │ ├── 6968c38a401b0688b45288e0ec95c885 │ ├── 69c91d8e93aff9925828b4aaa405dcf2 │ ├── 6adbb440ad31560a4a6466c5298e3a60 │ ├── 6b01a0eaa2125bf3ed257022d3b3afdf │ ├── 6f2d46005bed2363d10c8dc12fb0bfb9 │ ├── 7167dbda4b0815b291cd8895b4b36a70 │ ├── 74fc196dbfcf42211dfc95ce4a8c8e6c │ ├── 758dc11ae7979fa59d22e75942014c7c │ ├── 76142a2cb0bab3c94e8411c90b50ac61 │ ├── 77834ece32f1a31063e01f3ec4fa9053 │ ├── 7a67d89678cd91c5f1697da5aaa3f9f4 │ ├── 7e2086068ebf07622560f7242a8b000a │ ├── 82a595a4d57fd6c27d073bbb2bbd231b │ ├── 85ec6ca162a3b395988152a9b87636a1 │ ├── 8b6344a7c7b41f1737bbaa41d14ddcb5 │ ├── 903105d1609b59a688f9198f51b11b42 │ ├── 95923c2e8dc7e5a16eecc57b67dbec60 │ ├── 95e89f8c9ec6b89ee6213a2701898f10 │ ├── 9c8df8e4b331caba03f41952ff505787 │ ├── 9f117911cdae56755cabb2b3f791f912 │ ├── 9fe728bf4c7b847fe097022f019db817 │ ├── a3768a2fdf36c7220d9611da76658217 │ ├── a617dea854db2ec149020fb57eefffa8 │ ├── a7d91e48040101de8d1915781494813a │ ├── aabb0f472eda564a689ebcb62227cefd │ ├── ad33cb560813c2806ea52ca22be9615f │ ├── af6f9747c48fd58fda5ff4bc9d74a9cf │ ├── b387ce8ebf82b722b441dcc4c85955ef │ ├── b4b1ef9324f3a148a6b4011bf1b4a506 │ ├── b60562622e7fe9fdc5e3b177e9ce3c1d │ ├── b87f84af3c1c7b6345ee062534fc6047 │ ├── c0214836ff6291b6c79b285d44c6e28d │ ├── c1201e586f9a602a5239f1b86ffe8e07 │ ├── c3451b13501ff3b224ee15977937e916 │ ├── c35cfac1885964922e77c23599754063 │ ├── c6d06fb320d6f79617d612635443d83c │ ├── ca9452b58640e30b01a14076ec12ab07 │ ├── ce66ee549e82483149b216a3f1360a3a │ ├── d429ff8a61f5b5bdc7c46348508b6214 │ ├── d791ec0e505586d915f031f02cbaf0d7 │ ├── e262953038466e3ecb384a7203d5afea │ ├── e498f21ea24eea1cea0126d2f1d4c414 │ ├── e519f254c67f814e66cae870e6716027 │ ├── e6d1bc8a174e375315827ffd3903c304 │ ├── e6e034cb4ff9f3268650905ee7db349a │ ├── e9dbfe465360d67fca50423b23c98f8b │ ├── ece366e52b6e6410fb9a4d7e35bd445b │ ├── ef1f88368281d0fcc720f3b903a371ab │ ├── f11a8fcf101803bbaefad6a90cbb589b │ ├── f1d52a5f0cf477a97747d789aa3ec636 │ ├── f3924868f51b79fd1d70e5d81fd491dd │ ├── f3e0e57930508549d42b59b9e8e8d60f │ ├── f4c6697e6f589ec52ec9fd1793a59e09 │ ├── f9d0ba32e21e9b95e9354a8abd27a216 │ ├── fa45239d4aa24a77460d3c610bf01eba │ ├── fb0a093c36fe1f1256ec410fa8fe94ad │ ├── 114681e245a0b42f2313fc2e0315a1e7 │ ├── 1c5b525dd9558bb3bd0db3a72cda5e5e │ ├── 398f49c7510a4ce7675d27f2872a94c8 │ ├── 3e016af6c2bc7f7658ee0a739c238680 │ ├── 3e2d02b8cae2a253ea69ed381a8b9d98 │ ├── 66a532315c257b4ea8d0e223eb416c51 │ ├── 743690d9928397863e6c3a28937acdd9 │ ├── 7a8b3a53063ecb110cbaff5b1f230335 │ ├── a6c2814c634490d4878583119d08d68e │ ├── 0dcb5cd590f2b70cd9ddbc0ad8f045ce │ ├── 164201e3f9fb61bd594cc5f47cb94d55 │ ├── 2a2f29a42be7c37c15ade2a4d3b1d606 │ ├── 2cf8396e0620ac5ec71a5d9a79be3e42 │ ├── 2f015daadd33ad238c12fdd7f13f6be7 │ ├── 3f3dee627fbfc887cff9045580b1964d │ ├── 75cd205ad240fa2f9c65a803920cedd6 │ ├── 951cf14e0d14a1aadf5bdeaa5ed8d2a1 │ ├── afca16bc3569dd90d68489a24733cc12 │ ├── dcd9706d1348bdf7b535e8599c91985b │ ├── 0ada8a1e7e71d8771e5fefbf455bcb0d │ ├── 120a1e86ded8c56db704fe602846c6b8 │ ├── 1b9f06a2dd38791a0f07e262b40986c0 │ ├── 23ce37639303c4cdb4fa6dfe040fc0ff │ ├── 306aab4965c938883dcdf33ac166c126 │ ├── 3506fd4483c140b60a6ad8b0e7c371f2 │ ├── 379f482275fa7144adc6eb8061b633e2 │ ├── 37cf51cc927985382a5a870e89138cc1 │ ├── 441aabbe9efb26a2c634cd494c07aa1a │ ├── 45e4100de0755bfb3b5e7f78acf0d2b1 │ ├── 4da98c63a6fb5cf4ccdd1bd18ecee508 │ ├── 4f0fd0ffa38dffa6db8a3d1d5d463bcc │ ├── 5b709ee8ce260b37316a856c1dd3af8e │ ├── 603a07855d1c473b3008bdcd0cd8f730 │ ├── 64c6bad0f116a7630121c60f853d058d │ ├── 6b386352a3bdc92c705312c051682d06 │ ├── 6f095742f6db8534ecd5b6ccd293d37e │ ├── 773f35ea98a5b0395940a1a24bb66f63 │ ├── 7a2c563c23faa7d9aff4f943b978cfde │ ├── 7ec506bd89f8ff00deff19be525fbadf │ ├── 816e852a34eb476ddff3b64b44e6eea4 │ ├── 9980aa3b3e1c4d06966ec347bffa28d3 │ ├── 9b8b596cd673f6acb6020628b64323f5 │ ├── 9e697bcb061c883e23c4e22b4a4b35cb │ ├── a0bb26611b96a65e2b077977fe95b5e5 │ ├── a3f3186aa2664c82fef37f6e07bcb141 │ ├── a57ab912aaa16c60bad64247e7fccc25 │ ├── a68555395ebef6cb83c0cd53ef7c6f55 │ ├── a9d4bc6419c3955f9d42a176452b9d32 │ ├── b2351c12e1ff2aeba775d10a8b72f47c │ ├── b4fe30347745da383dfd315ab1d6db4c │ └── b62326334234db25ab5c9e026d673141 ├── file-schemas │ ├── string.schema.json │ ├── main.schema.json │ └── mixed-schemes.schema.json ├── test-suite.schema.json ├── test.schema.json └── index.d.ts ├── draft-2020-12 ├── dynamicAnchor.js └── meta │ ├── format-assertion.js │ ├── format-annotation.js │ ├── unevaluated.js │ └── content.js ├── draft-2019-09 ├── recursiveAnchor.js └── meta │ └── format.js ├── annotations ├── test-utils.d.ts ├── validation-error.js └── annotated-instance.d.ts ├── v1 └── meta │ ├── format.js │ ├── unevaluated.js │ ├── content.js │ └── meta-data.js ├── formats ├── handlers │ ├── ipv4.js │ ├── ipv6.js │ ├── iri.js │ ├── uri.js │ ├── date.js │ ├── time.js │ ├── uuid.js │ ├── email.js │ ├── regex.js │ ├── idn-email.js │ ├── date-time.js │ ├── duration.js │ ├── hostname.js │ ├── idn-hostname.js │ ├── iri-reference.js │ ├── uri-reference.js │ ├── json-pointer.js │ ├── draft-04 │ │ └── hostname.js │ ├── uri-template.js │ └── relative-json-pointer.js └── index.js ├── openapi-3-0 ├── nullable.js ├── xml.js ├── example.js ├── externalDocs.js └── discriminator.js ├── tsconfig.json └── .npmignore /lib/json-tests/n_number_+1.json: -------------------------------------------------------------------------------- 1 | [+1] -------------------------------------------------------------------------------- /lib/json-tests/n_number_-01.json: -------------------------------------------------------------------------------- 1 | [-01] -------------------------------------------------------------------------------- /lib/json-tests/n_number_-2..json: -------------------------------------------------------------------------------- 1 | [-2.] -------------------------------------------------------------------------------- /lib/json-tests/n_number_.-1.json: -------------------------------------------------------------------------------- 1 | [.-1] -------------------------------------------------------------------------------- /lib/json-tests/n_number_0e+.json: -------------------------------------------------------------------------------- 1 | [0e+] -------------------------------------------------------------------------------- /lib/json-tests/n_number_0e.json: -------------------------------------------------------------------------------- 1 | [0e] -------------------------------------------------------------------------------- /lib/json-tests/n_number_Inf.json: -------------------------------------------------------------------------------- 1 | [Inf] -------------------------------------------------------------------------------- /lib/json-tests/n_number_NaN.json: -------------------------------------------------------------------------------- 1 | [NaN] -------------------------------------------------------------------------------- /lib/json-tests/n_single_space.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/json-tests/y_array_empty.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /lib/json-tests/y_array_null.json: -------------------------------------------------------------------------------- 1 | [null] -------------------------------------------------------------------------------- /lib/json-tests/y_number.json: -------------------------------------------------------------------------------- 1 | [123e65] -------------------------------------------------------------------------------- /lib/json-tests/y_number_0e1.json: -------------------------------------------------------------------------------- 1 | [0e1] -------------------------------------------------------------------------------- /lib/json-tests/y_object_empty.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /lib/json-tests/y_string_pi.json: -------------------------------------------------------------------------------- 1 | ["π"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_space.json: -------------------------------------------------------------------------------- 1 | " " -------------------------------------------------------------------------------- /lib/json-tests/n_array_incomplete.json: -------------------------------------------------------------------------------- 1 | ["x" -------------------------------------------------------------------------------- /lib/json-tests/n_array_just_comma.json: -------------------------------------------------------------------------------- 1 | [,] -------------------------------------------------------------------------------- /lib/json-tests/n_array_just_minus.json: -------------------------------------------------------------------------------- 1 | [-] -------------------------------------------------------------------------------- /lib/json-tests/n_array_star_inside.json: -------------------------------------------------------------------------------- 1 | [*] -------------------------------------------------------------------------------- /lib/json-tests/n_array_unclosed.json: -------------------------------------------------------------------------------- 1 | ["" -------------------------------------------------------------------------------- /lib/json-tests/n_incomplete_null.json: -------------------------------------------------------------------------------- 1 | [nul] -------------------------------------------------------------------------------- /lib/json-tests/n_incomplete_true.json: -------------------------------------------------------------------------------- 1 | [tru] -------------------------------------------------------------------------------- /lib/json-tests/n_number_++.json: -------------------------------------------------------------------------------- 1 | [++1234] -------------------------------------------------------------------------------- /lib/json-tests/n_number_+Inf.json: -------------------------------------------------------------------------------- 1 | [+Inf] -------------------------------------------------------------------------------- /lib/json-tests/n_number_-1.0..json: -------------------------------------------------------------------------------- 1 | [-1.0.] -------------------------------------------------------------------------------- /lib/json-tests/n_number_-NaN.json: -------------------------------------------------------------------------------- 1 | [-NaN] -------------------------------------------------------------------------------- /lib/json-tests/n_number_.2e-3.json: -------------------------------------------------------------------------------- 1 | [.2e-3] -------------------------------------------------------------------------------- /lib/json-tests/n_number_0.1.2.json: -------------------------------------------------------------------------------- 1 | [0.1.2] -------------------------------------------------------------------------------- /lib/json-tests/n_number_0.3e+.json: -------------------------------------------------------------------------------- 1 | [0.3e+] -------------------------------------------------------------------------------- /lib/json-tests/n_number_0.3e.json: -------------------------------------------------------------------------------- 1 | [0.3e] -------------------------------------------------------------------------------- /lib/json-tests/n_number_0.e1.json: -------------------------------------------------------------------------------- 1 | [0.e1] -------------------------------------------------------------------------------- /lib/json-tests/n_number_1.0e+.json: -------------------------------------------------------------------------------- 1 | [1.0e+] -------------------------------------------------------------------------------- /lib/json-tests/n_number_1.0e-.json: -------------------------------------------------------------------------------- 1 | [1.0e-] -------------------------------------------------------------------------------- /lib/json-tests/n_number_1.0e.json: -------------------------------------------------------------------------------- 1 | [1.0e] -------------------------------------------------------------------------------- /lib/json-tests/n_number_1_000.json: -------------------------------------------------------------------------------- 1 | [1 000.0] -------------------------------------------------------------------------------- /lib/json-tests/n_number_1eE2.json: -------------------------------------------------------------------------------- 1 | [1eE2] -------------------------------------------------------------------------------- /lib/json-tests/n_number_2.e+3.json: -------------------------------------------------------------------------------- 1 | [2.e+3] -------------------------------------------------------------------------------- /lib/json-tests/n_number_2.e-3.json: -------------------------------------------------------------------------------- 1 | [2.e-3] -------------------------------------------------------------------------------- /lib/json-tests/n_number_2.e3.json: -------------------------------------------------------------------------------- 1 | [2.e3] -------------------------------------------------------------------------------- /lib/json-tests/n_number_9.e+.json: -------------------------------------------------------------------------------- 1 | [9.e+] -------------------------------------------------------------------------------- /lib/json-tests/n_object_emoji.json: -------------------------------------------------------------------------------- 1 | {🇨🇭} -------------------------------------------------------------------------------- /lib/json-tests/n_object_no-colon.json: -------------------------------------------------------------------------------- 1 | {"a" -------------------------------------------------------------------------------- /lib/json-tests/n_structure_end_array.json: -------------------------------------------------------------------------------- 1 | ] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_no_data.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/json-tests/y_array_false.json: -------------------------------------------------------------------------------- 1 | [false] -------------------------------------------------------------------------------- /lib/json-tests/y_number_0e+1.json: -------------------------------------------------------------------------------- 1 | [0e+1] -------------------------------------------------------------------------------- /lib/json-tests/y_number_minus_zero.json: -------------------------------------------------------------------------------- 1 | [-0] -------------------------------------------------------------------------------- /lib/json-tests/y_object_simple.json: -------------------------------------------------------------------------------- 1 | {"a":[]} -------------------------------------------------------------------------------- /lib/json-tests/y_string_utf8.json: -------------------------------------------------------------------------------- 1 | ["€𝄞"] -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [hyperjump-io] 2 | -------------------------------------------------------------------------------- /lib/json-tests/n_array_comma_and_number.json: -------------------------------------------------------------------------------- 1 | [,1] -------------------------------------------------------------------------------- /lib/json-tests/n_array_double_comma.json: -------------------------------------------------------------------------------- 1 | [1,,2] -------------------------------------------------------------------------------- /lib/json-tests/n_array_extra_close.json: -------------------------------------------------------------------------------- 1 | ["x"]] -------------------------------------------------------------------------------- /lib/json-tests/n_array_extra_comma.json: -------------------------------------------------------------------------------- 1 | ["",] -------------------------------------------------------------------------------- /lib/json-tests/n_array_number_and_comma.json: -------------------------------------------------------------------------------- 1 | [1,] -------------------------------------------------------------------------------- /lib/json-tests/n_incomplete_false.json: -------------------------------------------------------------------------------- 1 | [fals] -------------------------------------------------------------------------------- /lib/json-tests/n_number_0_capital_E+.json: -------------------------------------------------------------------------------- 1 | [0E+] -------------------------------------------------------------------------------- /lib/json-tests/n_number_0_capital_E.json: -------------------------------------------------------------------------------- 1 | [0E] -------------------------------------------------------------------------------- /lib/json-tests/n_number_expression.json: -------------------------------------------------------------------------------- 1 | [1+2] -------------------------------------------------------------------------------- /lib/json-tests/n_number_hex_1_digit.json: -------------------------------------------------------------------------------- 1 | [0x1] -------------------------------------------------------------------------------- /lib/json-tests/n_number_hex_2_digits.json: -------------------------------------------------------------------------------- 1 | [0x42] -------------------------------------------------------------------------------- /lib/json-tests/n_number_infinity.json: -------------------------------------------------------------------------------- 1 | [Infinity] -------------------------------------------------------------------------------- /lib/json-tests/n_number_invalid+-.json: -------------------------------------------------------------------------------- 1 | [0e+-1] -------------------------------------------------------------------------------- /lib/json-tests/n_number_minus_space_1.json: -------------------------------------------------------------------------------- 1 | [- 1] -------------------------------------------------------------------------------- /lib/json-tests/n_number_with_alpha.json: -------------------------------------------------------------------------------- 1 | [1.2a-3] -------------------------------------------------------------------------------- /lib/json-tests/n_object_missing_key.json: -------------------------------------------------------------------------------- 1 | {:"b"} -------------------------------------------------------------------------------- /lib/json-tests/n_object_missing_value.json: -------------------------------------------------------------------------------- 1 | {"a": -------------------------------------------------------------------------------- /lib/json-tests/n_object_non_string_key.json: -------------------------------------------------------------------------------- 1 | {1:1} -------------------------------------------------------------------------------- /lib/json-tests/n_object_single_quote.json: -------------------------------------------------------------------------------- 1 | {'a':0} -------------------------------------------------------------------------------- /lib/json-tests/n_string_backslash_00.json: -------------------------------------------------------------------------------- 1 | ["\"] -------------------------------------------------------------------------------- /lib/json-tests/n_string_escape_x.json: -------------------------------------------------------------------------------- 1 | ["\x00"] -------------------------------------------------------------------------------- /lib/json-tests/n_string_single_doublequote.json: -------------------------------------------------------------------------------- 1 | " -------------------------------------------------------------------------------- /lib/json-tests/n_string_unescaped_tab.json: -------------------------------------------------------------------------------- 1 | [" "] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_UTF8_BOM_no_data.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/json-tests/n_structure_double_array.json: -------------------------------------------------------------------------------- 1 | [][] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_open_object.json: -------------------------------------------------------------------------------- 1 | { -------------------------------------------------------------------------------- /lib/json-tests/n_structure_single_star.json: -------------------------------------------------------------------------------- 1 | * -------------------------------------------------------------------------------- /lib/json-tests/n_structure_unclosed_array.json: -------------------------------------------------------------------------------- 1 | [1 -------------------------------------------------------------------------------- /lib/json-tests/y_array_empty-string.json: -------------------------------------------------------------------------------- 1 | [""] -------------------------------------------------------------------------------- /lib/json-tests/y_number_after_space.json: -------------------------------------------------------------------------------- 1 | [ 4] -------------------------------------------------------------------------------- /lib/json-tests/y_number_int_with_exp.json: -------------------------------------------------------------------------------- 1 | [20e1] -------------------------------------------------------------------------------- /lib/json-tests/y_number_negative_int.json: -------------------------------------------------------------------------------- 1 | [-123] -------------------------------------------------------------------------------- /lib/json-tests/y_number_negative_one.json: -------------------------------------------------------------------------------- 1 | [-1] -------------------------------------------------------------------------------- /lib/json-tests/y_number_negative_zero.json: -------------------------------------------------------------------------------- 1 | [-0] -------------------------------------------------------------------------------- /lib/json-tests/y_number_real_neg_exp.json: -------------------------------------------------------------------------------- 1 | [1e-2] -------------------------------------------------------------------------------- /lib/json-tests/y_number_simple_int.json: -------------------------------------------------------------------------------- 1 | [123] -------------------------------------------------------------------------------- /lib/json-tests/y_object_basic.json: -------------------------------------------------------------------------------- 1 | {"asd":"sdf"} -------------------------------------------------------------------------------- /lib/json-tests/y_object_empty_key.json: -------------------------------------------------------------------------------- 1 | {"":0} -------------------------------------------------------------------------------- /lib/json-tests/y_string_in_array.json: -------------------------------------------------------------------------------- 1 | ["asd"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_u+2029_par_sep.json: -------------------------------------------------------------------------------- 1 | ["
"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_unicode.json: -------------------------------------------------------------------------------- 1 | ["\uA66D"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_unicode_2.json: -------------------------------------------------------------------------------- 1 | ["⍂㈴⍂"] -------------------------------------------------------------------------------- /lib/json-tests/y_structure_lonely_int.json: -------------------------------------------------------------------------------- 1 | 42 -------------------------------------------------------------------------------- /lib/json-tests/y_structure_lonely_null.json: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /lib/json-tests/y_structure_lonely_true.json: -------------------------------------------------------------------------------- 1 | true -------------------------------------------------------------------------------- /lib/json-tests/y_structure_string_empty.json: -------------------------------------------------------------------------------- 1 | "" -------------------------------------------------------------------------------- /lib/json-tests/n_array_comma_after_close.json: -------------------------------------------------------------------------------- 1 | [""], -------------------------------------------------------------------------------- /lib/json-tests/n_array_double_extra_comma.json: -------------------------------------------------------------------------------- 1 | ["x",,] -------------------------------------------------------------------------------- /lib/json-tests/n_array_missing_value.json: -------------------------------------------------------------------------------- 1 | [ , ""] -------------------------------------------------------------------------------- /lib/json-tests/n_multidigit_number_then_00.json: -------------------------------------------------------------------------------- 1 | 123 -------------------------------------------------------------------------------- /lib/json-tests/n_number_starting_with_dot.json: -------------------------------------------------------------------------------- 1 | [.123] -------------------------------------------------------------------------------- /lib/json-tests/n_number_with_leading_zero.json: -------------------------------------------------------------------------------- 1 | [012] -------------------------------------------------------------------------------- /lib/json-tests/n_object_bad_value.json: -------------------------------------------------------------------------------- 1 | ["x", truth] -------------------------------------------------------------------------------- /lib/json-tests/n_object_bracket_key.json: -------------------------------------------------------------------------------- 1 | {[: "x"} 2 | -------------------------------------------------------------------------------- /lib/json-tests/n_object_double_colon.json: -------------------------------------------------------------------------------- 1 | {"x"::"b"} -------------------------------------------------------------------------------- /lib/json-tests/n_object_missing_colon.json: -------------------------------------------------------------------------------- 1 | {"a" b} -------------------------------------------------------------------------------- /lib/json-tests/n_object_trailing_comma.json: -------------------------------------------------------------------------------- 1 | {"id":0,} -------------------------------------------------------------------------------- /lib/json-tests/n_object_unquoted_key.json: -------------------------------------------------------------------------------- 1 | {a: "b"} -------------------------------------------------------------------------------- /lib/json-tests/n_string_escaped_emoji.json: -------------------------------------------------------------------------------- 1 | ["\🌀"] -------------------------------------------------------------------------------- /lib/json-tests/n_string_incomplete_escape.json: -------------------------------------------------------------------------------- 1 | ["\"] -------------------------------------------------------------------------------- /lib/json-tests/n_string_start_escape_unclosed.json: -------------------------------------------------------------------------------- 1 | ["\ -------------------------------------------------------------------------------- /lib/json-tests/n_string_unicode_CapitalU.json: -------------------------------------------------------------------------------- 1 | "\UA66D" -------------------------------------------------------------------------------- /lib/json-tests/n_string_with_trailing_garbage.json: -------------------------------------------------------------------------------- 1 | ""x -------------------------------------------------------------------------------- /lib/json-tests/n_structure_U+2060_word_joined.json: -------------------------------------------------------------------------------- 1 | [⁠] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_angle_bracket_..json: -------------------------------------------------------------------------------- 1 | <.> -------------------------------------------------------------------------------- /lib/json-tests/n_structure_lone-open-bracket.json: -------------------------------------------------------------------------------- 1 | [ -------------------------------------------------------------------------------- /lib/json-tests/n_structure_open_array_comma.json: -------------------------------------------------------------------------------- 1 | [, -------------------------------------------------------------------------------- /lib/json-tests/n_structure_open_array_string.json: -------------------------------------------------------------------------------- 1 | ["a" -------------------------------------------------------------------------------- /lib/json-tests/n_structure_open_object_comma.json: -------------------------------------------------------------------------------- 1 | {, -------------------------------------------------------------------------------- /lib/json-tests/n_structure_unicode-identifier.json: -------------------------------------------------------------------------------- 1 | å -------------------------------------------------------------------------------- /lib/json-tests/y_array_arraysWithSpaces.json: -------------------------------------------------------------------------------- 1 | [[] ] -------------------------------------------------------------------------------- /lib/json-tests/y_array_ending_with_newline.json: -------------------------------------------------------------------------------- 1 | ["a"] -------------------------------------------------------------------------------- /lib/json-tests/y_array_with_leading_space.json: -------------------------------------------------------------------------------- 1 | [1] -------------------------------------------------------------------------------- /lib/json-tests/y_array_with_trailing_space.json: -------------------------------------------------------------------------------- 1 | [2] -------------------------------------------------------------------------------- /lib/json-tests/y_number_real_capital_e.json: -------------------------------------------------------------------------------- 1 | [1E22] -------------------------------------------------------------------------------- /lib/json-tests/y_number_real_exponent.json: -------------------------------------------------------------------------------- 1 | [123e45] -------------------------------------------------------------------------------- /lib/json-tests/y_number_real_pos_exponent.json: -------------------------------------------------------------------------------- 1 | [1e+2] -------------------------------------------------------------------------------- /lib/json-tests/y_number_simple_real.json: -------------------------------------------------------------------------------- 1 | [123.456789] -------------------------------------------------------------------------------- /lib/json-tests/y_string_double_escape_a.json: -------------------------------------------------------------------------------- 1 | ["\\a"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_double_escape_n.json: -------------------------------------------------------------------------------- 1 | ["\\n"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_null_escape.json: -------------------------------------------------------------------------------- 1 | ["\u0000"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_one-byte-utf-8.json: -------------------------------------------------------------------------------- 1 | ["\u002c"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_simple_ascii.json: -------------------------------------------------------------------------------- 1 | ["asd "] -------------------------------------------------------------------------------- /lib/json-tests/y_string_two-byte-utf-8.json: -------------------------------------------------------------------------------- 1 | ["\u0123"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_u+2028_line_sep.json: -------------------------------------------------------------------------------- 1 | ["
"] -------------------------------------------------------------------------------- /lib/json-tests/y_structure_lonely_false.json: -------------------------------------------------------------------------------- 1 | false -------------------------------------------------------------------------------- /lib/json-tests/y_structure_lonely_string.json: -------------------------------------------------------------------------------- 1 | "asd" -------------------------------------------------------------------------------- /lib/json-tests/y_structure_true_in_array.json: -------------------------------------------------------------------------------- 1 | [true] -------------------------------------------------------------------------------- /lib/json-tests/y_structure_whitespace_array.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /lib/json-tests/n_array_1_true_without_comma.json: -------------------------------------------------------------------------------- 1 | [1 true] -------------------------------------------------------------------------------- /lib/json-tests/n_array_colon_instead_of_comma.json: -------------------------------------------------------------------------------- 1 | ["": 1] -------------------------------------------------------------------------------- /lib/json-tests/n_array_incomplete_invalid_value.json: -------------------------------------------------------------------------------- 1 | [x -------------------------------------------------------------------------------- /lib/json-tests/n_array_inner_array_no_comma.json: -------------------------------------------------------------------------------- 1 | [3[4]] -------------------------------------------------------------------------------- /lib/json-tests/n_array_number_and_several_commas.json: -------------------------------------------------------------------------------- 1 | [1,,] -------------------------------------------------------------------------------- /lib/json-tests/n_array_unclosed_trailing_comma.json: -------------------------------------------------------------------------------- 1 | [1, -------------------------------------------------------------------------------- /lib/json-tests/n_array_unclosed_with_object_inside.json: -------------------------------------------------------------------------------- 1 | [{} -------------------------------------------------------------------------------- /lib/json-tests/n_number_U+FF11_fullwidth_digit_one.json: -------------------------------------------------------------------------------- 1 | [1] -------------------------------------------------------------------------------- /lib/json-tests/n_number_minus_infinity.json: -------------------------------------------------------------------------------- 1 | [-Infinity] -------------------------------------------------------------------------------- /lib/json-tests/n_number_neg_with_garbage_at_end.json: -------------------------------------------------------------------------------- 1 | [-1x] -------------------------------------------------------------------------------- /lib/json-tests/n_number_real_garbage_after_e.json: -------------------------------------------------------------------------------- 1 | [1ea] -------------------------------------------------------------------------------- /lib/json-tests/n_object_garbage_at_end.json: -------------------------------------------------------------------------------- 1 | {"a":"a" 123} -------------------------------------------------------------------------------- /lib/json-tests/n_object_missing_semicolon.json: -------------------------------------------------------------------------------- 1 | {"a" "b"} -------------------------------------------------------------------------------- /lib/json-tests/n_object_trailing_comment.json: -------------------------------------------------------------------------------- 1 | {"a":"b"}/**/ -------------------------------------------------------------------------------- /lib/json-tests/n_object_unterminated-value.json: -------------------------------------------------------------------------------- 1 | {"a":"a -------------------------------------------------------------------------------- /lib/json-tests/n_string_accentuated_char_no_quotes.json: -------------------------------------------------------------------------------- 1 | [é] -------------------------------------------------------------------------------- /lib/json-tests/n_string_escaped_backslash_bad.json: -------------------------------------------------------------------------------- 1 | ["\\\"] -------------------------------------------------------------------------------- /lib/json-tests/n_string_escaped_ctrl_char_tab.json: -------------------------------------------------------------------------------- 1 | ["\ "] -------------------------------------------------------------------------------- /lib/json-tests/n_string_invalid_backslash_esc.json: -------------------------------------------------------------------------------- 1 | ["\a"] -------------------------------------------------------------------------------- /lib/json-tests/n_string_no_quotes_with_bad_escape.json: -------------------------------------------------------------------------------- 1 | [\n] -------------------------------------------------------------------------------- /lib/json-tests/n_string_single_quote.json: -------------------------------------------------------------------------------- 1 | ['single quote'] -------------------------------------------------------------------------------- /lib/json-tests/n_string_unescaped_ctrl_char.json: -------------------------------------------------------------------------------- 1 | ["aa"] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_UTF-8_BOM_empty_object.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /lib/json-tests/n_structure_angle_bracket_null.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_array_trailing_garbage.json: -------------------------------------------------------------------------------- 1 | [1]x -------------------------------------------------------------------------------- /lib/json-tests/n_structure_ascii-unicode-identifier.json: -------------------------------------------------------------------------------- 1 | aå -------------------------------------------------------------------------------- /lib/json-tests/n_structure_capitalized_True.json: -------------------------------------------------------------------------------- 1 | [True] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_close_unopened_array.json: -------------------------------------------------------------------------------- 1 | 1] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_open_array_apostrophe.json: -------------------------------------------------------------------------------- 1 | [' -------------------------------------------------------------------------------- /lib/json-tests/n_structure_open_array_open_object.json: -------------------------------------------------------------------------------- 1 | [{ -------------------------------------------------------------------------------- /lib/json-tests/n_structure_open_array_open_string.json: -------------------------------------------------------------------------------- 1 | ["a -------------------------------------------------------------------------------- /lib/json-tests/n_structure_open_object_close_array.json: -------------------------------------------------------------------------------- 1 | {] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_open_object_open_array.json: -------------------------------------------------------------------------------- 1 | {[ -------------------------------------------------------------------------------- /lib/json-tests/n_structure_open_object_open_string.json: -------------------------------------------------------------------------------- 1 | {"a -------------------------------------------------------------------------------- /lib/json-tests/n_structure_open_open.json: -------------------------------------------------------------------------------- 1 | ["\{["\{["\{["\{ -------------------------------------------------------------------------------- /lib/json-tests/n_structure_trailing_#.json: -------------------------------------------------------------------------------- 1 | {"a":"b"}#{} -------------------------------------------------------------------------------- /lib/json-tests/n_structure_whitespace_formfeed.json: -------------------------------------------------------------------------------- 1 | [ ] -------------------------------------------------------------------------------- /lib/json-tests/y_array_with_1_and_newline.json: -------------------------------------------------------------------------------- 1 | [1 2 | ] -------------------------------------------------------------------------------- /lib/json-tests/y_number_neg_int_huge_exp.json: -------------------------------------------------------------------------------- 1 | [-1e+9999] -------------------------------------------------------------------------------- /lib/json-tests/y_number_real_capital_e_neg_exp.json: -------------------------------------------------------------------------------- 1 | [1E-2] -------------------------------------------------------------------------------- /lib/json-tests/y_number_real_capital_e_pos_exp.json: -------------------------------------------------------------------------------- 1 | [1E+2] -------------------------------------------------------------------------------- /lib/json-tests/y_number_real_underflow.json: -------------------------------------------------------------------------------- 1 | [123e-10000000] -------------------------------------------------------------------------------- /lib/json-tests/y_object.json: -------------------------------------------------------------------------------- 1 | {"asd":"sdf", "dfg":"fgh"} -------------------------------------------------------------------------------- /lib/json-tests/y_string_backslash_doublequotes.json: -------------------------------------------------------------------------------- 1 | ["\""] -------------------------------------------------------------------------------- /lib/json-tests/y_string_comments.json: -------------------------------------------------------------------------------- 1 | ["a/*b*/c/*d//e"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_three-byte-utf-8.json: -------------------------------------------------------------------------------- 1 | ["\u0821"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_unescaped_char_delete.json: -------------------------------------------------------------------------------- 1 | [""] -------------------------------------------------------------------------------- /lib/json-tests/y_string_with_del_character.json: -------------------------------------------------------------------------------- 1 | ["aa"] -------------------------------------------------------------------------------- /lib/json-tests/y_structure_lonely_negative_real.json: -------------------------------------------------------------------------------- 1 | -0.1 -------------------------------------------------------------------------------- /lib/json-tests/y_structure_trailing_newline.json: -------------------------------------------------------------------------------- 1 | ["a"] 2 | -------------------------------------------------------------------------------- /lib/json-tests/n_array_items_separated_by_semicolon.json: -------------------------------------------------------------------------------- 1 | [1:2] -------------------------------------------------------------------------------- /lib/json-tests/n_number_invalid-negative-real.json: -------------------------------------------------------------------------------- 1 | [-123.123foo] -------------------------------------------------------------------------------- /lib/json-tests/n_number_neg_int_starting_with_zero.json: -------------------------------------------------------------------------------- 1 | [-012] -------------------------------------------------------------------------------- /lib/json-tests/n_number_neg_real_without_int_part.json: -------------------------------------------------------------------------------- 1 | [-.123] -------------------------------------------------------------------------------- /lib/json-tests/n_number_real_without_fractional_part.json: -------------------------------------------------------------------------------- 1 | [1.] -------------------------------------------------------------------------------- /lib/json-tests/n_object_comma_instead_of_colon.json: -------------------------------------------------------------------------------- 1 | {"x", null} -------------------------------------------------------------------------------- /lib/json-tests/n_object_with_trailing_garbage.json: -------------------------------------------------------------------------------- 1 | {"a":"b"}# -------------------------------------------------------------------------------- /lib/json-tests/n_string_1_surrogate_then_escape.json: -------------------------------------------------------------------------------- 1 | ["\uD800\"] -------------------------------------------------------------------------------- /lib/json-tests/n_string_incomplete_surrogate.json: -------------------------------------------------------------------------------- 1 | ["\uD834\uDd"] -------------------------------------------------------------------------------- /lib/json-tests/n_string_invalid_unicode_escape.json: -------------------------------------------------------------------------------- 1 | ["\uqqqq"] -------------------------------------------------------------------------------- /lib/json-tests/n_string_single_string_no_double_quotes.json: -------------------------------------------------------------------------------- 1 | abc -------------------------------------------------------------------------------- /lib/json-tests/n_string_unescaped_newline.json: -------------------------------------------------------------------------------- 1 | ["new 2 | line"] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_null-byte-outside-string.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_number_with_trailing_garbage.json: -------------------------------------------------------------------------------- 1 | 2@ -------------------------------------------------------------------------------- /lib/json-tests/n_structure_object_unclosed_no_value.json: -------------------------------------------------------------------------------- 1 | {"": -------------------------------------------------------------------------------- /lib/json-tests/n_structure_unclosed_object.json: -------------------------------------------------------------------------------- 1 | {"asd":"asd" -------------------------------------------------------------------------------- /lib/json-tests/y_array_heterogeneous.json: -------------------------------------------------------------------------------- 1 | [null, 1, "1", {}] -------------------------------------------------------------------------------- /lib/json-tests/y_number_double_huge_neg_exp.json: -------------------------------------------------------------------------------- 1 | [123.456e-789] -------------------------------------------------------------------------------- /lib/json-tests/y_number_pos_double_huge_exp.json: -------------------------------------------------------------------------------- 1 | [1.5e+9999] -------------------------------------------------------------------------------- /lib/json-tests/y_number_real_fraction_exponent.json: -------------------------------------------------------------------------------- 1 | [123.456e78] -------------------------------------------------------------------------------- /lib/json-tests/y_number_real_neg_overflow.json: -------------------------------------------------------------------------------- 1 | [-123123e100000] -------------------------------------------------------------------------------- /lib/json-tests/y_number_real_pos_overflow.json: -------------------------------------------------------------------------------- 1 | [123123e100000] -------------------------------------------------------------------------------- /lib/json-tests/y_object_duplicated_key.json: -------------------------------------------------------------------------------- 1 | {"a":"b","a":"c"} -------------------------------------------------------------------------------- /lib/json-tests/y_object_key_lone_2nd_surrogate.json: -------------------------------------------------------------------------------- 1 | {"\uDFAA":0} -------------------------------------------------------------------------------- /lib/json-tests/y_object_with_newlines.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": "b" 3 | } -------------------------------------------------------------------------------- /lib/json-tests/y_string_escaped_noncharacter.json: -------------------------------------------------------------------------------- 1 | ["\uFFFF"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_invalid_lonely_surrogate.json: -------------------------------------------------------------------------------- 1 | ["\ud800"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_invalid_surrogate.json: -------------------------------------------------------------------------------- 1 | ["\ud800abc"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_lone_second_surrogate.json: -------------------------------------------------------------------------------- 1 | ["\uDFAA"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_nbsp_uescaped.json: -------------------------------------------------------------------------------- 1 | ["new\u00A0line"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_nonCharacterInUTF-8_U+10FFFF.json: -------------------------------------------------------------------------------- 1 | ["􏿿"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_nonCharacterInUTF-8_U+FFFF.json: -------------------------------------------------------------------------------- 1 | ["￿"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_uescaped_newline.json: -------------------------------------------------------------------------------- 1 | ["new\u000Aline"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_unicodeEscapedBackslash.json: -------------------------------------------------------------------------------- 1 | ["\u005C"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_unicode_U+FDD0_nonchar.json: -------------------------------------------------------------------------------- 1 | ["\uFDD0"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_unicode_U+FFFE_nonchar.json: -------------------------------------------------------------------------------- 1 | ["\uFFFE"] -------------------------------------------------------------------------------- /lib/json-tests/n_array_newlines_unclosed.json: -------------------------------------------------------------------------------- 1 | ["a", 2 | 4 3 | ,1, -------------------------------------------------------------------------------- /lib/json-tests/n_array_spaces_vertical_tab_formfeed.json: -------------------------------------------------------------------------------- 1 | [" a"\f] -------------------------------------------------------------------------------- /lib/json-tests/n_array_unclosed_with_new_lines.json: -------------------------------------------------------------------------------- 1 | [1, 2 | 1 3 | ,1 -------------------------------------------------------------------------------- /lib/json-tests/n_number_minus_sign_with_trailing_garbage.json: -------------------------------------------------------------------------------- 1 | [-foo] -------------------------------------------------------------------------------- /lib/json-tests/n_object_key_with_single_quotes.json: -------------------------------------------------------------------------------- 1 | {key: 'value'} -------------------------------------------------------------------------------- /lib/json-tests/n_object_repeated_null_null.json: -------------------------------------------------------------------------------- 1 | {null:null,null:null} -------------------------------------------------------------------------------- /lib/json-tests/n_object_several_trailing_commas.json: -------------------------------------------------------------------------------- 1 | {"id":0,,,,,} -------------------------------------------------------------------------------- /lib/json-tests/n_object_trailing_comment_open.json: -------------------------------------------------------------------------------- 1 | {"a":"b"}/**// -------------------------------------------------------------------------------- /lib/json-tests/n_object_trailing_comment_slash_open.json: -------------------------------------------------------------------------------- 1 | {"a":"b"}// -------------------------------------------------------------------------------- /lib/json-tests/n_object_two_commas_in_a_row.json: -------------------------------------------------------------------------------- 1 | {"a":"b",,"c":"d"} -------------------------------------------------------------------------------- /lib/json-tests/n_string_1_surrogate_then_escape_u.json: -------------------------------------------------------------------------------- 1 | ["\uD800\u"] -------------------------------------------------------------------------------- /lib/json-tests/n_string_1_surrogate_then_escape_u1.json: -------------------------------------------------------------------------------- 1 | ["\uD800\u1"] -------------------------------------------------------------------------------- /lib/json-tests/n_string_incomplete_escaped_character.json: -------------------------------------------------------------------------------- 1 | ["\u00A"] -------------------------------------------------------------------------------- /lib/json-tests/n_string_leading_uescaped_thinspace.json: -------------------------------------------------------------------------------- 1 | [\u0020"asd"] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_array_with_extra_array_close.json: -------------------------------------------------------------------------------- 1 | [1]] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_array_with_unclosed_string.json: -------------------------------------------------------------------------------- 1 | ["asd] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_object_followed_by_closing_object.json: -------------------------------------------------------------------------------- 1 | {}} -------------------------------------------------------------------------------- /lib/json-tests/n_structure_uescaped_LF_before_string.json: -------------------------------------------------------------------------------- 1 | [\u000A""] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_whitespace_U+2060_word_joiner.json: -------------------------------------------------------------------------------- 1 | [⁠] -------------------------------------------------------------------------------- /lib/json-tests/y_array_with_several_null.json: -------------------------------------------------------------------------------- 1 | [1,null,null,null,2] -------------------------------------------------------------------------------- /lib/json-tests/y_number_too_big_pos_int.json: -------------------------------------------------------------------------------- 1 | [100000000000000000000] -------------------------------------------------------------------------------- /lib/json-tests/y_object_escaped_null_in_key.json: -------------------------------------------------------------------------------- 1 | {"foo\u0000bar": 42} -------------------------------------------------------------------------------- /lib/json-tests/y_string_1st_surrogate_but_2nd_missing.json: -------------------------------------------------------------------------------- 1 | ["\uDADA"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_accepted_surrogate_pair.json: -------------------------------------------------------------------------------- 1 | ["\uD801\udc37"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_allowed_escapes.json: -------------------------------------------------------------------------------- 1 | ["\"\\\/\b\f\n\r\t"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_backslash_and_u_escaped_zero.json: -------------------------------------------------------------------------------- 1 | ["\\u0000"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_escaped_control_character.json: -------------------------------------------------------------------------------- 1 | ["\u0012"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_in_array_with_leading_space.json: -------------------------------------------------------------------------------- 1 | [ "asd"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_incomplete_surrogate_pair.json: -------------------------------------------------------------------------------- 1 | ["\uDd1ea"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_last_surrogates_1_and_2.json: -------------------------------------------------------------------------------- 1 | ["\uDBFF\uDFFF"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_reservedCharacterInUTF-8_U+1BFFF.json: -------------------------------------------------------------------------------- 1 | ["𛿿"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_uEscape.json: -------------------------------------------------------------------------------- 1 | ["\u0061\u30af\u30EA\u30b9"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_unicode_U+1FFFE_nonchar.json: -------------------------------------------------------------------------------- 1 | ["\uD83F\uDFFE"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_unicode_U+2064_invisible_plus.json: -------------------------------------------------------------------------------- 1 | ["\u2064"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_unicode_escaped_double_quote.json: -------------------------------------------------------------------------------- 1 | ["\u0022"] -------------------------------------------------------------------------------- /lib/json-tests/n_number_with_alpha_char.json: -------------------------------------------------------------------------------- 1 | [1.8011670033376514H-308] -------------------------------------------------------------------------------- /lib/json-tests/n_object_with_single_string.json: -------------------------------------------------------------------------------- 1 | { "foo" : "bar", "a" } -------------------------------------------------------------------------------- /lib/json-tests/n_string_1_surrogate_then_escape_u1x.json: -------------------------------------------------------------------------------- 1 | ["\uD800\u1x"] -------------------------------------------------------------------------------- /lib/json-tests/n_structure_comma_instead_of_closing_brace.json: -------------------------------------------------------------------------------- 1 | {"x": true, -------------------------------------------------------------------------------- /lib/json-tests/n_structure_object_with_comment.json: -------------------------------------------------------------------------------- 1 | {"a":/*comment*/"b"} -------------------------------------------------------------------------------- /lib/json-tests/n_structure_open_object_string_with_apostrophes.json: -------------------------------------------------------------------------------- 1 | {'a' -------------------------------------------------------------------------------- /lib/json-tests/n_structure_unclosed_array_partial_null.json: -------------------------------------------------------------------------------- 1 | [ false, nul -------------------------------------------------------------------------------- /lib/json-tests/y_object_duplicated_key_and_value.json: -------------------------------------------------------------------------------- 1 | {"a":"b","a":"b"} -------------------------------------------------------------------------------- /lib/json-tests/y_string_inverted_surrogates_U+1D11E.json: -------------------------------------------------------------------------------- 1 | ["\uDd1e\uD834"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_unicode_U+10FFFE_nonchar.json: -------------------------------------------------------------------------------- 1 | ["\uDBFF\uDFFE"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_unicode_U+200B_ZERO_WIDTH_SPACE.json: -------------------------------------------------------------------------------- 1 | ["\u200B"] -------------------------------------------------------------------------------- /lib/json-tests/n_object_trailing_comment_slash_open_incomplete.json: -------------------------------------------------------------------------------- 1 | {"a":"b"}/ -------------------------------------------------------------------------------- /lib/json-tests/n_structure_object_with_trailing_garbage.json: -------------------------------------------------------------------------------- 1 | {"a": true} "x" -------------------------------------------------------------------------------- /lib/json-tests/n_structure_unclosed_array_unfinished_false.json: -------------------------------------------------------------------------------- 1 | [ true, fals -------------------------------------------------------------------------------- /lib/json-tests/n_structure_unclosed_array_unfinished_true.json: -------------------------------------------------------------------------------- 1 | [ false, tru -------------------------------------------------------------------------------- /lib/json-tests/y_number_too_big_neg_int.json: -------------------------------------------------------------------------------- 1 | [-123123123123123123123123123123] -------------------------------------------------------------------------------- /lib/json-tests/y_string_1_2_3_bytes_UTF-8_sequences.json: -------------------------------------------------------------------------------- 1 | ["\u0060\u012a\u12AB"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_1st_valid_surrogate_2nd_invalid.json: -------------------------------------------------------------------------------- 1 | ["\uD888\u1234"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_incomplete_surrogate_and_escape_valid.json: -------------------------------------------------------------------------------- 1 | ["\uD800\n"] -------------------------------------------------------------------------------- /lib/json-tests/n_object_non_string_key_but_huge_number_instead.json: -------------------------------------------------------------------------------- 1 | {9999E9999:1} -------------------------------------------------------------------------------- /lib/json-tests/n_string_incomplete_surrogate_escape_invalid.json: -------------------------------------------------------------------------------- 1 | ["\uD800\uD800\x"] -------------------------------------------------------------------------------- /lib/json-tests/y_object_extreme_numbers.json: -------------------------------------------------------------------------------- 1 | { "min": -1.0e+28, "max": 1.0e+28 } -------------------------------------------------------------------------------- /lib/json-tests/y_string_accepted_surrogate_pairs.json: -------------------------------------------------------------------------------- 1 | ["\ud83d\ude39\ud83d\udc8d"] -------------------------------------------------------------------------------- /lib/json-tests/y_string_incomplete_surrogates_escape_valid.json: -------------------------------------------------------------------------------- 1 | ["\uD800\uD800\n"] -------------------------------------------------------------------------------- /lib/keywords/id.js: -------------------------------------------------------------------------------- 1 | export default { id: "https://json-schema.org/keyword/id" }; 2 | -------------------------------------------------------------------------------- /draft-04/id.js: -------------------------------------------------------------------------------- 1 | export default { id: "https://json-schema.org/keyword/draft-04/id" }; 2 | -------------------------------------------------------------------------------- /lib/json-tests/y_string_surrogates_U+1D11E_MUSICAL_SYMBOL_G_CLEF.json: -------------------------------------------------------------------------------- 1 | ["\uD834\uDd1e"] -------------------------------------------------------------------------------- /lib/string.schema.yml: -------------------------------------------------------------------------------- 1 | $schema: 'https://json-schema.org/v1' 2 | 3 | type: string 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | package-lock.json 3 | coverage/ 4 | scratch/ 5 | bun.lockb 6 | -------------------------------------------------------------------------------- /draft-04/ref.js: -------------------------------------------------------------------------------- 1 | export default { id: "https://json-schema.org/keyword/draft-04/ref" }; 2 | -------------------------------------------------------------------------------- /lib/keywords/anchor.js: -------------------------------------------------------------------------------- 1 | export default { id: "https://json-schema.org/keyword/anchor" }; 2 | -------------------------------------------------------------------------------- /bundle/fixtures/number.schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": "Number", 3 | "type": "number" 4 | } 5 | -------------------------------------------------------------------------------- /bundle/fixtures/string.schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": "String", 3 | "type": "string" 4 | } 5 | -------------------------------------------------------------------------------- /lib/json-tests/y_number_very_big_negative_int.json: -------------------------------------------------------------------------------- 1 | [-237462374673276894279832749832423479823246327846] -------------------------------------------------------------------------------- /lib/keywords/vocabulary.js: -------------------------------------------------------------------------------- 1 | export default { id: "https://json-schema.org/keyword/vocabulary" }; 2 | -------------------------------------------------------------------------------- /lib/keywords/dynamicAnchor.js: -------------------------------------------------------------------------------- 1 | export default { id: "https://json-schema.org/keyword/dynamicAnchor" }; 2 | -------------------------------------------------------------------------------- /lib/string.schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/v1", 3 | 4 | "type": "string" 5 | } 6 | -------------------------------------------------------------------------------- /bundle/snapshots/047b47772606c7120c55e3e5a7630890: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/0741f489e460189fecd159bde2a3909f: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/0967a0f89901e6f14b26914653134b1d: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/0968dc2e0f7f9d0fb95859803d130bcf: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/0a273ac7fab536e2a45359cb84d413cd: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/0b0ceb7813068094ba6d811cedd386c8: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/0b6b4d6720813b423142725687ee3573: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/0be4480574e49cc72e4900b65cf3bb21: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/1839eb3563f23d86ce8b82968a925bc6: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/212e81715b46e10b4ff82e0d9c89c35f: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/26ad73a9da1d5b5a6c552b858a9d69c3: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/2ac064532f0fce1c30efb679eed17b8e: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/2c8965601028dfe1a687613b46f8ca6f: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/395d3d08843ac8abba09eb133e7978cd: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/4dab68f5d2365c143fb07630081c77f6: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/4e5064b8cfdbf3699cb3801b6130d41d: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/51843eb00b24ce54724d656356a1a3d9: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/5211bcaba3d5aa4fb1f25582e1af97eb: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/53c1950ab641eabdb75f07f0ef9eb3a5: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/5403e6e1f28a5125876658ff3d751cd1: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/54140ad057190e00ab9871e4da51e291: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/54e7e0f163e8df9b57359ebfaa226a94: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/590bff4705440957e5a8b2ca6d90f7c1: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/61200e833299e7e89f2db13461a60700: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/615e7ebc2b2e6d54eaba9fcc4250b963: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/6183fe3ae5936b60f09dda163ec612f0: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/6238eeda9d76d4c0e29813d5589196ba: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/64240263623b2ea8361210d15f510542: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/68d8c9a93b5ad1e128f083aea3674876: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/6eb432d6800eedebc3b303695452452e: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/72f6d93d93ad69b9ecb3f6a6a983d233: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/76330d600d3b15fd30b669ddc4776ae8: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/771d2d9d4912ce8383b5fd727f395aa6: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/7a401386a8407118c2d08def00be2194: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/7add5d300125d4643ff534a1883bb27a: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/7e6fb0ca2cd5abd9626db94aa9dc9407: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/7ec890dc859d4c3f364263b647178797: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/81b72b7adf719c8bcfb135451475714e: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/86f2b8ad3e4813d51ef62a5750efff64: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/8a4bd1aa80fd36bbc9f7625ed7d27c08: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/8d82bbac716ea8d8f1b291a86753d588: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/8eec74a4158bc9d69cfda1c4a81dde09: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/9702cb06b3fcc40e1c5c428042d0e060: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/985e90d7802de7c3349c75843168b801: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/9c71dbde814fe4eaa77f0d80a8aa9334: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/9ce4df72dc03b59ccb02217c58c003f6: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/9d2bad6893974aa4328863e942582bfd: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/a33fc45568cb12607871e347eb7777e7: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/a44764b7eb85e7c6f7b09ef1bb54dc48: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/a65239996a536da86d96203ed1ed808a: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/a6a61ea3cecf6acf4c700df42163592e: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/a8c9019b39529bc40550e1d05b4f8e61: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/af8674b9aa39f1247c2e84e529a0bb09: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/af9dd5d3cbf123589528723ebe8d855a: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/b4b4e763abddc958fb3f5e8af1c8eade: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/d0169f9d559605a043189442fd9e466c: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/d0e74fc59e78f89810a7174682ff2eab: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/d38405f98674cd4fd4b8862ce702ab4f: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/d72143df035b835bc32fac5bb557c0cc: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/dd5cca331ef1047721dee94ac88b6a62: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/df5a22f4c0ef094f7f5d83c4d211d23b: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/e9bce8eaaef7284eb9cb3f70150637a8: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/eb94b6c590a57596a16a7e0361ef5abb: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/ff644bb9835131fc991a4e6bcd8cd9e7: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /bundle/snapshots/ffa03141986d3883b34f4a27356e5fa4: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [] 5 | } -------------------------------------------------------------------------------- /draft-2020-12/dynamicAnchor.js: -------------------------------------------------------------------------------- 1 | export default { id: "https://json-schema.org/keyword/draft-2020-12/dynamicAnchor" }; 2 | -------------------------------------------------------------------------------- /draft-2019-09/recursiveAnchor.js: -------------------------------------------------------------------------------- 1 | export default { id: "https://json-schema.org/keyword/draft-2019-09/recursiveAnchor" }; 2 | -------------------------------------------------------------------------------- /annotations/test-utils.d.ts: -------------------------------------------------------------------------------- 1 | export const isCompatible: (compatibility: string | undefined, versionUnderTest: number) => boolean; 2 | -------------------------------------------------------------------------------- /lib/json-tests/y_number_double_close_to_zero.json: -------------------------------------------------------------------------------- 1 | [-0.000000000000000000000000000000000000000000000000000000000000000000000000000001] 2 | -------------------------------------------------------------------------------- /bundle/file-schemas/string.schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", 3 | 4 | "type": "string" 5 | } 6 | -------------------------------------------------------------------------------- /lib/json-tests/n_array_invalid_utf8.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/n_array_invalid_utf8.json -------------------------------------------------------------------------------- /lib/json-tests/y_string_iso_latin_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/y_string_iso_latin_1.json -------------------------------------------------------------------------------- /lib/json-tests/n_array_a_invalid_utf8.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/n_array_a_invalid_utf8.json -------------------------------------------------------------------------------- /lib/json-tests/n_string_utf16BE_no_BOM.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/n_string_utf16BE_no_BOM.json -------------------------------------------------------------------------------- /lib/json-tests/n_string_utf16LE_no_BOM.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/n_string_utf16LE_no_BOM.json -------------------------------------------------------------------------------- /lib/json-tests/y_string_invalid_utf-8.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/y_string_invalid_utf-8.json -------------------------------------------------------------------------------- /lib/json-tests/y_string_truncated-utf-8.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/y_string_truncated-utf-8.json -------------------------------------------------------------------------------- /lib/json-tests/n_string_UTF-16LE_with_BOM.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/n_string_UTF-16LE_with_BOM.json -------------------------------------------------------------------------------- /lib/json-tests/n_structure_single_eacute.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/n_structure_single_eacute.json -------------------------------------------------------------------------------- /lib/json-tests/y_object_long_strings.json: -------------------------------------------------------------------------------- 1 | {"x":[{"id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}], "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"} -------------------------------------------------------------------------------- /lib/json-tests/y_object_string_unicode.json: -------------------------------------------------------------------------------- 1 | {"title":"\u041f\u043e\u043b\u0442\u043e\u0440\u0430 \u0417\u0435\u043c\u043b\u0435\u043a\u043e\u043f\u0430" } -------------------------------------------------------------------------------- /lib/json-tests/n_number_invalid-utf-8-in-int.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/n_number_invalid-utf-8-in-int.json -------------------------------------------------------------------------------- /lib/json-tests/y_string_not_in_unicode_range.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/y_string_not_in_unicode_range.json -------------------------------------------------------------------------------- /lib/json-tests/n_structure_incomplete_UTF8_BOM.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/n_structure_incomplete_UTF8_BOM.json -------------------------------------------------------------------------------- /lib/json-tests/n_structure_lone-invalid-utf-8.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/n_structure_lone-invalid-utf-8.json -------------------------------------------------------------------------------- /lib/json-tests/y_string_UTF-8_invalid_sequence.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/y_string_UTF-8_invalid_sequence.json -------------------------------------------------------------------------------- /lib/json-tests/y_string_UTF8_surrogate_U+D800.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/y_string_UTF8_surrogate_U+D800.json -------------------------------------------------------------------------------- /lib/json-tests/n_number_invalid-utf-8-in-exponent.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/n_number_invalid-utf-8-in-exponent.json -------------------------------------------------------------------------------- /lib/json-tests/n_string_invalid-utf-8-in-escape.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/n_string_invalid-utf-8-in-escape.json -------------------------------------------------------------------------------- /lib/json-tests/n_string_invalid_utf8_after_escape.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/n_string_invalid_utf8_after_escape.json -------------------------------------------------------------------------------- /lib/json-tests/y_string_overlong_sequence_2_bytes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/y_string_overlong_sequence_2_bytes.json -------------------------------------------------------------------------------- /lib/json-tests/y_string_overlong_sequence_6_bytes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/y_string_overlong_sequence_6_bytes.json -------------------------------------------------------------------------------- /lib/json-tests/n_number_invalid-utf-8-in-bigger-int.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/n_number_invalid-utf-8-in-bigger-int.json -------------------------------------------------------------------------------- /lib/json-tests/y_string_lone_utf8_continuation_byte.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/y_string_lone_utf8_continuation_byte.json -------------------------------------------------------------------------------- /lib/json-tests/n_number_real_with_invalid_utf8_after_e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/n_number_real_with_invalid_utf8_after_e.json -------------------------------------------------------------------------------- /lib/json-tests/y_number_huge_exp.json: -------------------------------------------------------------------------------- 1 | [0.4e00669999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999969999999006] -------------------------------------------------------------------------------- /lib/json-tests/y_string_overlong_sequence_6_bytes_null.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/y_string_overlong_sequence_6_bytes_null.json -------------------------------------------------------------------------------- /lib/keywords/comment.js: -------------------------------------------------------------------------------- 1 | const id = "https://json-schema.org/keyword/comment"; 2 | const compile = () => undefined; 3 | const interpret = () => true; 4 | 5 | export default { id, compile, interpret }; 6 | -------------------------------------------------------------------------------- /bundle/test-suite.schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", 3 | 4 | "title": "Test Suite", 5 | "type": "array", 6 | "items": { "$ref": "./test-case.schema.json" } 7 | } 8 | -------------------------------------------------------------------------------- /lib/json-tests/n_object_lone_continuation_byte_in_key_and_trailing_comma.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hyperjump-io/json-schema/HEAD/lib/json-tests/n_object_lone_continuation_byte_in_key_and_trailing_comma.json -------------------------------------------------------------------------------- /v1/meta/format.js: -------------------------------------------------------------------------------- 1 | export default { 2 | "$schema": "https://json-schema.org/v1", 3 | "title": "Format vocabulary meta-schema", 4 | 5 | "properties": { 6 | "format": { "type": "string" } 7 | } 8 | }; 9 | -------------------------------------------------------------------------------- /bundle/file-schemas/main.schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", 3 | 4 | "type": "object", 5 | "properties": { 6 | "foo": { "$ref": "string.schema.json" } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /lib/invalid-schema-error.js: -------------------------------------------------------------------------------- 1 | export class InvalidSchemaError extends Error { 2 | constructor(output) { 3 | super("Invalid Schema"); 4 | this.name = this.constructor.name; 5 | this.output = output; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /annotations/validation-error.js: -------------------------------------------------------------------------------- 1 | export class ValidationError extends Error { 2 | constructor(output) { 3 | super("Validation Error"); 4 | this.name = this.constructor.name; 5 | this.output = output; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /formats/handlers/ipv4.js: -------------------------------------------------------------------------------- 1 | import { isIPv4 } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/ipv4", 6 | handler: (ip) => typeof ip !== "string" || isIPv4(ip) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/ipv6.js: -------------------------------------------------------------------------------- 1 | import { isIPv6 } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/ipv6", 6 | handler: (ip) => typeof ip !== "string" || isIPv6(ip) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/iri.js: -------------------------------------------------------------------------------- 1 | import { isIri } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/iri", 6 | handler: (uri) => typeof uri !== "string" || isIri(uri) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/uri.js: -------------------------------------------------------------------------------- 1 | import { isUri } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/uri", 6 | handler: (uri) => typeof uri !== "string" || isUri(uri) 7 | }; 8 | -------------------------------------------------------------------------------- /draft-04/exclusiveMaximum.js: -------------------------------------------------------------------------------- 1 | const id = "https://json-schema.org/keyword/draft-04/exclusiveMaximum"; 2 | const compile = (schema) => schema.value; 3 | const interpret = () => true; 4 | 5 | export default { id, compile, interpret }; 6 | -------------------------------------------------------------------------------- /draft-04/exclusiveMinimum.js: -------------------------------------------------------------------------------- 1 | const id = "https://json-schema.org/keyword/draft-04/exclusiveMinimum"; 2 | const compile = (schema) => schema.value; 3 | const interpret = () => true; 4 | 5 | export default { id, compile, interpret }; 6 | -------------------------------------------------------------------------------- /formats/handlers/date.js: -------------------------------------------------------------------------------- 1 | import { isDate } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/date", 6 | handler: (date) => typeof date !== "string" || isDate(date) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/time.js: -------------------------------------------------------------------------------- 1 | import { isTime } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/time", 6 | handler: (time) => typeof time !== "string" || isTime(time) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/uuid.js: -------------------------------------------------------------------------------- 1 | import { isUuid } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/uuid", 6 | handler: (uuid) => typeof uuid !== "string" || isUuid(uuid) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/email.js: -------------------------------------------------------------------------------- 1 | import { isEmail } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/email", 6 | handler: (email) => typeof email !== "string" || isEmail(email) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/regex.js: -------------------------------------------------------------------------------- 1 | import { isRegex } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/regex", 6 | handler: (regex) => typeof regex !== "string" || isRegex(regex) 7 | }; 8 | -------------------------------------------------------------------------------- /bundle/test.schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", 3 | 4 | "title": "Test", 5 | "type": "object", 6 | "properties": { 7 | "description": { "type": "string" }, 8 | "instance": {} 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /formats/handlers/idn-email.js: -------------------------------------------------------------------------------- 1 | import { isIdnEmail } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/idn-email", 6 | handler: (email) => typeof email !== "string" || isIdnEmail(email) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/date-time.js: -------------------------------------------------------------------------------- 1 | import { isDateTime } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/date-time", 6 | handler: (dateTime) => typeof dateTime !== "string" || isDateTime(dateTime) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/duration.js: -------------------------------------------------------------------------------- 1 | import { isDuration } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/duration", 6 | handler: (duration) => typeof duration !== "string" || isDuration(duration) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/hostname.js: -------------------------------------------------------------------------------- 1 | import { isAsciiIdn } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/hostname", 6 | handler: (hostname) => typeof hostname !== "string" || isAsciiIdn(hostname) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/idn-hostname.js: -------------------------------------------------------------------------------- 1 | import { isIdn } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/idn-hostname", 6 | handler: (hostname) => typeof hostname !== "string" || isIdn(hostname) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/iri-reference.js: -------------------------------------------------------------------------------- 1 | import { isIriReference } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/iri-reference", 6 | handler: (uri) => typeof uri !== "string" || isIriReference(uri) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/uri-reference.js: -------------------------------------------------------------------------------- 1 | import { isUriReference } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/uri-reference", 6 | handler: (uri) => typeof uri !== "string" || isUriReference(uri) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/json-pointer.js: -------------------------------------------------------------------------------- 1 | import { isJsonPointer } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/json-pointer", 6 | handler: (pointer) => typeof pointer !== "string" || isJsonPointer(pointer) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/draft-04/hostname.js: -------------------------------------------------------------------------------- 1 | import { isAsciiIdn } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/draft-04/hostname", 6 | handler: (hostname) => typeof hostname !== "string" || isAsciiIdn(hostname) 7 | }; 8 | -------------------------------------------------------------------------------- /formats/handlers/uri-template.js: -------------------------------------------------------------------------------- 1 | import { isUriTemplate } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/uri-template", 6 | handler: (uriTemplate) => typeof uriTemplate !== "string" || isUriTemplate(uriTemplate) 7 | }; 8 | -------------------------------------------------------------------------------- /lib/keywords/maxContains.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | 3 | 4 | const id = "https://json-schema.org/keyword/maxContains"; 5 | const compile = (schema) => Browser.value(schema); 6 | const interpret = () => true; 7 | 8 | export default { id, compile, interpret }; 9 | -------------------------------------------------------------------------------- /lib/keywords/minContains.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | 3 | 4 | const id = "https://json-schema.org/keyword/minContains"; 5 | const compile = (schema) => Browser.value(schema); 6 | const interpret = () => true; 7 | 8 | export default { id, compile, interpret }; 9 | -------------------------------------------------------------------------------- /annotations/annotated-instance.d.ts: -------------------------------------------------------------------------------- 1 | export const annotation: (instance: JsonNode, keyword: string, dialectUri?: string) => A[]; 2 | export const annotatedWith: (instance: A, keyword: string, dialectUri?: string) => Generator; 3 | 4 | export * from "../lib/instance.js"; 5 | -------------------------------------------------------------------------------- /bundle/file-schemas/mixed-schemes.schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", 3 | 4 | "type": "object", 5 | "properties": { 6 | "foo": { "$ref": "string.schema.json" }, 7 | "bar": { "$ref": "https://bundler.hyperjump.io/number" } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /formats/handlers/relative-json-pointer.js: -------------------------------------------------------------------------------- 1 | import { isRelativeJsonPointer } from "@hyperjump/json-schema-formats"; 2 | 3 | 4 | export default { 5 | id: "https://json-schema.org/format/relative-json-pointer", 6 | handler: (pointer) => typeof pointer !== "string" || isRelativeJsonPointer(pointer) 7 | }; 8 | -------------------------------------------------------------------------------- /openapi-3-0/nullable.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | 3 | 4 | const id = "https://spec.openapis.org/oas/3.0/keyword/nullable"; 5 | 6 | const compile = (schema) => Browser.value(schema); 7 | 8 | const interpret = () => true; 9 | 10 | export default { id, compile, interpret }; 11 | -------------------------------------------------------------------------------- /v1/meta/unevaluated.js: -------------------------------------------------------------------------------- 1 | export default { 2 | "$schema": "https://json-schema.org/v1", 3 | "title": "Unevaluated applicator vocabulary meta-schema", 4 | 5 | "properties": { 6 | "unevaluatedItems": { "$dynamicRef": "meta" }, 7 | "unevaluatedProperties": { "$dynamicRef": "meta" } 8 | } 9 | }; 10 | -------------------------------------------------------------------------------- /bundle/snapshots/02c66554839e629b28f800fe38f4c622: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/not", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/not", 7 | "instanceLocation": "#" 8 | } 9 | ], 10 | "annotations": [] 11 | } -------------------------------------------------------------------------------- /bundle/snapshots/557769d3f116fb5e2a789f8518bf3d74: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/not", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/not", 7 | "instanceLocation": "#" 8 | } 9 | ], 10 | "annotations": [] 11 | } -------------------------------------------------------------------------------- /bundle/snapshots/72c6d83249113f6fecb541dcf540f493: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/not", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/not", 7 | "instanceLocation": "#" 8 | } 9 | ], 10 | "annotations": [] 11 | } -------------------------------------------------------------------------------- /bundle/snapshots/875bb0e8c8ced01d3cb05a825ae1a583: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/not", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/not", 7 | "instanceLocation": "#" 8 | } 9 | ], 10 | "annotations": [] 11 | } -------------------------------------------------------------------------------- /bundle/snapshots/a1b6eafcdd9db65dbb71758ab4b1ed26: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/not", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/not", 7 | "instanceLocation": "#" 8 | } 9 | ], 10 | "annotations": [] 11 | } -------------------------------------------------------------------------------- /bundle/snapshots/cabcd717013e39952a0536e1743a6bae: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/not", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/not", 7 | "instanceLocation": "#" 8 | } 9 | ], 10 | "annotations": [] 11 | } -------------------------------------------------------------------------------- /lib/bundled.schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json-schema.org/v1", 3 | "type": "object", 4 | "properties": { 5 | "foo": { "$ref": "string.schema.json" } 6 | }, 7 | "$defs": { 8 | "string.schema.json": { 9 | "$id": "string.schema.json", 10 | "type": "string" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /lib/keywords/not.js: -------------------------------------------------------------------------------- 1 | import { Validation } from "../experimental.js"; 2 | 3 | 4 | const id = "https://json-schema.org/keyword/not"; 5 | 6 | const compile = (...args) => Validation.compile(...args); 7 | const interpret = (...args) => !Validation.interpret(...args); 8 | 9 | export default { id, compile, interpret }; 10 | -------------------------------------------------------------------------------- /bundle/snapshots/0b798cb59af7fb9cfc7249535bd8c234: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/type", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/type", 7 | "instanceLocation": "#" 8 | } 9 | ], 10 | "annotations": [] 11 | } -------------------------------------------------------------------------------- /bundle/snapshots/0fdaaa6dcec04489e9ad4964be3bf39e: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/type", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/type", 7 | "instanceLocation": "#" 8 | } 9 | ], 10 | "annotations": [] 11 | } -------------------------------------------------------------------------------- /bundle/snapshots/237670c373245028c385958495661c99: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/type", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/type", 7 | "instanceLocation": "#" 8 | } 9 | ], 10 | "annotations": [] 11 | } -------------------------------------------------------------------------------- /bundle/snapshots/60fe51e112eb96463cc5218866c37ff2: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/type", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/type", 7 | "instanceLocation": "#" 8 | } 9 | ], 10 | "annotations": [] 11 | } -------------------------------------------------------------------------------- /bundle/snapshots/62c4abd5d13ae96506ced0c055f04774: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/type", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/type", 7 | "instanceLocation": "#" 8 | } 9 | ], 10 | "annotations": [] 11 | } -------------------------------------------------------------------------------- /bundle/snapshots/b27bf02bb79fd9e56e796e7b28fd85e7: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/type", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/type", 7 | "instanceLocation": "#" 8 | } 9 | ], 10 | "annotations": [] 11 | } -------------------------------------------------------------------------------- /bundle/snapshots/f3f0d8bb8e194c2c206ee7a1638f7e60: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/type", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/type", 7 | "instanceLocation": "#" 8 | } 9 | ], 10 | "annotations": [] 11 | } -------------------------------------------------------------------------------- /v1/meta/content.js: -------------------------------------------------------------------------------- 1 | export default { 2 | "$schema": "https://json-schema.org/v1", 3 | "title": "Content vocabulary meta-schema", 4 | 5 | "properties": { 6 | "contentMediaType": { "type": "string" }, 7 | "contentEncoding": { "type": "string" }, 8 | "contentSchema": { "$dynamicRef": "meta" } 9 | } 10 | }; 11 | -------------------------------------------------------------------------------- /lib/keywords/title.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | 3 | 4 | const id = "https://json-schema.org/keyword/title"; 5 | 6 | const compile = (schema) => Browser.value(schema); 7 | const interpret = () => true; 8 | const annotation = (title) => title; 9 | 10 | export default { id, compile, interpret, annotation }; 11 | -------------------------------------------------------------------------------- /lib/keywords/default.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | 3 | 4 | const id = "https://json-schema.org/keyword/default"; 5 | 6 | const compile = (schema) => Browser.value(schema); 7 | const interpret = () => true; 8 | const annotation = (value) => value; 9 | 10 | export default { id, compile, interpret, annotation }; 11 | -------------------------------------------------------------------------------- /openapi-3-0/xml.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | 3 | 4 | const id = "https://spec.openapis.org/oas/3.0/keyword/xml"; 5 | 6 | const compile = (schema) => Browser.value(schema); 7 | const interpret = () => true; 8 | const annotation = (xml) => xml; 9 | 10 | export default { id, compile, interpret, annotation }; 11 | -------------------------------------------------------------------------------- /formats/index.js: -------------------------------------------------------------------------------- 1 | import { addFormat } from "../lib/keywords.js"; 2 | import "./lite.js"; 3 | 4 | import idnEmail from "./handlers/idn-email.js"; 5 | import hostname from "./handlers/hostname.js"; 6 | import idnHostname from "./handlers/idn-hostname.js"; 7 | 8 | 9 | addFormat(idnEmail); 10 | addFormat(hostname); 11 | addFormat(idnHostname); 12 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "Node16", 4 | "target": "es2020", 5 | "moduleResolution": "Node16", 6 | "esModuleInterop": true, 7 | "strict": true, 8 | "strictNullChecks": true, 9 | "allowJs": true, 10 | "allowImportingTsExtensions": true, 11 | "skipLibCheck": true 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /lib/keywords/examples.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | 3 | 4 | const id = "https://json-schema.org/keyword/examples"; 5 | 6 | const compile = (schema) => Browser.value(schema); 7 | const interpret = () => true; 8 | const annotation = (examples) => examples; 9 | 10 | export default { id, compile, interpret, annotation }; 11 | -------------------------------------------------------------------------------- /lib/keywords/readOnly.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | 3 | 4 | const id = "https://json-schema.org/keyword/readOnly"; 5 | 6 | const compile = (schema) => Browser.value(schema); 7 | const interpret = () => true; 8 | const annotation = (readOnly) => readOnly; 9 | 10 | export default { id, compile, interpret, annotation }; 11 | -------------------------------------------------------------------------------- /lib/keywords/deprecated.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | 3 | 4 | const id = "https://json-schema.org/keyword/deprecated"; 5 | 6 | const compile = (schema) => Browser.value(schema); 7 | const interpret = () => true; 8 | const annotation = (deprecated) => deprecated; 9 | 10 | export default { id, compile, interpret, annotation }; 11 | -------------------------------------------------------------------------------- /lib/keywords/writeOnly.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | 3 | 4 | const id = "https://json-schema.org/keyword/writeOnly"; 5 | 6 | const compile = (schema) => Browser.value(schema); 7 | const interpret = () => true; 8 | const annotation = (writeOnly) => writeOnly; 9 | 10 | export default { id, compile, interpret, annotation }; 11 | -------------------------------------------------------------------------------- /openapi-3-0/example.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | 3 | 4 | const id = "https://spec.openapis.org/oas/3.0/keyword/example"; 5 | 6 | const compile = (schema) => Browser.value(schema); 7 | const interpret = () => true; 8 | const annotation = (example) => example; 9 | 10 | export default { id, compile, interpret, annotation }; 11 | -------------------------------------------------------------------------------- /bundle/snapshots/05f3e43f4075eda59225b747e8372f95: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/139365710fd189f2fd51509dc69cec43: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/140107810716e03ab58f4dcf4e4764e5: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/17764df2d9bd322a6bf6eba674c4467f: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/295e24d541e261e7fc1145930673ec37: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/33fe31d9d8affc4544295b6842cf2620: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/3e9eede60da0b5be63b9867c4f025f09: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/4ee232632e2175763e5b0d9095a0c96f: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/58ba828516dc2a7dd11b211e7b0a4aea: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/66e9dd8ee0228ecdcf6bd47108b92b3d: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/69b106c927b7f7981fd36a8438bace2b: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/7617d040bceda39dd57eb9510703ad14: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/8c14c43b3216be8b16cae4ab91e59c82: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/8dacf3eb9819ab76f0cbbb8d7a071939: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/a0a9c59df24729670c60574f20bdc496: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/b7377b8628b8a1223dba9f9126b69c8d: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/c13c6d3ec550add3c9198ee10f745274: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/c38b0c2862655f5254c6d38ac0356a40: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/cdfca9e5b3d8afb4d0d9485648ba95b7: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/ce36ff9e106c90dbb7eeaeee1f268316: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/e0a03a42453785f6a21a8aeacd465e74: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/e0e27b1b6ebc852d2ff7e54c764880ae: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/e10af529d538f905393cb854c431bdde: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /lib/keywords/description.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | 3 | 4 | const id = "https://json-schema.org/keyword/description"; 5 | 6 | const compile = (schema) => Browser.value(schema); 7 | const interpret = () => true; 8 | const annotation = (description) => description; 9 | 10 | export default { id, compile, interpret, annotation }; 11 | -------------------------------------------------------------------------------- /bundle/snapshots/0847cca3f53b9cd12c08b8ab83d7486b: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/09363ddcdd594c48891fa5b808f41d8f: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/0c091e99424641638fe26b32a6ae54bd: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/0c35d06197a49d13face4aa23020ee13: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/12a929ec4027ac23a3bfd2a485688590: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/139eaf7720391e4c1e25605f6e21410f: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/17a2e2c02ca51cfc306983ed174445be: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/185e15fd0af7f6485875e6a467f013cf: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/1cea49df736e17a985371c89f01452da: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/1d97116a722902353c4c7c69d7a45df8: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/1fa7f5692e8b36aef495e649b044cab0: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/23e41888dc468f92d7165c0d76363bf5: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/28c04cb59d9a3e0d0caacbf60dc8404c: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/2b560704f3e005d1716e02a7fd7ad552: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/2e4080f67b91b77b1b5d2147b47c8a2e: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/315fa750fea0c01f430ff0851285d350: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/35a365d04a84908c6a6b71df77a6cfc0: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/361635a018008bcd5f70257cc035a909: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/36b5b64c677a80297dc2d5e932a54b58: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/3e668d38678948523249b79c5c21b47e: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/4445a88a53e9d8f8d69e8acd369f5254: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/44bbf1c8fe84f62e0fc89472a32441de: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "Number" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/47f0de21a982f0768ceffb58d44a06e9: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/48b9f39400d58f56b7248e301ad7e7de: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/4954d2a7bb33977e76dc4adb10333cb8: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "Number" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/49e532f70ff30fa595e9aef33fadb7d9: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/50b03a5e75eb98b3e2d3a57b58e9bcaa: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/53f38f6440fff5a02a2fd3114a74cc0a: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/588ce3c3d051294f32f288dc107aeb2a: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "Number" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/59ef6a103c67e9a30f20398cbf777603: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/5d1169fc5ced59e974bb0c760165a205: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/631601f0587d028272797790d9a69293: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/63cd868ff1cbf34a8528d4d242558f2a: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "Number" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/66c548e3bf559604741d9ed259ed34d7: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/6968c38a401b0688b45288e0ec95c885: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/69c91d8e93aff9925828b4aaa405dcf2: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "Number" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/6adbb440ad31560a4a6466c5298e3a60: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/6b01a0eaa2125bf3ed257022d3b3afdf: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/6f2d46005bed2363d10c8dc12fb0bfb9: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/7167dbda4b0815b291cd8895b4b36a70: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "Number" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/74fc196dbfcf42211dfc95ce4a8c8e6c: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/758dc11ae7979fa59d22e75942014c7c: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "Number" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/76142a2cb0bab3c94e8411c90b50ac61: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "Number" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/77834ece32f1a31063e01f3ec4fa9053: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/7a67d89678cd91c5f1697da5aaa3f9f4: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/7e2086068ebf07622560f7242a8b000a: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/82a595a4d57fd6c27d073bbb2bbd231b: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/85ec6ca162a3b395988152a9b87636a1: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/8b6344a7c7b41f1737bbaa41d14ddcb5: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/903105d1609b59a688f9198f51b11b42: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/95923c2e8dc7e5a16eecc57b67dbec60: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/95e89f8c9ec6b89ee6213a2701898f10: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/9c8df8e4b331caba03f41952ff505787: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/9f117911cdae56755cabb2b3f791f912: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/9fe728bf4c7b847fe097022f019db817: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/a3768a2fdf36c7220d9611da76658217: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/a617dea854db2ec149020fb57eefffa8: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/a7d91e48040101de8d1915781494813a: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/aabb0f472eda564a689ebcb62227cefd: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/ad33cb560813c2806ea52ca22be9615f: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/af6f9747c48fd58fda5ff4bc9d74a9cf: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/b387ce8ebf82b722b441dcc4c85955ef: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/b4b1ef9324f3a148a6b4011bf1b4a506: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/b60562622e7fe9fdc5e3b177e9ce3c1d: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/b87f84af3c1c7b6345ee062534fc6047: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/c0214836ff6291b6c79b285d44c6e28d: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/c1201e586f9a602a5239f1b86ffe8e07: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/c3451b13501ff3b224ee15977937e916: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/c35cfac1885964922e77c23599754063: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "Number" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/c6d06fb320d6f79617d612635443d83c: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/ca9452b58640e30b01a14076ec12ab07: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "Number" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/ce66ee549e82483149b216a3f1360a3a: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/d429ff8a61f5b5bdc7c46348508b6214: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/d791ec0e505586d915f031f02cbaf0d7: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/e262953038466e3ecb384a7203d5afea: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/e498f21ea24eea1cea0126d2f1d4c414: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/e519f254c67f814e66cae870e6716027: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/e6d1bc8a174e375315827ffd3903c304: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/e6e034cb4ff9f3268650905ee7db349a: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "Number" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/e9dbfe465360d67fca50423b23c98f8b: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/ece366e52b6e6410fb9a4d7e35bd445b: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/ef1f88368281d0fcc720f3b903a371ab: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/f11a8fcf101803bbaefad6a90cbb589b: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/f1d52a5f0cf477a97747d789aa3ec636: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/f3924868f51b79fd1d70e5d81fd491dd: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/f3e0e57930508549d42b59b9e8e8d60f: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/f4c6697e6f589ec52ec9fd1793a59e09: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/f9d0ba32e21e9b95e9354a8abd27a216: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/title", 8 | "instanceLocation": "#/bar", 9 | "annotation": "Number" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/fa45239d4aa24a77460d3c610bf01eba: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/foo", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /bundle/snapshots/fb0a093c36fe1f1256ec410fa8fe94ad: -------------------------------------------------------------------------------- 1 | { 2 | "valid": true, 3 | "errors": [], 4 | "annotations": [ 5 | { 6 | "keyword": "https://json-schema.org/keyword/title", 7 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/title", 8 | "instanceLocation": "#/0", 9 | "annotation": "String" 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /openapi-3-0/externalDocs.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | 3 | 4 | const id = "https://spec.openapis.org/oas/3.0/keyword/externalDocs"; 5 | 6 | const compile = (schema) => Browser.value(schema); 7 | const interpret = () => true; 8 | const annotation = (externalDocs) => externalDocs; 9 | 10 | export default { id, compile, interpret, annotation }; 11 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .github/ 2 | eslint.config.js 3 | bun.lockb 4 | **/*.spec.ts 5 | lib/gherkin.ts 6 | **/*.schema.json 7 | **/*.schema.yml 8 | tsconfig.json 9 | scratch/ 10 | coverage/ 11 | stable/json-schema-test-suite/ 12 | annotations/tests 13 | bundle/tests 14 | bundle/snapshots 15 | bundle/test-utils.* 16 | bundle/generate-snapshots.js 17 | bundle/README.md 18 | lib/json-tests 19 | -------------------------------------------------------------------------------- /lib/keywords/ref.js: -------------------------------------------------------------------------------- 1 | import { Validation } from "../experimental.js"; 2 | 3 | 4 | const id = "https://json-schema.org/keyword/ref"; 5 | 6 | const compile = (...args) => Validation.compile(...args); 7 | const interpret = (...args) => Validation.interpret(...args); 8 | 9 | const simpleApplicator = true; 10 | 11 | export default { id, compile, interpret, simpleApplicator }; 12 | -------------------------------------------------------------------------------- /openapi-3-0/discriminator.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | 3 | 4 | const id = "https://spec.openapis.org/oas/3.0/keyword/discriminator"; 5 | 6 | const compile = (schema) => Browser.value(schema); 7 | const interpret = () => true; 8 | const annotation = (discriminator) => discriminator; 9 | 10 | export default { id, compile, interpret, annotation }; 11 | -------------------------------------------------------------------------------- /lib/common.d.ts: -------------------------------------------------------------------------------- 1 | export type JsonType = "object" | "array" | "string" | "number" | "boolean" | "null"; 2 | export type JsonSchemaType = JsonType | "integer"; 3 | 4 | export const toRelativeIri: (from: string, to: string) => string; 5 | 6 | export type Replacer = (key: string, value: unknown) => unknown; 7 | export const jsonStringify: (value: unknown, replacer?: Replacer, space?: string) => string; 8 | -------------------------------------------------------------------------------- /draft-2020-12/meta/format-assertion.js: -------------------------------------------------------------------------------- 1 | export default { 2 | "$id": "https://json-schema.org/draft/2020-12/meta/format-assertion", 3 | "$schema": "https://json-schema.org/draft/2020-12/schema", 4 | "$dynamicAnchor": "meta", 5 | 6 | "title": "Format vocabulary meta-schema for assertion results", 7 | "type": ["object", "boolean"], 8 | "properties": { 9 | "format": { "type": "string" } 10 | } 11 | }; 12 | -------------------------------------------------------------------------------- /draft-2020-12/meta/format-annotation.js: -------------------------------------------------------------------------------- 1 | export default { 2 | "$id": "https://json-schema.org/draft/2020-12/meta/format-annotation", 3 | "$schema": "https://json-schema.org/draft/2020-12/schema", 4 | "$dynamicAnchor": "meta", 5 | 6 | "title": "Format vocabulary meta-schema for annotation results", 7 | "type": ["object", "boolean"], 8 | "properties": { 9 | "format": { "type": "string" } 10 | } 11 | }; 12 | -------------------------------------------------------------------------------- /lib/keywords/maximum.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import * as Instance from "../instance.js"; 3 | 4 | 5 | const id = "https://json-schema.org/keyword/maximum"; 6 | 7 | const compile = (schema) => Browser.value(schema); 8 | const interpret = (maximum, instance) => Instance.typeOf(instance) !== "number" || Instance.value(instance) <= maximum; 9 | 10 | export default { id, compile, interpret }; 11 | -------------------------------------------------------------------------------- /lib/keywords/minimum.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import * as Instance from "../instance.js"; 3 | 4 | 5 | const id = "https://json-schema.org/keyword/minimum"; 6 | 7 | const compile = (schema) => Browser.value(schema); 8 | const interpret = (minimum, instance) => Instance.typeOf(instance) !== "number" || Instance.value(instance) >= minimum; 9 | 10 | export default { id, compile, interpret }; 11 | -------------------------------------------------------------------------------- /lib/keywords/maxItems.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import * as Instance from "../instance.js"; 3 | 4 | 5 | const id = "https://json-schema.org/keyword/maxItems"; 6 | 7 | const compile = (schema) => Browser.value(schema); 8 | const interpret = (maxItems, instance) => { 9 | return Instance.typeOf(instance) !== "array" || Instance.length(instance) <= maxItems; 10 | }; 11 | 12 | export default { id, compile, interpret }; 13 | -------------------------------------------------------------------------------- /lib/keywords/minItems.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import * as Instance from "../instance.js"; 3 | 4 | 5 | const id = "https://json-schema.org/keyword/minItems"; 6 | 7 | const compile = (schema) => Browser.value(schema); 8 | const interpret = (minItems, instance) => { 9 | return Instance.typeOf(instance) !== "array" || Instance.length(instance) >= minItems; 10 | }; 11 | 12 | export default { id, compile, interpret }; 13 | -------------------------------------------------------------------------------- /lib/keywords/exclusiveMaximum.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import * as Instance from "../instance.js"; 3 | 4 | 5 | const id = "https://json-schema.org/keyword/exclusiveMaximum"; 6 | 7 | const compile = (schema) => Browser.value(schema); 8 | const interpret = (exclusiveMaximum, instance) => Instance.typeOf(instance) !== "number" || Instance.value(instance) < exclusiveMaximum; 9 | 10 | export default { id, compile, interpret }; 11 | -------------------------------------------------------------------------------- /lib/keywords/exclusiveMinimum.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import * as Instance from "../instance.js"; 3 | 4 | 5 | const id = "https://json-schema.org/keyword/exclusiveMinimum"; 6 | 7 | const compile = (schema) => Browser.value(schema); 8 | const interpret = (exclusiveMinimum, instance) => Instance.typeOf(instance) !== "number" || Instance.value(instance) > exclusiveMinimum; 9 | 10 | export default { id, compile, interpret }; 11 | -------------------------------------------------------------------------------- /v1/meta/meta-data.js: -------------------------------------------------------------------------------- 1 | export default { 2 | "$schema": "https://json-schema.org/v1", 3 | "title": "Meta-data vocabulary meta-schema", 4 | 5 | "properties": { 6 | "title": { "type": "string" }, 7 | "description": { "type": "string" }, 8 | "default": true, 9 | "deprecated": { "type": "boolean" }, 10 | "readOnly": { "type": "boolean" }, 11 | "writeOnly": { "type": "boolean" }, 12 | "examples": { "type": "array" } 13 | } 14 | }; 15 | -------------------------------------------------------------------------------- /lib/keywords/const.js: -------------------------------------------------------------------------------- 1 | import jsonStringify from "json-stringify-deterministic"; 2 | import * as Browser from "@hyperjump/browser"; 3 | import * as Instance from "../instance.js"; 4 | 5 | 6 | const id = "https://json-schema.org/keyword/const"; 7 | 8 | const compile = (schema) => jsonStringify(Browser.value(schema)); 9 | const interpret = (const_, instance) => jsonStringify(Instance.value(instance)) === const_; 10 | 11 | export default { id, compile, interpret }; 12 | -------------------------------------------------------------------------------- /lib/keywords/if.js: -------------------------------------------------------------------------------- 1 | import { Validation } from "../experimental.js"; 2 | 3 | 4 | const id = "https://json-schema.org/keyword/if"; 5 | 6 | const compile = (schema, ast) => Validation.compile(schema, ast); 7 | 8 | const interpret = (ifSchema, instance, context) => { 9 | Validation.interpret(ifSchema, instance, context); 10 | return true; 11 | }; 12 | 13 | const simpleApplicator = true; 14 | 15 | export default { id, compile, interpret, simpleApplicator }; 16 | -------------------------------------------------------------------------------- /lib/keywords/maxLength.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import * as Instance from "../instance.js"; 3 | 4 | 5 | const id = "https://json-schema.org/keyword/maxLength"; 6 | 7 | const compile = (schema) => Browser.value(schema); 8 | const interpret = (maxLength, instance) => { 9 | return Instance.typeOf(instance) !== "string" || [...Instance.value(instance)].length <= maxLength; 10 | }; 11 | 12 | export default { id, compile, interpret }; 13 | -------------------------------------------------------------------------------- /lib/keywords/minLength.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import * as Instance from "../instance.js"; 3 | 4 | 5 | const id = "https://json-schema.org/keyword/minLength"; 6 | 7 | const compile = (schema) => Browser.value(schema); 8 | const interpret = (minLength, instance) => { 9 | return Instance.typeOf(instance) !== "string" || [...Instance.value(instance)].length >= minLength; 10 | }; 11 | 12 | export default { id, compile, interpret }; 13 | -------------------------------------------------------------------------------- /lib/keywords/pattern.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import * as Instance from "../instance.js"; 3 | 4 | 5 | const id = "https://json-schema.org/keyword/pattern"; 6 | 7 | const compile = (schema) => new RegExp(Browser.value(schema), "u"); 8 | const interpret = (pattern, instance) => { 9 | return Instance.typeOf(instance) !== "string" || pattern.test(Instance.value(instance)); 10 | }; 11 | 12 | export default { id, compile, interpret }; 13 | -------------------------------------------------------------------------------- /draft-2019-09/meta/format.js: -------------------------------------------------------------------------------- 1 | export default { 2 | "$id": "https://json-schema.org/draft/2019-09/meta/format", 3 | "$schema": "https://json-schema.org/draft/2019-09/schema", 4 | "$vocabulary": { 5 | "https://json-schema.org/draft/2019-09/vocab/format": true 6 | }, 7 | "$recursiveAnchor": true, 8 | 9 | "title": "Format vocabulary meta-schema", 10 | "type": ["object", "boolean"], 11 | "properties": { 12 | "format": { "type": "string" } 13 | } 14 | }; 15 | -------------------------------------------------------------------------------- /bundle/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { SchemaObject } from "../lib/index.js"; 2 | 3 | 4 | export const bundle: (uri: string, options?: BundleOptions) => Promise; 5 | export const URI: "uri"; 6 | export const UUID: "uuid"; 7 | 8 | export type BundleOptions = { 9 | alwaysIncludeDialect?: boolean; 10 | definitionNamingStrategy?: DefinitionNamingStrategy; 11 | externalSchemas?: string[]; 12 | }; 13 | 14 | export type DefinitionNamingStrategy = "uri" | "uuid"; 15 | -------------------------------------------------------------------------------- /draft-2020-12/meta/unevaluated.js: -------------------------------------------------------------------------------- 1 | export default { 2 | "$id": "https://json-schema.org/draft/2020-12/meta/unevaluated", 3 | "$schema": "https://json-schema.org/draft/2020-12/schema", 4 | "$dynamicAnchor": "meta", 5 | 6 | "title": "Unevaluated applicator vocabulary meta-schema", 7 | "type": ["object", "boolean"], 8 | "properties": { 9 | "unevaluatedItems": { "$dynamicRef": "#meta" }, 10 | "unevaluatedProperties": { "$dynamicRef": "#meta" } 11 | } 12 | }; 13 | -------------------------------------------------------------------------------- /lib/keywords/maxProperties.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import * as Instance from "../instance.js"; 3 | 4 | 5 | const id = "https://json-schema.org/keyword/maxProperties"; 6 | 7 | const compile = (schema) => Browser.value(schema); 8 | const interpret = (maxProperties, instance) => { 9 | return Instance.typeOf(instance) !== "object" || [...Instance.keys(instance)].length <= maxProperties; 10 | }; 11 | 12 | export default { id, compile, interpret }; 13 | -------------------------------------------------------------------------------- /lib/keywords/minProperties.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import * as Instance from "../instance.js"; 3 | 4 | 5 | const id = "https://json-schema.org/keyword/minProperties"; 6 | 7 | const compile = (schema) => Browser.value(schema); 8 | const interpret = (minProperties, instance) => { 9 | return Instance.typeOf(instance) !== "object" || [...Instance.keys(instance)].length >= minProperties; 10 | }; 11 | 12 | export default { id, compile, interpret }; 13 | -------------------------------------------------------------------------------- /draft-2020-12/meta/content.js: -------------------------------------------------------------------------------- 1 | export default { 2 | "$id": "https://json-schema.org/draft/2020-12/meta/content", 3 | "$schema": "https://json-schema.org/draft/2020-12/schema", 4 | "$dynamicAnchor": "meta", 5 | 6 | "title": "Content vocabulary meta-schema", 7 | 8 | "type": ["object", "boolean"], 9 | "properties": { 10 | "contentMediaType": { "type": "string" }, 11 | "contentEncoding": { "type": "string" }, 12 | "contentSchema": { "$dynamicRef": "#meta" } 13 | } 14 | }; 15 | -------------------------------------------------------------------------------- /lib/keywords/required.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import * as Instance from "../instance.js"; 3 | 4 | 5 | const id = "https://json-schema.org/keyword/required"; 6 | 7 | const compile = (schema) => Browser.value(schema); 8 | 9 | const interpret = (required, instance) => { 10 | return Instance.typeOf(instance) !== "object" || required.every((propertyName) => Object.hasOwn(Instance.value(instance), propertyName)); 11 | }; 12 | 13 | export default { id, compile, interpret }; 14 | -------------------------------------------------------------------------------- /lib/keywords/unknown.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import { pointerSegments } from "@hyperjump/json-pointer"; 3 | 4 | 5 | const id = "https://json-schema.org/keyword/unknown"; 6 | 7 | const compile = (schema) => { 8 | const keywordName = [...pointerSegments(schema.cursor)].pop(); 9 | return [keywordName, Browser.value(schema)]; 10 | }; 11 | 12 | const interpret = () => true; 13 | const annotation = ([, value]) => value; 14 | 15 | export default { id, compile, interpret, annotation }; 16 | -------------------------------------------------------------------------------- /lib/keywords/contentEncoding.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import * as Instance from "../instance.js"; 3 | 4 | 5 | const id = "https://json-schema.org/keyword/contentEncoding"; 6 | 7 | const compile = (schema) => Browser.value(schema); 8 | const interpret = () => true; 9 | 10 | const annotation = (contentEncoding, instance) => { 11 | if (Instance.typeOf(instance) !== "string") { 12 | return; 13 | } 14 | 15 | return contentEncoding; 16 | }; 17 | 18 | export default { id, compile, interpret, annotation }; 19 | -------------------------------------------------------------------------------- /lib/keywords/contentMediaType.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import * as Instance from "../instance.js"; 3 | 4 | 5 | const id = "https://json-schema.org/keyword/contentMediaType"; 6 | 7 | const compile = (schema) => Browser.value(schema); 8 | const interpret = () => true; 9 | 10 | const annotation = (contentMediaType, instance) => { 11 | if (Instance.typeOf(instance) !== "string") { 12 | return; 13 | } 14 | 15 | return contentMediaType; 16 | }; 17 | 18 | export default { id, compile, interpret, annotation }; 19 | -------------------------------------------------------------------------------- /lib/keywords/definitions.js: -------------------------------------------------------------------------------- 1 | import * as Browser from "@hyperjump/browser"; 2 | import { pipe, asyncMap, asyncCollectArray } from "@hyperjump/pact"; 3 | import Validation from "./validation.js"; 4 | 5 | 6 | const id = "https://json-schema.org/keyword/definitions"; 7 | 8 | const compile = (schema, ast) => pipe( 9 | Browser.values(schema), 10 | asyncMap((definitionSchema) => Validation.compile(definitionSchema, ast)), 11 | asyncCollectArray 12 | ); 13 | 14 | const interpret = () => true; 15 | 16 | export default { id, compile, interpret }; 17 | -------------------------------------------------------------------------------- /lib/gherkin.ts: -------------------------------------------------------------------------------- 1 | import { describe, it } from "vitest"; 2 | 3 | import type { SuiteFactory, TestFunction } from "vitest"; 4 | 5 | 6 | export const Given = (message: string, fn: SuiteFactory | undefined) => describe("Given " + message, fn); 7 | export const When = (message: string, fn: SuiteFactory | undefined) => describe("When " + message, fn); 8 | export const Then = (message: string, fn: TestFunction | undefined): void => { 9 | it("Then " + message, fn); 10 | }; 11 | export const And = (message: string, fn: SuiteFactory | undefined) => describe("And " + message, fn); 12 | -------------------------------------------------------------------------------- /bundle/snapshots/114681e245a0b42f2313fc2e0315a1e7: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/allOf", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/allOf", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/1c5b525dd9558bb3bd0db3a72cda5e5e: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/allOf", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/allOf", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/398f49c7510a4ce7675d27f2872a94c8: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/oneOf", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/oneOf", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/3e016af6c2bc7f7658ee0a739c238680: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/anyOf", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/anyOf", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/3e2d02b8cae2a253ea69ed381a8b9d98: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/anyOf", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/anyOf", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/66a532315c257b4ea8d0e223eb416c51: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/oneOf", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/oneOf", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/743690d9928397863e6c3a28937acdd9: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/allOf", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/allOf", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/7a8b3a53063ecb110cbaff5b1f230335: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/anyOf", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/anyOf", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/a6c2814c634490d4878583119d08d68e: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/oneOf", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/oneOf", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/0dcb5cd590f2b70cd9ddbc0ad8f045ce: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/then", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/then", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/maxLength", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/then/maxLength", 12 | "instanceLocation": "#" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/164201e3f9fb61bd594cc5f47cb94d55: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/then", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/then", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/maxLength", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/then/maxLength", 12 | "instanceLocation": "#" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/2a2f29a42be7c37c15ade2a4d3b1d606: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/draft-04/items", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/items", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/0" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/2cf8396e0620ac5ec71a5d9a79be3e42: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/draft-04/items", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/items", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/0" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/2f015daadd33ad238c12fdd7f13f6be7: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/then", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/then", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/maxLength", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/then/maxLength", 12 | "instanceLocation": "#" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/3f3dee627fbfc887cff9045580b1964d: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/draft-04/items", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/items", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/0" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/75cd205ad240fa2f9c65a803920cedd6: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/draft-04/items", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/items", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/0" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/951cf14e0d14a1aadf5bdeaa5ed8d2a1: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/then", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/then", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/maxLength", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/then/maxLength", 12 | "instanceLocation": "#" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/afca16bc3569dd90d68489a24733cc12: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/draft-04/items", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/items", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/0" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/dcd9706d1348bdf7b535e8599c91985b: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/draft-04/items", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/items", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/0" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/0ada8a1e7e71d8771e5fefbf455bcb0d: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/120a1e86ded8c56db704fe602846c6b8: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/1b9f06a2dd38791a0f07e262b40986c0: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/type", 12 | "instanceLocation": "#/bar" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/23ce37639303c4cdb4fa6dfe040fc0ff: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/306aab4965c938883dcdf33ac166c126: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/3506fd4483c140b60a6ad8b0e7c371f2: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/type", 12 | "instanceLocation": "#/bar" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/379f482275fa7144adc6eb8061b633e2: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/then", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/then", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/maxLength", 11 | "absoluteKeywordLocation": "https://test.json-schema.org/short-string#/maxLength", 12 | "instanceLocation": "#" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/37cf51cc927985382a5a870e89138cc1: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/441aabbe9efb26a2c634cd494c07aa1a: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/type", 12 | "instanceLocation": "#/bar" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/45e4100de0755bfb3b5e7f78acf0d2b1: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/draft-06/contains", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/contains", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/0" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/4da98c63a6fb5cf4ccdd1bd18ecee508: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/4f0fd0ffa38dffa6db8a3d1d5d463bcc: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/5b709ee8ce260b37316a856c1dd3af8e: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/type", 12 | "instanceLocation": "#/bar" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/603a07855d1c473b3008bdcd0cd8f730: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/64c6bad0f116a7630121c60f853d058d: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/type", 12 | "instanceLocation": "#/bar" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/6b386352a3bdc92c705312c051682d06: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/6f095742f6db8534ecd5b6ccd293d37e: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/773f35ea98a5b0395940a1a24bb66f63: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/type", 12 | "instanceLocation": "#/bar" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/7a2c563c23faa7d9aff4f943b978cfde: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/7ec506bd89f8ff00deff19be525fbadf: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/draft-06/contains", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/contains", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/0" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/816e852a34eb476ddff3b64b44e6eea4: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/9980aa3b3e1c4d06966ec347bffa28d3: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/type", 12 | "instanceLocation": "#/bar" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/9b8b596cd673f6acb6020628b64323f5: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/else", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/else", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/maxLength", 11 | "absoluteKeywordLocation": "https://test.json-schema.org/short-string#/maxLength", 12 | "instanceLocation": "#" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/9e697bcb061c883e23c4e22b4a4b35cb: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/type", 12 | "instanceLocation": "#/bar" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/a0bb26611b96a65e2b077977fe95b5e5: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/a3f3186aa2664c82fef37f6e07bcb141: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/a57ab912aaa16c60bad64247e7fccc25: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/a68555395ebef6cb83c0cd53ef7c6f55: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/a9d4bc6419c3955f9d42a176452b9d32: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/type", 12 | "instanceLocation": "#/bar" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/b2351c12e1ff2aeba775d10a8b72f47c: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/b4fe30347745da383dfd315ab1d6db4c: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/string#/type", 12 | "instanceLocation": "#/foo" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } -------------------------------------------------------------------------------- /bundle/snapshots/b62326334234db25ab5c9e026d673141: -------------------------------------------------------------------------------- 1 | { 2 | "valid": false, 3 | "errors": [ 4 | { 5 | "keyword": "https://json-schema.org/keyword/properties", 6 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/main#/properties", 7 | "instanceLocation": "#", 8 | "errors": [ 9 | { 10 | "keyword": "https://json-schema.org/keyword/type", 11 | "absoluteKeywordLocation": "https://bundler.hyperjump.io/number#/type", 12 | "instanceLocation": "#/bar" 13 | } 14 | ] 15 | } 16 | ], 17 | "annotations": [] 18 | } --------------------------------------------------------------------------------