Skip to main content

Record

Description​

A structured entry from an upstream data source, such as a government filing, business registration, or third-party database record. Enigma links resolved business entities back to the records from which they were derived, enabling traceability to the underlying source data.

type Record implements NodeFunctions {
id: UUID!
firstObservedDate: String
lastObservedDate: String
rank: Int
data: JSON
tags: JSON
sourceUrl: String
sourceTitle: String
sourceDescription: String
internalId: String
internalRecordId: String
tins(
first: Int
last: Int
after: String
before: String
conditions: ConnectionConditions
): TinConnection
persons(
first: Int
last: Int
after: String
before: String
conditions: ConnectionConditions
): PersonConnection
addresses(
first: Int
last: Int
after: String
before: String
conditions: ConnectionConditions
): AddressConnection
websites(
first: Int
last: Int
after: String
before: String
conditions: ConnectionConditions
): WebsiteConnection
brands(
first: Int
last: Int
after: String
before: String
conditions: ConnectionConditions
): BrandConnection
registeredEntities(
first: Int
last: Int
after: String
before: String
conditions: ConnectionConditions
): RegisteredEntityConnection
phoneNumbers(
first: Int
last: Int
after: String
before: String
conditions: ConnectionConditions
): PhoneNumberConnection
operatingLocations(
first: Int
last: Int
after: String
before: String
conditions: ConnectionConditions
): OperatingLocationConnection
emailAddresses(
first: Int
last: Int
after: String
before: String
conditions: ConnectionConditions
): EmailAddressConnection
roles(
first: Int
last: Int
after: String
before: String
conditions: ConnectionConditions
): RoleConnection
legalEntities(
first: Int
last: Int
after: String
before: String
conditions: ConnectionConditions
): LegalEntityConnection
count(
field: String!
conditions: Conditions
dataLayer: DataLayer
): Int
countDistinct(
field: String!
conditions: Conditions
): Int
has(
field: String!
conditions: Conditions
): Boolean
sum(
field: String!
conditions: Conditions
): Int
min(
field: String!
conditions: Conditions
): Int
max(
field: String!
conditions: Conditions
): Int
avg(
field: String!
conditions: Conditions
): Float
collect(
field: String!
separator: String
conditions: Conditions
): String
minDateTime(
field: String!
conditions: Conditions
): DateTime
maxDateTime(
field: String!
conditions: Conditions
): DateTime
_fn: JSON
records(
first: Int
after: String
last: Int
before: String
): RecordConnection
}

Fields​

Record.id ● UUID! non-null scalar​

Record.firstObservedDate ● String scalar​

Record.lastObservedDate ● String scalar​

Record.rank ● Int scalar​

Determines the display order of the attribute, with lower values shown first

Record.data ● JSON scalar​

The full row of the raw source data this record was derived from, represented as key-value pairs. Each key is a column name and each value is the corresponding field value cast to string.

Record.tags ● JSON scalar​

Keywords categorizing the content and subject matter of the source dataset. Tags span multiple dimensions — regulatory level (e.g. federal, state, local_government), filing or form type (e.g. dol_form_5500, sec_filing, ucc_lien), subject domain (e.g. business_license, property_tax, nonprofit, workers_compensation, food_inspection), and geography (e.g. ca, il, ny). A single dataset may have multiple tags, enabling discovery across use cases such as "all federal nonprofit filings," "business licenses in California," or "property tax records in Illinois."

Record.sourceUrl ● String scalar​

The URL of the upstream dataset this record was sourced from. This links to the original data as published by the source provider. Note that the provider may update or move this URL after Enigma ingested the data, but it was valid at the time of collection.

Record.sourceTitle ● String scalar​

The name or title of the upstream dataset this record was sourced from, as published by the source provider. Useful for understanding the provenance of a record at a glance.

Record.sourceDescription ● String scalar​

The description of the upstream dataset this record was sourced from, as published by the source provider. Summarizes the content, scope, and intended use of the data.

Record.internalId ● String scalar​

Record.internalRecordId ● String scalar​

Record.tins ● TinConnection object​

Record.tins.first ● Int scalar​
Record.tins.last ● Int scalar​
Record.tins.after ● String scalar​
Record.tins.before ● String scalar​
Record.tins.conditions ● ConnectionConditions input​

Record.persons ● PersonConnection object​

Record.persons.first ● Int scalar​
Record.persons.last ● Int scalar​
Record.persons.after ● String scalar​
Record.persons.before ● String scalar​
Record.persons.conditions ● ConnectionConditions input​

Record.addresses ● AddressConnection object​

Record.addresses.first ● Int scalar​
Record.addresses.last ● Int scalar​
Record.addresses.after ● String scalar​
Record.addresses.before ● String scalar​
Record.addresses.conditions ● ConnectionConditions input​

Record.websites ● WebsiteConnection object​

Record.websites.first ● Int scalar​
Record.websites.last ● Int scalar​
Record.websites.after ● String scalar​
Record.websites.before ● String scalar​
Record.websites.conditions ● ConnectionConditions input​

Record.brands ● BrandConnection object​

Record.brands.first ● Int scalar​
Record.brands.last ● Int scalar​
Record.brands.after ● String scalar​
Record.brands.before ● String scalar​
Record.brands.conditions ● ConnectionConditions input​

Record.registeredEntities ● RegisteredEntityConnection object​

Record.registeredEntities.first ● Int scalar​
Record.registeredEntities.last ● Int scalar​
Record.registeredEntities.after ● String scalar​
Record.registeredEntities.before ● String scalar​
Record.registeredEntities.conditions ● ConnectionConditions input​

Record.phoneNumbers ● PhoneNumberConnection object​

Record.phoneNumbers.first ● Int scalar​
Record.phoneNumbers.last ● Int scalar​
Record.phoneNumbers.after ● String scalar​
Record.phoneNumbers.before ● String scalar​
Record.phoneNumbers.conditions ● ConnectionConditions input​

Record.operatingLocations ● OperatingLocationConnection object​

Record.operatingLocations.first ● Int scalar​
Record.operatingLocations.last ● Int scalar​
Record.operatingLocations.after ● String scalar​
Record.operatingLocations.before ● String scalar​
Record.operatingLocations.conditions ● ConnectionConditions input​

Record.emailAddresses ● EmailAddressConnection object​

Record.emailAddresses.first ● Int scalar​
Record.emailAddresses.last ● Int scalar​
Record.emailAddresses.after ● String scalar​
Record.emailAddresses.before ● String scalar​
Record.emailAddresses.conditions ● ConnectionConditions input​

Record.roles ● RoleConnection object​

Record.roles.first ● Int scalar​
Record.roles.last ● Int scalar​
Record.roles.after ● String scalar​
Record.roles.before ● String scalar​
Record.roles.conditions ● ConnectionConditions input​

Record.legalEntities ● LegalEntityConnection object​

Record.legalEntities.first ● Int scalar​
Record.legalEntities.last ● Int scalar​
Record.legalEntities.after ● String scalar​
Record.legalEntities.before ● String scalar​
Record.legalEntities.conditions ● ConnectionConditions input​

Record.count ● Int scalar​

Record.count.field ● String! non-null scalar​
Record.count.conditions ● Conditions input​
Record.count.dataLayer ● DataLayer enum​

The layer of records count(field: "records") counts on a search's own legal entities, persons and addresses and on the Record a search with entityType RECORD returns; UNGROUNDED on a legal entity, person or address below a search's own results is an error, and every other count ignores dataLayer. GROUNDED counts the records linked in the graph; UNGROUNDED counts gov-archive store records: on a legal entity, person or address, each record once whose asserted entity's value is wholly, case and separators aside, one of its names or its full address (ACME INC counts no record of ACME INC OF TEXAS), and on that Record, every record the store finds for the search. Without dataLayer, GROUNDED, but on the Record of an UNGROUNDED search the records of both, a record in both counted once. Null, with an error, where the records cannot all be counted, such as past 5 seconds or on a result with more than 20 values.

Record.countDistinct ● Int scalar​

Record.countDistinct.field ● String! non-null scalar​
Record.countDistinct.conditions ● Conditions input​

Record.has ● Boolean scalar​

Record.has.field ● String! non-null scalar​
Record.has.conditions ● Conditions input​

Record.sum ● Int scalar​

Record.sum.field ● String! non-null scalar​
Record.sum.conditions ● Conditions input​

Record.min ● Int scalar​

Record.min.field ● String! non-null scalar​
Record.min.conditions ● Conditions input​

Record.max ● Int scalar​

Record.max.field ● String! non-null scalar​
Record.max.conditions ● Conditions input​

Record.avg ● Float scalar​

Record.avg.field ● String! non-null scalar​
Record.avg.conditions ● Conditions input​

Record.collect ● String scalar​

Record.collect.field ● String! non-null scalar​
Record.collect.separator ● String scalar​
Record.collect.conditions ● Conditions input​

Record.minDateTime ● DateTime scalar​

Record.minDateTime.field ● String! non-null scalar​
Record.minDateTime.conditions ● Conditions input​

Record.maxDateTime ● DateTime scalar​

Record.maxDateTime.field ● String! non-null scalar​
Record.maxDateTime.conditions ● Conditions input​

Record._fn ● JSON scalar​

Record.records ● RecordConnection object​

Served on the Record a RECORD search returns alone: the search's records, a page at a time, forward with first and after or backward with last and before, never both, each page's edges in the search's order. A page can end short, or empty with a cursor to continue from (forward, hasNextPage and endCursor; backward, hasPreviousPage and startCursor), when its time runs out; continue until that flag is false. Each cursor carries the entities the search found, up to about 5.7 KB, so select edges' cursor only when needed.

Record.records.first ● Int scalar​

The size of a page read forward, 100 when left out or null, at most 1000; keep it modest when node selects many fields.

Record.records.after ● String scalar​

pageInfo.endCursor, or an edge's cursor, for the records after it; left out, from the start.

Record.records.last ● Int scalar​

The size of a page read backward, 100 when null or left out with before, at most 1000; keep it modest when node selects many fields.

Record.records.before ● String scalar​

pageInfo.startCursor, or an edge's cursor, for the records before it; left out with last, from the end.

Interfaces​

NodeFunctions interface​

Member Of​

RecordEdge object

Implemented By​

SearchUnion union