With the default jsonschema, many of the extended format arguments to string schema, such as uri, uuid, date, email would be silently ignored, but all seem rather relevant in an event sourcing system.
By adding a dependency on jsonschema[format] or [format-nogpl], these will actually be validated.
Additionally, custom validators can be added when the schema is instantiated: this could be useful, and more secure, than relying on the potentially dangerous YAML tags allowed by #26.
With the default
jsonschema
, many of the extendedformat
arguments tostring
schema, such asuri
,uuid
,date
,email
would be silently ignored, but all seem rather relevant in an event sourcing system.By adding a dependency on
jsonschema[format]
or[format-nogpl]
, these will actually be validated.Additionally, custom validators can be added when the schema is instantiated: this could be useful, and more secure, than relying on the potentially dangerous YAML tags allowed by #26.