The problem here is that having the ability to define inline JSON Schema or XSDs in any type declaration may introduce a lot ambiguity and creates very complex use cases when serializing it into something more specific. Therefore, we suggest to remove the support for inline declaration of both in any type declaration. One will still be able to define XSDs, JSON Schema, or types; but is not able to mix them.
The problem here is that having the ability to define inline JSON Schema or XSDs in any type declaration may introduce a lot ambiguity and creates very complex use cases when serializing it into something more specific. Therefore, we suggest to remove the support for inline declaration of both in any type declaration. One will still be able to define XSDs, JSON Schema, or types; but is not able to mix them.