incompatible properties : bar
definitions/FooBarString/properties/bar
at file:///mnt/vss/_work/1/s/src/test/specs/compatible-properties-ref.json#L13:8
definitions/FooBarStringRef/properties/bar
at file:///mnt/vss/_work/1/s/src/test/specs/compatible-properties-ref.json#L26:8
The two
bar
properties should be considered compatible, because the types are effectively identical (one just flows through an extra$ref
):Instead they generate an error: