The JSON Schema export's report follows the draft you pick
The fidelity report of a JSON Schema export is now computed for the options you choose, and says what each draft drops or approximates, field by field. What the report lists.
- Types-only warning. Exporting an item with operations or channels raises a critical warning that counts what is left out, and suggests OpenAPI or AsyncAPI to keep it.
- Draft downgrades. Choosing
draft-07ordraft-04lists every keyword the draft drops (deprecated,examples,unevaluatedItems…) or writes another way (prefixItemsas a tuple,constas anenum, exclusive bounds as flags), on the type or field it is in. - Formats. A value with a
formatis noted: JSON Schema validators treat it as an annotation.
