Lex Machina State Cases API

State court cases.

Operations 1

GET /state-cases/{state_case_id} Get State Case #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lex-machina-state-cases-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lex-machina-state-cases-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lex Machina State Cases API
  version: '20260324'
  description: State court cases.
servers:
- url: https://api.lexmachina.com
  description: Lex Machina production API
tags:
- name: State Cases
  description: State court cases.
paths:
  /state-cases/{state_case_id}:
    get:
      tags:
      - State Cases
      summary: Get State Case
      description: 'Gets data for a single enhanced state case.


        - **case_id**: the Lex Machina stateCaseId

        - **docket_retrieval**: docket retreival mode'
      operationId: get_state_case
      security:
      - JwtAccessBearer: []
      parameters:
      - name: state_case_id
        in: path
        required: true
        schema:
          type: integer
          title: State Case Id
      - name: docket_retrieval
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: '''all'' to retrieve docket entries for the case, if not provided no docket entries will be retrieved.'
          title: Docket Retrieval
        description: '''all'' to retrieve docket entries for the case, if not provided no docket entries will be retrieved.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StateCaseData'
              examples:
                single state case:
                  summary: single state case
                  value:
                    stateCaseId: 2002947480
                    title: PRIMEWAY FEDERAL CREDIT UNION (SUCCESSOR vs. RICHARDSON, TERENCE
                    state: Texas
                    court: Harris County District Court
                    caseNo: '201600017'
                    status: Terminated
                    caseType:
                    - Contract (TX)
                    caseTags: []
                    dates:
                      filed: '2016-01-01'
                      terminated: '2017-02-28'
                    events:
                    - type: Filed
                      occurred: '2016-01-01'
                    - type: Terminated
                      occurred: '2017-02-28'
                    judges:
                    - name: Joseph James Halbach Jr
                      stateJudgeId: 776
                    - name: Daryl L Moore
                      stateJudgeId: 775
                    rulings:
                      active: []
                    lawFirms:
                    - name: Coats Rose
                      lawFirmId: 1192064
                      clientPartyIds:
                      - 290379
                    attorneys:
                    - name: Nancy Hesse Hamren
                      attorneyId: 17168919
                      lawFirmIds:
                      - 1192064
                      clientsPartyIds:
                      - 290379
                    parties:
                    - name: WESTERN SURETY COMPANY (BY SERVING ITS REGISTERED AGENT C T CORPORATION)
                      partyId: 290379
                      role: Defendant
                    - name: PRIMEWAY FEDERAL CREDIT UNION (SUCCESSOR BY MERGER TO TEXASONE
                      partyId: 44462144
                      role: Plaintiff
                    - name: TERENCE RICHARDSON
                      partyId: 44100878
                      role: Defendant
                    - name: LATRENDA RICHARDSON
                      partyId: 44100883
                      role: Third Party
                    - name: DISPUTE RESOLUTION CENTER
                      partyId: 45573057
                      role: Third Party
                    - name: RICHARDSON, LATRENDA (DBA LATRENDA H RICHARDSON) AND LATRENDA HARRISON
                      partyId: 44100879
                      role: Defendant
                    damages:
                      active: []
                    docket:
                      entries: []
                      retrieved: none
                      count: 16
                a state case with docket text:
                  summary: a state case with docket text
                  value:
                    stateCaseId: 2033923164
                    title: Stuart Leiderman et al - v. - Bryan Blair MD et al
                    state: New York
                    court: Westchester County Supreme Court
                    caseNo: 60111/2016
                    status: Terminated
                    caseType:
                    - Torts (NY)
                    caseTags:
                    - Trial
                    - Post-RJI
                    - Medical Malpractice (NY)
                    dates:
                      filed: '2016-07-25'
                      terminated: '2023-12-08'
                      trial: '2023-12-01'
                    resolution:
                      summary: Defendant Win
                      specific: Jury Verdict
                      docketEntryFiled: '2023-12-11'
                      stateDocketEntryId: 1263090705
                    events:
                    - type: Filed
                      occurred: '2016-07-25'
                    - type: Trial
                      occurred: '2023-12-01'
                    - type: Terminated
                      occurred: '2023-12-08'
                    judges:
                    - name: Nicholas Colabella
                      stateJudgeId: 5354
                    - name: Lewis J Lubell
                      stateJudgeId: 5380
                    - name: Alexandra D Murphy
                      stateJudgeId: 5499
                    rulings:
                      active:
                      - judgmentEvent: Jury Verdict
                        awardedToPartyIds:
                        - 59976491
                        - 273640420
                        awardedAgainstPartyIds:
                        - 273640418
                        - 273640419
                        awarded: '2023-12-11'
                    lawFirms:
                    - name: Wilson Elser
                      lawFirmId: 32792
                      clientPartyIds:
                      - 59976491
                      - 273640420
                    - name: Rende, Ryan & Downes
                      lawFirmId: 18487197
                      clientPartyIds:
                      - 59976491
                      - 273640420
                    - name: Spodek Law Group
                      lawFirmId: 56067963
                      clientPartyIds:
                      - 273640418
                      - 273640419
                    - name: McDonnell Adels & Klestzick
                      lawFirmId: 78352648
                      clientPartyIds:
                      - 273640418
                    - name: LESTZICK
                      lawFirmId: 190708263
                      clientPartyIds:
                      - 273640418
                      - 273640419
                    attorneys:
                    - name: Michael Francis Grady
                      attorneyId: 56806693
                      lawFirmIds:
                      - 32792
                      - 18487197
                      clientsPartyIds:
                      - 59976491
                      - 273640420
                    - name: Patricia Lacy
                      attorneyId: 95498831
                      lawFirmIds:
                      - 32792
                      - 18487197
                      clientsPartyIds:
                      - 59976491
                      - 273640420
                    - name: Lauren Claire Santucci
                      attorneyId: 96133618
                      lawFirmIds:
                      - 32792
                      clientsPartyIds:
                      - 59976491
                      - 273640420
                    - name: Siobhainin S. Funchion
                      attorneyId: 146509675
                      lawFirmIds:
                      - 32792
                      clientsPartyIds:
                      - 59976491
                      - 273640420
                    - name: Ralph Philip Franco Jr.
                      attorneyId: 48799422
                      lawFirmIds:
                      - 56067963
                      - 190708263
                      clientsPartyIds:
                      - 273640418
                      - 273640419
                    parties:
                    - name: Westmed Medical Group
                      partyId: 59976491
                      role: Defendant
                    - name: Stuart Leiderman
                      partyId: 273640418
                      role: Plaintiff
                    - name: Bryan Blair MD
                      partyId: 273640420
                      role: Defendant
                    - name: Jacqueline Leiderman
                      partyId: 273640419
                      role: Plaintiff
                    damages:
                      active: []
                    docket:
                      entries:
                      - filedOn: '2016-07-25'
                        tags:
                        - Complaint
                        text: SUMMONS + COMPLAINT
                        stateDocketEntryId: 1263090641
                      - filedOn: '2016-09-13'
                        tags: []
                        text: STATEMENT OF AUTHORIZATION FOR ELECTRONIC FILING
                        stateDocketEntryId: 1263090644
                      - filedOn: '2016-09-13'
                        tags: []
                        text: DEMAND FOR BILL OF PARTICULARS — Demand for a Verified Bill of Particulars
                        stateDocketEntryId: 1263090643
                      - filedOn: '2016-09-13'
                        tags:
                        - Answer
                        text: ANSWER — Verified Answer to Verified Complaint
                        stateDocketEntryId: 1263090642
                      - filedOn: '2017-03-03'
                        tags: []
                        text: CONSENT TO CHANGE ATTORNEY (PRE RJI) — Consent to Change Attorney - Dr Blair and WestMed
                        stateDocketEntryId: 1263090645
                      - filedOn: '2017-04-20'
                        tags:
                        - Request for Judicial Intervention
                        text: 'RJI -RE: REQUEST FOR PRELIMINARY CONFERENCE'
                        stateDocketEntryId: 1263090647
                      - filedOn: '2017-04-20'
                        tags: []
                        text: PRELIMINARY CONFERENCE REQUEST
                        stateDocketEntryId: 1263090646
                      - filedOn: '2017-05-01'
                        tags: []
                        text: COURT NOTICE
                        stateDocketEntryId: 1263090648
                      - filedOn: '2017-06-07'
                        tags: []
                        text: ORDER - PRELIMINARY CONFERENCE
                        stateDocketEntryId: 1263090649
                      - filedOn: '2017-08-08'
                        tags: []
                        text: CONSENT TO CHANGE ATTORNEY (POST RJI) — Consent to Change Attorney-Leiderman(plaintiffs)
                        stateDocketEntryId: 1263090650
                      - filedOn: '2017-08-30'
                        tags: []
                        text: ORDER - COMPLIANCE CONFERENCE — ORDER - COMPLIANCE CONFERENCE entered in the office of the County Clerk on August 30, 2017
                        stateDocketEntryId: 1263090651
                      - filedOn: '2017-09-07'
                        tags: []
                        text: NOTICE OF MEDICAL MALPRACTICE
                        stateDocketEntryId: 1263090652
                      - filedOn: '2017-09-19'
                        tags: []
                        text: ORDER - COMPLIANCE CONFERENCE — ORDER - COMPLIANCE CONFERENCE entered in the office of the County Clerk on September 19, 2017
                        stateDocketEntryId: 1263090653
                      - filedOn: '2017-12-12'
                        tags: []
                        text: ORDER - COMPLIANCE CONFERENCE — ORDER - COMPLIANCE CONFERENCE entered in the office of the County Clerk on December 12, 2017
                        stateDocketEntryId: 1263090655
                      - filedOn: '2018-02-14'
                        tags: []
                        text: ORDER - COMPLIANCE CONFERENCE — ORDER - COMPLIANCE CONFERENCE entered in the office of the County Clerk on February 14, 2018
                        stateDocketEntryId: 1263090657
                      - filedOn: '2018-02-22'
                        tags: []
                        text: RESPONSE TO DEMAND — Response to Defendant's Notice to Produce
                        stateDocketEntryId: 1263090659
                      - filedOn: '2018-04-10'
                        tags: []
                        text: ORDER - COMPLIANCE CONFERENCE — ORDER - COMPLIANCE CONFERENCE entered in the office of the County Clerk on April 10, 2018
                        stateDocketEntryId: 1263090661
                      - filedOn: '2018-05-15'
                        tags: []
                        text: ORDER - COMPLIANCE CONFERENCE — ORDER - COMPLIANCE CONFERENCE entered in the office of the County Clerk on May 15, 2018
                        stateDocketEntryId: 1263090663
                      - filedOn: '2018-06-07'
                        tags: []
                        text: ORDER - COMPLIANCE CONFERENCE
                        stateDocketEntryId: 1263090665
                      - filedOn: '2018-07-03'
                        tags: []
                        text: ORDER - COMPLIANCE CONFERENCE — ORDER - COMPLIANCE CONFERENCE entered in the office of the County Clerk on July 03, 2018
                        stateDocketEntryId: 1263090666
                      - filedOn: '2018-07-24'
                        tags: []
                        text: ORDER - COMPLIANCE CONFERENCE — ORDER - COMPLIANCE CONFERENCE entered in the office of the County Clerk on July 24, 2018
                        stateDocketEntryId: 1263090667
                      - filedOn: '2018-08-13'
                        tags: []
                        text: ORDER - TRIAL READINESS — ORDER - TRIAL READINESS entered in the office of the County Clerk on August 13, 2018
                        stateDocketEntryId: 1263090668
                      - filedOn: '2018-08-14'
                        tags: []
                        text: ORDER - REFERENCE — ORDER - REFERENCE entered in the office of the County Clerk on August 14, 2018
                        stateDocketEntryId: 1263090669
                      - filedOn: '2018-08-29'
                        tags: []
                        text: AFFIDAVIT
                        stateDocketEntryId: 1263090671
                      - filedOn: '2018-08-29'
                        tags:
                        - 'Note of Issue: With Jury'
                        text: NOTE OF ISSUE:WITH JURY
                        stateDocketEntryId: 1263090670
                      - filedOn: '2018-11-16'
                        tags: []
                        text: COURT NOTICE
                        stateDocketEntryId: 1263090672
                      - filedOn: '2018-12-11'
                        tags: []
                        text: LETTER / CORRESPONDENCE TO JUDGE — Settlement Part Form
                        stateDocketEntryId: 1263090673
                      - filedOn: '2018-12-18'
                        tags: []
                        text: ADJOURNMENT OF CONFERENCE -REQUEST — Request to adjourn settlement conference from Jan 9 to Jan 16, 2019
                        stateDocketEntryId: 1263090674
                      - filedOn: '2019-04-09'
                        tags: []
                        text: COURT NOTICE
                        stateDocketEntryId: 1263090675
                      - filedOn: '2019-06-05'
                        tags: []
                        text: OTHER COURT FILED DOCUMENT — Trial Date Scheduling
                        stateDocketEntryId: 1263090676
                      - filedOn: '2019-08-09'
                        tags: []
                        text: LETTER / CORRESPONDENCE TO JUDGE — Letter to Judge re Trial
                        stateDocketEntryId: 1263090677
                      - filedOn: '2019-09-04'
                        tags: []
                        text: 'ORDER TO SHOW CAUSE ( PROPOSED ) — Order to Show Cause (Motion #1)'
                        stateDocketEntryId: 1263090678
                      - filedOn: '2019-09-04'
                        tags:
                        - Answer
                        text: 'EXHIBIT(S) — Summons & Complaint and Answer (Motion #1)'
                        stateDocketEntryId: 1263090679
                      - filedOn: '2019-09-04'
                        tags: []
                        text: 'EXHIBIT(S) — Email (Motion #1)'
                        stateDocketEntryId: 1263090680
                      - filedOn: '2019-09-04'
                        tags: []
                        text: 'EXHIBIT(S) — 8.8.19 Letter (Motion #1)'
                        stateDocketEntryId: 1263090681
                      - filedOn: '2019-09-04'
                        tags: []
                        text: 'EXHIBIT(S) — 9.4.19 email (Motion #1)'
                        stateDocketEntryId: 1263090682
                      - filedOn: '2019-09-04'
                        tags: []
                        text: 'AFFIDAVIT OR AFFIRMATION IN SUPPORT — Affirmation in Support (Motion #1)'
                        stateDocketEntryId: 1263090683
                      - filedOn: '2019-09-06'
                        tags: []
                        text: AFFIDAVIT — Affidavit of Service and Legal Back
                        stateDocketEntryId: 1263090685
                      - filedOn: '2019-09-06'
                        tags:
                        - Order
                        text: 'ORDER TO SHOW CAUSE — RETURNABLE SEPTEMBER 16TH, 2019 AT 9:30 A.M. ORAL ARG (Motion #1)'
                        stateDocketEntryId: 1263090684
                      - filedOn: '2019-09-16'
                        tags:
                        - Decision+Order
                        text: 'DECISION + ORDER ON MOTION — GRANTED TO THE EXTENT THAT THE CASE IS MARKED "OFF" THE TRIAL CALENDAR, ON CONSENT, AS ON THE RECORD (Motion #1)'
                        stateDocketEntryId: 1263090686
                      - filedOn: '2021-06-14'
                        tags: []
                        text: CONSENT TO CHANGE ATTORNEY (POST RJI)
                        stateDocketEntryId: 1263090687
                      - filedOn: '2021-11-29'
                        tags: []
                        text: 'ORDER TO SHOW CAUSE ( PROPOSED ) (Motion #2)'
                        stateDocketEntryId: 1263090688
                      - filedOn: '2021-11-29'
                        tags: []
                        text: 'EXHIBIT(S) — AFFIDAVIT IN SUPOORT (Motion #2)'
                        stateDocketEntryId: 1263090691
                      - filedOn: '2021-11-29'
                        tags: []
                        text: 'EXHIBIT(S) — VERIFIED BILL OF PARTICULARS (Motion #2)'
                        stateDocketEntryId: 1263090690
                      - filedOn: '2021-11-29'
                        tags: []
                        text: 'AFFIDAVIT OR AFFIRMATION IN SUPPORT OF PROPOSED OSC/EXPARTE APP (Motion #2)'
                        stateDocketEntryId: 1263090689
                      - filedOn: '2021-12-10'
                        tags:
                        - Order
                        text: 'ORDER TO SHOW CAUSE (Motion #1)'
                        stateDocketEntryId: 1263090692
                      - filedOn: '2021-12-30'
                        tags: []
                        text: 'AFFIDAVIT (Motion #2)'
                        stateDocketEntryId: 1263090693
                      - filedOn: '2022-01-13'
                        tags: []
                        text: 'EXHIBIT(S) — Note of Issue (Motion #2)'
                        stateDocketEntryId: 1263090697
                      - filedOn: '2022-01-13'
                        tags:
                        - Answer
                        text: 'EXHIBIT(S) — Verified Answer on behalf of Bryan Blair, M.D. and Westmed Medical Group (Motion #2)'
                        stateDocketEntryId: 1263090696
                      - filedOn: '2022-01-13'
                        tags:
                        - Complaint
                        text: 'EXHIBIT(S) — Summons & Complaint (Motion #2)'
                        stateDocketEntryId: 1263090695
                      - filedOn: '2022-01-13'
                        tags: []
                        text: 'AFFIDAVIT OR AFFIRMATION IN OPPOSITION TO ORDER TO SHOW CAUSE — Affirmation in Opposition (to OTSC to Restore Case to Trial Calendar) (Motion #2)'
                        stateDocketEntryId: 1263090694
                      - filedOn: '2022-01-13'
                        tags: []
                        text: 'EXHIBIT(S) — Decision & Order On Plaintiff''s Order to Show Cause (Motion #2)'
                        stateDocketEntryId: 1263090698
                      - filedOn: '2022-01-13'
                        tags: []
                        text: 'EXHIBIT(S) — Consent to Change Attorney (Motion #2)'
                        stateDocketEntryId: 1263090699
                      - filedOn: '2022-07-15'
                        tags: []
                        text: COURT NOTICE
                        stateDocketEntryId: 1263090700
                      - filedOn: '2023-03-03'
                        tags: []
                        text: LETTER / CORRESPONDENCE TO JUDGE
                        stateDocketEntryId: 1263090701
                      - filedOn: '2023-03-03'
                        tags: []
                        text: COURT NOTICE
                        stateDocketEntryId: 1263090702
                      - filedOn: '2023-10-27'
                        tags: []
                        text: TRIAL DOCUMENTS
                        stateDocketEntryId: 1263090703
                      - filedOn: '2023-10-30'
                        tags: []
                        text: TRIAL DOCUMENTS
                        stateDocketEntryId: 1263090704
                      - filedOn: '2023-12-11'
                        tags: []
                        text: OTHER COURT FILED DOCUMENT
                        stateDocketEntryId: 1263090706
                      - filedOn: '2023-12-11'
                        tags: []
                        text: EXTRACT
                        stateDocketEntryId: 1263090705
                      - filedOn: '2023-12-12'
                        tags:
                        - Judgment
                        text: JUDGMENT -TO COUNTY CLERK (PROPOSED)
                        stateDocketEntryId: 1263090707
                      - filedOn: '2024-01-12'
                        tags:
                        - Judgment
                        text: JUDGMENT - DECLARATORY
                        stateDocketEntryId: 1263090708
                      retrieved: all
                      count: 62
        '401':
          description: Invalid or expired token
          content:
            application/json:
              examples:
                Expired token:
                  summary: Expired token
                  value:
                    detail: 'Token time expired: Signature has expired.'
                Invalid token:
                  summary: Invalid token
                  value:
                    detail: Invalid token
        '404':
          description: Not found
          content:
            application/json:
              examples:
                Not found:
                  summary: Not found
                  value:
                    summary: Unknown id
                    detail: Not Found
        '422':
          description: Error - 422
          content:
            application/json:
              examples:
                Validation error:
                  summary: Validation error
                  value:
                    summary: Invalid input
                    detail:
                    - type: parsing
                      loc:
                      - path
                      - query
                      - body
                      msg: invalid input
                      input: '-1'
components:
  schemas:
    StateCaseDamagesByStatus:
      properties:
        active:
          items:
            $ref: '#/components/schemas/StateCaseDamages'
          type: array
          title: Active
      additionalProperties: false
      type: object
      required:
      - active
      title: StateCaseDamagesByStatus
    LawFirm:
      properties:
        name:
          type: string
          title: Name
        lawFirmId:
          type: integer
          title: Lawfirmid
        clientPartyIds:
          items:
            type: integer
          type: array
          uniqueItems: true
          title: Clientpartyids
      additionalProperties: false
      type: object
      required:
      - name
      - lawFirmId
      - clientPartyIds
      title: LawFirm
    Attorney:
      properties:
        name:
          type: string
          title: Name
        attorneyId:
          type: integer
          title: Attorneyid
        lawFirmIds:
          items:
            type: integer
          type: array
          uniqueItems: true
          title: Lawfirmids
        clientsPartyIds:
          items:
            type: integer
          type: array
          uniqueItems: true
          title: Clientspartyids
      additionalProperties: false
      type: object
      required:
      - name
      - attorneyId
      - lawFirmIds
      - clientsPartyIds
      title: Attorney
    CaseStatus:
      type: string
      enum:
      - Open
      - Terminated
      title: CaseStatus
    StateCaseRulingsByStatus:
      properties:
        active:
          items:
            $ref: '#/components/schemas/Rulings'
          type: array
          title: Active
      additionalProperties: false
      type: object
      required:
      - active
      title: StateCaseRulingsByStatus
    Rulings:
      properties:
        judgmentEvent:
          type: string
          title: Judgmentevent
        awardedToPartyIds:
          items:
            type: integer
          type: array
          title: Awardedtopartyids
        awardedAgainstPartyIds:
          items:
            type: integer
          type: array
          title: Awardedagainstpartyids
        awarded:
          type: string
          format: date
          title: Awarded
      additionalProperties: false
      type: object
      required:
      - judgmentEvent
      - awardedToPartyIds
      - awardedAgainstPartyIds
      - awarded
      title: Rulings
    StateCaseResolution:
      properties:
        summary:
          type: string
          title: Summary
        specific:
          type: string
          title: Specific
        docketEntryFiled:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Docketentryfiled
        stateDocketEntryId:
          type: integer
          title: Statedocketentryid
      additionalProperties: false
      type: object
      required:
      - summary
      - specific
      - docketEntryFiled
      - stateDocketEntryId
      title: StateCaseResolution
    StateDocket:
      properties:
        entries:
          items:
            $ref: '#/components/schemas/StateDocketEntry'
          type: array
          title: Entries
        retrieved:
          $ref: '#/components/schemas/DocketEntriesIncludedInOutput'
        count:
          type: integer
          title: Count
      additionalProperties: false
      type: object
      required:
      - entries
      - retrieved
      - count
      title: StateDocket
    StateCaseDates:
      properties:
        filed:
          type: string
          format: date
          title: Filed
        terminated:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Terminated
        trial:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Trial
      additionalProperties: false
      type: object
      required:
      - filed
      - trial
      title: StateCaseDates
    CaseEvent:
      properties:
        type:
          type: string
          title: Type
        occurred:
          type: string
          format: date
          title: Occurred
      additionalProperties: false
      type: object
      required:
      - type
      - occurred
      title: CaseEvent
    StateDocketEntry:
      properties:
        filedOn:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Filedon
        tags:
          items:
            type: string
          type: array
          title: Tags
        text:
          anyOf:
          - type: string
          - type: 'null'
          title: Text
        stateDocketEntryId:
          type: integer
          title: Statedocketentryid
      additionalProperties: false
      type: object
      required:
      - filedOn
      - tags
      - text
      - stateDocketEntryId
      title: StateDocketEntry
    StateCaseDamages:
      properties:
        name:
          type: string
          title: Name
        awardedToPartyId:
          items:
            type: integer
          type: array
          title: Awardedtopartyid
        awardedAgainstPartyIds:
          items:
            type: integer
          type: array
          title: Awardedagainstpartyids
        amount:
          type: string
          pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Amount
        awarded:
          type: string
          format: date
          title: Awarded
      additionalProperties: false
      type: object
      required:
      - name
      - awardedToPartyId
      - awardedAgainstPartyIds
      - amount
      - awarded
      title: StateCaseDamages
    Party:
      properties:
        name:
          type: string
          title: Name
        partyId:
          type: integer
          title: Partyid
        role:
          type: string
          title: Role
      additionalProperties: false
      type: object
      required:
      - name
      - partyId
      - role
      title: Party
    StateCaseData:
      properties:
        stateCaseId:
          type: integer
          title: Statecaseid
        title:
          type: string
          title: Title
        state:
          type: string
          title: State
        court:
          type: string
          title: Court
        caseNo:
          type: string
          title: Caseno
        status:
          $ref: '#/components/schemas/CaseStatus'
        caseType:
          items:
            type: string
          type: array
          title: Casetype
        caseTags:
          items:
            type: string
          type: array
          title: Casetags
        dates:
          $ref: '#/components/schemas/StateCaseDates'
        resolution:
          anyOf:
          - $ref: '#/components/schemas/StateCaseResolution'
          - type: 'null'
        events:
          items:
            $ref: '#/components/schemas/CaseEvent'
          type: array
          title: Events
        judges:
          items:
            $ref: '#/components/schemas/StateJudge'
          type: array
          title: Judges
        rulings:
          $ref: '#/components/schemas/StateCaseRulingsByStatus'
        lawFirms:
          items:
            $ref: '#/components/schemas/LawFirm'
          type: array
          title: Lawfirms
        attorneys:
          items:
            $ref: '#/components/schemas/Attorney'
          type: array
          title: Attorneys
        parties:
          items:
            $ref: '#/components/schemas/Party'
          type: array
          title: Parties
        damages:
          $ref: '#/components/schemas/StateCaseDamagesByStatus'
        docket:
          $ref: '#/components/schemas/StateDocket'
      additionalProperties: false
      type: object
      required:
      - stateCaseId
      - title
      - state
      - court
      - caseNo
      - status
      - 

# --- truncated at 32 KB (32 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/lex-machina/refs/heads/main/openapi/lex-machina-state-cases-api-openapi.yml