Closed yowill closed 6 years ago
Thinking of those phases in terms of types, it’d be:
Attempting to split this into specific tasks:
(Broken out here: https://github.com/18F/omb-eregs/issues/906)
Field
classes. If so, we'll need to validate them, too.(Broken out here: https://github.com/18F/omb-eregs/issues/907)
DocCursor
against that schema.Closing because this was covered by #884 , #906 and # 907 (thanks @cmc333333 !)
I think there are three separate validations of differing complexity:
caption
,thead
,tbody
children".Aside from listing the components we haven't spent much time on the document schema (3). We might start with an XSD as a simple, document-oriented schema language; I'd argue it'd also be worth considering ProseMirror's schema structures and looking around for other standards we could share across the apps (we'll have a version of the schema in the editor, the api, and the ui, though probably encoded differently). I'd recommend against JSON Schema, as it's not document oriented. I'd also strongly encourage thinking about the policies as one type of document with the potential for more; it'd be forward thinking to lay a general foundation for schemas now.