voxpupuli / json-schema

Ruby JSON Schema Validator
MIT License
1.52k stars 241 forks source link

Properties next to $ref must be ignored #426

Open reitzig opened 5 years ago

reitzig commented 5 years ago

In newer drafts <= 7, the spec has been clarified to exclude properties next to $ref. At draft 4, json-schema yields inconsistent results to other validators.

With draft 8, properties next to $ref are allowed and behave like json-schema (as far as I can tell).

See also json-schema-org/json-schema-spec#672