Jason Desrosiers

Results 562 comments of Jason Desrosiers

Cookbook idea: `contains` for object values **Pattern** ```json "not": { "additionalItems": { "not": { ... schema ... } } } ``` **Full example** ```json { "type": "object", "allOf": [{ "$ref":...

Cookbook idea: The "Implication Pattern" (`if`/`then` for draft-04/6) **Pattern: Equivalent to `"if": { ... if schema ... }, "then": { ... then schema ... }`** ```json "anyOf": [ { "not":...

The `not`s are unnecessary in the previous example because it uses `oneOf`.

Cookbook idea: Multiple fields required as a unit. **"foo" and "bar" must both be present or neither** ``` { "dependentRequired": { "foo": ["bar"], "bar": ["foo"] } } ``` **"foo", "bar",...

Yes, it's on the roadmap. Since you asked, I'll see about moving up in priority.

It's not forgotten, it just hasn't been a high enough priority. My main concern is that the YAML parser is enormous compared to this library and I don't want to...

I just added support for custom media type plugins that you can use to configure support for YAML. Instructions are in the README, https://github.com/hyperjump-io/json-schema-validator#media-types.

I pushed draft 2. This time I replaced the mention of "governance" with "specification development lifecycle (SDLC)". I don't think "governance" was the right word and its use confuses the...

@awwright > Hold up a bit... I feel like this misrepresents many things. I want to make sure this document accurately represents your side of the discussion even if you...

I just pushed a new draft incorporating feedback from @handrews and @awwright. @awwright I hope this gets closer to accurately representing your point of view.