Open
Description
Structure at runtime of allOf/oneOf/anyOf - today, we use nesting of structs to represent the nested schemas.
Could be represented as a single flattened struct that conforms to multiple protocols, one for each nested type, or some other way.
Things to keep in mind:
- lack of nested protocols in Swift
- cost of using existentials vs concrete types