├── .github ├── dependabot.yml ├── release.yml └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── .gitmodules ├── .rubocop.yml ├── .rubocop_todo.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── CONTRIBUTORS.md ├── Gemfile ├── LICENSE.md ├── README.md ├── Rakefile ├── json-schema.gemspec ├── lib ├── json-schema.rb └── json-schema │ ├── attribute.rb │ ├── attributes │ ├── additionalitems.rb │ ├── additionalproperties.rb │ ├── allof.rb │ ├── anyof.rb │ ├── const.rb │ ├── dependencies.rb │ ├── dependencies_v4.rb │ ├── disallow.rb │ ├── divisibleby.rb │ ├── enum.rb │ ├── extends.rb │ ├── format.rb │ ├── formats │ │ ├── custom.rb │ │ ├── date.rb │ │ ├── date_time.rb │ │ ├── date_time_v4.rb │ │ ├── ip.rb │ │ ├── time.rb │ │ └── uri.rb │ ├── items.rb │ ├── limit.rb │ ├── limits │ │ ├── items.rb │ │ ├── length.rb │ │ ├── max_items.rb │ │ ├── max_length.rb │ │ ├── max_properties.rb │ │ ├── maximum.rb │ │ ├── maximum_inclusive.rb │ │ ├── min_items.rb │ │ ├── min_length.rb │ │ ├── min_properties.rb │ │ ├── minimum.rb │ │ ├── minimum_inclusive.rb │ │ ├── numeric.rb │ │ └── properties.rb │ ├── maxdecimal.rb │ ├── multipleof.rb │ ├── not.rb │ ├── oneof.rb │ ├── pattern.rb │ ├── patternproperties.rb │ ├── properties.rb │ ├── properties_optional.rb │ ├── properties_v4.rb │ ├── propertynames.rb │ ├── ref.rb │ ├── required.rb │ ├── type.rb │ ├── type_v4.rb │ └── uniqueitems.rb │ ├── errors │ ├── custom_format_error.rb │ ├── json_load_error.rb │ ├── json_parse_error.rb │ ├── schema_error.rb │ ├── schema_parse_error.rb │ ├── uri_error.rb │ └── validation_error.rb │ ├── schema.rb │ ├── schema │ ├── reader.rb │ └── validator.rb │ ├── util │ ├── array_set.rb │ ├── uri.rb │ └── uuid.rb │ ├── validator.rb │ └── validators │ ├── draft1.rb │ ├── draft2.rb │ ├── draft3.rb │ ├── draft4.rb │ ├── draft6.rb │ ├── hyper-draft1.rb │ ├── hyper-draft2.rb │ ├── hyper-draft3.rb │ ├── hyper-draft4.rb │ └── hyper-draft6.rb ├── resources ├── draft-01.json ├── draft-02.json ├── draft-03.json ├── draft-04.json └── draft-06.json └── test ├── all_of_ref_schema_test.rb ├── any_of_ref_schema_test.rb ├── bad_schema_ref_test.rb ├── caching_test.rb ├── common_test_suite_test.rb ├── custom_format_test.rb ├── data ├── all_of_ref_data.json ├── any_of_ref_data.json ├── bad_data_1.json ├── good_data_1.json └── one_of_ref_links_data.json ├── draft1_test.rb ├── draft2_test.rb ├── draft3_test.rb ├── draft4_test.rb ├── draft6_test.rb ├── extended_schema_test.rb ├── extends_nested_test.rb ├── files_test.rb ├── fragment_resolution_test.rb ├── fragment_validation_with_ref_test.rb ├── full_validation_test.rb ├── initialize_data_test.rb ├── list_option_test.rb ├── load_ref_schema_test.rb ├── merge_missing_values_test.rb ├── min_items_test.rb ├── no_additional_properties_all_of_test.rb ├── one_of_test.rb ├── relative_definition_test.rb ├── ruby_schema_test.rb ├── schema_reader_test.rb ├── schema_validation_test.rb ├── schemas ├── address_microformat.json ├── all_of_ref_base_schema.json ├── all_of_ref_schema.json ├── any_of_ref_jane_schema.json ├── any_of_ref_jimmy_schema.json ├── any_of_ref_john_schema.json ├── any_of_ref_schema.json ├── definition_schema.json ├── definition_schema_with_special_characters.json ├── extends_and_additionalProperties_false_schema.json ├── extends_and_patternProperties_schema.json ├── good_schema_1.json ├── good_schema_2.json ├── good_schema_extends1.json ├── good_schema_extends2.json ├── inner_schema.json ├── one_of_ref_links_schema.json ├── ref john with spaces schema.json ├── relative_definition_schema.json ├── self_link_schema.json └── up_link_schema.json ├── stringify_test.rb ├── support ├── array_validation.rb ├── enum_validation.rb ├── number_validation.rb ├── object_validation.rb ├── strict_validation.rb ├── string_validation.rb ├── test_helper.rb ├── test_suite_ignored_tests.yml └── type_validation.rb ├── type_attribute_test.rb ├── uri_parsing_test.rb ├── uri_util_test.rb └── validator_schema_reader_test.rb /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/.github/release.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/.gitmodules -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/.rubocop_todo.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /CONTRIBUTORS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/CONTRIBUTORS.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/Rakefile -------------------------------------------------------------------------------- /json-schema.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/json-schema.gemspec -------------------------------------------------------------------------------- /lib/json-schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema.rb -------------------------------------------------------------------------------- /lib/json-schema/attribute.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attribute.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/additionalitems.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/additionalitems.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/additionalproperties.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/additionalproperties.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/allof.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/allof.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/anyof.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/anyof.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/const.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/const.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/dependencies.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/dependencies.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/dependencies_v4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/dependencies_v4.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/disallow.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/disallow.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/divisibleby.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/divisibleby.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/enum.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/enum.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/extends.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/extends.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/format.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/format.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/formats/custom.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/formats/custom.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/formats/date.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/formats/date.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/formats/date_time.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/formats/date_time.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/formats/date_time_v4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/formats/date_time_v4.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/formats/ip.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/formats/ip.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/formats/time.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/formats/time.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/formats/uri.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/formats/uri.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/items.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/items.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/limit.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/limit.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/limits/items.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/limits/items.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/limits/length.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/limits/length.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/limits/max_items.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/limits/max_items.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/limits/max_length.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/limits/max_length.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/limits/max_properties.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/limits/max_properties.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/limits/maximum.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/limits/maximum.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/limits/maximum_inclusive.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/limits/maximum_inclusive.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/limits/min_items.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/limits/min_items.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/limits/min_length.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/limits/min_length.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/limits/min_properties.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/limits/min_properties.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/limits/minimum.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/limits/minimum.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/limits/minimum_inclusive.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/limits/minimum_inclusive.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/limits/numeric.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/limits/numeric.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/limits/properties.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/limits/properties.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/maxdecimal.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/maxdecimal.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/multipleof.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/multipleof.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/not.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/not.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/oneof.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/oneof.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/pattern.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/pattern.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/patternproperties.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/patternproperties.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/properties.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/properties.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/properties_optional.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/properties_optional.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/properties_v4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/properties_v4.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/propertynames.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/propertynames.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/ref.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/ref.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/required.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/required.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/type.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/type_v4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/type_v4.rb -------------------------------------------------------------------------------- /lib/json-schema/attributes/uniqueitems.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/attributes/uniqueitems.rb -------------------------------------------------------------------------------- /lib/json-schema/errors/custom_format_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/errors/custom_format_error.rb -------------------------------------------------------------------------------- /lib/json-schema/errors/json_load_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/errors/json_load_error.rb -------------------------------------------------------------------------------- /lib/json-schema/errors/json_parse_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/errors/json_parse_error.rb -------------------------------------------------------------------------------- /lib/json-schema/errors/schema_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/errors/schema_error.rb -------------------------------------------------------------------------------- /lib/json-schema/errors/schema_parse_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/errors/schema_parse_error.rb -------------------------------------------------------------------------------- /lib/json-schema/errors/uri_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/errors/uri_error.rb -------------------------------------------------------------------------------- /lib/json-schema/errors/validation_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/errors/validation_error.rb -------------------------------------------------------------------------------- /lib/json-schema/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/schema.rb -------------------------------------------------------------------------------- /lib/json-schema/schema/reader.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/schema/reader.rb -------------------------------------------------------------------------------- /lib/json-schema/schema/validator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/schema/validator.rb -------------------------------------------------------------------------------- /lib/json-schema/util/array_set.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/util/array_set.rb -------------------------------------------------------------------------------- /lib/json-schema/util/uri.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/util/uri.rb -------------------------------------------------------------------------------- /lib/json-schema/util/uuid.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/util/uuid.rb -------------------------------------------------------------------------------- /lib/json-schema/validator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/validator.rb -------------------------------------------------------------------------------- /lib/json-schema/validators/draft1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/validators/draft1.rb -------------------------------------------------------------------------------- /lib/json-schema/validators/draft2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/validators/draft2.rb -------------------------------------------------------------------------------- /lib/json-schema/validators/draft3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/validators/draft3.rb -------------------------------------------------------------------------------- /lib/json-schema/validators/draft4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/validators/draft4.rb -------------------------------------------------------------------------------- /lib/json-schema/validators/draft6.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/validators/draft6.rb -------------------------------------------------------------------------------- /lib/json-schema/validators/hyper-draft1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/validators/hyper-draft1.rb -------------------------------------------------------------------------------- /lib/json-schema/validators/hyper-draft2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/validators/hyper-draft2.rb -------------------------------------------------------------------------------- /lib/json-schema/validators/hyper-draft3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/validators/hyper-draft3.rb -------------------------------------------------------------------------------- /lib/json-schema/validators/hyper-draft4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/validators/hyper-draft4.rb -------------------------------------------------------------------------------- /lib/json-schema/validators/hyper-draft6.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/lib/json-schema/validators/hyper-draft6.rb -------------------------------------------------------------------------------- /resources/draft-01.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/resources/draft-01.json -------------------------------------------------------------------------------- /resources/draft-02.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/resources/draft-02.json -------------------------------------------------------------------------------- /resources/draft-03.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/resources/draft-03.json -------------------------------------------------------------------------------- /resources/draft-04.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/resources/draft-04.json -------------------------------------------------------------------------------- /resources/draft-06.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/resources/draft-06.json -------------------------------------------------------------------------------- /test/all_of_ref_schema_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/all_of_ref_schema_test.rb -------------------------------------------------------------------------------- /test/any_of_ref_schema_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/any_of_ref_schema_test.rb -------------------------------------------------------------------------------- /test/bad_schema_ref_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/bad_schema_ref_test.rb -------------------------------------------------------------------------------- /test/caching_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/caching_test.rb -------------------------------------------------------------------------------- /test/common_test_suite_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/common_test_suite_test.rb -------------------------------------------------------------------------------- /test/custom_format_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/custom_format_test.rb -------------------------------------------------------------------------------- /test/data/all_of_ref_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/data/all_of_ref_data.json -------------------------------------------------------------------------------- /test/data/any_of_ref_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/data/any_of_ref_data.json -------------------------------------------------------------------------------- /test/data/bad_data_1.json: -------------------------------------------------------------------------------- 1 | { 2 | "a" : "poop" 3 | } -------------------------------------------------------------------------------- /test/data/good_data_1.json: -------------------------------------------------------------------------------- 1 | { 2 | "a" : 5 3 | } -------------------------------------------------------------------------------- /test/data/one_of_ref_links_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/data/one_of_ref_links_data.json -------------------------------------------------------------------------------- /test/draft1_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/draft1_test.rb -------------------------------------------------------------------------------- /test/draft2_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/draft2_test.rb -------------------------------------------------------------------------------- /test/draft3_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/draft3_test.rb -------------------------------------------------------------------------------- /test/draft4_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/draft4_test.rb -------------------------------------------------------------------------------- /test/draft6_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/draft6_test.rb -------------------------------------------------------------------------------- /test/extended_schema_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/extended_schema_test.rb -------------------------------------------------------------------------------- /test/extends_nested_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/extends_nested_test.rb -------------------------------------------------------------------------------- /test/files_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/files_test.rb -------------------------------------------------------------------------------- /test/fragment_resolution_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/fragment_resolution_test.rb -------------------------------------------------------------------------------- /test/fragment_validation_with_ref_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/fragment_validation_with_ref_test.rb -------------------------------------------------------------------------------- /test/full_validation_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/full_validation_test.rb -------------------------------------------------------------------------------- /test/initialize_data_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/initialize_data_test.rb -------------------------------------------------------------------------------- /test/list_option_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/list_option_test.rb -------------------------------------------------------------------------------- /test/load_ref_schema_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/load_ref_schema_test.rb -------------------------------------------------------------------------------- /test/merge_missing_values_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/merge_missing_values_test.rb -------------------------------------------------------------------------------- /test/min_items_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/min_items_test.rb -------------------------------------------------------------------------------- /test/no_additional_properties_all_of_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/no_additional_properties_all_of_test.rb -------------------------------------------------------------------------------- /test/one_of_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/one_of_test.rb -------------------------------------------------------------------------------- /test/relative_definition_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/relative_definition_test.rb -------------------------------------------------------------------------------- /test/ruby_schema_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/ruby_schema_test.rb -------------------------------------------------------------------------------- /test/schema_reader_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schema_reader_test.rb -------------------------------------------------------------------------------- /test/schema_validation_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schema_validation_test.rb -------------------------------------------------------------------------------- /test/schemas/address_microformat.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/address_microformat.json -------------------------------------------------------------------------------- /test/schemas/all_of_ref_base_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/all_of_ref_base_schema.json -------------------------------------------------------------------------------- /test/schemas/all_of_ref_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/all_of_ref_schema.json -------------------------------------------------------------------------------- /test/schemas/any_of_ref_jane_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/any_of_ref_jane_schema.json -------------------------------------------------------------------------------- /test/schemas/any_of_ref_jimmy_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/any_of_ref_jimmy_schema.json -------------------------------------------------------------------------------- /test/schemas/any_of_ref_john_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/any_of_ref_john_schema.json -------------------------------------------------------------------------------- /test/schemas/any_of_ref_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/any_of_ref_schema.json -------------------------------------------------------------------------------- /test/schemas/definition_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/definition_schema.json -------------------------------------------------------------------------------- /test/schemas/definition_schema_with_special_characters.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/definition_schema_with_special_characters.json -------------------------------------------------------------------------------- /test/schemas/extends_and_additionalProperties_false_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/extends_and_additionalProperties_false_schema.json -------------------------------------------------------------------------------- /test/schemas/extends_and_patternProperties_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/extends_and_patternProperties_schema.json -------------------------------------------------------------------------------- /test/schemas/good_schema_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/good_schema_1.json -------------------------------------------------------------------------------- /test/schemas/good_schema_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/good_schema_2.json -------------------------------------------------------------------------------- /test/schemas/good_schema_extends1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/good_schema_extends1.json -------------------------------------------------------------------------------- /test/schemas/good_schema_extends2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/good_schema_extends2.json -------------------------------------------------------------------------------- /test/schemas/inner_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/inner_schema.json -------------------------------------------------------------------------------- /test/schemas/one_of_ref_links_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/one_of_ref_links_schema.json -------------------------------------------------------------------------------- /test/schemas/ref john with spaces schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/ref john with spaces schema.json -------------------------------------------------------------------------------- /test/schemas/relative_definition_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/relative_definition_schema.json -------------------------------------------------------------------------------- /test/schemas/self_link_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/self_link_schema.json -------------------------------------------------------------------------------- /test/schemas/up_link_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/schemas/up_link_schema.json -------------------------------------------------------------------------------- /test/stringify_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/stringify_test.rb -------------------------------------------------------------------------------- /test/support/array_validation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/support/array_validation.rb -------------------------------------------------------------------------------- /test/support/enum_validation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/support/enum_validation.rb -------------------------------------------------------------------------------- /test/support/number_validation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/support/number_validation.rb -------------------------------------------------------------------------------- /test/support/object_validation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/support/object_validation.rb -------------------------------------------------------------------------------- /test/support/strict_validation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/support/strict_validation.rb -------------------------------------------------------------------------------- /test/support/string_validation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/support/string_validation.rb -------------------------------------------------------------------------------- /test/support/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/support/test_helper.rb -------------------------------------------------------------------------------- /test/support/test_suite_ignored_tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/support/test_suite_ignored_tests.yml -------------------------------------------------------------------------------- /test/support/type_validation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/support/type_validation.rb -------------------------------------------------------------------------------- /test/type_attribute_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/type_attribute_test.rb -------------------------------------------------------------------------------- /test/uri_parsing_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/uri_parsing_test.rb -------------------------------------------------------------------------------- /test/uri_util_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/uri_util_test.rb -------------------------------------------------------------------------------- /test/validator_schema_reader_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voxpupuli/json-schema/HEAD/test/validator_schema_reader_test.rb --------------------------------------------------------------------------------