Validation schemas
Registered by
Dolph Mathews
The TC recently objected to the apparent complexity of the model objects in PyCADF. For example:
This is a lot of code to validate 7 attributes in a dict as nothing more than strings. All of the boilerplate can be eliminated in favor of defining a JSON Schema for the object, and we can have much more powerful validation -- assuming none of the boilerplate is considered public API (the tests seem to reach into it, but I don't know why end users would).
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- Low
- Drafter:
- Dolph Mathews
- Direction:
- Needs approval
- Assignee:
- Dolph Mathews
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Slow progress
- Milestone target:
- None
- Started by
- Dolph Mathews
- Completed by
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
jsonschema based model validation
(?)