For Python’s jsonschema library, specify the format checker when calling validate
:
jsonschema.validate(data, schema, format_checker=jsonschema.FormatChecker())
To validate a date-time format, the strict-rfc3339 package should be installed.
See Validating Formats.