├── .gitignore ├── .travis.yml ├── CHANGELOG ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── TODO.md ├── bin └── validate-schema ├── docs └── errors.md ├── json_schema.gemspec ├── lib ├── commands │ └── validate_schema.rb ├── json_pointer.rb ├── json_pointer │ └── evaluator.rb ├── json_reference.rb ├── json_schema.rb └── json_schema │ ├── attributes.rb │ ├── configuration.rb │ ├── document_store.rb │ ├── error.rb │ ├── parser.rb │ ├── reference_expander.rb │ ├── schema.rb │ └── validator.rb ├── schemas ├── hyper-schema.json └── schema.json └── test ├── bin_test.rb ├── commands └── validate_schema_test.rb ├── data_scaffold.rb ├── json_pointer └── evaluator_test.rb ├── json_reference └── reference_test.rb ├── json_schema ├── attribute_test.rb ├── document_store_test.rb ├── error_test.rb ├── parser_test.rb ├── reference_expander_test.rb ├── schema_test.rb └── validator_test.rb ├── json_schema_test.rb └── test_helper.rb /.gitignore: -------------------------------------------------------------------------------- 1 | Gemfile.lock 2 | tags 3 | *.gem 4 | /.bundle/ 5 | /coverage/ 6 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/CHANGELOG -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/Rakefile -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/TODO.md -------------------------------------------------------------------------------- /bin/validate-schema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/bin/validate-schema -------------------------------------------------------------------------------- /docs/errors.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/docs/errors.md -------------------------------------------------------------------------------- /json_schema.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/json_schema.gemspec -------------------------------------------------------------------------------- /lib/commands/validate_schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/lib/commands/validate_schema.rb -------------------------------------------------------------------------------- /lib/json_pointer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/lib/json_pointer.rb -------------------------------------------------------------------------------- /lib/json_pointer/evaluator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/lib/json_pointer/evaluator.rb -------------------------------------------------------------------------------- /lib/json_reference.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/lib/json_reference.rb -------------------------------------------------------------------------------- /lib/json_schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/lib/json_schema.rb -------------------------------------------------------------------------------- /lib/json_schema/attributes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/lib/json_schema/attributes.rb -------------------------------------------------------------------------------- /lib/json_schema/configuration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/lib/json_schema/configuration.rb -------------------------------------------------------------------------------- /lib/json_schema/document_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/lib/json_schema/document_store.rb -------------------------------------------------------------------------------- /lib/json_schema/error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/lib/json_schema/error.rb -------------------------------------------------------------------------------- /lib/json_schema/parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/lib/json_schema/parser.rb -------------------------------------------------------------------------------- /lib/json_schema/reference_expander.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/lib/json_schema/reference_expander.rb -------------------------------------------------------------------------------- /lib/json_schema/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/lib/json_schema/schema.rb -------------------------------------------------------------------------------- /lib/json_schema/validator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/lib/json_schema/validator.rb -------------------------------------------------------------------------------- /schemas/hyper-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/schemas/hyper-schema.json -------------------------------------------------------------------------------- /schemas/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/schemas/schema.json -------------------------------------------------------------------------------- /test/bin_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/test/bin_test.rb -------------------------------------------------------------------------------- /test/commands/validate_schema_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/test/commands/validate_schema_test.rb -------------------------------------------------------------------------------- /test/data_scaffold.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/test/data_scaffold.rb -------------------------------------------------------------------------------- /test/json_pointer/evaluator_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/test/json_pointer/evaluator_test.rb -------------------------------------------------------------------------------- /test/json_reference/reference_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/test/json_reference/reference_test.rb -------------------------------------------------------------------------------- /test/json_schema/attribute_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/test/json_schema/attribute_test.rb -------------------------------------------------------------------------------- /test/json_schema/document_store_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/test/json_schema/document_store_test.rb -------------------------------------------------------------------------------- /test/json_schema/error_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/test/json_schema/error_test.rb -------------------------------------------------------------------------------- /test/json_schema/parser_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/test/json_schema/parser_test.rb -------------------------------------------------------------------------------- /test/json_schema/reference_expander_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/test/json_schema/reference_expander_test.rb -------------------------------------------------------------------------------- /test/json_schema/schema_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/test/json_schema/schema_test.rb -------------------------------------------------------------------------------- /test/json_schema/validator_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/test/json_schema/validator_test.rb -------------------------------------------------------------------------------- /test/json_schema_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/test/json_schema_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brandur/json_schema/HEAD/test/test_helper.rb --------------------------------------------------------------------------------