json-schema icon indicating copy to clipboard operation
json-schema copied to clipboard

Ruby JSON Schema Validator

Results 107 json-schema issues
Sort by recently updated
recently updated
newest added

Consider the following folder structure with files as given in [this Gist](https://gist.github.com/reitzig/9fd7c1c2718b46bb43dcd3506ec3437a): ``` . ├── example.json ├── schemas │   ├── more │   │   ├── schemaB.json │   │   └── schemaC.json │  ...

Since there's not mention of JSON Schema Draft 06 on the readme, the number of [ignored test files](https://github.com/ruby-json-schema/json-schema/blob/master/test/support/test_suite_ignored_tests.yml#L41) and some basic manual testing I am assuming that the gem does...

Given the object ```json object = { "a_string": "this property is allowed by the schema", "an_extra_string": "the schema does not allow this property" } ``` The following schema should raise...

I was testing a schema in a Rails Pry REPL, with commands like so: ``` ruby data = {book: {title: "Schemas", author: "Joe Bloggs"}} JSON::Validator.fully_validate("schema.json", data.to_json, strict: true) ``` I...

When I updated Oj gem I get issue: JSON::ParserError: Empty input at line 1, column 1 [parse.c:926] This is because in new Oj version, for line https://github.com/ruby-json-schema/json-schema/blob/c12f6000795cc0fdf8d17d97d5bf9c1b383037e4/lib/json-schema/validator.rb#L527 if you send...

So we are using json-schema to verify our json system description. We are using 2.2.5 by default but if 2.5.1 is installed it will be used automatically if it isn't...

I would like to be able to specify an explicit base URI when passing a schema as a String or Hash so that relative $refs will work. As it stands...

My use-case: We have a complex schema set of files which use `$ref`s extensively. Currently, the schema files' `$ref`s reference a private URL, which only works under certain conditions. I...

With draft4 schemas we validate dates using ruby's DateTime.rfc3339 method. Defining the type as ["string", "null"] and the format as "date-time" fails when response contains null. JSON::Schema::ValidationError: The property '#/data/items/0/dateValue'...

Using `json-schema` to validate Azure UI Templates ([sample for version 0.1.2-preview](https://schema.management.azure.com/schemas/0.1.2-preview/CreateUIDefinition.MultiVm.json)) they use URL http://json-schema.org/schema as metaschema, but `json-schema` fails to use it as it is not preloaded. As a...