Below is a schema for parsing arrays of objects where each value in the object is either a string or another object. I'm finding the situation where things that should not validate are in fact passing validation.
#examples
# good
[{a: "a", b: "b", c: "c", "nested": {d: "a", e: "b"}}]
# bad where any of the values are not a,b,c or another object
[{a: "BAD", b: {c: "BAD2 }}]
I tried debugging this and found myself in the additionProperties validation where the get_extra_keys was returning nil. I'm assuming that the reference expander is doing something funky, or maybe I am myself.
Below is a schema for parsing arrays of objects where each value in the object is either a string or another object. I'm finding the situation where things that should not validate are in fact passing validation.
I tried debugging this and found myself in the additionProperties validation where the
get_extra_keys
was returningnil
. I'm assuming that the reference expander is doing something funky, or maybe I am myself.Thanks for any and all help.