Document schema work
yowill opened this issue · comments
Will Sullivan commented
Document Schema level AC:
- Select a tool to describe the schema for a policy. XSD, ProseMirror schema, etc.
- Encode a (flexible) document schema in that tool.
- Write utility to compare a
DocCursor
against that schema. - Run that over all our imported docs to ensure they conform. Where they don't, create an issue for us to tackle later.
- Use that tool in the PUT endpoints of the API; ensure failures messages are returned and displayed.
Will Sullivan commented
@tadhg-ohiggins did we make any progress on this?