Skip to content
1 viewer
View

Business reference

5 pages, 15 routes, 15 connections and 3 CLI commands, generated from the declarations of Business without reading storage or running anything.

AboutCode

Code · 0 files

No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.

Pages · 8

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Companybusiness.companydetail/view/business/company/{company_id}0business.companieshidden
Business registersbusiness.directorydashboard/view/business0in navigation
Businessbusiness.entitydetail/view/business/entity/{entity_id}0business.directoryhidden
Organizationbusiness.partydetail/view/business/party/{party}0business.relationshidden
New businessesbusiness.formationsdashboard/view/business/formations10in navigation
Business register sourcesbusiness.sourcesdashboard/view/business/sources11in navigation
Companies across sourcesbusiness.companiesdashboard/view/business/companies12in navigation
Relationships between organizationsbusiness.relationsdashboard/view/business/relations13in navigation
8 rows

Connections · 15

Business.Candidates

Rows that may speak of a company and were not joined to it, oldest first, each with its doubt (optionally one doubt), and how many wait under each doubt.

Calls and output
  • Output keybusiness.result
  • Classificationroute_handler
  • GET /business/candidatesHTTP route

Business.Company

One company of the company graph by company_id, or by any identifier it holds written {scheme}:{value}: the rows joined to it (dataset, row, day, and the rule or confirmation that joined each), the identifiers and names those rows wrote, and its open candidates.

Business.Company input
FieldTypeRequiredDescriptionAllowed
company_idrequired
1 row
Calls and output
  • Output keybusiness.result
  • Classificationroute_handler
  • GET /business/companyHTTP route

Business.Formations

Stored businesses formed in a window, counted for an area (in), name phrases (q) and forms (kind): by month, form, standing, county, home state, registered agent and industry, with the newest formations. A person's name is never listed.

Calls and output

Business.Get

One stored business by entity_id ({register}:{number}) and every register dataset that lists it.

Business.Get input
FieldTypeRequiredDescriptionAllowed
entity_idrequired
1 row
Calls and output
  • Output keybusiness.result
  • Classificationroute_handler
  • GET /business/getHTTP route

Business.LobbyingSync

Read who lobbies for whom from the Senate's Lobbying Disclosure Act filings on LDA.gov (client: a client name to search for, or registrant_id: LDA.gov's registrant number; year: the filing year; period: first_quarter to fourth_quarter, mid_year or year_end; max_requests: default 15, at most 150, four seconds apart) and keep each report as a lobbying row (client, registrant, income or own expenses for the period) with a lobbied row for each government entity it names. The last-posted amendment of a report is the row; registrations and reports of no activity are counted, not kept. Lobbyists, contacts and addresses are never read, and a registrant or client whose name reads as a person's withholds the report. The answer carries the access day and LDA.gov's attribution. Runs as a runtime operator.

Business.LobbyingSync input
FieldTypeRequiredDescriptionAllowed
yearrequired
1 row
Calls and output
  • Output keybusiness.result
  • Classificationreal
  • POST /business/lobbyingHTTP route

Business.OwnershipSync

Read who owns whom from GLEIF's relationship records (leis: up to 200 LEIs; children: also read their direct children; chain: follow each direct parent up; max_requests: default 60, at most 600, one a second) and keep each record as an ownership row (child, direct or ultimate parent) on the Business relations hyperdb file. Every party is named from its own LEI record; a sole proprietor, an unreadable or a void record withholds the row, and reporting exceptions are never read. Runs as a runtime operator.

Business.OwnershipSync input
FieldTypeRequiredDescriptionAllowed
leisrequired
1 row
Calls and output
  • Output keybusiness.result
  • Classificationreal
  • POST /business/ownershipHTTP route

Business.ProjectCompanies

Hand the company graph's stored rows (all of them, or one company's: company_id; after: the cursor a previous call returned; limit: default 500, at most 2,000) to Knowledge's entity spine through Knowledge.Observe, each as an organization with the identifiers it carried, the name as written and its day. Business's own tables are not changed; the spine resolves the rows by the same rule. Runs as a runtime operator.

Calls and output
  • Output keybusiness.result
  • Classificationreal
  • POST /business/project-companiesHTTP route

Business.Relate

Keep relationships between organizations another lane read from public records (relationships: up to 5,000 rows of award, subaward, ownership, lobbying, lobbied or subsidiary, each with its parties in role order, record, amount, dates and source). Each is a hyperedge over its record and parties on the Business relations hyperdb file; a re-read that moved a field keeps the old value in its history, an unchanged one writes nothing, and an older read never overwrites. A row naming a person is withheld whole. Runs as a runtime operator.

Business.Relate input
FieldTypeRequiredDescriptionAllowed
relationshipsrequired
1 row
Calls and output
  • Output keybusiness.result
  • Classificationreal
  • POST /business/relateHTTP route

Business.Relations

The relationship graph: with party ({scheme}:{value}, such as uei:RXNUR4G46NG3 or us-fed-agency:DEPARTMENT-OF-ENERGY) or company_id, every award, subaward, ownership, lobbying report and listed subsidiary it takes part in, newest first, with money summed per role and basis and per year, and its counterparties; without one, the parties with the most relationships (q filters by name or number).

Calls and output
  • Output keybusiness.result
  • Classificationroute_handler
  • GET /business/relationsHTTP route

Business.Resolve

Resolve rows into the company graph: the stored register rows no mention is kept for (dataset_id, limit), or the mentions another lane hands over (lane, mentions). A row joins a company by an identifier, or by name, legal form and jurisdiction when exactly one company answers; anything weaker is kept as a candidate. Links are Truth rows; no person's name is kept and a lead is refused. Runs as a runtime operator.

Calls and output
  • Output keybusiness.result
  • Classificationreal
  • POST /business/resolveHTTP route

Business.Search

Stored businesses whose name holds every word of q, or whose register number is q, or that carry an industry (scheme:code, irs-foundation:10 for churches), newest formation first, a page at a time; format sale_import answers a Sale.ImportProspects preview of up to 500 of them.

Business.Search input
FieldTypeRequiredDescriptionAllowed
qrequired
1 row
Calls and output

Business.Settle

Confirm or reject one candidate (mention_key, company_id, decision). A confirmed row joins the company, with the company it had made; a rejected one is never offered again. Refused when it would put two values under one identifier scheme. Runs as a runtime operator.

Business.Settle input
FieldTypeRequiredDescriptionAllowed
mention_keyrequired
company_idrequired
decisionrequired
3 rows
Calls and output
  • Output keybusiness.result
  • Classificationreal
  • POST /business/settleHTTP route

Business.Sources

The business registers the government-data registry knows for an area, readable or link-only with the reason, and what is stored of each.

Calls and output
  • Output keybusiness.result
  • Classificationroute_handler
  • GET /business/sourcesHTTP route

Business.SubsidiarySync

Read which companies a public company lists as its subsidiaries, from Exhibit 21 of its annual reports on SEC EDGAR (cik or ciks: up to 20 SEC Central Index Keys; filings: its last 1 to 5 annual reports, default 1; max_requests: default 30, at most 300, a quarter second apart), and keep each listed subsidiary as a subsidiary row (parent by CIK, subsidiary by name) on the Business relations hyperdb file. A later report moves the row and its history keeps the earlier one. Only the list's name column is kept; addresses, telephones, officers and signatures are never read, a subsidiary whose name reads as a person's is withheld, and so is a company whose filer name reads as one. The answer carries the access day and the attribution. Runs as a runtime operator.

Calls and output
  • Output keybusiness.result
  • Classificationreal
  • POST /business/subsidiariesHTTP route

Business.Sync

Read one registered business register (dataset_id), or every readable one under an area (in), from its publisher: a calendar month of formations at a time (month, or the last months), or whole for a register with no formation date (cut to keep_formed_months unless whole). Replaces what is stored for what it read. Rows are Truth rows. Runs as the BusinessSweeper service or a runtime operator.

Calls and output

CLI commands · 3

business formations

New businesses from the public registers for a place

business formations {"in":"us-co","q":"roofing"}

business sync

Read a business register into the store (operator)

business sync {"dataset_id":"us-co.business-entities.cdos-business-entities","months":3}

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper
  • Preferred truthhyper
  • App ownerBusiness
  • SQL projectionnone · DDL declarations: 0
Hyper vertex kinds read
  • RelationParty
  • RelationRecord
Hyper vertex kinds written
  • RelationParty
  • RelationRecord
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • No model warnings were reported.

Capabilities and dependencies

Depends on
  • Truth

Structure review · 1

Warnings · 1
  • Business · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)