No information of the source type is lost by defining empty enum variants
as unit type rather than creating a custom declaration for them. At the
same time, not doing that simplifies the schemas and reduces chances for
name collisions in derived schemas.
No information of the source type is lost by defining empty enum variants as unit type rather than creating a custom declaration for them. At the same time, not doing that simplifies the schemas and reduces chances for name collisions in derived schemas.