Metadata
- Source
- SJRK-131
- Type
- Task
- Priority
- Major
- Status
- Open
- Resolution
- Fixed
- Assignee
- N/A
- Reporter
- Gregor Moss
- Created
2018-06-01T15:30:13.301-0400 - Updated
2020-12-13T21:00:07.054-0500 - Versions
- N/A
- Fixed Versions
- N/A
- Component
-
- Storytelling Tool Server
Description
We should have a means of validating the model to ensure it has no unexpected fields; https://github.com/GPII/gpii-json-schema might be an appropriate way of doing this.
At the same time, we should remove any fields from the client side that are not needed for persistence; the fileDetails field is one example of this, especially as it may be incorrect should images etc be resized.