Open drjova opened 4 days ago
JSONSchema validation is currently implemented as an additional step in the views and endpoints within the backoffice.
Task Explore the possibility of integrating the JSONSchema validation directly into the DRF serializer, specifically for the data field.
Acceptance: If integration is feasible, JSONSchema validation should:
An example of how to add custom validation: https://github.com/inspirehep/backoffice/blob/main/backoffice/backoffice/workflows/api/serializers.py#L71
JSONSchema validation is currently implemented as an additional step in the views and endpoints within the backoffice.
Task Explore the possibility of integrating the JSONSchema validation directly into the DRF serializer, specifically for the data field.
Acceptance: If integration is feasible, JSONSchema validation should: