18F / omb-eregs

A tool to find, read, and maintain White House Office of Management and Budget (OMB) policy requirements

Home Page:https://policy-beta.cio.gov/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Document schema work

yowill opened this issue · comments

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.

@tadhg-ohiggins did we make any progress on this?