@samuelcolvin Would you be open to adding jsonschema as a testing dependency for the sake of validating generated schemas? I like the idea, if for no other reason than making sure we recognize if/when we make a change that isn't compatible with whatever draft we target (i.e., 2020-12 for now).
See https://github.com/pydantic/pydantic/issues/5051#issuecomment-1462842500 for context