-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Originally created for Objects API maykinmedia/objects-api#473
The JsonSchema spec defines formats in 7.3
These formats are currently not validated by the jsonschema validator. At first glance the fix for this seems simple: https://python-jsonschema.readthedocs.io/en/latest/validate/#validating-formats although there are two caveats: https://python-jsonschema.readthedocs.io/en/latest/validate/#format-specific-notes (regex & email).
An Objects API specific issue is that the data_attrs in Objects API atleast does not support data-time.
Other than the Objects API the following components also have this issue:
- Open Product uses producttype data & verbruik json schemas used to validate product (verbruiks)data
- Verzoeken (from Open VTB) uses verzoektype aanvraag_gegevens_schema used to validate verzoek aanvraag_gegevens.
For backwards compatibilty i would propose to add a strict boolean to the ObjectTypeVersion model with a config setting as its default value in API/admin (False on model itself).
Since Open Product & Verzoeken are relatively new components they do not need a boolean per instance or config setting.
Sub-issues
Metadata
Metadata
Assignees
Type
Projects
Status