rafa-camargo

Results 2 comments of rafa-camargo

Maybe adding support to something similar OpenAPI `discriminator` could help here. That combined with `const` and `widget: hidden` should be enough to help finding which subschema to validate against.

From the [spec](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#discriminator-object) it only applies to `object` types. But that covers almost all cases no? From JSON's perspective, subclassing `array`, `integer`, `boolean`, doesn't make much sense, right? What would...