Skip to main content

The XSD export's fidelity report names every approximation

The fidelity report of an XSD export now lists, construct by construct, what XML Schema cannot say the way the source does, and why. What each construct becomes.

  • Types-only advisory. Exporting an item with operations or channels says how many are left out, and suggests exporting to WSDL, OpenAPI or AsyncAPI as well to keep them.
  • Free-form objects. An untyped map (additionalProperties: {}) is written as xs:any and reported as approximated; a typed map is a list of entry elements.
  • Unions. A oneOf is an xs:choice of child elements, reported as approximated; a union with no alternatives is reported as dropped.
  • Null vs absent, examples, attributes. Notes say that a nullable value is nillable and optional, that examples are kept as annotations, and that every property is written as a child element rather than an attribute.