- Docs
- API reference
- Endpoints and schemas
- GraphQL
- Selection
LegalEntityBankruptcy
The bankruptcy filing of the legal entity.
Selection. This type is a selection. You reach it through a connection, and you choose which of its fields come back.
The details of the bankruptcy filing (chapter_type, filing date and case number etc.) a legal entity has ever filed. All bankruptcy cases are handled in federal courts under rules outlined in the U.S. Bankruptcy Code.
Where it appears
Section titled “Where it appears”Shortest path from a primary entity: Brand → legalEntities → LegalEntity → bankruptcies → LegalEntityBankruptcy.
LegalEntity.bankruptcies
Fields
Section titled “Fields”| Field | Label | Type | Description |
|---|---|---|---|
id |
ID | UUID! |
The unique identifier of this object. |
firstObservedDate |
First Observed Date | String |
The earliest date of a source record that supports this attribute or relationship. The source date is, for example, the date when Enigma collected the record or when the source last updated it. Most values have a date, a time, and a UTC offset, but some have the date only. |
lastObservedDate |
Last Observed Date | String |
The latest date of a source record that supports this attribute or relationship. It uses the same source dates and the same format as firstObservedDate. |
rank |
Rank | Int |
Determines the display order of the attribute, with lower values shown first |
debtorName |
Debtor Name | String |
The debtor’s name on the filing. |
trustee |
Trustee | String |
The trustee on the filing. |
judge |
Judge | String |
Name of the bankruptcy court judge presiding over the case. |
filingDate |
Filing Date | Date |
The date the bankruptcy was filed. |
chapterType |
Chapter Type | String |
Bankruptcy petition type, i.e, reorgainzation for 11, liqidation for 7, etc. |
caseNumber |
Case Number | String |
The full US District Court docket number for bankruptcy case. |
petition |
Petition | String |
Nature of petition, i.e, “voluntary” or “involuntary”. |
entryDate |
Entry Date | Date |
Date when the case was entered. |
dateConverted |
Date Converted | Date |
Date when the case was converted from chapter 11 to chapter 7. |
dateDismissed |
Date Dismissed | Date |
Date when the case was dismissed from court. |
dateTerminated |
Date Terminated | Date |
Final docket entry date, bankruptcy case closed. |
debtorDischargedDate |
Debtor Discharged Date | Date |
Court enters the date when the plan is fulfilled and debtor has completed plan repayments. |
planConfirmedDate |
Plan Confirmed Date | Date |
Date when the plan was confirmed. |
internalId |
String |
A numeric identifier that Enigma assigns to this object when it builds its data. On most attribute objects, id is the UUID form of this number. |
|
internalLegalEntityId |
String |
The internalId of the legal entity that this attribute describes. |
Math fields
Section titled “Math fields”Every record of this type answers count, countDistinct, has, sum, min, max, avg, collect, minDateTime, maxDateTime. Each takes field and an optional conditions. See Selection.
Example
Section titled “Example”query { search(searchInput: { entityType: BRAND name: "Safeway" conditions: { limit: 1 } }) { ... on Brand { id legalEntities(first: 1) { edges { node { bankruptcies(first: 1) { edges { node { id firstObservedDate lastObservedDate rank debtorName } } } } } } } }}Response, as returned:
{ "data": { "search": [ { "id": "0f26fbef-3436-4f85-8bcd-31fe12a4f99a", "legalEntities": { "edges": [ { "node": { "bankruptcies": { "edges": [] } } } ] } } ] }}