File size: 581 Bytes
47bf72a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""
Discovery Assembler — builds discovery packets per Art 39.14 (Texas).

Compliance schema: schemas/discovery_packet_schema.json.
"""


class DiscoveryAssembler:
    def assemble(self, case_id, transcripts=None, bodycams=None):
        transcripts = transcripts or []
        bodycams = bodycams or []
        return {
            "case_id": case_id,
            "packet_schema": "discovery_packet_schema.json",
            "contents": list(transcripts) + list(bodycams),
            "compliance": "Art 39.14",
            "audit": "elasticsearch://legalsync-audit",
        }