atviriduomenys / spinta

Spinta is a framework to describe, extract and publish data (a DEP Framework).
MIT License
10 stars 4 forks source link

in `XSD` to DSA conversion, `memberTypes` which have 2 or more other types are not covered yet. #601

Open karina-klinkeviciute opened 2 months ago

karina-klinkeviciute commented 2 months ago

XSD files can have memberTypes which are unions of two or more types. In this case, we need to find which of those types is most generic and use it for matching the DSA type.

Examples:

https://ws.registrucentras.lt/broker/info.php?t=718&f=out and https://ws.registrucentras.lt/broker/info.php?t=770&f=out