{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/project_controls/bid.render_manifest.schema.json","title":"bid.render_manifest","type":"object","properties":{"manifest_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"project_ref":{"type":"string","x-pg-type":"text"},"proposal_revision":{"type":"string","x-pg-type":"text"},"rendered_at":{"type":"string","format":"date-time","x-pg-type":"timestamptz"},"rendered_by":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"equipment_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"x-pg-type":"int4"},"stream_snapshot_ids":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"},"artifact_ids":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"},"estimate_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"x-pg-type":"int4"},"requirement_item_ids":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"},"narrative_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"template_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"output_pdf_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"output_pdf_path":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"sections_available":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"},"section_digests":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"},"validation_results":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"},"design_requirement_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"x-pg-type":"uuid"},"pipeline_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"consumed_artifact_hashes":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"}},"x-table-schema":"bid","required":["project_ref","proposal_revision"],"x-primary-key":["manifest_id"],"x-foreign-keys":[{"column":"design_requirement_id","references_table":"project_controls.design_requirement","references_column":"design_requirement_id","constraint":"render_manifest_design_requirement_fk"}]}