compass.pipeline.collection.persistence.build_collection_manifest#

build_collection_manifest(tech, jurisdictions)[source]#

Build the serialized collection manifest payload

Parameters:
  • tech (str) – Technology specified in the pipeline request, included in the manifest for compatibility validation when loading.

  • jurisdictions (dict) – Dictionary mapping jurisdiction full names to serialized collection metadata for each jurisdiction, including jurisdiction identifiers and the persisted document records.

Returns:

dict – Collection manifest as a dictionary, ready to be serialized and written to disk.