{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Court Filing / Case", "description": "Court case record including parties, filings, and outcomes from a federal or state court docket.", "type": "object", "properties": { "case_number": { "type": "string", "description": "Official case number. Commonly found in: PACER, state court portal, court docket." }, "court_name": { "type": "string", "description": "Name of the court. Commonly found in: PACER, state court portal." }, "court_type": { "type": "string", "enum": ["federal_district", "federal_bankruptcy", "federal_appeals", "state_trial", "state_appeals", "other"], "description": "Type of court. Commonly found in: court portal, case metadata." }, "jurisdiction": { "type": "string", "description": "Jurisdiction or district. Commonly found in: court portal, case header." }, "case_type": { "type": "string", "enum": ["civil", "criminal", "bankruptcy", "family", "probate", "administrative", "other"], "description": "Type of legal case. Commonly found in: PACER, court portal, nature of suit code." }, "case_title": { "type": "string", "description": "Official case title (e.g., Plaintiff v. Defendant). Commonly found in: PACER, court portal." }, "filing_date": { "type": "string", "format": "date", "description": "Date the case was filed. Commonly found in: PACER, court portal, docket header." }, "status": { "type": "string", "enum": ["open", "closed", "pending", "appealed", "dismissed", "settled", "other"], "description": "Current status of the case. Commonly found in: PACER, court portal." }, "plaintiffs": { "type": "array", "items": { "$ref": "#/$defs/CaseParty" }, "description": "Plaintiff parties. Commonly found in: PACER, court portal party list." }, "defendants": { "type": "array", "items": { "$ref": "#/$defs/CaseParty" }, "description": "Defendant parties. Commonly found in: PACER, court portal party list." }, "judge_name": { "type": "string", "description": "Name of the presiding judge. Commonly found in: PACER, court portal, docket header." }, "causes_of_action": { "type": "array", "items": { "type": "string" }, "description": "Legal causes of action or claims. Commonly found in: complaint, docket entry, PACER nature of suit." }, "claim_amount_usd": { "type": "number", "description": "Amount claimed in USD. Commonly found in: complaint, docket filing." }, "settlement_amount_usd": { "type": "number", "description": "Settlement amount in USD if settled. Commonly found in: settlement filing, press release." }, "verdict": { "type": "string", "description": "Verdict or judgment description. Commonly found in: judgment order, docket entry." }, "docket_entries": { "type": "array", "items": { "$ref": "#/$defs/DocketEntry" }, "description": "Key docket entries. Commonly found in: PACER docket, court portal docket." }, "page_title": { "type": "string", "description": "Title of the source page. Tabstack auto-fills this from page metadata when left empty." }, "favicon": { "type": "string", "format": "uri", "description": "Favicon URL of the source page. Tabstack auto-fills this from page metadata when left empty." } }, "$defs": { "CaseParty": { "type": "object", "description": "A party involved in the case.", "properties": { "name": { "type": "string", "description": "Name of the party." }, "type": { "type": "string", "description": "Type of party (e.g., individual, corporation)." }, "attorney": { "type": "string", "description": "Name of the party's attorney." }, "attorney_firm": { "type": "string", "description": "Law firm of the party's attorney." } }, "required": ["name"] }, "DocketEntry": { "type": "object", "description": "An entry on the case docket.", "properties": { "date": { "type": "string", "format": "date", "description": "Date of the docket entry." }, "description": { "type": "string", "description": "Description of the docket entry." } }, "required": ["date", "description"] } }, "required": ["case_number", "court_name", "case_type", "case_title", "filing_date", "status"] }