Data Model - 18F/omb-eregs GitHub Wiki
Mural of content model as seen to users in django.
Policy documents are not stored as a single blob of text in the database. Instead, each subparagraph of a document is stored as its own database entry. Then it stores their relationships as a nested set model. (This is similar to a docular 🔒 data model.) While this adds more complexity to the underlying data model, it also allows for more granular annotations, as well as search and versioning in the future.