Hi,
Is it possible to implement casting a python dict to a json schema?
Like casting '4' to a number field - yeah, it's a string but can be casted without problems.
I know this is not entirely in the scope of jsonschema's purpose, but if you can give some hints on where to start by extending this project in my own fork that'd be great.
Or is it possible to check instead if the data can be casted successfully to the schema's type? Something like 'loose' validation.
Hi,
Is it possible to implement casting a python dict to a json schema?
Like casting '4' to a number field - yeah, it's a string but can be casted without problems.
I know this is not entirely in the scope of jsonschema's purpose, but if you can give some hints on where to start by extending this project in my own fork that'd be great.
Or is it possible to check instead if the data can be casted successfully to the schema's type? Something like 'loose' validation.