system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
Produce a CSV document for a contract.
assistant
Approach:
1. Task: Create contract in CSV
2. Complexity: simple - 3-5 fields, minimal nesting
3. Format rules: header row, comma-separated, quoted fields with commas
4. Structure: Organize data logically with appropriate nesting
5. Populate fields with realistic example data based on the schema.

Output:
contract_id,effective_date,parties,status,term_months,value
CTR-182997,,"[{""name"": ""Brown-Harris"", ""role"": ""party_a""}, {""name"": ""Soto, Terry and Lewis"", ""role"": ""party_b""}]",pending,53,792690
CTR-239540,2026-01-02,"[{""name"": ""Welch LLC"", ""role"": ""party_a""}, {""name"": ""Page PLC"", ""role"": ""party_b""}]",active,12,660857
CTR-191814,2026-01-04,"[{""name"": ""Torres PLC"", ""role"": ""party_a""}, {""name"": ""Davis PLC"", ""role"": ""party_b""}]",pending,37,859064
CTR-457009,2026-01-05,"[{""name"": ""Garcia PLC"", ""role"": ""party_a""}, {""name"": ""Estes-Miller"", ""role"": ""party_b""}]",active,25,690854
CTR-161028,2026-01-01,"[{""name"": ""Jackson-Miller"", ""role"": ""party_a""}, {""name"": ""Perez-Smith"", ""role"": ""party_b""}]",pending,52,790676
