This application does not store documents in a database of its own. Instead it uses Publishing API to store and retrieve documents. MongoDB is used for storing local user records.
For each of the specialist finder schemas, target_stack property can be set to draft to only put the finder content onto the draft stack, and live to publish the finder to the live stack
Format: Category of a Document. Format names are listed in the Live Examples section above and include MAIB Reports and CMA Cases.
Finder: Sometimes Formats are referred to as Finders. They are called ‘Finders’ because each one of them creates a finder on GOV.UK, e.g. https://www.gov.uk/raib-reports. The formats are served by Finder Frontend.
Document: Specialist Documents are created by Government editors and can be published to GOV.UK. Documents differ depending on their format, largely determined by the format’s schema.
Schema: JSON files defining attributes for each format, including base_path, document_noun and document_type. It also contains the facets and their possible values for each document_type which are displayed by _form.html.erb.