diff --git a/CHANGELOG.md b/CHANGELOG.md index 2dcc273..2d00ad1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,22 +1,50 @@ + # Changelog All notable changes to `@makegov/tango-node` will be documented in this file. This project follows [Semantic Versioning](https://semver.org/). +## [Unreleased] + +### Added + +- **`attachments(extracted_text)` — SLED document bodies on the Small plan and above** (Tango API 4.25.1; parity with tango-python). The leaf joins `SledAttachmentPayload` and the explicit shape schema, and the contract was re-vendored so it validates instead of being rejected client-side. Three properties are documented on the interface and in `docs/API_REFERENCE.md`: the leaf must be **named** (neither `ShapeConfig` default includes it, and `attachments(*)` does not carry it, because the API only resolves the body for a caller who asked); the **key is absent rather than null** when the text is not being served; and a **contested document never returns text at any plan**. Searching document text stays ungated on every plan and returns no fragment of it. + +- **State, local and education (SLED) procurement support** (Tango API 4.25.0; parity with tango-python). Six methods over the new `/api/sled/` namespace: `listSledOpportunities`/`getSledOpportunity`, `listSledOpportunityRevisions`, `getSledCoverage`, `listSledForecasts`/`getSledForecast`, plus `iterateSledOpportunities` / `iterateSledForecasts` and their `IterableListMethod` entries. New model interfaces `SledOpportunity`, `SledOpportunityRevision`, `SledForecast` and the six nested payload types; explicit shape schemas for all of them; five `ShapeConfig` defaults. Every one of the API's 27 solicitation filters and 13 forecast filters is a typed option. + + Four behaviors are documented on the options interfaces because each misleads a caller who assumes federal semantics. **Passing neither `status` nor `active` returns open solicitations only** — that default is the API's, and the SDK deliberately does not synthesize a `status` param, since doing so would make `active: false` unreachable (pinned by a test). **`status` is Tango-derived and refreshed every fifteen minutes**; the portal's own word is served as `source_status`, is frozen at last capture, and is not a liveness filter. **Category scheme tagging is mid-migration**, so `naics` matches only the small tagged share and `category_code` is the escape hatch. And **`meta.attachment_count` can be lower than `attachments.length`**, because an auto-generated portal cover sheet is listed and flagged `is_generated_summary` but excluded from the count. + + `SLED_REVISIONS_MINIMAL` omits `changes` on purpose: the per-field before/after needs a Small plan, so naming it by default would 403 a Free caller. + +- **Fourteen nested sub-resource routes now mapped in the conformance gate.** `agencies_contracts_awarding`, `agencies_contracts_funding`, `contracts_subawards`, `entities_contracts`, `entities_idvs`, `entities_lcats`, `entities_otas`, `entities_otidvs`, `entities_subawards`, `idvs_awards`, `idvs_idvs`, `idvs_lcats`, `otidvs_awards` and `vehicles_orders` all have SDK methods and are published by the newer contract for the first time; unmapped, each was a hard conformance error. Mapping them turns those into the honest finding, which is that most of their options interfaces accept filters through an index signature rather than declaring them. + +### Changed + +- Re-vendored `contracts/filter_shape_contract.json` (schema_version 2, 48 resources) and regenerated `src/shapes/generatedOverlay.ts` from it — 359 fields across 25 containers, 73 nested schemas. +- Baselined 14 reverse-shape-coverage gaps in `contracts/shape_coverage_baseline.json`, matching tango-python. All 14 are the nested sub-resource routes above, which reuse the parent resource's model rather than carrying one of their own; none is SLED, and none is a regression — they became visible only with the re-vendored contract. + +### Documentation + +- New **State & Local (SLED) — Beta** section in `docs/API_REFERENCE.md` covering all six methods, both defaults that surprise people, and the new `ShapeConfig` constants. +- `docs/WEBHOOKS.md` troubleshooting gained the date-lapse rule and its one exception. An exclusion or a DIBBS solicitation reaching its date fires nothing, because open/closed is derived at query time — but `alerts.sled_opportunity.match` **does** fire on a closing, since SLED liveness is a stored column a fifteen-minute sweep writes. + ## [1.3.0] - 2026-08-14 ### Changed + - **Node.js 20 is now the minimum supported version** (`engines.node >= 20`); the CI matrix moves from 18/20/22 to 20/22/24. Node 18 has been end-of-life since April 2025, and the security-patched test toolchain below requires 20+. Nothing in the published code changed — existing installs on Node 18 keep working, but they are no longer tested or supported. - Dev-dependency security upgrade clearing all six open Dependabot alerts (vitest 2.1.9 → 4.x, @vitest/coverage-v8 to match, tsx to the esbuild-0.28 line — the published package is unaffected, its only runtime dependency remains `commander`). One test-only fix for vitest 4's stricter mocks: constructable mocks now use regular-function implementations. ## [1.2.0] - 2026-08-14 ### Added + - **DIBBS, exclusions, and SBIR/STTR endpoint support** (parity with tango-python v1.3.0). Six endpoint families had no SDK support at all — no models, no methods. Added `listDibbsRfqs`/`getDibbsRfq`, `listDibbsRfps`/`getDibbsRfp`, `listDibbsAwards`/`getDibbsAward`, `listExclusions`/`getExclusion`, `listSbirTopics`/`getSbirTopic`, and `listSbirSolicitations`/`getSbirSolicitation`, with every filter param in the API contract exposed as a typed option, explicit shape schemas (including the nested organization/awardee/topic/document expands), `ShapeConfig` defaults, and async iterators (`iterateDibbsRfqs`, `iterateDibbsRfps`, `iterateDibbsAwards`, `iterateExclusions`, `iterateSbirTopics`, `iterateSbirSolicitations`, plus the matching `IterableListMethod` entries for the generic `iterate()`). New model interfaces: `DibbsRfq`, `DibbsRfp`, `DibbsAward`, `Exclusion`, `SbirTopic`, `SbirSolicitation`. - Two API behaviors are worth knowing. `is_open` (DIBBS) and `is_currently_excluded` (exclusions) are derived at query time, so filter with the `open` / `active` options rather than shaping on those fields. And DIBBS `total_contract_price` is the *order* total repeated on every line item — never sum it across rows; deduplicate on award + delivery-order number first. + Two API behaviors are worth knowing. `is_open` (DIBBS) and `is_currently_excluded` (exclusions) are derived at query time, so filter with the `open` / `active` options rather than shaping on those fields. And DIBBS `total_contract_price` is the _order_ total repeated on every line item — never sum it across rows; deduplicate on award + delivery-order number first. + - **Full typed filter surface on `listBudgetAccounts`** (parity with tango-python and the API contract). `ListBudgetAccountsOptions` now declares every `budget/accounts` filter param — the exact / `__gte` / `__lte` triplet for all 26 numeric lifecycle, ratio, and trend fields (`requested_ba`, `enacted_ba`, `apportioned`, `obligated_total`, `outlayed_total`, `unobligated_balance`, the contract/assistance breakdowns, the `*_pct` / `*_capped` ratios, YoY + 5-year-CAGR trends, and `actual_vs_requested_contract`), plus the `__in` / `__icontains` variants of the categorical filters (`federal_account_symbol`, `fiscal_year`, `agency_code`, `bureau_name`, `bea_category`, `subfunction_code`, `account_title__icontains`). - `getGsaElibraryContract(uuid, options)` for `/api/gsa_elibrary_contracts/{uuid}/` (parity with tango-python), with the standard `shape` / `flat` / `flatLists` / `joiner` options and the `GSA_ELIBRARY_CONTRACTS_MINIMAL` default shape. - Typed filter options that previously worked only through the index-signature escape hatch: `key` on `listContracts` / `listIdvs` / `listOtas` / `listOtidvs`, `cage` on `listEntities`, `id` on `listForecasts`, `opportunity_id` on `listOpportunities`, `previous_uii` on `listItDashboard`, `naics_code` on `listProtests` (sent verbatim, not remapped to `naics`), and `has_awards` on `listPsc`. The filter-shape conformance gate now reports zero index-signature warnings. @@ -31,16 +59,19 @@ This project follows [Semantic Versioning](https://semver.org/). - **Env-gated production smoke suite** (`tests/production/smoke.test.ts`, the node port of tango-python's `tests/production/`): runs only with `TANGO_LIVE_TESTS=true` plus `TANGO_API_KEY`, asserting light live-API invariants (pagination shape, shaping, rate-limit header parsing). Excluded from default runs and CI by `vitest.config.ts`. ### Changed + - Both conformance baselines shrank with the new resources: `dibbs/*`, `exclusions`, and `sbir/*` left `unimplemented_resources` in `contracts/conformance_baseline.json`, and their `unmapped_resource` entries left `contracts/shape_coverage_baseline.json` (422 → 416 known gaps, then 416 → 0 with the generated overlay above). - `scripts/check-filter-shape-conformance.ts` now defaults to the vendored contract instead of a checked-out tango API repo (`TANGO_CONTRACT_PATH` or `--manifest` still point it at one), covers every resource in the 4.22.0 contract in its resource map, and treats an unimplemented resource as an error unless baselined. - Removed the dead legacy `.eslintrc.cjs` — the flat `eslint.config.js` has been the operative ESLint config since the flat-config migration, and the leftover file only invited divergent edits. ### Fixed + - The six new list methods (`listDibbsRfqs`, `listDibbsRfps`, `listDibbsAwards`, `listExclusions`, `listSbirTopics`, `listSbirSolicitations`) leaked a caller-supplied `joiner` to the server as a bare query param and ignored it when unflattening `flat: true` responses (always unflattening on the default `.`). `joiner` is now threaded the same way as `listIdvs`: sent only alongside `flat=true`, and used as the unflatten separator. - `listBudgetAccounts`: the `fiscal_year_gte`, `fiscal_year_lte`, and `account_title` options were sent verbatim, which the API silently ignores. They are kept as legacy aliases and now remapped to the forms the API understands (`fiscal_year__gte`, `fiscal_year__lte`, `account_title__icontains`); an explicitly passed dunder param wins over its alias. - Docs: removed the stale `getIdvSummary` / `listIdvSummaryAwards` sections from `README.md` and `docs/API_REFERENCE.md` — those methods were removed from the SDK in 1.1.0. Documented the full new surface (DIBBS/exclusions/SBIR, budget accounts and their filter surface, `getGsaElibraryContract`, the newly typed filters, `PaginatedResponse` meta diagnostics, structured `TangoValidationError` details), completed the `ShapeConfig` preset table in `docs/SHAPES.md`, and rewrote the maintainer half of `docs/DEVELOPERS.md` around the conformance gates and the cassette record/replay workflow (the old text still claimed the SDK had no cassette mechanism). ### CI + - `package-lock.json` is now committed, and the CI + publish workflows install with `npm ci --ignore-scripts` instead of `npm install` — installs are reproducible from the lockfile instead of re-resolving dependency ranges on every run. - The test job's Node 20 leg runs the suite once with `--coverage` (instead of a second full pass), the default `npx vitest run` now includes the integration suite replayed offline from the committed cassettes, and both setup-node steps cache the npm store off the committed lockfile. No coverage fail-under gate, matching tango-python. - The `conformance` job is now a hard gate that runs both conformance directions offline against the vendored contract on every PR — it no longer needs `TANGO_API_REPO_ACCESS_TOKEN` and no longer skips silently without it. When the token is configured, both checks additionally run as hard gates against the fresh contract at makegov/tango HEAD, with a re-vendor warning when the vendored copy has drifted. @@ -49,12 +80,14 @@ This project follows [Semantic Versioning](https://semver.org/). ## [1.1.0] - 2026-05-29 ### Changed (breaking) + - Removed `getIdvSummary` and `listIdvSummaryAwards`. These called `/api/idvs/{id}/summary/` and `/api/idvs/{id}/summary/awards/`, which have never existed in the Tango API (no OpenAPI backing), so no consumer could have been using them successfully. Use `getIdv` + `listIdvAwards` instead. ### Fixed + - `Contract` interface: removed dead fields (`id`, `award_id`, `recipient_name`, `award_amount`, `awarding_agency`, `funding_agency`) and added the real API fields from `ContractListSerializer` (`key`, `piid`, @@ -77,6 +110,7 @@ This project follows [Semantic Versioning](https://semver.org/). shapes validate instead of raising a shape-validation error. ### Added + - Budget accounts surface (tango v4.6.8): `listBudgetAccounts`, `getBudgetAccount`, `getBudgetAccountQuarters`, `getBudgetAccountRecipients`. New exported `BudgetAccount` interface and `ListBudgetAccountsOptions`. @@ -90,6 +124,7 @@ This project follows [Semantic Versioning](https://semver.org/). API param; `grant_id` also accepted directly). ### CI + - Added `ci.yml` PR + push-to-main gate (lint, typecheck, build, test on Node 18/20/22). The filter/shape conformance check is a separate job that skips cleanly until a `TANGO_API_REPO_ACCESS_TOKEN` secret for the private manifest diff --git a/contracts/filter_shape_contract.json b/contracts/filter_shape_contract.json index d68bd21..3fa44aa 100644 --- a/contracts/filter_shape_contract.json +++ b/contracts/filter_shape_contract.json @@ -1,6 +1,6 @@ { "meta": { - "api_version": "4.22.0", + "api_version": "4.25.1", "description": "Canonical API filter/shape contract. Downstream consumers (SDK, MCP) should validate their conformance against this manifest.", "generated_from": "scripts/filter_shape_conformance.py", "schema_version": 2 @@ -65,6 +65,7 @@ "department.website", "name" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, "viewset": "agencies.views.AgencyViewSet" @@ -81,729 +82,2214 @@ "show_shapes" ] }, - "assistance_listings": { - "basename": "assistancelisting", - "docs_file": null, - "docs_params": [], - "prefix": "assistance_listings", - "resource_key": "assistance_listings", - "runtime": { - "filter_params": [], - "filter_params_detail": {}, - "ordering_aliases": [], - "ordering_fields": [], - "pagination": { - "class": "StaticModelCachedPagination", - "max_page_size": 10000 - }, - "shape": { - "expands": {}, - "fields": [ - "applicant_eligibility", - "archived_date", - "benefit_eligibility", - "number", - "objectives", - "popular_name", - "published_date", - "title" - ] - }, - "shape_flat_paths": [ - "applicant_eligibility", - "archived_date", - "benefit_eligibility", - "number", - "objectives", - "popular_name", - "published_date", - "title" - ], - "shape_supported": true, - "shape_tier_required": null, - "viewset": "shared.views.AssistanceListingViewSet" - }, - "swagger_has_key": true, - "swagger_params": [ - "flat", - "flat_lists", - "joiner", - "limit", - "page", - "shape", - "show_shapes" - ] - }, - "budget/accounts": { - "basename": "budget-account", + "agencies_contracts_awarding": { + "basename": "agencies_contracts_awarding", "docs_file": null, "docs_params": [], - "prefix": "budget/accounts", - "resource_key": "budget/accounts", + "prefix": "agencies//contracts/awarding/", + "resource_key": "agencies_contracts_awarding", "runtime": { "filter_params": [ - "account_title__icontains", - "actual_vs_requested_contract", - "actual_vs_requested_contract__gte", - "actual_vs_requested_contract__lte", - "actual_vs_requested_contract_capped", - "actual_vs_requested_contract_capped__gte", - "actual_vs_requested_contract_capped__lte", - "agency_code", - "agency_code__in", - "apportioned", - "apportioned__gte", - "apportioned__lte", - "apportioned_to_enacted_pct", - "apportioned_to_enacted_pct__gte", - "apportioned_to_enacted_pct__lte", - "apportioned_to_enacted_pct_capped", - "apportioned_to_enacted_pct_capped__gte", - "apportioned_to_enacted_pct_capped__lte", - "assistance_obligated", - "assistance_obligated__gte", - "assistance_obligated__lte", - "assistance_outlayed", - "assistance_outlayed__gte", - "assistance_outlayed__lte", - "ba_growth_next_year_pct", - "ba_growth_next_year_pct__gte", - "ba_growth_next_year_pct__lte", - "bea_category", - "bea_category__in", - "bureau_name", - "bureau_name__icontains", - "bureau_name__in", - "contract_obligated", - "contract_obligated__gte", - "contract_obligated__lte", - "contract_outlayed", - "contract_outlayed__gte", - "contract_outlayed__lte", - "contract_share_of_obligated_capped", - "contract_share_of_obligated_capped__gte", - "contract_share_of_obligated_capped__lte", - "enacted_ba", - "enacted_ba_5yr_cagr", - "enacted_ba_5yr_cagr__gte", - "enacted_ba_5yr_cagr__lte", - "enacted_ba__gte", - "enacted_ba__lte", - "enacted_ba_yoy_pct", - "enacted_ba_yoy_pct__gte", - "enacted_ba_yoy_pct__lte", - "federal_account_symbol", - "federal_account_symbol__in", + "award_date", + "award_date_gte", + "award_date_lte", + "award_type", + "awarding_agency", + "expiring_gte", + "expiring_lte", "fiscal_year", - "fiscal_year__gte", - "fiscal_year__in", - "fiscal_year__lte", - "obligated_to_apportioned_pct", - "obligated_to_apportioned_pct__gte", - "obligated_to_apportioned_pct__lte", - "obligated_to_apportioned_pct_capped", - "obligated_to_apportioned_pct_capped__gte", - "obligated_to_apportioned_pct_capped__lte", - "obligated_to_enacted_pct", - "obligated_to_enacted_pct__gte", - "obligated_to_enacted_pct__lte", - "obligated_to_enacted_pct_capped", - "obligated_to_enacted_pct_capped__gte", - "obligated_to_enacted_pct_capped__lte", - "obligated_total", - "obligated_total__gte", - "obligated_total__lte", - "obligated_yoy_pct", - "obligated_yoy_pct__gte", - "obligated_yoy_pct__lte", - "on_off_budget", - "outlayed_to_obligated_pct", - "outlayed_to_obligated_pct__gte", - "outlayed_to_obligated_pct__lte", - "outlayed_to_obligated_pct_capped", - "outlayed_to_obligated_pct_capped__gte", - "outlayed_to_obligated_pct_capped__lte", - "outlayed_total", - "outlayed_total__gte", - "outlayed_total__lte", - "requested_ba", - "requested_ba__gte", - "requested_ba__lte", + "fiscal_year_gte", + "fiscal_year_lte", + "funding_agency", + "key", + "naics", + "obligated_gte", + "obligated_lte", + "ordering", + "piid", + "pop_end_date_gte", + "pop_end_date_lte", + "pop_start_date_gte", + "pop_start_date_lte", + "psc", + "recipient", "search", - "subfunction_code", - "subfunction_code__in", - "unobligated_balance", - "unobligated_balance__gte", - "unobligated_balance__lte", - "unobligated_pct", - "unobligated_pct__gte", - "unobligated_pct__lte" + "set_aside", + "solicitation_identifier", + "uei" ], "filter_params_detail": { - "account_title__icontains": { - "filter_class": "CharFilter", - "lookup": "icontains", - "type": "string" + "award_date": { + "filter_class": "DateFilter", + "type": "date" }, - "actual_vs_requested_contract": { - "filter_class": "NumberFilter", - "type": "number" + "award_date_gte": { + "filter_class": "DateFilter", + "type": "date" }, - "actual_vs_requested_contract__gte": { - "filter_class": "NumberFilter", + "award_date_lte": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_type": { + "choices": [ + "A", + "B", + "C", + "D", + "a", + "b", + "c", + "d" + ], + "choices_count": 8, + "filter_class": "UppercaseCodeChoiceFilter", + "type": "choice" + }, + "awarding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "expiring_gte": { + "filter_class": "DateFilter", "lookup": "gte", - "type": "number" + "type": "date" }, - "actual_vs_requested_contract__lte": { - "filter_class": "NumberFilter", + "expiring_lte": { + "filter_class": "DateFilter", "lookup": "lte", - "type": "number" + "type": "date" }, - "actual_vs_requested_contract_capped": { + "fiscal_year": { "filter_class": "NumberFilter", "type": "number" }, - "actual_vs_requested_contract_capped__gte": { + "fiscal_year_gte": { "filter_class": "NumberFilter", - "lookup": "gte", "type": "number" }, - "actual_vs_requested_contract_capped__lte": { + "fiscal_year_lte": { "filter_class": "NumberFilter", - "lookup": "lte", "type": "number" }, - "agency_code": { - "filter_class": "CharFilter", + "funding_agency": { + "filter_class": "PerformantAgencyFilter", "type": "string" }, - "agency_code__in": { - "filter_class": "CharInFilter", - "lookup": "in", + "key": { + "filter_class": "IdListFilter", "type": "string" }, - "apportioned": { - "filter_class": "NumberFilter", - "type": "number" + "naics": { + "filter_class": "CustomNAICSFilter", + "type": "string" }, - "apportioned__gte": { + "obligated_gte": { "filter_class": "NumberFilter", "lookup": "gte", "type": "number" }, - "apportioned__lte": { + "obligated_lte": { "filter_class": "NumberFilter", "lookup": "lte", "type": "number" }, - "apportioned_to_enacted_pct": { - "filter_class": "NumberFilter", - "type": "number" - }, - "apportioned_to_enacted_pct__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "apportioned_to_enacted_pct__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "apportioned_to_enacted_pct_capped": { - "filter_class": "NumberFilter", - "type": "number" - }, - "apportioned_to_enacted_pct_capped__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "apportioned_to_enacted_pct_capped__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "assistance_obligated": { - "filter_class": "NumberFilter", - "type": "number" - }, - "assistance_obligated__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "assistance_obligated__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-total_contract_value", + "award_date", + "obligated", + "total_contract_value" + ], + "choices_count": 6, + "filter_class": "OrderingFilter", + "type": "ordering" }, - "assistance_outlayed": { - "filter_class": "NumberFilter", - "type": "number" + "piid": { + "filter_class": "UppercaseCharFilter", + "type": "string" }, - "assistance_outlayed__gte": { - "filter_class": "NumberFilter", + "pop_end_date_gte": { + "filter_class": "DateFilter", "lookup": "gte", - "type": "number" + "type": "date" }, - "assistance_outlayed__lte": { - "filter_class": "NumberFilter", + "pop_end_date_lte": { + "filter_class": "DateFilter", "lookup": "lte", - "type": "number" - }, - "ba_growth_next_year_pct": { - "filter_class": "NumberFilter", - "type": "number" + "type": "date" }, - "ba_growth_next_year_pct__gte": { - "filter_class": "NumberFilter", + "pop_start_date_gte": { + "filter_class": "DateFilter", "lookup": "gte", - "type": "number" + "type": "date" }, - "ba_growth_next_year_pct__lte": { - "filter_class": "NumberFilter", + "pop_start_date_lte": { + "filter_class": "DateFilter", "lookup": "lte", - "type": "number" - }, - "bea_category": { - "filter_class": "CharFilter", - "type": "string" + "type": "date" }, - "bea_category__in": { - "filter_class": "CharInFilter", - "lookup": "in", + "psc": { + "filter_class": "CustomPSCFilter", "type": "string" }, - "bureau_name": { + "recipient": { "filter_class": "CharFilter", "type": "string" }, - "bureau_name__icontains": { + "search": { "filter_class": "CharFilter", - "lookup": "icontains", "type": "string" }, - "bureau_name__in": { - "filter_class": "CharInFilter", - "lookup": "in", + "set_aside": { + "filter_class": "CustomSetAsideFilter", "type": "string" }, - "contract_obligated": { - "filter_class": "NumberFilter", - "type": "number" - }, - "contract_obligated__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "contract_obligated__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "contract_outlayed": { - "filter_class": "NumberFilter", - "type": "number" - }, - "contract_outlayed__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "contract_outlayed__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "contract_share_of_obligated_capped": { - "filter_class": "NumberFilter", - "type": "number" - }, - "contract_share_of_obligated_capped__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "contract_share_of_obligated_capped__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "enacted_ba": { - "filter_class": "NumberFilter", - "type": "number" - }, - "enacted_ba_5yr_cagr": { - "filter_class": "NumberFilter", - "type": "number" - }, - "enacted_ba_5yr_cagr__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "enacted_ba_5yr_cagr__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "enacted_ba__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "enacted_ba__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "enacted_ba_yoy_pct": { - "filter_class": "NumberFilter", - "type": "number" - }, - "enacted_ba_yoy_pct__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "enacted_ba_yoy_pct__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "federal_account_symbol": { - "filter_class": "CharFilter", + "solicitation_identifier": { + "filter_class": "SolicitationNumberFilter", "type": "string" }, - "federal_account_symbol__in": { - "filter_class": "CharInFilter", - "lookup": "in", + "uei": { + "filter_class": "UppercaseCharFilter", "type": "string" - }, - "fiscal_year": { - "filter_class": "NumberFilter", - "type": "number" - }, - "fiscal_year__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "fiscal_year__in": { - "filter_class": "NumberInFilter", - "lookup": "in", - "type": "number" - }, - "fiscal_year__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "obligated_to_apportioned_pct": { - "filter_class": "NumberFilter", - "type": "number" - }, - "obligated_to_apportioned_pct__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "obligated_to_apportioned_pct__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "obligated_to_apportioned_pct_capped": { - "filter_class": "NumberFilter", - "type": "number" - }, - "obligated_to_apportioned_pct_capped__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "obligated_to_apportioned_pct_capped__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "obligated_to_enacted_pct": { - "filter_class": "NumberFilter", - "type": "number" - }, - "obligated_to_enacted_pct__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "obligated_to_enacted_pct__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "obligated_to_enacted_pct_capped": { - "filter_class": "NumberFilter", - "type": "number" - }, - "obligated_to_enacted_pct_capped__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "obligated_to_enacted_pct_capped__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "obligated_total": { - "filter_class": "NumberFilter", - "type": "number" - }, - "obligated_total__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "obligated_total__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "obligated_yoy_pct": { - "filter_class": "NumberFilter", - "type": "number" - }, - "obligated_yoy_pct__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "obligated_yoy_pct__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "on_off_budget": { - "filter_class": "CharFilter", - "type": "string" - }, - "outlayed_to_obligated_pct": { - "filter_class": "NumberFilter", - "type": "number" - }, - "outlayed_to_obligated_pct__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "outlayed_to_obligated_pct__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "outlayed_to_obligated_pct_capped": { - "filter_class": "NumberFilter", - "type": "number" - }, - "outlayed_to_obligated_pct_capped__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "outlayed_to_obligated_pct_capped__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "outlayed_total": { - "filter_class": "NumberFilter", - "type": "number" - }, - "outlayed_total__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "outlayed_total__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "requested_ba": { - "filter_class": "NumberFilter", - "type": "number" - }, - "requested_ba__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "requested_ba__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "search": { - "filter_class": "DRFSearchFilter", - "type": "string" - }, - "subfunction_code": { - "filter_class": "CharFilter", - "type": "string" - }, - "subfunction_code__in": { - "filter_class": "CharInFilter", - "lookup": "in", - "type": "string" - }, - "unobligated_balance": { - "filter_class": "NumberFilter", - "type": "number" - }, - "unobligated_balance__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "unobligated_balance__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "unobligated_pct": { - "filter_class": "NumberFilter", - "type": "number" - }, - "unobligated_pct__gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "unobligated_pct__lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" } }, "ordering_aliases": [], "ordering_fields": [ - "actual_vs_requested_contract_capped", - "agency_code", - "ba_growth_next_year_pct", - "contract_obligated", - "contract_share_of_obligated_capped", - "enacted_ba", - "enacted_ba_5yr_cagr", - "enacted_ba_yoy_pct", - "federal_account_symbol", - "fiscal_year", - "modified", - "obligated_to_apportioned_pct_capped", - "obligated_to_enacted_pct_capped", - "obligated_total", - "outlayed_total" + "award_date", + "obligated", + "total_contract_value" ], "pagination": { - "class": "CachedPageNumberPagination", + "class": "KeysetPagination", "max_page_size": 100 }, "shape": { "expands": { - "appendix": { + "award_type": { "expands": {}, "fields": [ - "agency_code", - "appendix_granule_id", - "appendix_pdf_url", - "federal_account_symbol", - "fiscal_year", - "has_object_classification", - "has_program_financing", - "n_program_activities", - "narrative_length", - "on_off_budget", - "request", - "subfunction_code" + "code", + "description" ] }, - "narratives": { + "awarding_office": { "expands": {}, "fields": [ - "account_code", - "account_heading", "agency_code", - "agency_title", - "appropriations_length", - "appropriations_text", - "budget_year", - "bureau_title", - "date_issued", - "federal_account_symbol", - "fiscal_year", - "fund_type", - "granule_id", - "granule_title", - "narrative_id", - "narrative_length", - "narrative_text", - "notes", - "on_off_budget", - "source_url", - "subaccount_code", - "subfunction_code" + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" ] - } - }, - "fields": [ - "account_narrative_excerpt", - "account_title", - "actual_vs_requested_contract", - "actual_vs_requested_contract_capped", - "actual_vs_requested_contract_capped_flag", - "agency_code", - "agency_name", - "appendix_pdf_url", - "apportioned", - "apportioned_to_enacted_pct", - "apportioned_to_enacted_pct_capped", - "apportioned_to_enacted_pct_capped_flag", - "assistance_obligated", - "assistance_outlayed", - "assistance_share_capped_flag", - "assistance_share_of_obligated", - "assistance_share_of_obligated_capped", - "attribution_confidence", - "attribution_status", - "ba_growth_next_year", - "ba_growth_next_year_pct", - "bea_category", - "bureau_name", - "contract_obligated", - "contract_obligated_5yr_cagr", - "contract_obligated_estimated", - "contract_obligated_yoy_pct", - "contract_outlayed", - "contract_share_capped_flag", - "contract_share_of_obligated", - "contract_share_of_obligated_capped", - "created", - "enacted_ba", - "enacted_ba_5yr_cagr", - "enacted_ba_yoy_pct", - "enacted_to_requested_pct", - "enacted_to_requested_pct_capped", - "enacted_to_requested_pct_capped_flag", - "federal_account_symbol", - "fiscal_year", - "id", - "modified", - "n_contracts", - "n_grants", - "n_unique_contract_recipients", - "n_unique_grant_recipients", - "next_year_requested_ba", + }, + "commercial_item_acquisition_procedures": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "competition": { + "expands": {}, + "fields": [ + "contract_type", + "extent_competed", + "number_of_offers_received", + "other_than_full_and_open_competition", + "solicitation_date", + "solicitation_identifier", + "solicitation_procedures" + ] + }, + "consolidated_contract": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "contingency_humanitarian_or_peacekeeping_operation": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "contract_bundling": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "cost_accounting_standards_clause": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "cost_or_pricing_data": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "domestic_or_foreign_entity": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "epa_designated_product": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "evaluated_preference": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "fair_opportunity_limited_sources": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "fed_biz_opps": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "foreign_funding": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "funding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "information_technology_commercial_item_category": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "inherently_governmental_functions": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "legislative_mandates": { + "expands": {}, + "fields": [ + "clinger_cohen_act_planning", + "construction_wage_rate_requirements", + "employment_eligibility_verification", + "interagency_contracting_authority", + "labor_standards", + "materials_supplies_articles_equipment", + "other_statutory_authority", + "service_contract_inventory" + ] + }, + "naics": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "officers": { + "expands": {}, + "fields": [ + "highly_compensated_officer_1_amount", + "highly_compensated_officer_1_name", + "highly_compensated_officer_2_amount", + "highly_compensated_officer_2_name", + "highly_compensated_officer_3_amount", + "highly_compensated_officer_3_name", + "highly_compensated_officer_4_amount", + "highly_compensated_officer_4_name", + "highly_compensated_officer_5_amount", + "highly_compensated_officer_5_name" + ] + }, + "parent_award": { + "expands": {}, + "fields": [ + "key", + "piid" + ] + }, + "performance_based_service_acquisition": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "period_of_performance": { + "expands": {}, + "fields": [ + "current_end_date", + "start_date", + "ultimate_completion_date" + ] + }, + "place_of_manufacture": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "place_of_performance": { + "expands": {}, + "fields": [ + "city_name", + "country_code", + "country_name", + "state_code", + "state_name", + "zip_code" + ] + }, + "psc": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "recipient": { + "expands": {}, + "fields": [ + "cage", + "cage_code", + "display_name", + "legal_business_name", + "uei" + ] + }, + "recovered_materials_sustainability": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "research": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "sam_exception": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "set_aside": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "subawards_summary": { + "expands": {}, + "fields": [ + "count", + "total_amount" + ] + }, + "subcontracting_plan": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "tradeoff_process": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "transactions": { + "expands": {}, + "fields": [ + "action_type", + "description", + "modification_number", + "obligated", + "transaction_date" + ] + }, + "undefinitized_action": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "vehicle": { + "expands": {}, + "fields": [ + "agency_id", + "award_date", + "contract_type", + "description", + "fiscal_year", + "last_date_to_order", + "naics_code", + "psc_code", + "set_aside", + "solicitation_date", + "solicitation_description", + "solicitation_identifier", + "solicitation_title", + "type_of_idc", + "uuid", + "vehicle_type", + "who_can_use" + ] + } + }, + "fields": [ + "award_date", + "award_type", + "base_and_exercised_options_value", + "contract_financing", + "description", + "dod_acquisition_program", + "dod_transaction_number", + "fiscal_year", + "government_furnished_property", + "key", + "local_area_set_aside", + "major_program", + "naics_code", + "number_of_actions", + "number_of_offers_source", + "obligated", + "piid", + "price_evaluation_percent_difference", + "psc_code", + "purchase_card_as_payment_method", + "set_aside", + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", + "solicitation_identifier", + "subawards_summary", + "total_contract_value", + "transactions", + "type_of_set_aside_source" + ] + }, + "shape_flat_paths": [ + "award_date", + "award_type", + "award_type.code", + "award_type.description", + "awarding_office", + "awarding_office.agency_code", + "awarding_office.agency_name", + "awarding_office.department_code", + "awarding_office.department_name", + "awarding_office.office_code", + "awarding_office.office_name", + "awarding_office.organization_id", + "base_and_exercised_options_value", + "commercial_item_acquisition_procedures", + "commercial_item_acquisition_procedures.code", + "commercial_item_acquisition_procedures.description", + "competition", + "competition.contract_type", + "competition.extent_competed", + "competition.number_of_offers_received", + "competition.other_than_full_and_open_competition", + "competition.solicitation_date", + "competition.solicitation_identifier", + "competition.solicitation_procedures", + "consolidated_contract", + "consolidated_contract.code", + "consolidated_contract.description", + "contingency_humanitarian_or_peacekeeping_operation", + "contingency_humanitarian_or_peacekeeping_operation.code", + "contingency_humanitarian_or_peacekeeping_operation.description", + "contract_bundling", + "contract_bundling.code", + "contract_bundling.description", + "contract_financing", + "cost_accounting_standards_clause", + "cost_accounting_standards_clause.code", + "cost_accounting_standards_clause.description", + "cost_or_pricing_data", + "cost_or_pricing_data.code", + "cost_or_pricing_data.description", + "description", + "dod_acquisition_program", + "dod_transaction_number", + "domestic_or_foreign_entity", + "domestic_or_foreign_entity.code", + "domestic_or_foreign_entity.description", + "epa_designated_product", + "epa_designated_product.code", + "epa_designated_product.description", + "evaluated_preference", + "evaluated_preference.code", + "evaluated_preference.description", + "fair_opportunity_limited_sources", + "fair_opportunity_limited_sources.code", + "fair_opportunity_limited_sources.description", + "fed_biz_opps", + "fed_biz_opps.code", + "fed_biz_opps.description", + "fiscal_year", + "foreign_funding", + "foreign_funding.code", + "foreign_funding.description", + "funding_office", + "funding_office.agency_code", + "funding_office.agency_name", + "funding_office.department_code", + "funding_office.department_name", + "funding_office.office_code", + "funding_office.office_name", + "funding_office.organization_id", + "government_furnished_property", + "information_technology_commercial_item_category", + "information_technology_commercial_item_category.code", + "information_technology_commercial_item_category.description", + "inherently_governmental_functions", + "inherently_governmental_functions.code", + "inherently_governmental_functions.description", + "key", + "legislative_mandates", + "legislative_mandates.clinger_cohen_act_planning", + "legislative_mandates.construction_wage_rate_requirements", + "legislative_mandates.employment_eligibility_verification", + "legislative_mandates.interagency_contracting_authority", + "legislative_mandates.labor_standards", + "legislative_mandates.materials_supplies_articles_equipment", + "legislative_mandates.other_statutory_authority", + "legislative_mandates.service_contract_inventory", + "local_area_set_aside", + "major_program", + "naics", + "naics.code", + "naics.description", + "naics_code", + "number_of_actions", + "number_of_offers_source", + "obligated", + "officers", + "officers.highly_compensated_officer_1_amount", + "officers.highly_compensated_officer_1_name", + "officers.highly_compensated_officer_2_amount", + "officers.highly_compensated_officer_2_name", + "officers.highly_compensated_officer_3_amount", + "officers.highly_compensated_officer_3_name", + "officers.highly_compensated_officer_4_amount", + "officers.highly_compensated_officer_4_name", + "officers.highly_compensated_officer_5_amount", + "officers.highly_compensated_officer_5_name", + "parent_award", + "parent_award.key", + "parent_award.piid", + "performance_based_service_acquisition", + "performance_based_service_acquisition.code", + "performance_based_service_acquisition.description", + "period_of_performance", + "period_of_performance.current_end_date", + "period_of_performance.start_date", + "period_of_performance.ultimate_completion_date", + "piid", + "place_of_manufacture", + "place_of_manufacture.code", + "place_of_manufacture.description", + "place_of_performance", + "place_of_performance.city_name", + "place_of_performance.country_code", + "place_of_performance.country_name", + "place_of_performance.state_code", + "place_of_performance.state_name", + "place_of_performance.zip_code", + "price_evaluation_percent_difference", + "psc", + "psc.code", + "psc.description", + "psc_code", + "purchase_card_as_payment_method", + "recipient", + "recipient.cage", + "recipient.cage_code", + "recipient.display_name", + "recipient.legal_business_name", + "recipient.uei", + "recovered_materials_sustainability", + "recovered_materials_sustainability.code", + "recovered_materials_sustainability.description", + "research", + "research.code", + "research.description", + "sam_exception", + "sam_exception.code", + "sam_exception.description", + "set_aside", + "set_aside.code", + "set_aside.description", + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", + "solicitation_identifier", + "subawards_summary", + "subawards_summary.count", + "subawards_summary.total_amount", + "subcontracting_plan", + "subcontracting_plan.code", + "subcontracting_plan.description", + "total_contract_value", + "tradeoff_process", + "tradeoff_process.code", + "tradeoff_process.description", + "transactions", + "transactions.action_type", + "transactions.description", + "transactions.modification_number", + "transactions.obligated", + "transactions.transaction_date", + "type_of_set_aside_source", + "undefinitized_action", + "undefinitized_action.code", + "undefinitized_action.description", + "vehicle", + "vehicle.agency_id", + "vehicle.award_date", + "vehicle.contract_type", + "vehicle.description", + "vehicle.fiscal_year", + "vehicle.last_date_to_order", + "vehicle.naics_code", + "vehicle.psc_code", + "vehicle.set_aside", + "vehicle.solicitation_date", + "vehicle.solicitation_description", + "vehicle.solicitation_identifier", + "vehicle.solicitation_title", + "vehicle.type_of_idc", + "vehicle.uuid", + "vehicle.vehicle_type", + "vehicle.who_can_use" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null, + "viewset": "agencies.views.AgencyAwardingContractViewSet" + }, + "swagger_has_key": false, + "swagger_params": [] + }, + "agencies_contracts_funding": { + "basename": "agencies_contracts_funding", + "docs_file": null, + "docs_params": [], + "prefix": "agencies//contracts/funding/", + "resource_key": "agencies_contracts_funding", + "runtime": { + "filter_params": [ + "award_date", + "award_date_gte", + "award_date_lte", + "award_type", + "awarding_agency", + "expiring_gte", + "expiring_lte", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "funding_agency", + "key", + "naics", + "obligated_gte", + "obligated_lte", + "ordering", + "piid", + "pop_end_date_gte", + "pop_end_date_lte", + "pop_start_date_gte", + "pop_start_date_lte", + "psc", + "recipient", + "search", + "set_aside", + "solicitation_identifier", + "uei" + ], + "filter_params_detail": { + "award_date": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_date_gte": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_date_lte": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_type": { + "choices": [ + "A", + "B", + "C", + "D", + "a", + "b", + "c", + "d" + ], + "choices_count": 8, + "filter_class": "UppercaseCodeChoiceFilter", + "type": "choice" + }, + "awarding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "expiring_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "expiring_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "fiscal_year": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year_gte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year_lte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "funding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "key": { + "filter_class": "IdListFilter", + "type": "string" + }, + "naics": { + "filter_class": "CustomNAICSFilter", + "type": "string" + }, + "obligated_gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "obligated_lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-total_contract_value", + "award_date", + "obligated", + "total_contract_value" + ], + "choices_count": 6, + "filter_class": "OrderingFilter", + "type": "ordering" + }, + "piid": { + "filter_class": "UppercaseCharFilter", + "type": "string" + }, + "pop_end_date_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "pop_end_date_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "pop_start_date_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "pop_start_date_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "psc": { + "filter_class": "CustomPSCFilter", + "type": "string" + }, + "recipient": { + "filter_class": "CharFilter", + "type": "string" + }, + "search": { + "filter_class": "CharFilter", + "type": "string" + }, + "set_aside": { + "filter_class": "CustomSetAsideFilter", + "type": "string" + }, + "solicitation_identifier": { + "filter_class": "SolicitationNumberFilter", + "type": "string" + }, + "uei": { + "filter_class": "UppercaseCharFilter", + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "award_date", + "obligated", + "total_contract_value" + ], + "pagination": { + "class": "KeysetPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "award_type": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "awarding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "commercial_item_acquisition_procedures": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "competition": { + "expands": {}, + "fields": [ + "contract_type", + "extent_competed", + "number_of_offers_received", + "other_than_full_and_open_competition", + "solicitation_date", + "solicitation_identifier", + "solicitation_procedures" + ] + }, + "consolidated_contract": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "contingency_humanitarian_or_peacekeeping_operation": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "contract_bundling": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "cost_accounting_standards_clause": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "cost_or_pricing_data": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "domestic_or_foreign_entity": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "epa_designated_product": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "evaluated_preference": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "fair_opportunity_limited_sources": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "fed_biz_opps": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "foreign_funding": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "funding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "information_technology_commercial_item_category": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "inherently_governmental_functions": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "legislative_mandates": { + "expands": {}, + "fields": [ + "clinger_cohen_act_planning", + "construction_wage_rate_requirements", + "employment_eligibility_verification", + "interagency_contracting_authority", + "labor_standards", + "materials_supplies_articles_equipment", + "other_statutory_authority", + "service_contract_inventory" + ] + }, + "naics": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "officers": { + "expands": {}, + "fields": [ + "highly_compensated_officer_1_amount", + "highly_compensated_officer_1_name", + "highly_compensated_officer_2_amount", + "highly_compensated_officer_2_name", + "highly_compensated_officer_3_amount", + "highly_compensated_officer_3_name", + "highly_compensated_officer_4_amount", + "highly_compensated_officer_4_name", + "highly_compensated_officer_5_amount", + "highly_compensated_officer_5_name" + ] + }, + "parent_award": { + "expands": {}, + "fields": [ + "key", + "piid" + ] + }, + "performance_based_service_acquisition": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "period_of_performance": { + "expands": {}, + "fields": [ + "current_end_date", + "start_date", + "ultimate_completion_date" + ] + }, + "place_of_manufacture": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "place_of_performance": { + "expands": {}, + "fields": [ + "city_name", + "country_code", + "country_name", + "state_code", + "state_name", + "zip_code" + ] + }, + "psc": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "recipient": { + "expands": {}, + "fields": [ + "cage", + "cage_code", + "display_name", + "legal_business_name", + "uei" + ] + }, + "recovered_materials_sustainability": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "research": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "sam_exception": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "set_aside": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "subawards_summary": { + "expands": {}, + "fields": [ + "count", + "total_amount" + ] + }, + "subcontracting_plan": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "tradeoff_process": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "transactions": { + "expands": {}, + "fields": [ + "action_type", + "description", + "modification_number", + "obligated", + "transaction_date" + ] + }, + "undefinitized_action": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "vehicle": { + "expands": {}, + "fields": [ + "agency_id", + "award_date", + "contract_type", + "description", + "fiscal_year", + "last_date_to_order", + "naics_code", + "psc_code", + "set_aside", + "solicitation_date", + "solicitation_description", + "solicitation_identifier", + "solicitation_title", + "type_of_idc", + "uuid", + "vehicle_type", + "who_can_use" + ] + } + }, + "fields": [ + "award_date", + "award_type", + "base_and_exercised_options_value", + "contract_financing", + "description", + "dod_acquisition_program", + "dod_transaction_number", + "fiscal_year", + "government_furnished_property", + "key", + "local_area_set_aside", + "major_program", + "naics_code", + "number_of_actions", + "number_of_offers_source", + "obligated", + "piid", + "price_evaluation_percent_difference", + "psc_code", + "purchase_card_as_payment_method", + "set_aside", + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", + "solicitation_identifier", + "subawards_summary", + "total_contract_value", + "transactions", + "type_of_set_aside_source" + ] + }, + "shape_flat_paths": [ + "award_date", + "award_type", + "award_type.code", + "award_type.description", + "awarding_office", + "awarding_office.agency_code", + "awarding_office.agency_name", + "awarding_office.department_code", + "awarding_office.department_name", + "awarding_office.office_code", + "awarding_office.office_name", + "awarding_office.organization_id", + "base_and_exercised_options_value", + "commercial_item_acquisition_procedures", + "commercial_item_acquisition_procedures.code", + "commercial_item_acquisition_procedures.description", + "competition", + "competition.contract_type", + "competition.extent_competed", + "competition.number_of_offers_received", + "competition.other_than_full_and_open_competition", + "competition.solicitation_date", + "competition.solicitation_identifier", + "competition.solicitation_procedures", + "consolidated_contract", + "consolidated_contract.code", + "consolidated_contract.description", + "contingency_humanitarian_or_peacekeeping_operation", + "contingency_humanitarian_or_peacekeeping_operation.code", + "contingency_humanitarian_or_peacekeeping_operation.description", + "contract_bundling", + "contract_bundling.code", + "contract_bundling.description", + "contract_financing", + "cost_accounting_standards_clause", + "cost_accounting_standards_clause.code", + "cost_accounting_standards_clause.description", + "cost_or_pricing_data", + "cost_or_pricing_data.code", + "cost_or_pricing_data.description", + "description", + "dod_acquisition_program", + "dod_transaction_number", + "domestic_or_foreign_entity", + "domestic_or_foreign_entity.code", + "domestic_or_foreign_entity.description", + "epa_designated_product", + "epa_designated_product.code", + "epa_designated_product.description", + "evaluated_preference", + "evaluated_preference.code", + "evaluated_preference.description", + "fair_opportunity_limited_sources", + "fair_opportunity_limited_sources.code", + "fair_opportunity_limited_sources.description", + "fed_biz_opps", + "fed_biz_opps.code", + "fed_biz_opps.description", + "fiscal_year", + "foreign_funding", + "foreign_funding.code", + "foreign_funding.description", + "funding_office", + "funding_office.agency_code", + "funding_office.agency_name", + "funding_office.department_code", + "funding_office.department_name", + "funding_office.office_code", + "funding_office.office_name", + "funding_office.organization_id", + "government_furnished_property", + "information_technology_commercial_item_category", + "information_technology_commercial_item_category.code", + "information_technology_commercial_item_category.description", + "inherently_governmental_functions", + "inherently_governmental_functions.code", + "inherently_governmental_functions.description", + "key", + "legislative_mandates", + "legislative_mandates.clinger_cohen_act_planning", + "legislative_mandates.construction_wage_rate_requirements", + "legislative_mandates.employment_eligibility_verification", + "legislative_mandates.interagency_contracting_authority", + "legislative_mandates.labor_standards", + "legislative_mandates.materials_supplies_articles_equipment", + "legislative_mandates.other_statutory_authority", + "legislative_mandates.service_contract_inventory", + "local_area_set_aside", + "major_program", + "naics", + "naics.code", + "naics.description", + "naics_code", + "number_of_actions", + "number_of_offers_source", + "obligated", + "officers", + "officers.highly_compensated_officer_1_amount", + "officers.highly_compensated_officer_1_name", + "officers.highly_compensated_officer_2_amount", + "officers.highly_compensated_officer_2_name", + "officers.highly_compensated_officer_3_amount", + "officers.highly_compensated_officer_3_name", + "officers.highly_compensated_officer_4_amount", + "officers.highly_compensated_officer_4_name", + "officers.highly_compensated_officer_5_amount", + "officers.highly_compensated_officer_5_name", + "parent_award", + "parent_award.key", + "parent_award.piid", + "performance_based_service_acquisition", + "performance_based_service_acquisition.code", + "performance_based_service_acquisition.description", + "period_of_performance", + "period_of_performance.current_end_date", + "period_of_performance.start_date", + "period_of_performance.ultimate_completion_date", + "piid", + "place_of_manufacture", + "place_of_manufacture.code", + "place_of_manufacture.description", + "place_of_performance", + "place_of_performance.city_name", + "place_of_performance.country_code", + "place_of_performance.country_name", + "place_of_performance.state_code", + "place_of_performance.state_name", + "place_of_performance.zip_code", + "price_evaluation_percent_difference", + "psc", + "psc.code", + "psc.description", + "psc_code", + "purchase_card_as_payment_method", + "recipient", + "recipient.cage", + "recipient.cage_code", + "recipient.display_name", + "recipient.legal_business_name", + "recipient.uei", + "recovered_materials_sustainability", + "recovered_materials_sustainability.code", + "recovered_materials_sustainability.description", + "research", + "research.code", + "research.description", + "sam_exception", + "sam_exception.code", + "sam_exception.description", + "set_aside", + "set_aside.code", + "set_aside.description", + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", + "solicitation_identifier", + "subawards_summary", + "subawards_summary.count", + "subawards_summary.total_amount", + "subcontracting_plan", + "subcontracting_plan.code", + "subcontracting_plan.description", + "total_contract_value", + "tradeoff_process", + "tradeoff_process.code", + "tradeoff_process.description", + "transactions", + "transactions.action_type", + "transactions.description", + "transactions.modification_number", + "transactions.obligated", + "transactions.transaction_date", + "type_of_set_aside_source", + "undefinitized_action", + "undefinitized_action.code", + "undefinitized_action.description", + "vehicle", + "vehicle.agency_id", + "vehicle.award_date", + "vehicle.contract_type", + "vehicle.description", + "vehicle.fiscal_year", + "vehicle.last_date_to_order", + "vehicle.naics_code", + "vehicle.psc_code", + "vehicle.set_aside", + "vehicle.solicitation_date", + "vehicle.solicitation_description", + "vehicle.solicitation_identifier", + "vehicle.solicitation_title", + "vehicle.type_of_idc", + "vehicle.uuid", + "vehicle.vehicle_type", + "vehicle.who_can_use" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null, + "viewset": "agencies.views.AgencyFundingContractViewSet" + }, + "swagger_has_key": false, + "swagger_params": [] + }, + "assistance_listings": { + "basename": "assistancelisting", + "docs_file": null, + "docs_params": [], + "prefix": "assistance_listings", + "resource_key": "assistance_listings", + "runtime": { + "filter_params": [], + "filter_params_detail": {}, + "ordering_aliases": [], + "ordering_fields": [], + "pagination": { + "class": "StaticModelCachedPagination", + "max_page_size": 10000 + }, + "shape": { + "expands": {}, + "fields": [ + "applicant_eligibility", + "archived_date", + "benefit_eligibility", + "number", + "objectives", + "popular_name", + "published_date", + "title" + ] + }, + "shape_flat_paths": [ + "applicant_eligibility", + "archived_date", + "benefit_eligibility", + "number", + "objectives", + "popular_name", + "published_date", + "title" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null, + "viewset": "shared.views.AssistanceListingViewSet" + }, + "swagger_has_key": true, + "swagger_params": [ + "flat", + "flat_lists", + "joiner", + "limit", + "page", + "shape", + "show_shapes" + ] + }, + "budget/accounts": { + "basename": "budget-account", + "docs_file": null, + "docs_params": [], + "prefix": "budget/accounts", + "resource_key": "budget/accounts", + "runtime": { + "filter_params": [ + "account_title__icontains", + "actual_vs_requested_contract", + "actual_vs_requested_contract__gte", + "actual_vs_requested_contract__lte", + "actual_vs_requested_contract_capped", + "actual_vs_requested_contract_capped__gte", + "actual_vs_requested_contract_capped__lte", + "agency_code", + "agency_code__in", + "apportioned", + "apportioned__gte", + "apportioned__lte", + "apportioned_to_enacted_pct", + "apportioned_to_enacted_pct__gte", + "apportioned_to_enacted_pct__lte", + "apportioned_to_enacted_pct_capped", + "apportioned_to_enacted_pct_capped__gte", + "apportioned_to_enacted_pct_capped__lte", + "assistance_obligated", + "assistance_obligated__gte", + "assistance_obligated__lte", + "assistance_outlayed", + "assistance_outlayed__gte", + "assistance_outlayed__lte", + "ba_growth_next_year_pct", + "ba_growth_next_year_pct__gte", + "ba_growth_next_year_pct__lte", + "bea_category", + "bea_category__in", + "bureau_name", + "bureau_name__icontains", + "bureau_name__in", + "contract_obligated", + "contract_obligated__gte", + "contract_obligated__lte", + "contract_outlayed", + "contract_outlayed__gte", + "contract_outlayed__lte", + "contract_share_of_obligated_capped", + "contract_share_of_obligated_capped__gte", + "contract_share_of_obligated_capped__lte", + "enacted_ba", + "enacted_ba_5yr_cagr", + "enacted_ba_5yr_cagr__gte", + "enacted_ba_5yr_cagr__lte", + "enacted_ba__gte", + "enacted_ba__lte", + "enacted_ba_yoy_pct", + "enacted_ba_yoy_pct__gte", + "enacted_ba_yoy_pct__lte", + "federal_account_symbol", + "federal_account_symbol__in", + "fiscal_year", + "fiscal_year__gte", + "fiscal_year__in", + "fiscal_year__lte", + "obligated_to_apportioned_pct", + "obligated_to_apportioned_pct__gte", + "obligated_to_apportioned_pct__lte", + "obligated_to_apportioned_pct_capped", + "obligated_to_apportioned_pct_capped__gte", + "obligated_to_apportioned_pct_capped__lte", + "obligated_to_enacted_pct", + "obligated_to_enacted_pct__gte", + "obligated_to_enacted_pct__lte", + "obligated_to_enacted_pct_capped", + "obligated_to_enacted_pct_capped__gte", + "obligated_to_enacted_pct_capped__lte", + "obligated_total", + "obligated_total__gte", + "obligated_total__lte", + "obligated_yoy_pct", + "obligated_yoy_pct__gte", + "obligated_yoy_pct__lte", + "on_off_budget", + "outlayed_to_obligated_pct", + "outlayed_to_obligated_pct__gte", + "outlayed_to_obligated_pct__lte", + "outlayed_to_obligated_pct_capped", + "outlayed_to_obligated_pct_capped__gte", + "outlayed_to_obligated_pct_capped__lte", + "outlayed_total", + "outlayed_total__gte", + "outlayed_total__lte", + "requested_ba", + "requested_ba__gte", + "requested_ba__lte", + "search", + "subfunction_code", + "subfunction_code__in", + "unobligated_balance", + "unobligated_balance__gte", + "unobligated_balance__lte", + "unobligated_pct", + "unobligated_pct__gte", + "unobligated_pct__lte" + ], + "filter_params_detail": { + "account_title__icontains": { + "filter_class": "CharFilter", + "lookup": "icontains", + "type": "string" + }, + "actual_vs_requested_contract": { + "filter_class": "NumberFilter", + "type": "number" + }, + "actual_vs_requested_contract__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "actual_vs_requested_contract__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "actual_vs_requested_contract_capped": { + "filter_class": "NumberFilter", + "type": "number" + }, + "actual_vs_requested_contract_capped__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "actual_vs_requested_contract_capped__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "agency_code": { + "filter_class": "CharFilter", + "type": "string" + }, + "agency_code__in": { + "filter_class": "CharInFilter", + "lookup": "in", + "type": "string" + }, + "apportioned": { + "filter_class": "NumberFilter", + "type": "number" + }, + "apportioned__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "apportioned__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "apportioned_to_enacted_pct": { + "filter_class": "NumberFilter", + "type": "number" + }, + "apportioned_to_enacted_pct__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "apportioned_to_enacted_pct__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "apportioned_to_enacted_pct_capped": { + "filter_class": "NumberFilter", + "type": "number" + }, + "apportioned_to_enacted_pct_capped__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "apportioned_to_enacted_pct_capped__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "assistance_obligated": { + "filter_class": "NumberFilter", + "type": "number" + }, + "assistance_obligated__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "assistance_obligated__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "assistance_outlayed": { + "filter_class": "NumberFilter", + "type": "number" + }, + "assistance_outlayed__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "assistance_outlayed__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "ba_growth_next_year_pct": { + "filter_class": "NumberFilter", + "type": "number" + }, + "ba_growth_next_year_pct__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "ba_growth_next_year_pct__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "bea_category": { + "filter_class": "CharFilter", + "type": "string" + }, + "bea_category__in": { + "filter_class": "CharInFilter", + "lookup": "in", + "type": "string" + }, + "bureau_name": { + "filter_class": "CharFilter", + "type": "string" + }, + "bureau_name__icontains": { + "filter_class": "CharFilter", + "lookup": "icontains", + "type": "string" + }, + "bureau_name__in": { + "filter_class": "CharInFilter", + "lookup": "in", + "type": "string" + }, + "contract_obligated": { + "filter_class": "NumberFilter", + "type": "number" + }, + "contract_obligated__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "contract_obligated__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "contract_outlayed": { + "filter_class": "NumberFilter", + "type": "number" + }, + "contract_outlayed__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "contract_outlayed__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "contract_share_of_obligated_capped": { + "filter_class": "NumberFilter", + "type": "number" + }, + "contract_share_of_obligated_capped__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "contract_share_of_obligated_capped__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "enacted_ba": { + "filter_class": "NumberFilter", + "type": "number" + }, + "enacted_ba_5yr_cagr": { + "filter_class": "NumberFilter", + "type": "number" + }, + "enacted_ba_5yr_cagr__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "enacted_ba_5yr_cagr__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "enacted_ba__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "enacted_ba__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "enacted_ba_yoy_pct": { + "filter_class": "NumberFilter", + "type": "number" + }, + "enacted_ba_yoy_pct__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "enacted_ba_yoy_pct__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "federal_account_symbol": { + "filter_class": "CharFilter", + "type": "string" + }, + "federal_account_symbol__in": { + "filter_class": "CharInFilter", + "lookup": "in", + "type": "string" + }, + "fiscal_year": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "fiscal_year__in": { + "filter_class": "NumberInFilter", + "lookup": "in", + "type": "number" + }, + "fiscal_year__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "obligated_to_apportioned_pct": { + "filter_class": "NumberFilter", + "type": "number" + }, + "obligated_to_apportioned_pct__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "obligated_to_apportioned_pct__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "obligated_to_apportioned_pct_capped": { + "filter_class": "NumberFilter", + "type": "number" + }, + "obligated_to_apportioned_pct_capped__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "obligated_to_apportioned_pct_capped__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "obligated_to_enacted_pct": { + "filter_class": "NumberFilter", + "type": "number" + }, + "obligated_to_enacted_pct__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "obligated_to_enacted_pct__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "obligated_to_enacted_pct_capped": { + "filter_class": "NumberFilter", + "type": "number" + }, + "obligated_to_enacted_pct_capped__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "obligated_to_enacted_pct_capped__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "obligated_total": { + "filter_class": "NumberFilter", + "type": "number" + }, + "obligated_total__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "obligated_total__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "obligated_yoy_pct": { + "filter_class": "NumberFilter", + "type": "number" + }, + "obligated_yoy_pct__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "obligated_yoy_pct__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "on_off_budget": { + "filter_class": "CharFilter", + "type": "string" + }, + "outlayed_to_obligated_pct": { + "filter_class": "NumberFilter", + "type": "number" + }, + "outlayed_to_obligated_pct__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "outlayed_to_obligated_pct__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "outlayed_to_obligated_pct_capped": { + "filter_class": "NumberFilter", + "type": "number" + }, + "outlayed_to_obligated_pct_capped__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "outlayed_to_obligated_pct_capped__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "outlayed_total": { + "filter_class": "NumberFilter", + "type": "number" + }, + "outlayed_total__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "outlayed_total__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "requested_ba": { + "filter_class": "NumberFilter", + "type": "number" + }, + "requested_ba__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "requested_ba__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "search": { + "filter_class": "DRFSearchFilter", + "type": "string" + }, + "subfunction_code": { + "filter_class": "CharFilter", + "type": "string" + }, + "subfunction_code__in": { + "filter_class": "CharInFilter", + "lookup": "in", + "type": "string" + }, + "unobligated_balance": { + "filter_class": "NumberFilter", + "type": "number" + }, + "unobligated_balance__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "unobligated_balance__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "unobligated_pct": { + "filter_class": "NumberFilter", + "type": "number" + }, + "unobligated_pct__gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "unobligated_pct__lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "actual_vs_requested_contract_capped", + "agency_code", + "ba_growth_next_year_pct", + "contract_obligated", + "contract_share_of_obligated_capped", + "enacted_ba", + "enacted_ba_5yr_cagr", + "enacted_ba_yoy_pct", + "federal_account_symbol", + "fiscal_year", + "modified", + "obligated_to_apportioned_pct_capped", + "obligated_to_enacted_pct_capped", + "obligated_total", + "outlayed_total" + ], + "pagination": { + "class": "CachedPageNumberPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "appendix": { + "expands": {}, + "fields": [ + "agency_code", + "appendix_granule_id", + "appendix_pdf_url", + "federal_account_symbol", + "fiscal_year", + "has_object_classification", + "has_program_financing", + "n_program_activities", + "narrative_length", + "on_off_budget", + "request", + "subfunction_code" + ] + }, + "narratives": { + "expands": {}, + "fields": [ + "account_code", + "account_heading", + "agency_code", + "agency_title", + "appropriations_length", + "appropriations_text", + "budget_year", + "bureau_title", + "date_issued", + "federal_account_symbol", + "fiscal_year", + "fund_type", + "granule_id", + "granule_title", + "narrative_id", + "narrative_length", + "narrative_text", + "notes", + "on_off_budget", + "source_url", + "subaccount_code", + "subfunction_code" + ] + } + }, + "fields": [ + "account_narrative_excerpt", + "account_title", + "actual_vs_requested_contract", + "actual_vs_requested_contract_capped", + "actual_vs_requested_contract_capped_flag", + "agency_code", + "agency_name", + "appendix_pdf_url", + "apportioned", + "apportioned_to_enacted_pct", + "apportioned_to_enacted_pct_capped", + "apportioned_to_enacted_pct_capped_flag", + "assistance_obligated", + "assistance_outlayed", + "assistance_share_capped_flag", + "assistance_share_of_obligated", + "assistance_share_of_obligated_capped", + "attribution_confidence", + "attribution_status", + "ba_growth_next_year", + "ba_growth_next_year_pct", + "bea_category", + "bureau_name", + "contract_obligated", + "contract_obligated_5yr_cagr", + "contract_obligated_estimated", + "contract_obligated_yoy_pct", + "contract_outlayed", + "contract_share_capped_flag", + "contract_share_of_obligated", + "contract_share_of_obligated_capped", + "created", + "enacted_ba", + "enacted_ba_5yr_cagr", + "enacted_ba_yoy_pct", + "enacted_to_requested_pct", + "enacted_to_requested_pct_capped", + "enacted_to_requested_pct_capped_flag", + "federal_account_symbol", + "fiscal_year", + "id", + "modified", + "n_contracts", + "n_grants", + "n_unique_contract_recipients", + "n_unique_grant_recipients", + "next_year_requested_ba", "obligated_to_apportioned_pct", "obligated_to_apportioned_pct_capped", "obligated_to_apportioned_pct_capped_flag", @@ -829,172 +2315,3709 @@ ] }, "shape_flat_paths": [ - "account_narrative_excerpt", - "account_title", - "actual_vs_requested_contract", - "actual_vs_requested_contract_capped", - "actual_vs_requested_contract_capped_flag", - "agency_code", - "agency_name", - "appendix", - "appendix.agency_code", - "appendix.appendix_granule_id", - "appendix.appendix_pdf_url", - "appendix.federal_account_symbol", - "appendix.fiscal_year", - "appendix.has_object_classification", - "appendix.has_program_financing", - "appendix.n_program_activities", - "appendix.narrative_length", - "appendix.on_off_budget", - "appendix.request", - "appendix.subfunction_code", - "appendix_pdf_url", - "apportioned", - "apportioned_to_enacted_pct", - "apportioned_to_enacted_pct_capped", - "apportioned_to_enacted_pct_capped_flag", - "assistance_obligated", - "assistance_outlayed", - "assistance_share_capped_flag", - "assistance_share_of_obligated", - "assistance_share_of_obligated_capped", - "attribution_confidence", - "attribution_status", - "ba_growth_next_year", - "ba_growth_next_year_pct", - "bea_category", - "bureau_name", - "contract_obligated", - "contract_obligated_5yr_cagr", - "contract_obligated_estimated", - "contract_obligated_yoy_pct", - "contract_outlayed", - "contract_share_capped_flag", - "contract_share_of_obligated", - "contract_share_of_obligated_capped", - "created", - "enacted_ba", - "enacted_ba_5yr_cagr", - "enacted_ba_yoy_pct", - "enacted_to_requested_pct", - "enacted_to_requested_pct_capped", - "enacted_to_requested_pct_capped_flag", - "federal_account_symbol", + "account_narrative_excerpt", + "account_title", + "actual_vs_requested_contract", + "actual_vs_requested_contract_capped", + "actual_vs_requested_contract_capped_flag", + "agency_code", + "agency_name", + "appendix", + "appendix.agency_code", + "appendix.appendix_granule_id", + "appendix.appendix_pdf_url", + "appendix.federal_account_symbol", + "appendix.fiscal_year", + "appendix.has_object_classification", + "appendix.has_program_financing", + "appendix.n_program_activities", + "appendix.narrative_length", + "appendix.on_off_budget", + "appendix.request", + "appendix.subfunction_code", + "appendix_pdf_url", + "apportioned", + "apportioned_to_enacted_pct", + "apportioned_to_enacted_pct_capped", + "apportioned_to_enacted_pct_capped_flag", + "assistance_obligated", + "assistance_outlayed", + "assistance_share_capped_flag", + "assistance_share_of_obligated", + "assistance_share_of_obligated_capped", + "attribution_confidence", + "attribution_status", + "ba_growth_next_year", + "ba_growth_next_year_pct", + "bea_category", + "bureau_name", + "contract_obligated", + "contract_obligated_5yr_cagr", + "contract_obligated_estimated", + "contract_obligated_yoy_pct", + "contract_outlayed", + "contract_share_capped_flag", + "contract_share_of_obligated", + "contract_share_of_obligated_capped", + "created", + "enacted_ba", + "enacted_ba_5yr_cagr", + "enacted_ba_yoy_pct", + "enacted_to_requested_pct", + "enacted_to_requested_pct_capped", + "enacted_to_requested_pct_capped_flag", + "federal_account_symbol", + "fiscal_year", + "id", + "modified", + "n_contracts", + "n_grants", + "n_unique_contract_recipients", + "n_unique_grant_recipients", + "narratives", + "narratives.account_code", + "narratives.account_heading", + "narratives.agency_code", + "narratives.agency_title", + "narratives.appropriations_length", + "narratives.appropriations_text", + "narratives.budget_year", + "narratives.bureau_title", + "narratives.date_issued", + "narratives.federal_account_symbol", + "narratives.fiscal_year", + "narratives.fund_type", + "narratives.granule_id", + "narratives.granule_title", + "narratives.narrative_id", + "narratives.narrative_length", + "narratives.narrative_text", + "narratives.notes", + "narratives.on_off_budget", + "narratives.source_url", + "narratives.subaccount_code", + "narratives.subfunction_code", + "next_year_requested_ba", + "obligated_to_apportioned_pct", + "obligated_to_apportioned_pct_capped", + "obligated_to_apportioned_pct_capped_flag", + "obligated_to_enacted_pct", + "obligated_to_enacted_pct_capped", + "obligated_to_enacted_pct_capped_flag", + "obligated_total", + "obligated_yoy_pct", + "on_off_budget", + "outlayed_to_obligated_pct", + "outlayed_to_obligated_pct_capped", + "outlayed_to_obligated_pct_capped_flag", + "outlayed_total", + "requested_ba", + "requested_contractual_services", + "requested_personnel_share", + "subfunction_code", + "top_contract_recipients", + "top_grant_recipients", + "unlinked_obligated", + "unobligated_balance", + "unobligated_pct" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null, + "viewset": "budget.views.BudgetAccountViewSet" + }, + "swagger_has_key": false, + "swagger_params": [] + }, + "business_types": { + "basename": "businesstype", + "docs_file": null, + "docs_params": [], + "prefix": "business_types", + "resource_key": "business_types", + "runtime": { + "filter_params": [], + "filter_params_detail": {}, + "ordering_aliases": [], + "ordering_fields": [], + "pagination": { + "class": "StaticModelCachedPagination", + "max_page_size": 10000 + }, + "shape": { + "expands": {}, + "fields": [ + "code", + "name" + ] + }, + "shape_flat_paths": [ + "code", + "name" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null, + "viewset": "shared.views.BusinessTypesViewSet" + }, + "swagger_has_key": true, + "swagger_params": [ + "flat", + "flat_lists", + "joiner", + "limit", + "page", + "shape", + "show_shapes" + ] + }, + "contracts": { + "basename": "contract", + "docs_file": null, + "docs_params": [], + "prefix": "contracts", + "resource_key": "contracts", + "runtime": { + "filter_params": [ + "award_date", + "award_date_gte", + "award_date_lte", + "award_type", + "awarding_agency", + "expiring_gte", + "expiring_lte", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "funding_agency", + "key", + "naics", + "obligated_gte", + "obligated_lte", + "ordering", + "piid", + "pop_end_date_gte", + "pop_end_date_lte", + "pop_start_date_gte", + "pop_start_date_lte", + "psc", + "recipient", + "search", + "set_aside", + "solicitation_identifier", + "uei" + ], + "filter_params_detail": { + "award_date": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_date_gte": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_date_lte": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_type": { + "choices": [ + "A", + "B", + "C", + "D", + "a", + "b", + "c", + "d" + ], + "choices_count": 8, + "filter_class": "UppercaseCodeChoiceFilter", + "type": "choice" + }, + "awarding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "expiring_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "expiring_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "fiscal_year": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year_gte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year_lte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "funding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "key": { + "filter_class": "IdListFilter", + "type": "string" + }, + "naics": { + "filter_class": "CustomNAICSFilter", + "type": "string" + }, + "obligated_gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "obligated_lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-total_contract_value", + "award_date", + "obligated", + "total_contract_value" + ], + "choices_count": 6, + "filter_class": "OrderingFilter", + "type": "ordering" + }, + "piid": { + "filter_class": "UppercaseCharFilter", + "type": "string" + }, + "pop_end_date_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "pop_end_date_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "pop_start_date_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "pop_start_date_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "psc": { + "filter_class": "CustomPSCFilter", + "type": "string" + }, + "recipient": { + "filter_class": "CharFilter", + "type": "string" + }, + "search": { + "filter_class": "CharFilter", + "type": "string" + }, + "set_aside": { + "filter_class": "CustomSetAsideFilter", + "type": "string" + }, + "solicitation_identifier": { + "filter_class": "SolicitationNumberFilter", + "type": "string" + }, + "uei": { + "filter_class": "UppercaseCharFilter", + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "award_date", + "obligated", + "total_contract_value" + ], + "pagination": { + "class": "KeysetPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "award_type": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "awarding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "commercial_item_acquisition_procedures": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "competition": { + "expands": {}, + "fields": [ + "contract_type", + "extent_competed", + "number_of_offers_received", + "other_than_full_and_open_competition", + "solicitation_date", + "solicitation_identifier", + "solicitation_procedures" + ] + }, + "consolidated_contract": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "contingency_humanitarian_or_peacekeeping_operation": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "contract_bundling": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "cost_accounting_standards_clause": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "cost_or_pricing_data": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "domestic_or_foreign_entity": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "epa_designated_product": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "evaluated_preference": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "fair_opportunity_limited_sources": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "fed_biz_opps": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "foreign_funding": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "funding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "information_technology_commercial_item_category": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "inherently_governmental_functions": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "legislative_mandates": { + "expands": {}, + "fields": [ + "clinger_cohen_act_planning", + "construction_wage_rate_requirements", + "employment_eligibility_verification", + "interagency_contracting_authority", + "labor_standards", + "materials_supplies_articles_equipment", + "other_statutory_authority", + "service_contract_inventory" + ] + }, + "naics": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "officers": { + "expands": {}, + "fields": [ + "highly_compensated_officer_1_amount", + "highly_compensated_officer_1_name", + "highly_compensated_officer_2_amount", + "highly_compensated_officer_2_name", + "highly_compensated_officer_3_amount", + "highly_compensated_officer_3_name", + "highly_compensated_officer_4_amount", + "highly_compensated_officer_4_name", + "highly_compensated_officer_5_amount", + "highly_compensated_officer_5_name" + ] + }, + "parent_award": { + "expands": {}, + "fields": [ + "key", + "piid" + ] + }, + "performance_based_service_acquisition": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "period_of_performance": { + "expands": {}, + "fields": [ + "current_end_date", + "start_date", + "ultimate_completion_date" + ] + }, + "place_of_manufacture": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "place_of_performance": { + "expands": {}, + "fields": [ + "city_name", + "country_code", + "country_name", + "state_code", + "state_name", + "zip_code" + ] + }, + "psc": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "recipient": { + "expands": {}, + "fields": [ + "cage", + "cage_code", + "display_name", + "legal_business_name", + "uei" + ] + }, + "recovered_materials_sustainability": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "research": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "sam_exception": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "set_aside": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "subawards_summary": { + "expands": {}, + "fields": [ + "count", + "total_amount" + ] + }, + "subcontracting_plan": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "tradeoff_process": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "transactions": { + "expands": {}, + "fields": [ + "action_type", + "description", + "modification_number", + "obligated", + "transaction_date" + ] + }, + "undefinitized_action": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "vehicle": { + "expands": {}, + "fields": [ + "agency_id", + "award_date", + "contract_type", + "description", + "fiscal_year", + "last_date_to_order", + "naics_code", + "psc_code", + "set_aside", + "solicitation_date", + "solicitation_description", + "solicitation_identifier", + "solicitation_title", + "type_of_idc", + "uuid", + "vehicle_type", + "who_can_use" + ] + } + }, + "fields": [ + "award_date", + "award_type", + "base_and_exercised_options_value", + "contract_financing", + "description", + "dod_acquisition_program", + "dod_transaction_number", + "fiscal_year", + "government_furnished_property", + "key", + "local_area_set_aside", + "major_program", + "naics_code", + "number_of_actions", + "number_of_offers_source", + "obligated", + "piid", + "price_evaluation_percent_difference", + "psc_code", + "purchase_card_as_payment_method", + "set_aside", + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", + "solicitation_identifier", + "subawards_summary", + "total_contract_value", + "transactions", + "type_of_set_aside_source" + ] + }, + "shape_flat_paths": [ + "award_date", + "award_type", + "award_type.code", + "award_type.description", + "awarding_office", + "awarding_office.agency_code", + "awarding_office.agency_name", + "awarding_office.department_code", + "awarding_office.department_name", + "awarding_office.office_code", + "awarding_office.office_name", + "awarding_office.organization_id", + "base_and_exercised_options_value", + "commercial_item_acquisition_procedures", + "commercial_item_acquisition_procedures.code", + "commercial_item_acquisition_procedures.description", + "competition", + "competition.contract_type", + "competition.extent_competed", + "competition.number_of_offers_received", + "competition.other_than_full_and_open_competition", + "competition.solicitation_date", + "competition.solicitation_identifier", + "competition.solicitation_procedures", + "consolidated_contract", + "consolidated_contract.code", + "consolidated_contract.description", + "contingency_humanitarian_or_peacekeeping_operation", + "contingency_humanitarian_or_peacekeeping_operation.code", + "contingency_humanitarian_or_peacekeeping_operation.description", + "contract_bundling", + "contract_bundling.code", + "contract_bundling.description", + "contract_financing", + "cost_accounting_standards_clause", + "cost_accounting_standards_clause.code", + "cost_accounting_standards_clause.description", + "cost_or_pricing_data", + "cost_or_pricing_data.code", + "cost_or_pricing_data.description", + "description", + "dod_acquisition_program", + "dod_transaction_number", + "domestic_or_foreign_entity", + "domestic_or_foreign_entity.code", + "domestic_or_foreign_entity.description", + "epa_designated_product", + "epa_designated_product.code", + "epa_designated_product.description", + "evaluated_preference", + "evaluated_preference.code", + "evaluated_preference.description", + "fair_opportunity_limited_sources", + "fair_opportunity_limited_sources.code", + "fair_opportunity_limited_sources.description", + "fed_biz_opps", + "fed_biz_opps.code", + "fed_biz_opps.description", + "fiscal_year", + "foreign_funding", + "foreign_funding.code", + "foreign_funding.description", + "funding_office", + "funding_office.agency_code", + "funding_office.agency_name", + "funding_office.department_code", + "funding_office.department_name", + "funding_office.office_code", + "funding_office.office_name", + "funding_office.organization_id", + "government_furnished_property", + "information_technology_commercial_item_category", + "information_technology_commercial_item_category.code", + "information_technology_commercial_item_category.description", + "inherently_governmental_functions", + "inherently_governmental_functions.code", + "inherently_governmental_functions.description", + "key", + "legislative_mandates", + "legislative_mandates.clinger_cohen_act_planning", + "legislative_mandates.construction_wage_rate_requirements", + "legislative_mandates.employment_eligibility_verification", + "legislative_mandates.interagency_contracting_authority", + "legislative_mandates.labor_standards", + "legislative_mandates.materials_supplies_articles_equipment", + "legislative_mandates.other_statutory_authority", + "legislative_mandates.service_contract_inventory", + "local_area_set_aside", + "major_program", + "naics", + "naics.code", + "naics.description", + "naics_code", + "number_of_actions", + "number_of_offers_source", + "obligated", + "officers", + "officers.highly_compensated_officer_1_amount", + "officers.highly_compensated_officer_1_name", + "officers.highly_compensated_officer_2_amount", + "officers.highly_compensated_officer_2_name", + "officers.highly_compensated_officer_3_amount", + "officers.highly_compensated_officer_3_name", + "officers.highly_compensated_officer_4_amount", + "officers.highly_compensated_officer_4_name", + "officers.highly_compensated_officer_5_amount", + "officers.highly_compensated_officer_5_name", + "parent_award", + "parent_award.key", + "parent_award.piid", + "performance_based_service_acquisition", + "performance_based_service_acquisition.code", + "performance_based_service_acquisition.description", + "period_of_performance", + "period_of_performance.current_end_date", + "period_of_performance.start_date", + "period_of_performance.ultimate_completion_date", + "piid", + "place_of_manufacture", + "place_of_manufacture.code", + "place_of_manufacture.description", + "place_of_performance", + "place_of_performance.city_name", + "place_of_performance.country_code", + "place_of_performance.country_name", + "place_of_performance.state_code", + "place_of_performance.state_name", + "place_of_performance.zip_code", + "price_evaluation_percent_difference", + "psc", + "psc.code", + "psc.description", + "psc_code", + "purchase_card_as_payment_method", + "recipient", + "recipient.cage", + "recipient.cage_code", + "recipient.display_name", + "recipient.legal_business_name", + "recipient.uei", + "recovered_materials_sustainability", + "recovered_materials_sustainability.code", + "recovered_materials_sustainability.description", + "research", + "research.code", + "research.description", + "sam_exception", + "sam_exception.code", + "sam_exception.description", + "set_aside", + "set_aside.code", + "set_aside.description", + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", + "solicitation_identifier", + "subawards_summary", + "subawards_summary.count", + "subawards_summary.total_amount", + "subcontracting_plan", + "subcontracting_plan.code", + "subcontracting_plan.description", + "total_contract_value", + "tradeoff_process", + "tradeoff_process.code", + "tradeoff_process.description", + "transactions", + "transactions.action_type", + "transactions.description", + "transactions.modification_number", + "transactions.obligated", + "transactions.transaction_date", + "type_of_set_aside_source", + "undefinitized_action", + "undefinitized_action.code", + "undefinitized_action.description", + "vehicle", + "vehicle.agency_id", + "vehicle.award_date", + "vehicle.contract_type", + "vehicle.description", + "vehicle.fiscal_year", + "vehicle.last_date_to_order", + "vehicle.naics_code", + "vehicle.psc_code", + "vehicle.set_aside", + "vehicle.solicitation_date", + "vehicle.solicitation_description", + "vehicle.solicitation_identifier", + "vehicle.solicitation_title", + "vehicle.type_of_idc", + "vehicle.uuid", + "vehicle.vehicle_type", + "vehicle.who_can_use" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null, + "viewset": "awards.views.contracts.ContractViewSet" + }, + "swagger_has_key": true, + "swagger_params": [ + "award_date", + "award_date_gte", + "award_date_lte", + "award_type", + "awarding_agency", + "cursor", + "expiring_gte", + "expiring_lte", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "flat", + "flat_lists", + "funding_agency", + "joiner", + "limit", + "naics", + "obligated_gte", + "obligated_lte", + "ordering", + "piid", + "pop_end_date_gte", + "pop_end_date_lte", + "pop_start_date_gte", + "pop_start_date_lte", + "psc", + "recipient", + "set_aside", + "shape", + "uei" + ] + }, + "contracts_subawards": { + "basename": "contracts_subawards", + "docs_file": null, + "docs_params": [], + "prefix": "contracts//subawards/", + "resource_key": "contracts_subawards", + "runtime": { + "filter_params": [ + "award_key", + "awarding_agency", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "funding_agency", + "prime_uei", + "recipient", + "sub_uei" + ], + "filter_params_detail": { + "award_key": { + "filter_class": "CharFilter", + "type": "string" + }, + "awarding_agency": { + "filter_class": "SubawardAgencyFilter", + "type": "string" + }, + "fiscal_year": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year_gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "fiscal_year_lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "funding_agency": { + "filter_class": "SubawardAgencyFilter", + "type": "string" + }, + "prime_uei": { + "filter_class": "CharFilter", + "type": "string" + }, + "recipient": { + "filter_class": "CharFilter", + "type": "string" + }, + "sub_uei": { + "filter_class": "CharFilter", + "type": "string" + } + }, + "ordering_aliases": [ + "last_modified_date" + ], + "ordering_fields": [], + "pagination": { + "class": "CachedPageNumberPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "awarding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name" + ] + }, + "fsrs_details": { + "expands": {}, + "fields": [ + "id", + "last_modified_date", + "month", + "year" + ] + }, + "funding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name" + ] + }, + "highly_compensated_officers": { + "expands": {}, + "fields": [ + "amount", + "name" + ] + }, + "place_of_performance": { + "expands": {}, + "fields": [ + "city", + "country_code", + "state", + "zip" + ] + }, + "prime_recipient": { + "expands": {}, + "fields": [ + "display_name", + "uei" + ] + }, + "subaward_details": { + "expands": {}, + "fields": [ + "action_date", + "amount", + "description", + "fiscal_year", + "number", + "type" + ] + }, + "subaward_recipient": { + "expands": {}, + "fields": [ + "display_name", + "duns", + "uei" + ] + } + }, + "fields": [ + "award_key", + "key", + "piid", + "prime_awardee_name", + "prime_awardee_uei", + "recipient_business_types", + "recipient_dba_name", + "recipient_duns", + "recipient_name", + "recipient_parent_duns", + "recipient_parent_name", + "recipient_parent_uei", + "recipient_uei", + "usaspending_permalink" + ] + }, + "shape_flat_paths": [ + "award_key", + "awarding_office", + "awarding_office.agency_code", + "awarding_office.agency_name", + "awarding_office.department_code", + "awarding_office.department_name", + "awarding_office.office_code", + "awarding_office.office_name", + "fsrs_details", + "fsrs_details.id", + "fsrs_details.last_modified_date", + "fsrs_details.month", + "fsrs_details.year", + "funding_office", + "funding_office.agency_code", + "funding_office.agency_name", + "funding_office.department_code", + "funding_office.department_name", + "funding_office.office_code", + "funding_office.office_name", + "highly_compensated_officers", + "highly_compensated_officers.amount", + "highly_compensated_officers.name", + "key", + "piid", + "place_of_performance", + "place_of_performance.city", + "place_of_performance.country_code", + "place_of_performance.state", + "place_of_performance.zip", + "prime_awardee_name", + "prime_awardee_uei", + "prime_recipient", + "prime_recipient.display_name", + "prime_recipient.uei", + "recipient_business_types", + "recipient_dba_name", + "recipient_duns", + "recipient_name", + "recipient_parent_duns", + "recipient_parent_name", + "recipient_parent_uei", + "recipient_uei", + "subaward_details", + "subaward_details.action_date", + "subaward_details.amount", + "subaward_details.description", + "subaward_details.fiscal_year", + "subaward_details.number", + "subaward_details.type", + "subaward_recipient", + "subaward_recipient.display_name", + "subaward_recipient.duns", + "subaward_recipient.uei", + "usaspending_permalink" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null, + "viewset": "awards.views.contracts.ContractSubawardsViewSet" + }, + "swagger_has_key": false, + "swagger_params": [] + }, + "departments": { + "basename": "department", + "docs_file": null, + "docs_params": [], + "prefix": "departments", + "resource_key": "departments", + "runtime": { + "filter_params": [], + "filter_params_detail": {}, + "ordering_aliases": [], + "ordering_fields": [], + "pagination": { + "class": "CachedPageNumberPagination", + "max_page_size": 100 + }, + "shape": { + "expands": {}, + "fields": [ + "abbreviation", + "cgac", + "code", + "congressional_justification", + "description", + "name", + "website" + ] + }, + "shape_flat_paths": [ + "abbreviation", + "cgac", + "code", + "congressional_justification", + "description", + "name", + "website" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null, + "viewset": "agencies.views.DepartmentViewSet" + }, + "swagger_has_key": true, + "swagger_params": [ + "flat", + "flat_lists", + "joiner", + "limit", + "page", + "shape", + "show_shapes" + ] + }, + "dibbs/awards": { + "basename": "dibbs-award", + "docs_file": null, + "docs_params": [], + "prefix": "dibbs/awards", + "resource_key": "dibbs/awards", + "runtime": { + "filter_params": [ + "award_date_after", + "award_date_before", + "award_number", + "awardee_cage", + "delivery_order_number", + "entity", + "nsn", + "organization", + "part_number", + "posted_date_after", + "posted_date_before", + "purchase_request", + "search", + "solicitation", + "total_contract_price_max", + "total_contract_price_min" + ], + "filter_params_detail": { + "award_date_after": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "award_date_before": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "award_number": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "awardee_cage": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "delivery_order_number": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "entity": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "nsn": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "organization": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "part_number": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "posted_date_after": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "posted_date_before": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "purchase_request": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "search": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "solicitation": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "total_contract_price_max": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "total_contract_price_min": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "award_date", + "modified", + "posted_date", + "rank", + "total_contract_price" + ], + "pagination": { + "class": "StandardResultsSetPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "awardee": { + "expands": {}, + "fields": [ + "cage_code", + "legal_business_name", + "uei" + ] + }, + "organization": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + } + }, + "fields": [ + "award_date", + "award_number", + "awardee_cage", + "delivery_order_counter", + "delivery_order_number", + "last_mod_posting_date", + "nomenclature", + "nsn", + "part_number", + "posted_date", + "purchase_request", + "solicitation", + "total_contract_price", + "total_contract_price_text", + "uuid" + ] + }, + "shape_flat_paths": [ + "award_date", + "award_number", + "awardee", + "awardee.cage_code", + "awardee.legal_business_name", + "awardee.uei", + "awardee_cage", + "delivery_order_counter", + "delivery_order_number", + "last_mod_posting_date", + "nomenclature", + "nsn", + "organization", + "organization.agency_code", + "organization.agency_name", + "organization.department_code", + "organization.department_name", + "organization.office_code", + "organization.office_name", + "organization.organization_id", + "part_number", + "posted_date", + "purchase_request", + "solicitation", + "total_contract_price", + "total_contract_price_text", + "uuid" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null, + "viewset": "dibbs.views.DibbsAwardViewSet" + }, + "swagger_has_key": false, + "swagger_params": [] + }, + "dibbs/rfps": { + "basename": "dibbs-rfp", + "docs_file": null, + "docs_params": [], + "prefix": "dibbs/rfps", + "resource_key": "dibbs/rfps", + "runtime": { + "filter_params": [ + "buyer_code", + "closes_date_after", + "closes_date_before", + "issued_date_after", + "issued_date_before", + "nsn", + "open", + "organization", + "part_number", + "search", + "solicitation" + ], + "filter_params_detail": { + "buyer_code": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "closes_date_after": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "closes_date_before": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "issued_date_after": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "issued_date_before": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "nsn": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "open": { + "filter_class": "BooleanFilter", + "type": "boolean" + }, + "organization": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "part_number": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "search": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "solicitation": { + "filter_class": "BaseSmartFilter", + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "closes_date", + "issued_date", + "modified", + "rank" + ], + "pagination": { + "class": "StandardResultsSetPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "organization": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + } + }, + "fields": [ + "buyer_code", + "closes_date", + "document_url", + "is_open", + "issued_date", + "nomenclature", + "nsn", + "part_number", + "solicitation", + "tech_docs_url", + "uuid" + ] + }, + "shape_flat_paths": [ + "buyer_code", + "closes_date", + "document_url", + "is_open", + "issued_date", + "nomenclature", + "nsn", + "organization", + "organization.agency_code", + "organization.agency_name", + "organization.department_code", + "organization.department_name", + "organization.office_code", + "organization.office_name", + "organization.organization_id", + "part_number", + "solicitation", + "tech_docs_url", + "uuid" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null, + "viewset": "dibbs.views.DibbsRfpViewSet" + }, + "swagger_has_key": false, + "swagger_params": [] + }, + "dibbs/rfqs": { + "basename": "dibbs-rfq", + "docs_file": null, + "docs_params": [], + "prefix": "dibbs/rfqs", + "resource_key": "dibbs/rfqs", + "runtime": { + "filter_params": [ + "issue_date_after", + "issue_date_before", + "nsn", + "open", + "organization", + "part_number", + "purchase_request", + "quantity_max", + "quantity_min", + "return_by_date_after", + "return_by_date_before", + "search", + "set_aside", + "solicitation", + "status_code" + ], + "filter_params_detail": { + "issue_date_after": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "issue_date_before": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "nsn": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "open": { + "filter_class": "BooleanFilter", + "type": "boolean" + }, + "organization": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "part_number": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "purchase_request": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "quantity_max": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "quantity_min": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "return_by_date_after": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "return_by_date_before": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "search": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "set_aside": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "solicitation": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "status_code": { + "filter_class": "BaseSmartFilter", + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "issue_date", + "modified", + "quantity", + "rank", + "return_by_date" + ], + "pagination": { + "class": "StandardResultsSetPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "organization": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + } + }, + "fields": [ + "document_url", + "is_open", + "issue_date", + "nomenclature", + "nsn", + "part_number", + "purchase_request", + "quantity", + "return_by_date", + "set_aside", + "solicitation", + "solicitation_formatted", + "status_code", + "unit_of_issue", + "uuid" + ] + }, + "shape_flat_paths": [ + "document_url", + "is_open", + "issue_date", + "nomenclature", + "nsn", + "organization", + "organization.agency_code", + "organization.agency_name", + "organization.department_code", + "organization.department_name", + "organization.office_code", + "organization.office_name", + "organization.organization_id", + "part_number", + "purchase_request", + "quantity", + "return_by_date", + "set_aside", + "solicitation", + "solicitation_formatted", + "status_code", + "unit_of_issue", + "uuid" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null, + "viewset": "dibbs.views.DibbsRfqViewSet" + }, + "swagger_has_key": false, + "swagger_params": [] + }, + "entities": { + "basename": "entity", + "docs_file": null, + "docs_params": [], + "prefix": "entities", + "resource_key": "entities", + "runtime": { + "filter_params": [ + "cage", + "cage_code", + "naics", + "name", + "psc", + "purpose_of_registration_code", + "search", + "socioeconomic", + "state", + "total_awards_obligated_gte", + "total_awards_obligated_lte", + "uei", + "zip_code" + ], + "filter_params_detail": { + "cage": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "cage_code": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "naics": { + "filter_class": "EntityNAICSFilter", + "type": "string" + }, + "name": { + "filter_class": "CharFilter", + "lookup": "icontains", + "type": "string" + }, + "psc": { + "filter_class": "CustomPSCFilter", + "type": "string" + }, + "purpose_of_registration_code": { + "filter_class": "CharFilter", + "type": "string" + }, + "search": { + "filter_class": "CustomEntityFilter", + "type": "string" + }, + "socioeconomic": { + "filter_class": "CustomBusinessTypeFilter", + "type": "string" + }, + "state": { + "filter_class": "CharFilter", + "lookup": "state_or_province_code__contains", + "type": "string" + }, + "total_awards_obligated_gte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "total_awards_obligated_lte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "uei": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "zip_code": { + "filter_class": "CharFilter", + "lookup": "zip_code__exact", + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [], + "pagination": { + "class": "CachedPageNumberPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "business_types": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "country_of_incorporation": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "entity_structure": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "entity_type": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "federal_obligations": { + "expands": {}, + "fields": [ + "active", + "total" + ] + }, + "highest_owner": { + "expands": {}, + "fields": [ + "cage_code", + "legal_business_name", + "uei" + ] + }, + "immediate_owner": { + "expands": {}, + "fields": [ + "cage_code", + "legal_business_name", + "uei" + ] + }, + "mailing_address": { + "expands": {}, + "fields": [ + "address_line1", + "address_line2", + "city", + "country_code", + "country_name", + "county", + "county_code", + "fips_code", + "state_or_province_code", + "zip_code", + "zip_code_plus4" + ] + }, + "naics_codes": { + "expands": {}, + "fields": [ + "code", + "sba_small_business" + ] + }, + "organization_structure": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "past_performance": { + "expands": {}, + "fields": [ + "summary", + "top_agencies" + ] + }, + "physical_address": { + "expands": {}, + "fields": [ + "address_line1", + "address_line2", + "city", + "country_code", + "country_name", + "county", + "county_code", + "fips_code", + "state_or_province_code", + "zip_code", + "zip_code_plus4" + ] + }, + "profit_structure": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "purpose_of_registration": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "relationships": { + "expands": {}, + "fields": [ + "confidence", + "display_name", + "relation", + "source", + "type", + "uei", + "verification_method" + ] + }, + "sba_business_types": { + "expands": {}, + "fields": [ + "code", + "description", + "entry_date", + "exit_date" + ] + }, + "state_of_incorporation": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "workforce": { + "expands": {}, + "fields": [ + "last_verified", + "location_count", + "locations", + "number_of_employees" + ] + } + }, + "fields": [ + "additional_website", + "business_types", + "cage_code", + "capabilities", + "capabilities_link", + "congressional_district", + "county", + "current_principals", + "dba_name", + "description", + "display_name", + "dodaac", + "email_address", + "entity_division_name", + "entity_division_number", + "entity_start_date", + "entity_url", + "evs_source", + "exclusion_status_flag", + "exclusion_url", + "fiscal_year_end_close_date", + "g2x_about", + "g2x_ai_summary", + "g2x_employee_count", + "highest_owner", + "immediate_owner", + "keywords", + "last_update_date", + "legal_business_name", + "mailing_address", + "naics_codes", + "naics_small_codes", + "non_fed_govt_certifications", + "past_performance", + "physical_address", + "primary_naics", + "psc_codes", + "public_display_flag", + "registered", + "registration_status", + "relationships", + "sam_activation_date", + "sam_expiration_date", + "sam_registration_date", + "sba_business_types", + "special_equip_material", + "submission_date", + "uei", + "uei_creation_date", + "uei_expiration_date", + "uei_status", + "uuid" + ] + }, + "shape_flat_paths": [ + "additional_website", + "business_types", + "business_types.code", + "business_types.description", + "cage_code", + "capabilities", + "capabilities_link", + "congressional_district", + "country_of_incorporation", + "country_of_incorporation.code", + "country_of_incorporation.description", + "county", + "current_principals", + "dba_name", + "description", + "display_name", + "dodaac", + "email_address", + "entity_division_name", + "entity_division_number", + "entity_start_date", + "entity_structure", + "entity_structure.code", + "entity_structure.description", + "entity_type", + "entity_type.code", + "entity_type.description", + "entity_url", + "evs_source", + "exclusion_status_flag", + "exclusion_url", + "federal_obligations", + "federal_obligations.active", + "federal_obligations.total", + "fiscal_year_end_close_date", + "g2x_about", + "g2x_ai_summary", + "g2x_employee_count", + "highest_owner", + "highest_owner.cage_code", + "highest_owner.legal_business_name", + "highest_owner.uei", + "immediate_owner", + "immediate_owner.cage_code", + "immediate_owner.legal_business_name", + "immediate_owner.uei", + "keywords", + "last_update_date", + "legal_business_name", + "mailing_address", + "mailing_address.address_line1", + "mailing_address.address_line2", + "mailing_address.city", + "mailing_address.country_code", + "mailing_address.country_name", + "mailing_address.county", + "mailing_address.county_code", + "mailing_address.fips_code", + "mailing_address.state_or_province_code", + "mailing_address.zip_code", + "mailing_address.zip_code_plus4", + "naics_codes", + "naics_codes.code", + "naics_codes.sba_small_business", + "naics_small_codes", + "non_fed_govt_certifications", + "organization_structure", + "organization_structure.code", + "organization_structure.description", + "past_performance", + "past_performance.summary", + "past_performance.top_agencies", + "physical_address", + "physical_address.address_line1", + "physical_address.address_line2", + "physical_address.city", + "physical_address.country_code", + "physical_address.country_name", + "physical_address.county", + "physical_address.county_code", + "physical_address.fips_code", + "physical_address.state_or_province_code", + "physical_address.zip_code", + "physical_address.zip_code_plus4", + "primary_naics", + "profit_structure", + "profit_structure.code", + "profit_structure.description", + "psc_codes", + "public_display_flag", + "purpose_of_registration", + "purpose_of_registration.code", + "purpose_of_registration.description", + "registered", + "registration_status", + "relationships", + "relationships.confidence", + "relationships.display_name", + "relationships.relation", + "relationships.source", + "relationships.type", + "relationships.uei", + "relationships.verification_method", + "sam_activation_date", + "sam_expiration_date", + "sam_registration_date", + "sba_business_types", + "sba_business_types.code", + "sba_business_types.description", + "sba_business_types.entry_date", + "sba_business_types.exit_date", + "special_equip_material", + "state_of_incorporation", + "state_of_incorporation.code", + "state_of_incorporation.description", + "submission_date", + "uei", + "uei_creation_date", + "uei_expiration_date", + "uei_status", + "uuid", + "workforce", + "workforce.last_verified", + "workforce.location_count", + "workforce.locations", + "workforce.number_of_employees" + ], + "shape_gated_by_level": { + "free": [ + "past_performance", + "relationships" + ] + }, + "shape_supported": true, + "shape_tier_required": "pro", + "viewset": "entities.views.EntityViewSet" + }, + "swagger_has_key": true, + "swagger_params": [ + "flat", + "flat_lists", + "joiner", + "limit", + "page", + "shape", + "show_shapes" + ] + }, + "entities_contracts": { + "basename": "entities_contracts", + "docs_file": null, + "docs_params": [], + "prefix": "entities//contracts/", + "resource_key": "entities_contracts", + "runtime": { + "filter_params": [ + "award_date", + "award_date_gte", + "award_date_lte", + "award_type", + "awarding_agency", + "expiring_gte", + "expiring_lte", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "funding_agency", + "key", + "naics", + "obligated_gte", + "obligated_lte", + "ordering", + "piid", + "pop_end_date_gte", + "pop_end_date_lte", + "pop_start_date_gte", + "pop_start_date_lte", + "psc", + "recipient", + "search", + "set_aside", + "solicitation_identifier", + "uei" + ], + "filter_params_detail": { + "award_date": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_date_gte": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_date_lte": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_type": { + "choices": [ + "A", + "B", + "C", + "D", + "a", + "b", + "c", + "d" + ], + "choices_count": 8, + "filter_class": "UppercaseCodeChoiceFilter", + "type": "choice" + }, + "awarding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "expiring_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "expiring_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "fiscal_year": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year_gte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year_lte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "funding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "key": { + "filter_class": "IdListFilter", + "type": "string" + }, + "naics": { + "filter_class": "CustomNAICSFilter", + "type": "string" + }, + "obligated_gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "obligated_lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-total_contract_value", + "award_date", + "obligated", + "total_contract_value" + ], + "choices_count": 6, + "filter_class": "OrderingFilter", + "type": "ordering" + }, + "piid": { + "filter_class": "UppercaseCharFilter", + "type": "string" + }, + "pop_end_date_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "pop_end_date_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "pop_start_date_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "pop_start_date_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "psc": { + "filter_class": "CustomPSCFilter", + "type": "string" + }, + "recipient": { + "filter_class": "CharFilter", + "type": "string" + }, + "search": { + "filter_class": "CharFilter", + "type": "string" + }, + "set_aside": { + "filter_class": "CustomSetAsideFilter", + "type": "string" + }, + "solicitation_identifier": { + "filter_class": "SolicitationNumberFilter", + "type": "string" + }, + "uei": { + "filter_class": "UppercaseCharFilter", + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "award_date", + "obligated", + "total_contract_value" + ], + "pagination": { + "class": "KeysetPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "award_type": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "awarding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "commercial_item_acquisition_procedures": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "competition": { + "expands": {}, + "fields": [ + "contract_type", + "extent_competed", + "number_of_offers_received", + "other_than_full_and_open_competition", + "solicitation_date", + "solicitation_identifier", + "solicitation_procedures" + ] + }, + "consolidated_contract": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "contingency_humanitarian_or_peacekeeping_operation": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "contract_bundling": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "cost_accounting_standards_clause": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "cost_or_pricing_data": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "domestic_or_foreign_entity": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "epa_designated_product": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "evaluated_preference": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "fair_opportunity_limited_sources": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "fed_biz_opps": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "foreign_funding": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "funding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "information_technology_commercial_item_category": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "inherently_governmental_functions": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "legislative_mandates": { + "expands": {}, + "fields": [ + "clinger_cohen_act_planning", + "construction_wage_rate_requirements", + "employment_eligibility_verification", + "interagency_contracting_authority", + "labor_standards", + "materials_supplies_articles_equipment", + "other_statutory_authority", + "service_contract_inventory" + ] + }, + "naics": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "officers": { + "expands": {}, + "fields": [ + "highly_compensated_officer_1_amount", + "highly_compensated_officer_1_name", + "highly_compensated_officer_2_amount", + "highly_compensated_officer_2_name", + "highly_compensated_officer_3_amount", + "highly_compensated_officer_3_name", + "highly_compensated_officer_4_amount", + "highly_compensated_officer_4_name", + "highly_compensated_officer_5_amount", + "highly_compensated_officer_5_name" + ] + }, + "parent_award": { + "expands": {}, + "fields": [ + "key", + "piid" + ] + }, + "performance_based_service_acquisition": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "period_of_performance": { + "expands": {}, + "fields": [ + "current_end_date", + "start_date", + "ultimate_completion_date" + ] + }, + "place_of_manufacture": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "place_of_performance": { + "expands": {}, + "fields": [ + "city_name", + "country_code", + "country_name", + "state_code", + "state_name", + "zip_code" + ] + }, + "psc": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "recipient": { + "expands": {}, + "fields": [ + "cage", + "cage_code", + "display_name", + "legal_business_name", + "uei" + ] + }, + "recovered_materials_sustainability": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "research": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "sam_exception": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "set_aside": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "subawards_summary": { + "expands": {}, + "fields": [ + "count", + "total_amount" + ] + }, + "subcontracting_plan": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "tradeoff_process": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "transactions": { + "expands": {}, + "fields": [ + "action_type", + "description", + "modification_number", + "obligated", + "transaction_date" + ] + }, + "undefinitized_action": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "vehicle": { + "expands": {}, + "fields": [ + "agency_id", + "award_date", + "contract_type", + "description", + "fiscal_year", + "last_date_to_order", + "naics_code", + "psc_code", + "set_aside", + "solicitation_date", + "solicitation_description", + "solicitation_identifier", + "solicitation_title", + "type_of_idc", + "uuid", + "vehicle_type", + "who_can_use" + ] + } + }, + "fields": [ + "award_date", + "award_type", + "base_and_exercised_options_value", + "contract_financing", + "description", + "dod_acquisition_program", + "dod_transaction_number", + "fiscal_year", + "government_furnished_property", + "key", + "local_area_set_aside", + "major_program", + "naics_code", + "number_of_actions", + "number_of_offers_source", + "obligated", + "piid", + "price_evaluation_percent_difference", + "psc_code", + "purchase_card_as_payment_method", + "set_aside", + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", + "solicitation_identifier", + "subawards_summary", + "total_contract_value", + "transactions", + "type_of_set_aside_source" + ] + }, + "shape_flat_paths": [ + "award_date", + "award_type", + "award_type.code", + "award_type.description", + "awarding_office", + "awarding_office.agency_code", + "awarding_office.agency_name", + "awarding_office.department_code", + "awarding_office.department_name", + "awarding_office.office_code", + "awarding_office.office_name", + "awarding_office.organization_id", + "base_and_exercised_options_value", + "commercial_item_acquisition_procedures", + "commercial_item_acquisition_procedures.code", + "commercial_item_acquisition_procedures.description", + "competition", + "competition.contract_type", + "competition.extent_competed", + "competition.number_of_offers_received", + "competition.other_than_full_and_open_competition", + "competition.solicitation_date", + "competition.solicitation_identifier", + "competition.solicitation_procedures", + "consolidated_contract", + "consolidated_contract.code", + "consolidated_contract.description", + "contingency_humanitarian_or_peacekeeping_operation", + "contingency_humanitarian_or_peacekeeping_operation.code", + "contingency_humanitarian_or_peacekeeping_operation.description", + "contract_bundling", + "contract_bundling.code", + "contract_bundling.description", + "contract_financing", + "cost_accounting_standards_clause", + "cost_accounting_standards_clause.code", + "cost_accounting_standards_clause.description", + "cost_or_pricing_data", + "cost_or_pricing_data.code", + "cost_or_pricing_data.description", + "description", + "dod_acquisition_program", + "dod_transaction_number", + "domestic_or_foreign_entity", + "domestic_or_foreign_entity.code", + "domestic_or_foreign_entity.description", + "epa_designated_product", + "epa_designated_product.code", + "epa_designated_product.description", + "evaluated_preference", + "evaluated_preference.code", + "evaluated_preference.description", + "fair_opportunity_limited_sources", + "fair_opportunity_limited_sources.code", + "fair_opportunity_limited_sources.description", + "fed_biz_opps", + "fed_biz_opps.code", + "fed_biz_opps.description", + "fiscal_year", + "foreign_funding", + "foreign_funding.code", + "foreign_funding.description", + "funding_office", + "funding_office.agency_code", + "funding_office.agency_name", + "funding_office.department_code", + "funding_office.department_name", + "funding_office.office_code", + "funding_office.office_name", + "funding_office.organization_id", + "government_furnished_property", + "information_technology_commercial_item_category", + "information_technology_commercial_item_category.code", + "information_technology_commercial_item_category.description", + "inherently_governmental_functions", + "inherently_governmental_functions.code", + "inherently_governmental_functions.description", + "key", + "legislative_mandates", + "legislative_mandates.clinger_cohen_act_planning", + "legislative_mandates.construction_wage_rate_requirements", + "legislative_mandates.employment_eligibility_verification", + "legislative_mandates.interagency_contracting_authority", + "legislative_mandates.labor_standards", + "legislative_mandates.materials_supplies_articles_equipment", + "legislative_mandates.other_statutory_authority", + "legislative_mandates.service_contract_inventory", + "local_area_set_aside", + "major_program", + "naics", + "naics.code", + "naics.description", + "naics_code", + "number_of_actions", + "number_of_offers_source", + "obligated", + "officers", + "officers.highly_compensated_officer_1_amount", + "officers.highly_compensated_officer_1_name", + "officers.highly_compensated_officer_2_amount", + "officers.highly_compensated_officer_2_name", + "officers.highly_compensated_officer_3_amount", + "officers.highly_compensated_officer_3_name", + "officers.highly_compensated_officer_4_amount", + "officers.highly_compensated_officer_4_name", + "officers.highly_compensated_officer_5_amount", + "officers.highly_compensated_officer_5_name", + "parent_award", + "parent_award.key", + "parent_award.piid", + "performance_based_service_acquisition", + "performance_based_service_acquisition.code", + "performance_based_service_acquisition.description", + "period_of_performance", + "period_of_performance.current_end_date", + "period_of_performance.start_date", + "period_of_performance.ultimate_completion_date", + "piid", + "place_of_manufacture", + "place_of_manufacture.code", + "place_of_manufacture.description", + "place_of_performance", + "place_of_performance.city_name", + "place_of_performance.country_code", + "place_of_performance.country_name", + "place_of_performance.state_code", + "place_of_performance.state_name", + "place_of_performance.zip_code", + "price_evaluation_percent_difference", + "psc", + "psc.code", + "psc.description", + "psc_code", + "purchase_card_as_payment_method", + "recipient", + "recipient.cage", + "recipient.cage_code", + "recipient.display_name", + "recipient.legal_business_name", + "recipient.uei", + "recovered_materials_sustainability", + "recovered_materials_sustainability.code", + "recovered_materials_sustainability.description", + "research", + "research.code", + "research.description", + "sam_exception", + "sam_exception.code", + "sam_exception.description", + "set_aside", + "set_aside.code", + "set_aside.description", + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", + "solicitation_identifier", + "subawards_summary", + "subawards_summary.count", + "subawards_summary.total_amount", + "subcontracting_plan", + "subcontracting_plan.code", + "subcontracting_plan.description", + "total_contract_value", + "tradeoff_process", + "tradeoff_process.code", + "tradeoff_process.description", + "transactions", + "transactions.action_type", + "transactions.description", + "transactions.modification_number", + "transactions.obligated", + "transactions.transaction_date", + "type_of_set_aside_source", + "undefinitized_action", + "undefinitized_action.code", + "undefinitized_action.description", + "vehicle", + "vehicle.agency_id", + "vehicle.award_date", + "vehicle.contract_type", + "vehicle.description", + "vehicle.fiscal_year", + "vehicle.last_date_to_order", + "vehicle.naics_code", + "vehicle.psc_code", + "vehicle.set_aside", + "vehicle.solicitation_date", + "vehicle.solicitation_description", + "vehicle.solicitation_identifier", + "vehicle.solicitation_title", + "vehicle.type_of_idc", + "vehicle.uuid", + "vehicle.vehicle_type", + "vehicle.who_can_use" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null, + "viewset": "entities.views.EntityContractViewSet" + }, + "swagger_has_key": false, + "swagger_params": [] + }, + "entities_idvs": { + "basename": "entities_idvs", + "docs_file": null, + "docs_params": [], + "prefix": "entities//idvs/", + "resource_key": "entities_idvs", + "runtime": { + "filter_params": [ + "award_date", + "award_date_gte", + "award_date_lte", + "awarding_agency", + "expiring_gte", + "expiring_lte", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "funding_agency", + "idv_type", + "key", + "last_date_to_order_gte", + "last_date_to_order_lte", + "naics", + "ordering", + "piid", + "pop_start_date_gte", + "pop_start_date_lte", + "psc", + "recipient", + "search", + "set_aside", + "solicitation_identifier", + "uei" + ], + "filter_params_detail": { + "award_date": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_date_gte": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_date_lte": { + "filter_class": "DateFilter", + "type": "date" + }, + "awarding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "expiring_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "expiring_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "fiscal_year": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year_gte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year_lte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "funding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "idv_type": { + "choices": [ + "A", + "B", + "C", + "D", + "E", + "a", + "b", + "c", + "d", + "e" + ], + "choices_count": 10, + "filter_class": "UppercaseCodeChoiceFilter", + "type": "choice" + }, + "key": { + "filter_class": "IdListFilter", + "type": "string" + }, + "last_date_to_order_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "last_date_to_order_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "naics": { + "filter_class": "CustomNAICSFilter", + "type": "string" + }, + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-total_contract_value", + "award_date", + "obligated", + "total_contract_value" + ], + "choices_count": 6, + "filter_class": "OrderingFilter", + "type": "ordering" + }, + "piid": { + "filter_class": "UppercaseCharFilter", + "type": "string" + }, + "pop_start_date_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "pop_start_date_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "psc": { + "filter_class": "CustomPSCFilter", + "type": "string" + }, + "recipient": { + "filter_class": "CharFilter", + "type": "string" + }, + "search": { + "filter_class": "CharFilter", + "type": "string" + }, + "set_aside": { + "filter_class": "CustomSetAsideFilter", + "type": "string" + }, + "solicitation_identifier": { + "filter_class": "SolicitationNumberFilter", + "type": "string" + }, + "uei": { + "filter_class": "UppercaseCharFilter", + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "award_date", + "obligated", + "total_contract_value" + ], + "pagination": { + "class": "KeysetPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "awarding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "awards": { + "expands": {}, + "fields": [ + "award_date", + "base_and_exercised_options_value", + "description", + "fiscal_year", + "key", + "naics_code", + "obligated", + "piid", + "psc_code", + "total_contract_value", + "transactions" + ] + }, + "competition": { + "expands": {}, + "fields": [ + "contract_type", + "extent_competed", + "number_of_offers_received", + "other_than_full_and_open_competition", + "solicitation_date", + "solicitation_identifier", + "solicitation_procedures" + ] + }, + "funding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "gsa_elibrary": { + "expands": {}, + "fields": [ + "contract_number", + "cooperative_purchasing", + "disaster_recovery_purchasing", + "external_id", + "extracted_text", + "file_urls", + "schedule", + "sins", + "source_data", + "uei" + ] + }, + "idv_type": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "legislative_mandates": { + "expands": {}, + "fields": [ + "clinger_cohen_act_planning", + "construction_wage_rate_requirements", + "employment_eligibility_verification", + "interagency_contracting_authority", + "labor_standards", + "materials_supplies_articles_equipment", + "other_statutory_authority", + "service_contract_inventory" + ] + }, + "multiple_or_single_award_idv": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "naics": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "officers": { + "expands": {}, + "fields": [ + "highly_compensated_officer_1_amount", + "highly_compensated_officer_1_name", + "highly_compensated_officer_2_amount", + "highly_compensated_officer_2_name", + "highly_compensated_officer_3_amount", + "highly_compensated_officer_3_name", + "highly_compensated_officer_4_amount", + "highly_compensated_officer_4_name", + "highly_compensated_officer_5_amount", + "highly_compensated_officer_5_name" + ] + }, + "parent_award": { + "expands": {}, + "fields": [ + "key", + "piid" + ] + }, + "period_of_performance": { + "expands": {}, + "fields": [ + "last_date_to_order", + "start_date" + ] + }, + "place_of_performance": { + "expands": {}, + "fields": [ + "city_name", + "country_code", + "country_name", + "state_code", + "state_name", + "zip_code" + ] + }, + "psc": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "recipient": { + "expands": {}, + "fields": [ + "cage", + "cage_code", + "display_name", + "legal_business_name", + "uei" + ] + }, + "set_aside": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "subawards_summary": { + "expands": {}, + "fields": [ + "count", + "total_amount" + ] + }, + "transactions": { + "expands": {}, + "fields": [ + "action_type", + "description", + "modification_number", + "obligated", + "transaction_date" + ] + }, + "type_of_idc": { + "expands": {}, + "fields": [ + "code", + "description" + ] + } + }, + "fields": [ + "award_date", + "commercial_item_acquisition_procedures", + "consolidated_contract", + "contingency_humanitarian_or_peacekeeping_operation", + "contract_bundling", + "contract_financing", + "cost_accounting_standards_clause", + "cost_or_pricing_data", + "description", + "dod_acquisition_program", + "dod_transaction_number", + "domestic_or_foreign_entity", + "email_address", + "epa_designated_product", + "evaluated_preference", + "fair_opportunity_limited_sources", + "fed_biz_opps", + "fee_range_lower_value", + "fee_range_upper_value", + "fiscal_year", + "fixed_fee_value", + "foreign_funding", + "government_furnished_property", + "idv_type", + "idv_website", + "inherently_governmental_functions", + "key", + "local_area_set_aside", + "major_program", + "multiple_or_single_award_idv", + "naics_code", + "number_of_actions", + "number_of_offers_source", + "obligated", + "ordering_procedure", + "performance_based_service_acquisition", + "piid", + "program_acronym", + "psc_code", + "recovered_materials_sustainability", + "research", + "sam_exception", + "set_aside", + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", + "solicitation_identifier", + "subawards_summary", + "subcontracting_plan", + "total_contract_value", + "total_estimated_order_value", + "tradeoff_process", + "transactions", + "type_of_fee_for_use_of_service", + "type_of_idc", + "undefinitized_action", + "vehicle_uuid", + "who_can_use" + ] + }, + "shape_flat_paths": [ + "award_date", + "awarding_office", + "awarding_office.agency_code", + "awarding_office.agency_name", + "awarding_office.department_code", + "awarding_office.department_name", + "awarding_office.office_code", + "awarding_office.office_name", + "awarding_office.organization_id", + "awards", + "awards.award_date", + "awards.base_and_exercised_options_value", + "awards.description", + "awards.fiscal_year", + "awards.key", + "awards.naics_code", + "awards.obligated", + "awards.piid", + "awards.psc_code", + "awards.total_contract_value", + "awards.transactions", + "commercial_item_acquisition_procedures", + "competition", + "competition.contract_type", + "competition.extent_competed", + "competition.number_of_offers_received", + "competition.other_than_full_and_open_competition", + "competition.solicitation_date", + "competition.solicitation_identifier", + "competition.solicitation_procedures", + "consolidated_contract", + "contingency_humanitarian_or_peacekeeping_operation", + "contract_bundling", + "contract_financing", + "cost_accounting_standards_clause", + "cost_or_pricing_data", + "description", + "dod_acquisition_program", + "dod_transaction_number", + "domestic_or_foreign_entity", + "email_address", + "epa_designated_product", + "evaluated_preference", + "fair_opportunity_limited_sources", + "fed_biz_opps", + "fee_range_lower_value", + "fee_range_upper_value", "fiscal_year", - "id", - "modified", - "n_contracts", - "n_grants", - "n_unique_contract_recipients", - "n_unique_grant_recipients", - "narratives", - "narratives.account_code", - "narratives.account_heading", - "narratives.agency_code", - "narratives.agency_title", - "narratives.appropriations_length", - "narratives.appropriations_text", - "narratives.budget_year", - "narratives.bureau_title", - "narratives.date_issued", - "narratives.federal_account_symbol", - "narratives.fiscal_year", - "narratives.fund_type", - "narratives.granule_id", - "narratives.granule_title", - "narratives.narrative_id", - "narratives.narrative_length", - "narratives.narrative_text", - "narratives.notes", - "narratives.on_off_budget", - "narratives.source_url", - "narratives.subaccount_code", - "narratives.subfunction_code", - "next_year_requested_ba", - "obligated_to_apportioned_pct", - "obligated_to_apportioned_pct_capped", - "obligated_to_apportioned_pct_capped_flag", - "obligated_to_enacted_pct", - "obligated_to_enacted_pct_capped", - "obligated_to_enacted_pct_capped_flag", - "obligated_total", - "obligated_yoy_pct", - "on_off_budget", - "outlayed_to_obligated_pct", - "outlayed_to_obligated_pct_capped", - "outlayed_to_obligated_pct_capped_flag", - "outlayed_total", - "requested_ba", - "requested_contractual_services", - "requested_personnel_share", - "subfunction_code", - "top_contract_recipients", - "top_grant_recipients", - "unlinked_obligated", - "unobligated_balance", - "unobligated_pct" + "fixed_fee_value", + "foreign_funding", + "funding_office", + "funding_office.agency_code", + "funding_office.agency_name", + "funding_office.department_code", + "funding_office.department_name", + "funding_office.office_code", + "funding_office.office_name", + "funding_office.organization_id", + "government_furnished_property", + "gsa_elibrary", + "gsa_elibrary.contract_number", + "gsa_elibrary.cooperative_purchasing", + "gsa_elibrary.disaster_recovery_purchasing", + "gsa_elibrary.external_id", + "gsa_elibrary.extracted_text", + "gsa_elibrary.file_urls", + "gsa_elibrary.schedule", + "gsa_elibrary.sins", + "gsa_elibrary.source_data", + "gsa_elibrary.uei", + "idv_type", + "idv_type.code", + "idv_type.description", + "idv_website", + "inherently_governmental_functions", + "key", + "legislative_mandates", + "legislative_mandates.clinger_cohen_act_planning", + "legislative_mandates.construction_wage_rate_requirements", + "legislative_mandates.employment_eligibility_verification", + "legislative_mandates.interagency_contracting_authority", + "legislative_mandates.labor_standards", + "legislative_mandates.materials_supplies_articles_equipment", + "legislative_mandates.other_statutory_authority", + "legislative_mandates.service_contract_inventory", + "local_area_set_aside", + "major_program", + "multiple_or_single_award_idv", + "multiple_or_single_award_idv.code", + "multiple_or_single_award_idv.description", + "naics", + "naics.code", + "naics.description", + "naics_code", + "number_of_actions", + "number_of_offers_source", + "obligated", + "officers", + "officers.highly_compensated_officer_1_amount", + "officers.highly_compensated_officer_1_name", + "officers.highly_compensated_officer_2_amount", + "officers.highly_compensated_officer_2_name", + "officers.highly_compensated_officer_3_amount", + "officers.highly_compensated_officer_3_name", + "officers.highly_compensated_officer_4_amount", + "officers.highly_compensated_officer_4_name", + "officers.highly_compensated_officer_5_amount", + "officers.highly_compensated_officer_5_name", + "ordering_procedure", + "parent_award", + "parent_award.key", + "parent_award.piid", + "performance_based_service_acquisition", + "period_of_performance", + "period_of_performance.last_date_to_order", + "period_of_performance.start_date", + "piid", + "place_of_performance", + "place_of_performance.city_name", + "place_of_performance.country_code", + "place_of_performance.country_name", + "place_of_performance.state_code", + "place_of_performance.state_name", + "place_of_performance.zip_code", + "program_acronym", + "psc", + "psc.code", + "psc.description", + "psc_code", + "recipient", + "recipient.cage", + "recipient.cage_code", + "recipient.display_name", + "recipient.legal_business_name", + "recipient.uei", + "recovered_materials_sustainability", + "research", + "sam_exception", + "set_aside", + "set_aside.code", + "set_aside.description", + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", + "solicitation_identifier", + "subawards_summary", + "subawards_summary.count", + "subawards_summary.total_amount", + "subcontracting_plan", + "total_contract_value", + "total_estimated_order_value", + "tradeoff_process", + "transactions", + "transactions.action_type", + "transactions.description", + "transactions.modification_number", + "transactions.obligated", + "transactions.transaction_date", + "type_of_fee_for_use_of_service", + "type_of_idc", + "type_of_idc.code", + "type_of_idc.description", + "undefinitized_action", + "vehicle_uuid", + "who_can_use" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, - "viewset": "budget.views.BudgetAccountViewSet" + "viewset": "entities.views.EntityIDVViewSet" }, "swagger_has_key": false, "swagger_params": [] }, - "business_types": { - "basename": "businesstype", + "entities_lcats": { + "basename": "entities_lcats", "docs_file": null, "docs_params": [], - "prefix": "business_types", - "resource_key": "business_types", + "prefix": "entities//lcats/", + "resource_key": "entities_lcats", "runtime": { - "filter_params": [], - "filter_params_detail": {}, + "filter_params": [ + "business_size", + "category", + "education_level", + "idv_piid", + "key", + "labor_category", + "min_years_experience_gte", + "min_years_experience_lte", + "piid", + "price_gte", + "price_lte", + "search", + "security_clearance", + "sin", + "vendor_name", + "worksite" + ], + "filter_params_detail": { + "business_size": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "category": { + "filter_class": "CharFilter", + "lookup": "icontains", + "type": "string" + }, + "education_level": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "idv_piid": { + "filter_class": "UppercaseCharFilter", + "type": "string" + }, + "key": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "labor_category": { + "filter_class": "CharFilter", + "lookup": "icontains", + "type": "string" + }, + "min_years_experience_gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "min_years_experience_lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "piid": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "price_gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "price_lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "search": { + "filter_class": "CharFilter", + "type": "string" + }, + "security_clearance": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "sin": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "vendor_name": { + "filter_class": "CharFilter", + "lookup": "icontains", + "type": "string" + }, + "worksite": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + } + }, "ordering_aliases": [], - "ordering_fields": [], + "ordering_fields": [ + "current_price", + "education_level", + "labor_category", + "min_years_experience", + "modified", + "vendor_name" + ], "pagination": { - "class": "StaticModelCachedPagination", - "max_page_size": 10000 + "class": "ExactCountPagination", + "max_page_size": 100 }, "shape": { - "expands": {}, + "expands": { + "business_size": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "idv": { + "expands": {}, + "fields": [ + "award_date", + "key", + "piid" + ] + }, + "recipient": { + "expands": {}, + "fields": [ + "display_name", + "uei" + ] + } + }, "fields": [ - "code", - "name" + "category", + "contract_end", + "contract_start", + "current_price", + "education_level", + "experience_range", + "labor_category", + "min_years_experience", + "schedule", + "security_clearance", + "sin", + "subcategory", + "uuid", + "worksite" ] }, "shape_flat_paths": [ - "code", - "name" + "business_size", + "business_size.code", + "business_size.description", + "category", + "contract_end", + "contract_start", + "current_price", + "education_level", + "experience_range", + "idv", + "idv.award_date", + "idv.key", + "idv.piid", + "labor_category", + "min_years_experience", + "recipient", + "recipient.display_name", + "recipient.uei", + "schedule", + "security_clearance", + "sin", + "subcategory", + "uuid", + "worksite" ], + "shape_gated_by_level": { + "free": [ + "idv", + "recipient" + ] + }, "shape_supported": true, - "shape_tier_required": null, - "viewset": "shared.views.BusinessTypesViewSet" + "shape_tier_required": "pro", + "viewset": "entities.views.EntityCalcRateViewSet" }, - "swagger_has_key": true, - "swagger_params": [ - "flat", - "flat_lists", - "joiner", - "limit", - "page", - "shape", - "show_shapes" - ] + "swagger_has_key": false, + "swagger_params": [] }, - "contracts": { - "basename": "contract", + "entities_otas": { + "basename": "entities_otas", "docs_file": null, "docs_params": [], - "prefix": "contracts", - "resource_key": "contracts", + "prefix": "entities//otas/", + "resource_key": "entities_otas", "runtime": { "filter_params": [ "award_date", "award_date_gte", "award_date_lte", - "award_type", "awarding_agency", "expiring_gte", "expiring_lte", @@ -1003,9 +6026,6 @@ "fiscal_year_lte", "funding_agency", "key", - "naics", - "obligated_gte", - "obligated_lte", "ordering", "piid", "pop_end_date_gte", @@ -1015,8 +6035,6 @@ "psc", "recipient", "search", - "set_aside", - "solicitation_identifier", "uei" ], "filter_params_detail": { @@ -1032,21 +6050,6 @@ "filter_class": "DateFilter", "type": "date" }, - "award_type": { - "choices": [ - "A", - "B", - "C", - "D", - "a", - "b", - "c", - "d" - ], - "choices_count": 8, - "filter_class": "UppercaseCodeChoiceFilter", - "type": "choice" - }, "awarding_agency": { "filter_class": "PerformantAgencyFilter", "type": "string" @@ -1081,20 +6084,6 @@ "filter_class": "IdListFilter", "type": "string" }, - "naics": { - "filter_class": "CustomNAICSFilter", - "type": "string" - }, - "obligated_gte": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "obligated_lte": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, "ordering": { "choices": [ "-award_date", @@ -1144,14 +6133,6 @@ "filter_class": "CharFilter", "type": "string" }, - "set_aside": { - "filter_class": "CustomSetAsideFilter", - "type": "string" - }, - "solicitation_identifier": { - "filter_class": "UppercaseCharFilter", - "type": "string" - }, "uei": { "filter_class": "UppercaseCharFilter", "type": "string" @@ -1161,130 +6142,22 @@ "ordering_fields": [ "award_date", "obligated", - "total_contract_value" - ], - "pagination": { - "class": "KeysetPagination", - "max_page_size": 100 - }, - "shape": { - "expands": { - "award_type": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "awarding_office": { - "expands": {}, - "fields": [ - "agency_code", - "agency_name", - "department_code", - "department_name", - "office_code", - "office_name", - "organization_id" - ] - }, - "commercial_item_acquisition_procedures": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "competition": { - "expands": {}, - "fields": [ - "contract_type", - "extent_competed", - "number_of_offers_received", - "other_than_full_and_open_competition", - "solicitation_date", - "solicitation_identifier", - "solicitation_procedures" - ] - }, - "consolidated_contract": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "contingency_humanitarian_or_peacekeeping_operation": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "contract_bundling": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "cost_accounting_standards_clause": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "cost_or_pricing_data": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "domestic_or_foreign_entity": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "epa_designated_product": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "evaluated_preference": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "fair_opportunity_limited_sources": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "fed_biz_opps": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "foreign_funding": { + "total_contract_value" + ], + "pagination": { + "class": "KeysetPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "award_type": { "expands": {}, "fields": [ "code", "description" ] }, - "funding_office": { + "awarding_office": { "expands": {}, "fields": [ "agency_code", @@ -1296,53 +6169,23 @@ "organization_id" ] }, - "information_technology_commercial_item_category": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "inherently_governmental_functions": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "legislative_mandates": { - "expands": {}, - "fields": [ - "clinger_cohen_act_planning", - "construction_wage_rate_requirements", - "employment_eligibility_verification", - "interagency_contracting_authority", - "labor_standards", - "materials_supplies_articles_equipment", - "other_statutory_authority", - "service_contract_inventory" - ] - }, - "naics": { + "extent_competed": { "expands": {}, "fields": [ "code", "description" ] }, - "officers": { + "funding_office": { "expands": {}, "fields": [ - "highly_compensated_officer_1_amount", - "highly_compensated_officer_1_name", - "highly_compensated_officer_2_amount", - "highly_compensated_officer_2_name", - "highly_compensated_officer_3_amount", - "highly_compensated_officer_3_name", - "highly_compensated_officer_4_amount", - "highly_compensated_officer_4_name", - "highly_compensated_officer_5_amount", - "highly_compensated_officer_5_name" + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" ] }, "parent_award": { @@ -1352,13 +6195,6 @@ "piid" ] }, - "performance_based_service_acquisition": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, "period_of_performance": { "expands": {}, "fields": [ @@ -1367,13 +6203,6 @@ "ultimate_completion_date" ] }, - "place_of_manufacture": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, "place_of_performance": { "expands": {}, "fields": [ @@ -1402,55 +6231,6 @@ "uei" ] }, - "recovered_materials_sustainability": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "research": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "sam_exception": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "set_aside": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "subawards_summary": { - "expands": {}, - "fields": [ - "count", - "total_amount" - ] - }, - "subcontracting_plan": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "tradeoff_process": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, "transactions": { "expands": {}, "fields": [ @@ -1461,65 +6241,34 @@ "transaction_date" ] }, - "undefinitized_action": { + "type_of_ot_agreement": { "expands": {}, "fields": [ "code", "description" ] - }, - "vehicle": { - "expands": {}, - "fields": [ - "agency_id", - "award_date", - "contract_type", - "description", - "fiscal_year", - "last_date_to_order", - "naics_code", - "psc_code", - "set_aside", - "solicitation_date", - "solicitation_description", - "solicitation_identifier", - "solicitation_title", - "type_of_idc", - "uuid", - "vehicle_type", - "who_can_use" - ] } }, "fields": [ "award_date", "award_type", "base_and_exercised_options_value", - "contract_financing", + "consortia", + "consortia_uei", "description", "dod_acquisition_program", - "dod_transaction_number", + "extent_competed", "fiscal_year", - "government_furnished_property", "key", - "local_area_set_aside", - "major_program", - "naics_code", - "number_of_actions", - "number_of_offers_source", + "non_governmental_dollars", + "non_traditional_government_contractor_participation", "obligated", + "parent_award_modification_number", "piid", - "price_evaluation_percent_difference", "psc_code", - "purchase_card_as_payment_method", - "set_aside", - "simplified_procedures_for_certain_commercial_items", - "small_business_competitiveness_demonstration_program", - "solicitation_identifier", - "subawards_summary", "total_contract_value", "transactions", - "type_of_set_aside_source" + "type_of_ot_agreement" ] }, "shape_flat_paths": [ @@ -1536,55 +6285,14 @@ "awarding_office.office_name", "awarding_office.organization_id", "base_and_exercised_options_value", - "commercial_item_acquisition_procedures", - "commercial_item_acquisition_procedures.code", - "commercial_item_acquisition_procedures.description", - "competition", - "competition.contract_type", - "competition.extent_competed", - "competition.number_of_offers_received", - "competition.other_than_full_and_open_competition", - "competition.solicitation_date", - "competition.solicitation_identifier", - "competition.solicitation_procedures", - "consolidated_contract", - "consolidated_contract.code", - "consolidated_contract.description", - "contingency_humanitarian_or_peacekeeping_operation", - "contingency_humanitarian_or_peacekeeping_operation.code", - "contingency_humanitarian_or_peacekeeping_operation.description", - "contract_bundling", - "contract_bundling.code", - "contract_bundling.description", - "contract_financing", - "cost_accounting_standards_clause", - "cost_accounting_standards_clause.code", - "cost_accounting_standards_clause.description", - "cost_or_pricing_data", - "cost_or_pricing_data.code", - "cost_or_pricing_data.description", + "consortia", + "consortia_uei", "description", "dod_acquisition_program", - "dod_transaction_number", - "domestic_or_foreign_entity", - "domestic_or_foreign_entity.code", - "domestic_or_foreign_entity.description", - "epa_designated_product", - "epa_designated_product.code", - "epa_designated_product.description", - "evaluated_preference", - "evaluated_preference.code", - "evaluated_preference.description", - "fair_opportunity_limited_sources", - "fair_opportunity_limited_sources.code", - "fair_opportunity_limited_sources.description", - "fed_biz_opps", - "fed_biz_opps.code", - "fed_biz_opps.description", + "extent_competed", + "extent_competed.code", + "extent_competed.description", "fiscal_year", - "foreign_funding", - "foreign_funding.code", - "foreign_funding.description", "funding_office", "funding_office.agency_code", "funding_office.agency_name", @@ -1593,57 +6301,19 @@ "funding_office.office_code", "funding_office.office_name", "funding_office.organization_id", - "government_furnished_property", - "information_technology_commercial_item_category", - "information_technology_commercial_item_category.code", - "information_technology_commercial_item_category.description", - "inherently_governmental_functions", - "inherently_governmental_functions.code", - "inherently_governmental_functions.description", "key", - "legislative_mandates", - "legislative_mandates.clinger_cohen_act_planning", - "legislative_mandates.construction_wage_rate_requirements", - "legislative_mandates.employment_eligibility_verification", - "legislative_mandates.interagency_contracting_authority", - "legislative_mandates.labor_standards", - "legislative_mandates.materials_supplies_articles_equipment", - "legislative_mandates.other_statutory_authority", - "legislative_mandates.service_contract_inventory", - "local_area_set_aside", - "major_program", - "naics", - "naics.code", - "naics.description", - "naics_code", - "number_of_actions", - "number_of_offers_source", - "obligated", - "officers", - "officers.highly_compensated_officer_1_amount", - "officers.highly_compensated_officer_1_name", - "officers.highly_compensated_officer_2_amount", - "officers.highly_compensated_officer_2_name", - "officers.highly_compensated_officer_3_amount", - "officers.highly_compensated_officer_3_name", - "officers.highly_compensated_officer_4_amount", - "officers.highly_compensated_officer_4_name", - "officers.highly_compensated_officer_5_amount", - "officers.highly_compensated_officer_5_name", + "non_governmental_dollars", + "non_traditional_government_contractor_participation", + "obligated", "parent_award", "parent_award.key", "parent_award.piid", - "performance_based_service_acquisition", - "performance_based_service_acquisition.code", - "performance_based_service_acquisition.description", + "parent_award_modification_number", "period_of_performance", "period_of_performance.current_end_date", "period_of_performance.start_date", "period_of_performance.ultimate_completion_date", "piid", - "place_of_manufacture", - "place_of_manufacture.code", - "place_of_manufacture.description", "place_of_performance", "place_of_performance.city_name", "place_of_performance.country_code", @@ -1651,281 +6321,198 @@ "place_of_performance.state_code", "place_of_performance.state_name", "place_of_performance.zip_code", - "price_evaluation_percent_difference", "psc", "psc.code", "psc.description", "psc_code", - "purchase_card_as_payment_method", "recipient", "recipient.cage", "recipient.cage_code", "recipient.display_name", "recipient.legal_business_name", "recipient.uei", - "recovered_materials_sustainability", - "recovered_materials_sustainability.code", - "recovered_materials_sustainability.description", - "research", - "research.code", - "research.description", - "sam_exception", - "sam_exception.code", - "sam_exception.description", - "set_aside", - "set_aside.code", - "set_aside.description", - "simplified_procedures_for_certain_commercial_items", - "small_business_competitiveness_demonstration_program", - "solicitation_identifier", - "subawards_summary", - "subawards_summary.count", - "subawards_summary.total_amount", - "subcontracting_plan", - "subcontracting_plan.code", - "subcontracting_plan.description", "total_contract_value", - "tradeoff_process", - "tradeoff_process.code", - "tradeoff_process.description", "transactions", "transactions.action_type", "transactions.description", "transactions.modification_number", "transactions.obligated", "transactions.transaction_date", - "type_of_set_aside_source", - "undefinitized_action", - "undefinitized_action.code", - "undefinitized_action.description", - "vehicle", - "vehicle.agency_id", - "vehicle.award_date", - "vehicle.contract_type", - "vehicle.description", - "vehicle.fiscal_year", - "vehicle.last_date_to_order", - "vehicle.naics_code", - "vehicle.psc_code", - "vehicle.set_aside", - "vehicle.solicitation_date", - "vehicle.solicitation_description", - "vehicle.solicitation_identifier", - "vehicle.solicitation_title", - "vehicle.type_of_idc", - "vehicle.uuid", - "vehicle.vehicle_type", - "vehicle.who_can_use" - ], - "shape_supported": true, - "shape_tier_required": null, - "viewset": "awards.views.contracts.ContractViewSet" - }, - "swagger_has_key": true, - "swagger_params": [ - "award_date", - "award_date_gte", - "award_date_lte", - "award_type", - "awarding_agency", - "cursor", - "expiring_gte", - "expiring_lte", - "fiscal_year", - "fiscal_year_gte", - "fiscal_year_lte", - "flat", - "flat_lists", - "funding_agency", - "joiner", - "limit", - "naics", - "obligated_gte", - "obligated_lte", - "ordering", - "piid", - "pop_end_date_gte", - "pop_end_date_lte", - "pop_start_date_gte", - "pop_start_date_lte", - "psc", - "recipient", - "set_aside", - "shape", - "uei" - ] - }, - "departments": { - "basename": "department", - "docs_file": null, - "docs_params": [], - "prefix": "departments", - "resource_key": "departments", - "runtime": { - "filter_params": [], - "filter_params_detail": {}, - "ordering_aliases": [], - "ordering_fields": [], - "pagination": { - "class": "CachedPageNumberPagination", - "max_page_size": 100 - }, - "shape": { - "expands": {}, - "fields": [ - "abbreviation", - "cgac", - "code", - "congressional_justification", - "description", - "name", - "website" - ] - }, - "shape_flat_paths": [ - "abbreviation", - "cgac", - "code", - "congressional_justification", - "description", - "name", - "website" + "type_of_ot_agreement", + "type_of_ot_agreement.code", + "type_of_ot_agreement.description" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, - "viewset": "agencies.views.DepartmentViewSet" + "viewset": "entities.views.EntityOTAViewSet" }, - "swagger_has_key": true, - "swagger_params": [ - "flat", - "flat_lists", - "joiner", - "limit", - "page", - "shape", - "show_shapes" - ] + "swagger_has_key": false, + "swagger_params": [] }, - "dibbs/awards": { - "basename": "dibbs-award", + "entities_otidvs": { + "basename": "entities_otidvs", "docs_file": null, "docs_params": [], - "prefix": "dibbs/awards", - "resource_key": "dibbs/awards", + "prefix": "entities//otidvs/", + "resource_key": "entities_otidvs", "runtime": { "filter_params": [ - "award_date_after", - "award_date_before", - "award_number", - "awardee_cage", - "delivery_order_number", - "entity", - "nsn", - "organization", - "part_number", - "posted_date_after", - "posted_date_before", - "purchase_request", + "award_date", + "award_date_gte", + "award_date_lte", + "awarding_agency", + "expiring_gte", + "expiring_lte", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "funding_agency", + "key", + "ordering", + "piid", + "pop_end_date_gte", + "pop_end_date_lte", + "pop_start_date_gte", + "pop_start_date_lte", + "psc", + "recipient", "search", - "solicitation", - "total_contract_price_max", - "total_contract_price_min" + "uei" ], "filter_params_detail": { - "award_date_after": { + "award_date": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_date_gte": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_date_lte": { + "filter_class": "DateFilter", + "type": "date" + }, + "awarding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "expiring_gte": { "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, - "award_date_before": { + "expiring_lte": { "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, - "award_number": { - "filter_class": "BaseSmartFilter", - "type": "string" + "fiscal_year": { + "filter_class": "NumberFilter", + "type": "number" }, - "awardee_cage": { - "filter_class": "BaseSmartFilter", - "type": "string" + "fiscal_year_gte": { + "filter_class": "NumberFilter", + "type": "number" }, - "delivery_order_number": { - "filter_class": "BaseSmartFilter", - "type": "string" + "fiscal_year_lte": { + "filter_class": "NumberFilter", + "type": "number" }, - "entity": { - "filter_class": "BaseSmartFilter", + "funding_agency": { + "filter_class": "PerformantAgencyFilter", "type": "string" }, - "nsn": { - "filter_class": "BaseSmartFilter", + "key": { + "filter_class": "IdListFilter", "type": "string" }, - "organization": { - "filter_class": "BaseSmartFilter", - "type": "string" + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-total_contract_value", + "award_date", + "obligated", + "total_contract_value" + ], + "choices_count": 6, + "filter_class": "OrderingFilter", + "type": "ordering" }, - "part_number": { - "filter_class": "BaseSmartFilter", + "piid": { + "filter_class": "UppercaseCharFilter", "type": "string" }, - "posted_date_after": { + "pop_end_date_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "pop_end_date_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "pop_start_date_gte": { "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, - "posted_date_before": { + "pop_start_date_lte": { "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, - "purchase_request": { - "filter_class": "BaseSmartFilter", + "psc": { + "filter_class": "CustomPSCFilter", "type": "string" }, - "search": { - "filter_class": "BaseSmartFilter", + "recipient": { + "filter_class": "CharFilter", "type": "string" }, - "solicitation": { - "filter_class": "BaseSmartFilter", + "search": { + "filter_class": "CharFilter", "type": "string" }, - "total_contract_price_max": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "total_contract_price_min": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" + "uei": { + "filter_class": "UppercaseCharFilter", + "type": "string" } }, "ordering_aliases": [], "ordering_fields": [ "award_date", - "modified", - "posted_date", - "rank", - "total_contract_price" + "obligated", + "total_contract_value" ], "pagination": { - "class": "StandardResultsSetPagination", + "class": "KeysetPagination", "max_page_size": 100 }, "shape": { "expands": { - "awardee": { + "awarding_office": { "expands": {}, "fields": [ - "cage_code", - "legal_business_name", - "uei" + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" ] }, - "organization": { + "extent_competed": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "funding_office": { "expands": {}, "fields": [ "agency_code", @@ -1936,146 +6523,224 @@ "office_name", "organization_id" ] + }, + "period_of_performance": { + "expands": {}, + "fields": [ + "current_end_date", + "start_date", + "ultimate_completion_date" + ] + }, + "place_of_performance": { + "expands": {}, + "fields": [ + "city_name", + "country_code", + "country_name", + "state_code", + "state_name", + "zip_code" + ] + }, + "psc": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "recipient": { + "expands": {}, + "fields": [ + "cage", + "cage_code", + "display_name", + "legal_business_name", + "uei" + ] + }, + "transactions": { + "expands": {}, + "fields": [ + "action_type", + "description", + "modification_number", + "obligated", + "transaction_date" + ] + }, + "type_of_ot_agreement": { + "expands": {}, + "fields": [ + "code", + "description" + ] } }, "fields": [ "award_date", - "award_number", - "awardee_cage", - "delivery_order_counter", - "delivery_order_number", - "last_mod_posting_date", - "nomenclature", - "nsn", - "part_number", - "posted_date", - "purchase_request", - "solicitation", - "total_contract_price", - "total_contract_price_text", - "uuid" + "base_and_exercised_options_value", + "consortia", + "consortia_uei", + "description", + "dod_acquisition_program", + "extent_competed", + "fiscal_year", + "idv_type", + "key", + "non_governmental_dollars", + "non_traditional_government_contractor_participation", + "obligated", + "piid", + "psc_code", + "total_contract_value", + "transactions", + "type_of_ot_agreement" ] }, "shape_flat_paths": [ "award_date", - "award_number", - "awardee", - "awardee.cage_code", - "awardee.legal_business_name", - "awardee.uei", - "awardee_cage", - "delivery_order_counter", - "delivery_order_number", - "last_mod_posting_date", - "nomenclature", - "nsn", - "organization", - "organization.agency_code", - "organization.agency_name", - "organization.department_code", - "organization.department_name", - "organization.office_code", - "organization.office_name", - "organization.organization_id", - "part_number", - "posted_date", - "purchase_request", - "solicitation", - "total_contract_price", - "total_contract_price_text", - "uuid" + "awarding_office", + "awarding_office.agency_code", + "awarding_office.agency_name", + "awarding_office.department_code", + "awarding_office.department_name", + "awarding_office.office_code", + "awarding_office.office_name", + "awarding_office.organization_id", + "base_and_exercised_options_value", + "consortia", + "consortia_uei", + "description", + "dod_acquisition_program", + "extent_competed", + "extent_competed.code", + "extent_competed.description", + "fiscal_year", + "funding_office", + "funding_office.agency_code", + "funding_office.agency_name", + "funding_office.department_code", + "funding_office.department_name", + "funding_office.office_code", + "funding_office.office_name", + "funding_office.organization_id", + "idv_type", + "key", + "non_governmental_dollars", + "non_traditional_government_contractor_participation", + "obligated", + "period_of_performance", + "period_of_performance.current_end_date", + "period_of_performance.start_date", + "period_of_performance.ultimate_completion_date", + "piid", + "place_of_performance", + "place_of_performance.city_name", + "place_of_performance.country_code", + "place_of_performance.country_name", + "place_of_performance.state_code", + "place_of_performance.state_name", + "place_of_performance.zip_code", + "psc", + "psc.code", + "psc.description", + "psc_code", + "recipient", + "recipient.cage", + "recipient.cage_code", + "recipient.display_name", + "recipient.legal_business_name", + "recipient.uei", + "total_contract_value", + "transactions", + "transactions.action_type", + "transactions.description", + "transactions.modification_number", + "transactions.obligated", + "transactions.transaction_date", + "type_of_ot_agreement", + "type_of_ot_agreement.code", + "type_of_ot_agreement.description" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, - "viewset": "dibbs.views.DibbsAwardViewSet" + "viewset": "entities.views.EntityOTIDVViewSet" }, "swagger_has_key": false, "swagger_params": [] }, - "dibbs/rfps": { - "basename": "dibbs-rfp", + "entities_subawards": { + "basename": "entities_subawards", "docs_file": null, "docs_params": [], - "prefix": "dibbs/rfps", - "resource_key": "dibbs/rfps", + "prefix": "entities//subawards/", + "resource_key": "entities_subawards", "runtime": { "filter_params": [ - "buyer_code", - "closes_date_after", - "closes_date_before", - "issued_date_after", - "issued_date_before", - "nsn", - "open", - "organization", - "part_number", - "search", - "solicitation" + "award_key", + "awarding_agency", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "funding_agency", + "prime_uei", + "recipient", + "sub_uei" ], "filter_params_detail": { - "buyer_code": { - "filter_class": "BaseSmartFilter", + "award_key": { + "filter_class": "CharFilter", "type": "string" }, - "closes_date_after": { - "filter_class": "DateFilter", - "lookup": "gte", - "type": "date" + "awarding_agency": { + "filter_class": "SubawardAgencyFilter", + "type": "string" }, - "closes_date_before": { - "filter_class": "DateFilter", - "lookup": "lte", - "type": "date" + "fiscal_year": { + "filter_class": "NumberFilter", + "type": "number" }, - "issued_date_after": { - "filter_class": "DateFilter", + "fiscal_year_gte": { + "filter_class": "NumberFilter", "lookup": "gte", - "type": "date" + "type": "number" }, - "issued_date_before": { - "filter_class": "DateFilter", + "fiscal_year_lte": { + "filter_class": "NumberFilter", "lookup": "lte", - "type": "date" - }, - "nsn": { - "filter_class": "BaseSmartFilter", - "type": "string" - }, - "open": { - "filter_class": "BooleanFilter", - "type": "boolean" + "type": "number" }, - "organization": { - "filter_class": "BaseSmartFilter", + "funding_agency": { + "filter_class": "SubawardAgencyFilter", "type": "string" }, - "part_number": { - "filter_class": "BaseSmartFilter", + "prime_uei": { + "filter_class": "CharFilter", "type": "string" }, - "search": { - "filter_class": "BaseSmartFilter", + "recipient": { + "filter_class": "CharFilter", "type": "string" }, - "solicitation": { - "filter_class": "BaseSmartFilter", + "sub_uei": { + "filter_class": "CharFilter", "type": "string" } }, - "ordering_aliases": [], - "ordering_fields": [ - "closes_date", - "issued_date", - "modified", - "rank" + "ordering_aliases": [ + "last_modified_date" ], + "ordering_fields": [], "pagination": { - "class": "StandardResultsSetPagination", + "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { "expands": { - "organization": { + "awarding_office": { "expands": {}, "fields": [ "agency_code", @@ -2083,640 +6748,654 @@ "department_code", "department_name", "office_code", - "office_name", - "organization_id" + "office_name" + ] + }, + "fsrs_details": { + "expands": {}, + "fields": [ + "id", + "last_modified_date", + "month", + "year" + ] + }, + "funding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name" + ] + }, + "highly_compensated_officers": { + "expands": {}, + "fields": [ + "amount", + "name" + ] + }, + "place_of_performance": { + "expands": {}, + "fields": [ + "city", + "country_code", + "state", + "zip" + ] + }, + "prime_recipient": { + "expands": {}, + "fields": [ + "display_name", + "uei" + ] + }, + "subaward_details": { + "expands": {}, + "fields": [ + "action_date", + "amount", + "description", + "fiscal_year", + "number", + "type" + ] + }, + "subaward_recipient": { + "expands": {}, + "fields": [ + "display_name", + "duns", + "uei" ] } }, "fields": [ - "buyer_code", - "closes_date", - "document_url", - "is_open", - "issued_date", - "nomenclature", - "nsn", - "part_number", - "solicitation", - "tech_docs_url", - "uuid" + "award_key", + "key", + "piid", + "prime_awardee_name", + "prime_awardee_uei", + "recipient_business_types", + "recipient_dba_name", + "recipient_duns", + "recipient_name", + "recipient_parent_duns", + "recipient_parent_name", + "recipient_parent_uei", + "recipient_uei", + "usaspending_permalink" ] }, "shape_flat_paths": [ - "buyer_code", - "closes_date", - "document_url", - "is_open", - "issued_date", - "nomenclature", - "nsn", - "organization", - "organization.agency_code", - "organization.agency_name", - "organization.department_code", - "organization.department_name", - "organization.office_code", - "organization.office_name", - "organization.organization_id", - "part_number", - "solicitation", - "tech_docs_url", - "uuid" + "award_key", + "awarding_office", + "awarding_office.agency_code", + "awarding_office.agency_name", + "awarding_office.department_code", + "awarding_office.department_name", + "awarding_office.office_code", + "awarding_office.office_name", + "fsrs_details", + "fsrs_details.id", + "fsrs_details.last_modified_date", + "fsrs_details.month", + "fsrs_details.year", + "funding_office", + "funding_office.agency_code", + "funding_office.agency_name", + "funding_office.department_code", + "funding_office.department_name", + "funding_office.office_code", + "funding_office.office_name", + "highly_compensated_officers", + "highly_compensated_officers.amount", + "highly_compensated_officers.name", + "key", + "piid", + "place_of_performance", + "place_of_performance.city", + "place_of_performance.country_code", + "place_of_performance.state", + "place_of_performance.zip", + "prime_awardee_name", + "prime_awardee_uei", + "prime_recipient", + "prime_recipient.display_name", + "prime_recipient.uei", + "recipient_business_types", + "recipient_dba_name", + "recipient_duns", + "recipient_name", + "recipient_parent_duns", + "recipient_parent_name", + "recipient_parent_uei", + "recipient_uei", + "subaward_details", + "subaward_details.action_date", + "subaward_details.amount", + "subaward_details.description", + "subaward_details.fiscal_year", + "subaward_details.number", + "subaward_details.type", + "subaward_recipient", + "subaward_recipient.display_name", + "subaward_recipient.duns", + "subaward_recipient.uei", + "usaspending_permalink" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, - "viewset": "dibbs.views.DibbsRfpViewSet" + "viewset": "entities.views.EntitySubawardViewSet" }, "swagger_has_key": false, "swagger_params": [] }, - "dibbs/rfqs": { - "basename": "dibbs-rfq", - "docs_file": null, - "docs_params": [], - "prefix": "dibbs/rfqs", - "resource_key": "dibbs/rfqs", - "runtime": { - "filter_params": [ - "issue_date_after", - "issue_date_before", - "nsn", - "open", - "organization", - "part_number", - "purchase_request", - "quantity_max", - "quantity_min", - "return_by_date_after", - "return_by_date_before", + "events": { + "basename": "g2x-events", + "docs_file": null, + "docs_params": [], + "prefix": "events", + "resource_key": "events", + "runtime": { + "filter_params": [ + "is_free", + "is_virtual", + "organizer", "search", - "set_aside", - "solicitation", - "status_code" + "source", + "start_date_after", + "start_date_before", + "state" ], "filter_params_detail": { - "issue_date_after": { - "filter_class": "DateFilter", - "lookup": "gte", - "type": "date" - }, - "issue_date_before": { - "filter_class": "DateFilter", - "lookup": "lte", - "type": "date" - }, - "nsn": { - "filter_class": "BaseSmartFilter", - "type": "string" + "is_free": { + "filter_class": "BooleanFilter", + "type": "boolean" }, - "open": { + "is_virtual": { "filter_class": "BooleanFilter", "type": "boolean" }, - "organization": { - "filter_class": "BaseSmartFilter", + "organizer": { + "filter_class": "CharFilter", + "lookup": "icontains", "type": "string" }, - "part_number": { - "filter_class": "BaseSmartFilter", + "search": { + "filter_class": "CharFilter", "type": "string" }, - "purchase_request": { - "filter_class": "BaseSmartFilter", + "source": { + "filter_class": "CharFilter", "type": "string" }, - "quantity_max": { - "filter_class": "NumberFilter", - "lookup": "lte", - "type": "number" - }, - "quantity_min": { - "filter_class": "NumberFilter", - "lookup": "gte", - "type": "number" - }, - "return_by_date_after": { + "start_date_after": { "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, - "return_by_date_before": { + "start_date_before": { "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, - "search": { - "filter_class": "BaseSmartFilter", - "type": "string" - }, - "set_aside": { - "filter_class": "BaseSmartFilter", - "type": "string" - }, - "solicitation": { - "filter_class": "BaseSmartFilter", - "type": "string" - }, - "status_code": { - "filter_class": "BaseSmartFilter", + "state": { + "filter_class": "CharFilter", + "lookup": "iexact", "type": "string" } }, "ordering_aliases": [], - "ordering_fields": [ - "issue_date", - "modified", - "quantity", - "rank", - "return_by_date" - ], + "ordering_fields": [], "pagination": { "class": "StandardResultsSetPagination", "max_page_size": 100 }, - "shape": { - "expands": { - "organization": { - "expands": {}, - "fields": [ - "agency_code", - "agency_name", - "department_code", - "department_name", - "office_code", - "office_name", - "organization_id" - ] - } - }, - "fields": [ - "document_url", - "is_open", - "issue_date", - "nomenclature", - "nsn", - "part_number", - "purchase_request", - "quantity", - "return_by_date", - "set_aside", - "solicitation", - "solicitation_formatted", - "status_code", - "unit_of_issue", - "uuid" - ] - }, - "shape_flat_paths": [ - "document_url", - "is_open", - "issue_date", - "nomenclature", - "nsn", - "organization", - "organization.agency_code", - "organization.agency_name", - "organization.department_code", - "organization.department_name", - "organization.office_code", - "organization.office_name", - "organization.organization_id", - "part_number", - "purchase_request", - "quantity", - "return_by_date", - "set_aside", - "solicitation", - "solicitation_formatted", - "status_code", - "unit_of_issue", - "uuid" - ], - "shape_supported": true, + "shape": null, + "shape_flat_paths": [], + "shape_gated_by_level": {}, + "shape_supported": false, "shape_tier_required": null, - "viewset": "dibbs.views.DibbsRfqViewSet" + "viewset": "g2x.views.content.EventsViewSet" }, "swagger_has_key": false, "swagger_params": [] }, - "entities": { - "basename": "entity", + "exclusions": { + "basename": "exclusion", "docs_file": null, "docs_params": [], - "prefix": "entities", - "resource_key": "entities", + "prefix": "exclusions", + "resource_key": "exclusions", "runtime": { "filter_params": [ - "cage", + "activate_date_after", + "activate_date_before", + "active", "cage_code", - "naics", - "name", - "psc", - "purpose_of_registration_code", + "classification_type", + "delisted", + "entity_uei", + "excluding_agency_code", + "excluding_agency_name", + "exclusion_program", + "exclusion_type", + "npi", "search", - "socioeconomic", - "state", - "total_awards_obligated_gte", - "total_awards_obligated_lte", + "termination_date_after", + "termination_date_before", "uei", - "zip_code" + "update_date_after", + "update_date_before" ], "filter_params_detail": { - "cage": { - "filter_class": "CharFilter", - "lookup": "iexact", - "type": "string" + "activate_date_after": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "activate_date_before": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "active": { + "filter_class": "BooleanFilter", + "type": "boolean" }, "cage_code": { - "filter_class": "CharFilter", - "lookup": "iexact", + "filter_class": "BaseSmartFilter", "type": "string" }, - "naics": { - "filter_class": "EntityNAICSFilter", + "classification_type": { + "filter_class": "BaseSmartFilter", "type": "string" }, - "name": { - "filter_class": "CharFilter", - "lookup": "icontains", + "delisted": { + "filter_class": "BooleanFilter", + "lookup": "isnull", + "type": "boolean" + }, + "entity_uei": { + "filter_class": "BaseSmartFilter", "type": "string" }, - "psc": { - "filter_class": "CustomPSCFilter", + "excluding_agency_code": { + "filter_class": "BaseSmartFilter", "type": "string" }, - "purpose_of_registration_code": { - "filter_class": "CharFilter", + "excluding_agency_name": { + "filter_class": "BaseSmartFilter", "type": "string" }, - "search": { - "filter_class": "CustomEntityFilter", + "exclusion_program": { + "filter_class": "BaseSmartFilter", "type": "string" }, - "socioeconomic": { - "filter_class": "CustomBusinessTypeFilter", + "exclusion_type": { + "filter_class": "BaseSmartFilter", "type": "string" }, - "state": { - "filter_class": "CharFilter", - "lookup": "state_or_province_code__contains", + "npi": { + "filter_class": "BaseSmartFilter", "type": "string" }, - "total_awards_obligated_gte": { - "filter_class": "NumberFilter", - "type": "number" + "search": { + "filter_class": "BaseSmartFilter", + "type": "string" }, - "total_awards_obligated_lte": { - "filter_class": "NumberFilter", - "type": "number" + "termination_date_after": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "termination_date_before": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" }, "uei": { - "filter_class": "CharFilter", - "lookup": "iexact", + "filter_class": "BaseSmartFilter", "type": "string" }, - "zip_code": { - "filter_class": "CharFilter", - "lookup": "zip_code__exact", - "type": "string" + "update_date_after": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "update_date_before": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" } }, "ordering_aliases": [], - "ordering_fields": [], + "ordering_fields": [ + "activate_date", + "create_date", + "modified", + "rank", + "termination_date", + "update_date" + ], "pagination": { - "class": "CachedPageNumberPagination", + "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { - "expands": { - "business_types": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "country_of_incorporation": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "entity_structure": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "entity_type": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "federal_obligations": { - "expands": {}, - "fields": [ - "active", - "total" - ] - }, - "highest_owner": { - "expands": {}, - "fields": [ - "cage_code", - "legal_business_name", - "uei" - ] - }, - "immediate_owner": { - "expands": {}, - "fields": [ - "cage_code", - "legal_business_name", - "uei" - ] - }, - "mailing_address": { - "expands": {}, - "fields": [ - "address_line1", - "address_line2", - "city", - "country_code", - "country_name", - "county", - "county_code", - "fips_code", - "state_or_province_code", - "zip_code", - "zip_code_plus4" - ] - }, - "naics_codes": { - "expands": {}, - "fields": [ - "code", - "sba_small_business" - ] - }, - "organization_structure": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "past_performance": { - "expands": {}, - "fields": [ - "summary", - "top_agencies" - ] - }, - "physical_address": { - "expands": {}, - "fields": [ - "address_line1", - "address_line2", - "city", - "country_code", - "country_name", - "county", - "county_code", - "fips_code", - "state_or_province_code", - "zip_code", - "zip_code_plus4" - ] - }, - "profit_structure": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "purpose_of_registration": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, - "relationships": { - "expands": {}, - "fields": [ - "confidence", - "display_name", - "relation", - "source", - "type", - "uei", - "verification_method" - ] - }, - "sba_business_types": { - "expands": {}, - "fields": [ - "code", - "description", - "entry_date", - "exit_date" - ] - }, - "state_of_incorporation": { - "expands": {}, - "fields": [ - "code", - "description" - ] - } - }, + "expands": {}, "fields": [ - "additional_website", - "business_types", + "activate_date", + "additional_comments", "cage_code", - "capabilities", - "capabilities_link", - "congressional_district", - "county", - "current_principals", - "dba_name", - "description", + "classification_type", + "create_date", + "ct_code", + "delisted_at", "display_name", - "dodaac", - "email_address", - "entity_division_name", - "entity_division_number", - "entity_start_date", - "entity_url", - "evs_source", - "exclusion_status_flag", - "exclusion_url", - "fiscal_year_end_close_date", - "g2x_about", - "g2x_ai_summary", - "g2x_employee_count", - "highest_owner", - "immediate_owner", - "keywords", - "last_update_date", - "legal_business_name", - "mailing_address", - "naics_codes", - "naics_small_codes", - "non_fed_govt_certifications", - "past_performance", - "physical_address", - "primary_naics", - "psc_codes", - "public_display_flag", - "registered", - "registration_status", - "relationships", - "sam_activation_date", - "sam_expiration_date", - "sam_registration_date", - "sba_business_types", - "special_equip_material", - "submission_date", - "uei", - "uei_creation_date", - "uei_expiration_date", - "uei_status", - "uuid" + "dnb_open_data", + "entity_name", + "entity_uei", + "evs_investigation_status", + "excluding_agency_code", + "excluding_agency_name", + "exclusion_key", + "exclusion_program", + "exclusion_type", + "first_name", + "is_currently_excluded", + "is_fascsa_order", + "last_name", + "middle_name", + "more_locations", + "npi", + "prefix", + "primary_address", + "references", + "secondary_address", + "suffix", + "termination_date", + "termination_type", + "uei", + "update_date", + "vessel_call_sign", + "vessel_flag", + "vessel_grt", + "vessel_owner", + "vessel_tonnage", + "vessel_type" ] }, "shape_flat_paths": [ - "additional_website", - "business_types", - "business_types.code", - "business_types.description", + "activate_date", + "additional_comments", "cage_code", - "capabilities", - "capabilities_link", - "congressional_district", - "country_of_incorporation", - "country_of_incorporation.code", - "country_of_incorporation.description", - "county", - "current_principals", - "dba_name", - "description", + "classification_type", + "create_date", + "ct_code", + "delisted_at", "display_name", - "dodaac", - "email_address", - "entity_division_name", - "entity_division_number", - "entity_start_date", - "entity_structure", - "entity_structure.code", - "entity_structure.description", - "entity_type", - "entity_type.code", - "entity_type.description", - "entity_url", - "evs_source", - "exclusion_status_flag", - "exclusion_url", - "federal_obligations", - "federal_obligations.active", - "federal_obligations.total", - "fiscal_year_end_close_date", - "g2x_about", - "g2x_ai_summary", - "g2x_employee_count", - "highest_owner", - "highest_owner.cage_code", - "highest_owner.legal_business_name", - "highest_owner.uei", - "immediate_owner", - "immediate_owner.cage_code", - "immediate_owner.legal_business_name", - "immediate_owner.uei", - "keywords", - "last_update_date", - "legal_business_name", - "mailing_address", - "mailing_address.address_line1", - "mailing_address.address_line2", - "mailing_address.city", - "mailing_address.country_code", - "mailing_address.country_name", - "mailing_address.county", - "mailing_address.county_code", - "mailing_address.fips_code", - "mailing_address.state_or_province_code", - "mailing_address.zip_code", - "mailing_address.zip_code_plus4", - "naics_codes", - "naics_codes.code", - "naics_codes.sba_small_business", - "naics_small_codes", - "non_fed_govt_certifications", - "organization_structure", - "organization_structure.code", - "organization_structure.description", - "past_performance", - "past_performance.summary", - "past_performance.top_agencies", - "physical_address", - "physical_address.address_line1", - "physical_address.address_line2", - "physical_address.city", - "physical_address.country_code", - "physical_address.country_name", - "physical_address.county", - "physical_address.county_code", - "physical_address.fips_code", - "physical_address.state_or_province_code", - "physical_address.zip_code", - "physical_address.zip_code_plus4", - "primary_naics", - "profit_structure", - "profit_structure.code", - "profit_structure.description", - "psc_codes", - "public_display_flag", - "purpose_of_registration", - "purpose_of_registration.code", - "purpose_of_registration.description", - "registered", - "registration_status", - "relationships", - "relationships.confidence", - "relationships.display_name", - "relationships.relation", - "relationships.source", - "relationships.type", - "relationships.uei", - "relationships.verification_method", - "sam_activation_date", - "sam_expiration_date", - "sam_registration_date", - "sba_business_types", - "sba_business_types.code", - "sba_business_types.description", - "sba_business_types.entry_date", - "sba_business_types.exit_date", - "special_equip_material", - "state_of_incorporation", - "state_of_incorporation.code", - "state_of_incorporation.description", - "submission_date", + "dnb_open_data", + "entity_name", + "entity_uei", + "evs_investigation_status", + "excluding_agency_code", + "excluding_agency_name", + "exclusion_key", + "exclusion_program", + "exclusion_type", + "first_name", + "is_currently_excluded", + "is_fascsa_order", + "last_name", + "middle_name", + "more_locations", + "npi", + "prefix", + "primary_address", + "references", + "secondary_address", + "suffix", + "termination_date", + "termination_type", "uei", - "uei_creation_date", - "uei_expiration_date", - "uei_status", - "uuid" + "update_date", + "vessel_call_sign", + "vessel_flag", + "vessel_grt", + "vessel_owner", + "vessel_tonnage", + "vessel_type" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null, + "viewset": "exclusions.views.ExclusionViewSet" + }, + "swagger_has_key": true, + "swagger_params": [ + "flat", + "flat_lists", + "joiner", + "limit", + "ordering", + "page", + "shape", + "show_shapes" + ] + }, + "forecasts": { + "basename": "forecast", + "docs_file": null, + "docs_params": [], + "prefix": "forecasts", + "resource_key": "forecasts", + "runtime": { + "filter_params": [ + "agency", + "award_date_after", + "award_date_before", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "id", + "modified_after", + "modified_before", + "naics_code", + "naics_starts_with", + "search", + "source_system", + "status" + ], + "filter_params_detail": { + "agency": { + "filter_class": "OrganizationScopeAgencyFilter", + "type": "string" + }, + "award_date_after": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "award_date_before": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "fiscal_year": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year_gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "fiscal_year_lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "id": { + "filter_class": "IdListFilter", + "type": "string" + }, + "modified_after": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "modified_before": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "naics_code": { + "filter_class": "CustomNAICSFilter", + "type": "string" + }, + "naics_starts_with": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "search": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "source_system": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "status": { + "filter_class": "BaseSmartFilter", + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "anticipated_award_date", + "fiscal_year", + "title" + ], + "pagination": { + "class": "CachedPageNumberPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "display": { + "expands": {}, + "fields": [ + "agency", + "anticipated_award_date", + "contract_vehicle", + "description", + "estimated_period", + "fiscal_year", + "naics_code", + "place_of_performance", + "primary_contact", + "set_aside", + "status", + "title" + ] + }, + "organization": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "raw_data": { + "expands": {}, + "fields": [ + "*" + ] + } + }, + "fields": [ + "agency", + "anticipated_award_date", + "contract_vehicle", + "created", + "description", + "estimated_period", + "external_id", + "fiscal_year", + "id", + "is_active", + "modified", + "naics_code", + "organization_id", + "place_of_performance", + "primary_contact", + "raw_data", + "set_aside", + "source_system", + "status", + "title" + ] + }, + "shape_flat_paths": [ + "agency", + "anticipated_award_date", + "contract_vehicle", + "created", + "description", + "display", + "display.agency", + "display.anticipated_award_date", + "display.contract_vehicle", + "display.description", + "display.estimated_period", + "display.fiscal_year", + "display.naics_code", + "display.place_of_performance", + "display.primary_contact", + "display.set_aside", + "display.status", + "display.title", + "estimated_period", + "external_id", + "fiscal_year", + "id", + "is_active", + "modified", + "naics_code", + "organization", + "organization.agency_code", + "organization.agency_name", + "organization.department_code", + "organization.department_name", + "organization.office_code", + "organization.office_name", + "organization.organization_id", + "organization_id", + "place_of_performance", + "primary_contact", + "raw_data", + "raw_data.*", + "set_aside", + "source_system", + "status", + "title" ], + "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": "pro", - "viewset": "entities.views.EntityViewSet" + "shape_tier_required": null, + "viewset": "forecasts.views.ForecastViewSet" }, "swagger_has_key": true, "swagger_params": [ @@ -2724,337 +7403,568 @@ "flat_lists", "joiner", "limit", + "ordering", "page", - "shape", - "show_shapes" + "shape" ] }, - "events": { - "basename": "g2x-events", + "grants": { + "basename": "grantopportunity", "docs_file": null, "docs_params": [], - "prefix": "events", - "resource_key": "events", + "prefix": "grants", + "resource_key": "grants", "runtime": { "filter_params": [ - "is_free", - "is_virtual", - "organizer", + "agency", + "applicant_types", + "cfda_number", + "funding_categories", + "funding_instruments", + "grant_id", + "opportunity_number", + "posted_date_after", + "posted_date_before", + "response_date_after", + "response_date_before", "search", - "source", - "start_date_after", - "start_date_before", - "state" + "status" ], "filter_params_detail": { - "is_free": { - "filter_class": "BooleanFilter", - "type": "boolean" + "agency": { + "filter_class": "OrganizationScopeAgencyFilter", + "type": "string" }, - "is_virtual": { - "filter_class": "BooleanFilter", - "type": "boolean" + "applicant_types": { + "choices": [ + "00", + "01", + "02", + "04", + "05", + "06", + "07", + "08", + "11", + "12", + "13", + "20", + "21", + "22", + "23", + "25", + "99", + "DESCRIPTION" + ], + "choices_count": 18, + "filter_class": "CaseInsensitiveChoiceFilter", + "lookup": "icontains", + "type": "choice" }, - "organizer": { + "cfda_number": { "filter_class": "CharFilter", "lookup": "icontains", "type": "string" }, - "search": { + "funding_categories": { + "choices": [ + "AG", + "AR", + "BC", + "CD", + "CP", + "DESCRIPTION", + "DPR", + "ED", + "EL", + "ELT", + "EN", + "ENV", + "FN", + "HE", + "HL", + "HO", + "HU", + "IE", + "IIJ", + "IS", + "ISS", + "LJ", + "LJL", + "MH", + "NR", + "O", + "OZ", + "RA", + "RD", + "ST", + "T", + "TR" + ], + "choices_count": 32, + "filter_class": "CaseInsensitiveChoiceFilter", + "lookup": "icontains", + "type": "choice" + }, + "funding_instruments": { + "choices": [ + "CA", + "D", + "DESCRIPTION", + "G", + "L", + "O", + "PC", + "S", + "U", + "V" + ], + "choices_count": 10, + "filter_class": "CaseInsensitiveChoiceFilter", + "lookup": "icontains", + "type": "choice" + }, + "grant_id": { + "filter_class": "IdListFilter", + "type": "string" + }, + "opportunity_number": { "filter_class": "CharFilter", "type": "string" }, - "source": { - "filter_class": "CharFilter", - "type": "string" + "posted_date_after": { + "filter_class": "DateFromToRangeFilter", + "lookup": "gte", + "type": "date" }, - "start_date_after": { - "filter_class": "DateFilter", + "posted_date_before": { + "filter_class": "DateFromToRangeFilter", + "lookup": "lte", + "type": "date" + }, + "response_date_after": { + "filter_class": "DateFromToRangeFilter", "lookup": "gte", "type": "date" }, - "start_date_before": { - "filter_class": "DateFilter", + "response_date_before": { + "filter_class": "DateFromToRangeFilter", "lookup": "lte", "type": "date" }, - "state": { - "filter_class": "CharFilter", - "lookup": "iexact", + "search": { + "filter_class": "BaseSmartFilter", "type": "string" + }, + "status": { + "choices": [ + "F", + "P" + ], + "choices_count": 2, + "filter_class": "CaseInsensitiveChoiceFilter", + "type": "choice" } }, - "ordering_aliases": [], - "ordering_fields": [], + "ordering_aliases": [ + "last_updated" + ], + "ordering_fields": [ + "deadline_current", + "posted_date", + "rank" + ], "pagination": { "class": "StandardResultsSetPagination", "max_page_size": 100 }, - "shape": null, - "shape_flat_paths": [], - "shape_supported": false, + "shape": { + "expands": { + "additional_info": { + "expands": {}, + "fields": [ + "description", + "link" + ] + }, + "applicant_types": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "attachments": { + "expands": {}, + "fields": [ + "mime_type", + "name", + "posted_date", + "resource_id", + "type", + "url" + ] + }, + "category": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "cfda_numbers": { + "expands": {}, + "fields": [ + "number", + "title" + ] + }, + "funding_categories": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "funding_details": { + "expands": {}, + "fields": [ + "award_ceiling", + "award_floor", + "estimated_total_funding", + "expected_number_of_awards" + ] + }, + "funding_instruments": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "grantor_contact": { + "expands": {}, + "fields": [ + "email", + "name", + "phone" + ] + }, + "important_dates": { + "expands": {}, + "fields": [ + "estimated_application_response_date", + "estimated_application_response_date_description", + "estimated_project_start_date", + "estimated_synopsis_post_date", + "posted_date", + "response_date", + "response_date_description" + ] + }, + "organization": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "status": { + "expands": {}, + "fields": [ + "code", + "description" + ] + } + }, + "fields": [ + "agency_code", + "applicant_eligibility_description", + "description", + "forecast", + "funding_activity_category_description", + "grant_id", + "grantor_contact", + "last_updated", + "opportunity_history", + "opportunity_number", + "organization_id", + "status", + "synopsis", + "title" + ] + }, + "shape_flat_paths": [ + "additional_info", + "additional_info.description", + "additional_info.link", + "agency_code", + "applicant_eligibility_description", + "applicant_types", + "applicant_types.code", + "applicant_types.description", + "attachments", + "attachments.mime_type", + "attachments.name", + "attachments.posted_date", + "attachments.resource_id", + "attachments.type", + "attachments.url", + "category", + "category.code", + "category.description", + "cfda_numbers", + "cfda_numbers.number", + "cfda_numbers.title", + "description", + "forecast", + "funding_activity_category_description", + "funding_categories", + "funding_categories.code", + "funding_categories.description", + "funding_details", + "funding_details.award_ceiling", + "funding_details.award_floor", + "funding_details.estimated_total_funding", + "funding_details.expected_number_of_awards", + "funding_instruments", + "funding_instruments.code", + "funding_instruments.description", + "grant_id", + "grantor_contact", + "grantor_contact.email", + "grantor_contact.name", + "grantor_contact.phone", + "important_dates", + "important_dates.estimated_application_response_date", + "important_dates.estimated_application_response_date_description", + "important_dates.estimated_project_start_date", + "important_dates.estimated_synopsis_post_date", + "important_dates.posted_date", + "important_dates.response_date", + "important_dates.response_date_description", + "last_updated", + "opportunity_history", + "opportunity_number", + "organization", + "organization.agency_code", + "organization.agency_name", + "organization.department_code", + "organization.department_name", + "organization.office_code", + "organization.office_name", + "organization.organization_id", + "organization_id", + "status", + "status.code", + "status.description", + "synopsis", + "title" + ], + "shape_gated_by_level": {}, + "shape_supported": true, "shape_tier_required": null, - "viewset": "g2x.views.content.EventsViewSet" + "viewset": "grants.views.GrantOpportunityViewSet" }, - "swagger_has_key": false, - "swagger_params": [] - }, - "exclusions": { - "basename": "exclusion", + "swagger_has_key": true, + "swagger_params": [ + "flat", + "flat_lists", + "joiner", + "limit", + "page", + "shape", + "show_shapes" + ] + }, + "gsa_elibrary_contracts": { + "basename": "gsa-elibrary-contract", "docs_file": null, "docs_params": [], - "prefix": "exclusions", - "resource_key": "exclusions", + "prefix": "gsa_elibrary_contracts", + "resource_key": "gsa_elibrary_contracts", "runtime": { "filter_params": [ - "activate_date_after", - "activate_date_before", - "active", - "cage_code", - "classification_type", - "delisted", - "entity_uei", - "excluding_agency_code", - "excluding_agency_name", - "exclusion_program", - "exclusion_type", - "npi", + "contract_number", + "key", + "piid", + "schedule", "search", - "termination_date_after", - "termination_date_before", - "uei", - "update_date_after", - "update_date_before" + "sin", + "uei" ], "filter_params_detail": { - "activate_date_after": { - "filter_class": "DateFilter", - "lookup": "gte", - "type": "date" - }, - "activate_date_before": { - "filter_class": "DateFilter", - "lookup": "lte", - "type": "date" - }, - "active": { - "filter_class": "BooleanFilter", - "type": "boolean" - }, - "cage_code": { - "filter_class": "BaseSmartFilter", - "type": "string" - }, - "classification_type": { - "filter_class": "BaseSmartFilter", - "type": "string" - }, - "delisted": { - "filter_class": "BooleanFilter", - "lookup": "isnull", - "type": "boolean" - }, - "entity_uei": { - "filter_class": "BaseSmartFilter", - "type": "string" - }, - "excluding_agency_code": { - "filter_class": "BaseSmartFilter", - "type": "string" - }, - "excluding_agency_name": { - "filter_class": "BaseSmartFilter", + "contract_number": { + "filter_class": "UppercaseCharFilter", "type": "string" }, - "exclusion_program": { - "filter_class": "BaseSmartFilter", + "key": { + "filter_class": "CharFilter", + "lookup": "iexact", "type": "string" }, - "exclusion_type": { - "filter_class": "BaseSmartFilter", + "piid": { + "filter_class": "CharFilter", + "lookup": "iexact", "type": "string" }, - "npi": { - "filter_class": "BaseSmartFilter", + "schedule": { + "filter_class": "UppercaseCharFilter", "type": "string" }, "search": { - "filter_class": "BaseSmartFilter", + "filter_class": "CharFilter", "type": "string" }, - "termination_date_after": { - "filter_class": "DateFilter", - "lookup": "gte", - "type": "date" - }, - "termination_date_before": { - "filter_class": "DateFilter", - "lookup": "lte", - "type": "date" + "sin": { + "filter_class": "CharFilter", + "type": "string" }, "uei": { - "filter_class": "BaseSmartFilter", + "filter_class": "CharFilter", "type": "string" - }, - "update_date_after": { - "filter_class": "DateFilter", - "lookup": "gte", - "type": "date" - }, - "update_date_before": { - "filter_class": "DateFilter", - "lookup": "lte", - "type": "date" } }, "ordering_aliases": [], "ordering_fields": [ - "activate_date", - "create_date", - "modified", - "rank", - "termination_date", - "update_date" + "contract_number", + "last_updated", + "schedule" ], "pagination": { - "class": "StandardResultsSetPagination", + "class": "ExactCountPagination", "max_page_size": 100 }, "shape": { - "expands": {}, + "expands": { + "idv": { + "expands": {}, + "fields": [ + "award_date", + "key" + ] + }, + "recipient": { + "expands": {}, + "fields": [ + "display_name", + "uei" + ] + } + }, "fields": [ - "activate_date", - "additional_comments", - "cage_code", - "classification_type", - "create_date", - "ct_code", - "delisted_at", - "display_name", - "dnb_open_data", - "entity_name", - "entity_uei", - "evs_investigation_status", - "excluding_agency_code", - "excluding_agency_name", - "exclusion_key", - "exclusion_program", - "exclusion_type", - "first_name", - "is_currently_excluded", - "is_fascsa_order", - "last_name", - "middle_name", - "more_locations", - "npi", - "prefix", - "primary_address", - "references", - "secondary_address", - "suffix", - "termination_date", - "termination_type", + "contract_number", + "cooperative_purchasing", + "disaster_recovery_purchasing", + "file_urls", + "schedule", + "sins", "uei", - "update_date", - "vessel_call_sign", - "vessel_flag", - "vessel_grt", - "vessel_owner", - "vessel_tonnage", - "vessel_type" + "uuid" ] }, "shape_flat_paths": [ - "activate_date", - "additional_comments", - "cage_code", - "classification_type", - "create_date", - "ct_code", - "delisted_at", - "display_name", - "dnb_open_data", - "entity_name", - "entity_uei", - "evs_investigation_status", - "excluding_agency_code", - "excluding_agency_name", - "exclusion_key", - "exclusion_program", - "exclusion_type", - "first_name", - "is_currently_excluded", - "is_fascsa_order", - "last_name", - "middle_name", - "more_locations", - "npi", - "prefix", - "primary_address", - "references", - "secondary_address", - "suffix", - "termination_date", - "termination_type", + "contract_number", + "cooperative_purchasing", + "disaster_recovery_purchasing", + "file_urls", + "idv", + "idv.award_date", + "idv.key", + "recipient", + "recipient.display_name", + "recipient.uei", + "schedule", + "sins", "uei", - "update_date", - "vessel_call_sign", - "vessel_flag", - "vessel_grt", - "vessel_owner", - "vessel_tonnage", - "vessel_type" + "uuid" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, - "viewset": "exclusions.views.ExclusionViewSet" + "viewset": "awards.views.gsa_elibrary.GsaELibraryContractViewSet" }, "swagger_has_key": true, "swagger_params": [ + "contract_number", "flat", "flat_lists", "joiner", + "key", "limit", "ordering", "page", + "piid", + "schedule", + "search", "shape", - "show_shapes" + "show_shapes", + "sin", + "uei" ] }, - "forecasts": { - "basename": "forecast", + "idvs": { + "basename": "idv", "docs_file": null, "docs_params": [], - "prefix": "forecasts", - "resource_key": "forecasts", + "prefix": "idvs", + "resource_key": "idvs", "runtime": { "filter_params": [ - "agency", - "award_date_after", - "award_date_before", + "award_date", + "award_date_gte", + "award_date_lte", + "awarding_agency", + "expiring_gte", + "expiring_lte", "fiscal_year", "fiscal_year_gte", "fiscal_year_lte", - "id", - "modified_after", - "modified_before", - "naics_code", - "naics_starts_with", + "funding_agency", + "idv_type", + "key", + "last_date_to_order_gte", + "last_date_to_order_lte", + "naics", + "ordering", + "piid", + "pop_start_date_gte", + "pop_start_date_lte", + "psc", + "recipient", "search", - "source_system", - "status" + "set_aside", + "solicitation_identifier", + "uei" ], "filter_params_detail": { - "agency": { - "filter_class": "OrganizationScopeAgencyFilter", + "award_date": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_date_gte": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_date_lte": { + "filter_class": "DateFilter", + "type": "date" + }, + "awarding_agency": { + "filter_class": "PerformantAgencyFilter", "type": "string" }, - "award_date_after": { + "expiring_gte": { "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, - "award_date_before": { + "expiring_lte": { "filter_class": "DateFilter", "lookup": "lte", "type": "date" @@ -3065,683 +7975,1317 @@ }, "fiscal_year_gte": { "filter_class": "NumberFilter", - "lookup": "gte", "type": "number" }, "fiscal_year_lte": { "filter_class": "NumberFilter", - "lookup": "lte", "type": "number" }, - "id": { + "funding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "idv_type": { + "choices": [ + "A", + "B", + "C", + "D", + "E", + "a", + "b", + "c", + "d", + "e" + ], + "choices_count": 10, + "filter_class": "UppercaseCodeChoiceFilter", + "type": "choice" + }, + "key": { "filter_class": "IdListFilter", "type": "string" }, - "modified_after": { + "last_date_to_order_gte": { "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, - "modified_before": { + "last_date_to_order_lte": { "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, - "naics_code": { + "naics": { "filter_class": "CustomNAICSFilter", "type": "string" }, - "naics_starts_with": { - "filter_class": "BaseSmartFilter", + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-total_contract_value", + "award_date", + "obligated", + "total_contract_value" + ], + "choices_count": 6, + "filter_class": "OrderingFilter", + "type": "ordering" + }, + "piid": { + "filter_class": "UppercaseCharFilter", + "type": "string" + }, + "pop_start_date_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "pop_start_date_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "psc": { + "filter_class": "CustomPSCFilter", + "type": "string" + }, + "recipient": { + "filter_class": "CharFilter", "type": "string" }, "search": { - "filter_class": "BaseSmartFilter", + "filter_class": "CharFilter", "type": "string" }, - "source_system": { - "filter_class": "BaseSmartFilter", + "set_aside": { + "filter_class": "CustomSetAsideFilter", "type": "string" }, - "status": { - "filter_class": "BaseSmartFilter", + "solicitation_identifier": { + "filter_class": "SolicitationNumberFilter", + "type": "string" + }, + "uei": { + "filter_class": "UppercaseCharFilter", "type": "string" } }, "ordering_aliases": [], "ordering_fields": [ - "anticipated_award_date", - "fiscal_year", - "title" + "award_date", + "obligated", + "total_contract_value" ], "pagination": { - "class": "CachedPageNumberPagination", + "class": "KeysetPagination", "max_page_size": 100 }, "shape": { "expands": { - "display": { + "awarding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "awards": { + "expands": {}, + "fields": [ + "award_date", + "base_and_exercised_options_value", + "description", + "fiscal_year", + "key", + "naics_code", + "obligated", + "piid", + "psc_code", + "total_contract_value", + "transactions" + ] + }, + "competition": { + "expands": {}, + "fields": [ + "contract_type", + "extent_competed", + "number_of_offers_received", + "other_than_full_and_open_competition", + "solicitation_date", + "solicitation_identifier", + "solicitation_procedures" + ] + }, + "funding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "gsa_elibrary": { + "expands": {}, + "fields": [ + "contract_number", + "cooperative_purchasing", + "disaster_recovery_purchasing", + "external_id", + "extracted_text", + "file_urls", + "schedule", + "sins", + "source_data", + "uei" + ] + }, + "idv_type": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "legislative_mandates": { + "expands": {}, + "fields": [ + "clinger_cohen_act_planning", + "construction_wage_rate_requirements", + "employment_eligibility_verification", + "interagency_contracting_authority", + "labor_standards", + "materials_supplies_articles_equipment", + "other_statutory_authority", + "service_contract_inventory" + ] + }, + "multiple_or_single_award_idv": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "naics": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "officers": { + "expands": {}, + "fields": [ + "highly_compensated_officer_1_amount", + "highly_compensated_officer_1_name", + "highly_compensated_officer_2_amount", + "highly_compensated_officer_2_name", + "highly_compensated_officer_3_amount", + "highly_compensated_officer_3_name", + "highly_compensated_officer_4_amount", + "highly_compensated_officer_4_name", + "highly_compensated_officer_5_amount", + "highly_compensated_officer_5_name" + ] + }, + "parent_award": { + "expands": {}, + "fields": [ + "key", + "piid" + ] + }, + "period_of_performance": { "expands": {}, "fields": [ - "agency", - "anticipated_award_date", - "contract_vehicle", - "description", - "estimated_period", - "fiscal_year", - "naics_code", - "place_of_performance", - "primary_contact", - "set_aside", - "status", - "title" + "last_date_to_order", + "start_date" ] }, - "organization": { + "place_of_performance": { "expands": {}, "fields": [ - "agency_code", - "agency_name", - "department_code", - "department_name", - "office_code", - "office_name", - "organization_id" + "city_name", + "country_code", + "country_name", + "state_code", + "state_name", + "zip_code" ] }, - "raw_data": { + "psc": { "expands": {}, "fields": [ - "*" + "code", + "description" + ] + }, + "recipient": { + "expands": {}, + "fields": [ + "cage", + "cage_code", + "display_name", + "legal_business_name", + "uei" + ] + }, + "set_aside": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "subawards_summary": { + "expands": {}, + "fields": [ + "count", + "total_amount" + ] + }, + "transactions": { + "expands": {}, + "fields": [ + "action_type", + "description", + "modification_number", + "obligated", + "transaction_date" + ] + }, + "type_of_idc": { + "expands": {}, + "fields": [ + "code", + "description" ] } }, "fields": [ - "agency", - "anticipated_award_date", - "contract_vehicle", - "created", + "award_date", + "commercial_item_acquisition_procedures", + "consolidated_contract", + "contingency_humanitarian_or_peacekeeping_operation", + "contract_bundling", + "contract_financing", + "cost_accounting_standards_clause", + "cost_or_pricing_data", "description", - "estimated_period", - "external_id", + "dod_acquisition_program", + "dod_transaction_number", + "domestic_or_foreign_entity", + "email_address", + "epa_designated_product", + "evaluated_preference", + "fair_opportunity_limited_sources", + "fed_biz_opps", + "fee_range_lower_value", + "fee_range_upper_value", "fiscal_year", - "id", - "is_active", - "modified", + "fixed_fee_value", + "foreign_funding", + "government_furnished_property", + "idv_type", + "idv_website", + "inherently_governmental_functions", + "key", + "local_area_set_aside", + "major_program", + "multiple_or_single_award_idv", "naics_code", - "organization_id", - "place_of_performance", - "primary_contact", - "raw_data", + "number_of_actions", + "number_of_offers_source", + "obligated", + "ordering_procedure", + "performance_based_service_acquisition", + "piid", + "program_acronym", + "psc_code", + "recovered_materials_sustainability", + "research", + "sam_exception", "set_aside", - "source_system", - "status", - "title" + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", + "solicitation_identifier", + "subawards_summary", + "subcontracting_plan", + "total_contract_value", + "total_estimated_order_value", + "tradeoff_process", + "transactions", + "type_of_fee_for_use_of_service", + "type_of_idc", + "undefinitized_action", + "vehicle_uuid", + "who_can_use" ] }, "shape_flat_paths": [ - "agency", - "anticipated_award_date", - "contract_vehicle", - "created", + "award_date", + "awarding_office", + "awarding_office.agency_code", + "awarding_office.agency_name", + "awarding_office.department_code", + "awarding_office.department_name", + "awarding_office.office_code", + "awarding_office.office_name", + "awarding_office.organization_id", + "awards", + "awards.award_date", + "awards.base_and_exercised_options_value", + "awards.description", + "awards.fiscal_year", + "awards.key", + "awards.naics_code", + "awards.obligated", + "awards.piid", + "awards.psc_code", + "awards.total_contract_value", + "awards.transactions", + "commercial_item_acquisition_procedures", + "competition", + "competition.contract_type", + "competition.extent_competed", + "competition.number_of_offers_received", + "competition.other_than_full_and_open_competition", + "competition.solicitation_date", + "competition.solicitation_identifier", + "competition.solicitation_procedures", + "consolidated_contract", + "contingency_humanitarian_or_peacekeeping_operation", + "contract_bundling", + "contract_financing", + "cost_accounting_standards_clause", + "cost_or_pricing_data", "description", - "display", - "display.agency", - "display.anticipated_award_date", - "display.contract_vehicle", - "display.description", - "display.estimated_period", - "display.fiscal_year", - "display.naics_code", - "display.place_of_performance", - "display.primary_contact", - "display.set_aside", - "display.status", - "display.title", - "estimated_period", - "external_id", + "dod_acquisition_program", + "dod_transaction_number", + "domestic_or_foreign_entity", + "email_address", + "epa_designated_product", + "evaluated_preference", + "fair_opportunity_limited_sources", + "fed_biz_opps", + "fee_range_lower_value", + "fee_range_upper_value", "fiscal_year", - "id", - "is_active", - "modified", + "fixed_fee_value", + "foreign_funding", + "funding_office", + "funding_office.agency_code", + "funding_office.agency_name", + "funding_office.department_code", + "funding_office.department_name", + "funding_office.office_code", + "funding_office.office_name", + "funding_office.organization_id", + "government_furnished_property", + "gsa_elibrary", + "gsa_elibrary.contract_number", + "gsa_elibrary.cooperative_purchasing", + "gsa_elibrary.disaster_recovery_purchasing", + "gsa_elibrary.external_id", + "gsa_elibrary.extracted_text", + "gsa_elibrary.file_urls", + "gsa_elibrary.schedule", + "gsa_elibrary.sins", + "gsa_elibrary.source_data", + "gsa_elibrary.uei", + "idv_type", + "idv_type.code", + "idv_type.description", + "idv_website", + "inherently_governmental_functions", + "key", + "legislative_mandates", + "legislative_mandates.clinger_cohen_act_planning", + "legislative_mandates.construction_wage_rate_requirements", + "legislative_mandates.employment_eligibility_verification", + "legislative_mandates.interagency_contracting_authority", + "legislative_mandates.labor_standards", + "legislative_mandates.materials_supplies_articles_equipment", + "legislative_mandates.other_statutory_authority", + "legislative_mandates.service_contract_inventory", + "local_area_set_aside", + "major_program", + "multiple_or_single_award_idv", + "multiple_or_single_award_idv.code", + "multiple_or_single_award_idv.description", + "naics", + "naics.code", + "naics.description", "naics_code", - "organization", - "organization.agency_code", - "organization.agency_name", - "organization.department_code", - "organization.department_name", - "organization.office_code", - "organization.office_name", - "organization.organization_id", - "organization_id", + "number_of_actions", + "number_of_offers_source", + "obligated", + "officers", + "officers.highly_compensated_officer_1_amount", + "officers.highly_compensated_officer_1_name", + "officers.highly_compensated_officer_2_amount", + "officers.highly_compensated_officer_2_name", + "officers.highly_compensated_officer_3_amount", + "officers.highly_compensated_officer_3_name", + "officers.highly_compensated_officer_4_amount", + "officers.highly_compensated_officer_4_name", + "officers.highly_compensated_officer_5_amount", + "officers.highly_compensated_officer_5_name", + "ordering_procedure", + "parent_award", + "parent_award.key", + "parent_award.piid", + "performance_based_service_acquisition", + "period_of_performance", + "period_of_performance.last_date_to_order", + "period_of_performance.start_date", + "piid", "place_of_performance", - "primary_contact", - "raw_data", - "raw_data.*", + "place_of_performance.city_name", + "place_of_performance.country_code", + "place_of_performance.country_name", + "place_of_performance.state_code", + "place_of_performance.state_name", + "place_of_performance.zip_code", + "program_acronym", + "psc", + "psc.code", + "psc.description", + "psc_code", + "recipient", + "recipient.cage", + "recipient.cage_code", + "recipient.display_name", + "recipient.legal_business_name", + "recipient.uei", + "recovered_materials_sustainability", + "research", + "sam_exception", "set_aside", - "source_system", - "status", - "title" + "set_aside.code", + "set_aside.description", + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", + "solicitation_identifier", + "subawards_summary", + "subawards_summary.count", + "subawards_summary.total_amount", + "subcontracting_plan", + "total_contract_value", + "total_estimated_order_value", + "tradeoff_process", + "transactions", + "transactions.action_type", + "transactions.description", + "transactions.modification_number", + "transactions.obligated", + "transactions.transaction_date", + "type_of_fee_for_use_of_service", + "type_of_idc", + "type_of_idc.code", + "type_of_idc.description", + "undefinitized_action", + "vehicle_uuid", + "who_can_use" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, - "viewset": "forecasts.views.ForecastViewSet" + "viewset": "awards.views.idvs.IDVViewSet" }, "swagger_has_key": true, "swagger_params": [ + "award_date", + "award_date_gte", + "award_date_lte", + "awarding_agency", + "cursor", + "expiring_gte", + "expiring_lte", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", "flat", "flat_lists", + "funding_agency", + "idv_type", "joiner", + "last_date_to_order_gte", + "last_date_to_order_lte", "limit", + "naics", "ordering", - "page", - "shape" + "piid", + "pop_start_date_gte", + "pop_start_date_lte", + "psc", + "recipient", + "set_aside", + "shape", + "show_shapes", + "uei" ] }, - "grants": { - "basename": "grantopportunity", + "idvs_awards": { + "basename": "idvs_awards", "docs_file": null, "docs_params": [], - "prefix": "grants", - "resource_key": "grants", + "prefix": "idvs//awards/", + "resource_key": "idvs_awards", "runtime": { "filter_params": [ - "agency", - "applicant_types", - "cfda_number", - "funding_categories", - "funding_instruments", - "grant_id", - "opportunity_number", - "posted_date_after", - "posted_date_before", - "response_date_after", - "response_date_before", + "award_date", + "award_date_gte", + "award_date_lte", + "award_type", + "awarding_agency", + "expiring_gte", + "expiring_lte", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "funding_agency", + "key", + "naics", + "obligated_gte", + "obligated_lte", + "ordering", + "piid", + "pop_end_date_gte", + "pop_end_date_lte", + "pop_start_date_gte", + "pop_start_date_lte", + "psc", + "recipient", "search", - "status" + "set_aside", + "solicitation_identifier", + "uei" ], "filter_params_detail": { - "agency": { - "filter_class": "OrganizationScopeAgencyFilter", - "type": "string" - }, - "applicant_types": { - "choices": [ - "00", - "01", - "02", - "04", - "05", - "06", - "07", - "08", - "11", - "12", - "13", - "20", - "21", - "22", - "23", - "25", - "99", - "DESCRIPTION" - ], - "choices_count": 18, - "filter_class": "CaseInsensitiveChoiceFilter", - "lookup": "icontains", - "type": "choice" + "award_date": { + "filter_class": "DateFilter", + "type": "date" }, - "cfda_number": { - "filter_class": "CharFilter", - "lookup": "icontains", - "type": "string" + "award_date_gte": { + "filter_class": "DateFilter", + "type": "date" }, - "funding_categories": { - "choices": [ - "AG", - "AR", - "BC", - "CD", - "CP", - "DESCRIPTION", - "DPR", - "ED", - "EL", - "ELT", - "EN", - "ENV", - "FN", - "HE", - "HL", - "HO", - "HU", - "IE", - "IIJ", - "IS", - "ISS", - "LJ", - "LJL", - "MH", - "NR", - "O", - "OZ", - "RA", - "RD", - "ST", - "T", - "TR" - ], - "choices_count": 32, - "filter_class": "CaseInsensitiveChoiceFilter", - "lookup": "icontains", - "type": "choice" + "award_date_lte": { + "filter_class": "DateFilter", + "type": "date" }, - "funding_instruments": { + "award_type": { "choices": [ - "CA", + "A", + "B", + "C", "D", - "DESCRIPTION", - "G", - "L", - "O", - "PC", - "S", - "U", - "V" + "a", + "b", + "c", + "d" ], - "choices_count": 10, - "filter_class": "CaseInsensitiveChoiceFilter", - "lookup": "icontains", + "choices_count": 8, + "filter_class": "UppercaseCodeChoiceFilter", "type": "choice" }, - "grant_id": { + "awarding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "expiring_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "expiring_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "fiscal_year": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year_gte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year_lte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "funding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "key": { "filter_class": "IdListFilter", "type": "string" }, - "opportunity_number": { - "filter_class": "CharFilter", + "naics": { + "filter_class": "CustomNAICSFilter", "type": "string" }, - "posted_date_after": { - "filter_class": "DateFromToRangeFilter", + "obligated_gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "obligated_lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-total_contract_value", + "award_date", + "obligated", + "total_contract_value" + ], + "choices_count": 6, + "filter_class": "OrderingFilter", + "type": "ordering" + }, + "piid": { + "filter_class": "UppercaseCharFilter", + "type": "string" + }, + "pop_end_date_gte": { + "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, - "posted_date_before": { - "filter_class": "DateFromToRangeFilter", + "pop_end_date_lte": { + "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, - "response_date_after": { - "filter_class": "DateFromToRangeFilter", + "pop_start_date_gte": { + "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, - "response_date_before": { - "filter_class": "DateFromToRangeFilter", + "pop_start_date_lte": { + "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, + "psc": { + "filter_class": "CustomPSCFilter", + "type": "string" + }, + "recipient": { + "filter_class": "CharFilter", + "type": "string" + }, "search": { - "filter_class": "BaseSmartFilter", + "filter_class": "CharFilter", "type": "string" }, - "status": { - "choices": [ - "F", - "P" - ], - "choices_count": 2, - "filter_class": "CaseInsensitiveChoiceFilter", - "type": "choice" + "set_aside": { + "filter_class": "CustomSetAsideFilter", + "type": "string" + }, + "solicitation_identifier": { + "filter_class": "SolicitationNumberFilter", + "type": "string" + }, + "uei": { + "filter_class": "UppercaseCharFilter", + "type": "string" } }, - "ordering_aliases": [ - "last_updated" - ], + "ordering_aliases": [], "ordering_fields": [ - "deadline_current", - "posted_date", - "rank" + "award_date", + "obligated", + "total_contract_value" ], "pagination": { - "class": "StandardResultsSetPagination", + "class": "KeysetPagination", "max_page_size": 100 }, "shape": { "expands": { - "additional_info": { + "award_type": { "expands": {}, "fields": [ - "description", - "link" + "code", + "description" + ] + }, + "awarding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "commercial_item_acquisition_procedures": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "competition": { + "expands": {}, + "fields": [ + "contract_type", + "extent_competed", + "number_of_offers_received", + "other_than_full_and_open_competition", + "solicitation_date", + "solicitation_identifier", + "solicitation_procedures" + ] + }, + "consolidated_contract": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "contingency_humanitarian_or_peacekeeping_operation": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "contract_bundling": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "cost_accounting_standards_clause": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "cost_or_pricing_data": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "domestic_or_foreign_entity": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "epa_designated_product": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "evaluated_preference": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "fair_opportunity_limited_sources": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "fed_biz_opps": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "foreign_funding": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "funding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "information_technology_commercial_item_category": { + "expands": {}, + "fields": [ + "code", + "description" ] }, - "applicant_types": { + "inherently_governmental_functions": { "expands": {}, "fields": [ "code", "description" ] }, - "attachments": { + "legislative_mandates": { "expands": {}, "fields": [ - "mime_type", - "name", - "posted_date", - "resource_id", - "type", - "url" + "clinger_cohen_act_planning", + "construction_wage_rate_requirements", + "employment_eligibility_verification", + "interagency_contracting_authority", + "labor_standards", + "materials_supplies_articles_equipment", + "other_statutory_authority", + "service_contract_inventory" ] }, - "category": { + "naics": { "expands": {}, "fields": [ "code", "description" ] }, - "cfda_numbers": { + "officers": { "expands": {}, "fields": [ - "number", - "title" + "highly_compensated_officer_1_amount", + "highly_compensated_officer_1_name", + "highly_compensated_officer_2_amount", + "highly_compensated_officer_2_name", + "highly_compensated_officer_3_amount", + "highly_compensated_officer_3_name", + "highly_compensated_officer_4_amount", + "highly_compensated_officer_4_name", + "highly_compensated_officer_5_amount", + "highly_compensated_officer_5_name" ] }, - "funding_categories": { + "parent_award": { + "expands": {}, + "fields": [ + "key", + "piid" + ] + }, + "performance_based_service_acquisition": { "expands": {}, "fields": [ "code", "description" ] }, - "funding_details": { + "period_of_performance": { "expands": {}, "fields": [ - "award_ceiling", - "award_floor", - "estimated_total_funding", - "expected_number_of_awards" + "current_end_date", + "start_date", + "ultimate_completion_date" ] }, - "funding_instruments": { + "place_of_manufacture": { "expands": {}, "fields": [ "code", "description" ] }, - "grantor_contact": { + "place_of_performance": { "expands": {}, "fields": [ - "email", - "name", - "phone" + "city_name", + "country_code", + "country_name", + "state_code", + "state_name", + "zip_code" ] }, - "important_dates": { + "psc": { "expands": {}, "fields": [ - "estimated_application_response_date", - "estimated_application_response_date_description", - "estimated_project_start_date", - "estimated_synopsis_post_date", - "posted_date", - "response_date", - "response_date_description" + "code", + "description" ] }, - "organization": { + "recipient": { "expands": {}, "fields": [ - "agency_code", - "agency_name", - "department_code", - "department_name", - "office_code", - "office_name", - "organization_id" + "cage", + "cage_code", + "display_name", + "legal_business_name", + "uei" ] }, - "status": { + "recovered_materials_sustainability": { "expands": {}, "fields": [ "code", "description" ] - } - }, - "fields": [ - "agency_code", - "applicant_eligibility_description", - "description", - "forecast", - "funding_activity_category_description", - "grant_id", - "grantor_contact", - "last_updated", - "opportunity_history", - "opportunity_number", - "organization_id", - "status", - "synopsis", - "title" - ] - }, - "shape_flat_paths": [ - "additional_info", - "additional_info.description", - "additional_info.link", - "agency_code", - "applicant_eligibility_description", - "applicant_types", - "applicant_types.code", - "applicant_types.description", - "attachments", - "attachments.mime_type", - "attachments.name", - "attachments.posted_date", - "attachments.resource_id", - "attachments.type", - "attachments.url", - "category", - "category.code", - "category.description", - "cfda_numbers", - "cfda_numbers.number", - "cfda_numbers.title", - "description", - "forecast", - "funding_activity_category_description", - "funding_categories", - "funding_categories.code", - "funding_categories.description", - "funding_details", - "funding_details.award_ceiling", - "funding_details.award_floor", - "funding_details.estimated_total_funding", - "funding_details.expected_number_of_awards", - "funding_instruments", - "funding_instruments.code", - "funding_instruments.description", - "grant_id", - "grantor_contact", - "grantor_contact.email", - "grantor_contact.name", - "grantor_contact.phone", - "important_dates", - "important_dates.estimated_application_response_date", - "important_dates.estimated_application_response_date_description", - "important_dates.estimated_project_start_date", - "important_dates.estimated_synopsis_post_date", - "important_dates.posted_date", - "important_dates.response_date", - "important_dates.response_date_description", - "last_updated", - "opportunity_history", - "opportunity_number", - "organization", - "organization.agency_code", - "organization.agency_name", - "organization.department_code", - "organization.department_name", - "organization.office_code", - "organization.office_name", - "organization.organization_id", - "organization_id", - "status", - "status.code", - "status.description", - "synopsis", - "title" - ], - "shape_supported": true, - "shape_tier_required": null, - "viewset": "grants.views.GrantOpportunityViewSet" - }, - "swagger_has_key": true, - "swagger_params": [ - "flat", - "flat_lists", - "joiner", - "limit", - "page", - "shape", - "show_shapes" - ] - }, - "gsa_elibrary_contracts": { - "basename": "gsa-elibrary-contract", - "docs_file": null, - "docs_params": [], - "prefix": "gsa_elibrary_contracts", - "resource_key": "gsa_elibrary_contracts", - "runtime": { - "filter_params": [ - "contract_number", - "key", - "piid", - "schedule", - "search", - "sin", - "uei" - ], - "filter_params_detail": { - "contract_number": { - "filter_class": "UppercaseCharFilter", - "type": "string" - }, - "key": { - "filter_class": "CharFilter", - "lookup": "iexact", - "type": "string" - }, - "piid": { - "filter_class": "CharFilter", - "lookup": "iexact", - "type": "string" - }, - "schedule": { - "filter_class": "UppercaseCharFilter", - "type": "string" - }, - "search": { - "filter_class": "CharFilter", - "type": "string" - }, - "sin": { - "filter_class": "CharFilter", - "type": "string" - }, - "uei": { - "filter_class": "CharFilter", - "type": "string" - } - }, - "ordering_aliases": [], - "ordering_fields": [ - "contract_number", - "last_updated", - "schedule" - ], - "pagination": { - "class": "ExactCountPagination", - "max_page_size": 100 - }, - "shape": { - "expands": { - "idv": { + }, + "research": { "expands": {}, "fields": [ - "award_date", - "key" + "code", + "description" ] }, - "recipient": { + "sam_exception": { "expands": {}, "fields": [ - "display_name", - "uei" + "code", + "description" + ] + }, + "set_aside": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "subawards_summary": { + "expands": {}, + "fields": [ + "count", + "total_amount" + ] + }, + "subcontracting_plan": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "tradeoff_process": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "transactions": { + "expands": {}, + "fields": [ + "action_type", + "description", + "modification_number", + "obligated", + "transaction_date" + ] + }, + "undefinitized_action": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "vehicle": { + "expands": {}, + "fields": [ + "agency_id", + "award_date", + "contract_type", + "description", + "fiscal_year", + "last_date_to_order", + "naics_code", + "psc_code", + "set_aside", + "solicitation_date", + "solicitation_description", + "solicitation_identifier", + "solicitation_title", + "type_of_idc", + "uuid", + "vehicle_type", + "who_can_use" ] } }, "fields": [ - "contract_number", - "cooperative_purchasing", - "disaster_recovery_purchasing", - "file_urls", - "schedule", - "sins", - "uei", - "uuid" + "award_date", + "award_type", + "base_and_exercised_options_value", + "contract_financing", + "description", + "dod_acquisition_program", + "dod_transaction_number", + "fiscal_year", + "government_furnished_property", + "key", + "local_area_set_aside", + "major_program", + "naics_code", + "number_of_actions", + "number_of_offers_source", + "obligated", + "piid", + "price_evaluation_percent_difference", + "psc_code", + "purchase_card_as_payment_method", + "set_aside", + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", + "solicitation_identifier", + "subawards_summary", + "total_contract_value", + "transactions", + "type_of_set_aside_source" ] }, "shape_flat_paths": [ - "contract_number", - "cooperative_purchasing", - "disaster_recovery_purchasing", - "file_urls", - "idv", - "idv.award_date", - "idv.key", + "award_date", + "award_type", + "award_type.code", + "award_type.description", + "awarding_office", + "awarding_office.agency_code", + "awarding_office.agency_name", + "awarding_office.department_code", + "awarding_office.department_name", + "awarding_office.office_code", + "awarding_office.office_name", + "awarding_office.organization_id", + "base_and_exercised_options_value", + "commercial_item_acquisition_procedures", + "commercial_item_acquisition_procedures.code", + "commercial_item_acquisition_procedures.description", + "competition", + "competition.contract_type", + "competition.extent_competed", + "competition.number_of_offers_received", + "competition.other_than_full_and_open_competition", + "competition.solicitation_date", + "competition.solicitation_identifier", + "competition.solicitation_procedures", + "consolidated_contract", + "consolidated_contract.code", + "consolidated_contract.description", + "contingency_humanitarian_or_peacekeeping_operation", + "contingency_humanitarian_or_peacekeeping_operation.code", + "contingency_humanitarian_or_peacekeeping_operation.description", + "contract_bundling", + "contract_bundling.code", + "contract_bundling.description", + "contract_financing", + "cost_accounting_standards_clause", + "cost_accounting_standards_clause.code", + "cost_accounting_standards_clause.description", + "cost_or_pricing_data", + "cost_or_pricing_data.code", + "cost_or_pricing_data.description", + "description", + "dod_acquisition_program", + "dod_transaction_number", + "domestic_or_foreign_entity", + "domestic_or_foreign_entity.code", + "domestic_or_foreign_entity.description", + "epa_designated_product", + "epa_designated_product.code", + "epa_designated_product.description", + "evaluated_preference", + "evaluated_preference.code", + "evaluated_preference.description", + "fair_opportunity_limited_sources", + "fair_opportunity_limited_sources.code", + "fair_opportunity_limited_sources.description", + "fed_biz_opps", + "fed_biz_opps.code", + "fed_biz_opps.description", + "fiscal_year", + "foreign_funding", + "foreign_funding.code", + "foreign_funding.description", + "funding_office", + "funding_office.agency_code", + "funding_office.agency_name", + "funding_office.department_code", + "funding_office.department_name", + "funding_office.office_code", + "funding_office.office_name", + "funding_office.organization_id", + "government_furnished_property", + "information_technology_commercial_item_category", + "information_technology_commercial_item_category.code", + "information_technology_commercial_item_category.description", + "inherently_governmental_functions", + "inherently_governmental_functions.code", + "inherently_governmental_functions.description", + "key", + "legislative_mandates", + "legislative_mandates.clinger_cohen_act_planning", + "legislative_mandates.construction_wage_rate_requirements", + "legislative_mandates.employment_eligibility_verification", + "legislative_mandates.interagency_contracting_authority", + "legislative_mandates.labor_standards", + "legislative_mandates.materials_supplies_articles_equipment", + "legislative_mandates.other_statutory_authority", + "legislative_mandates.service_contract_inventory", + "local_area_set_aside", + "major_program", + "naics", + "naics.code", + "naics.description", + "naics_code", + "number_of_actions", + "number_of_offers_source", + "obligated", + "officers", + "officers.highly_compensated_officer_1_amount", + "officers.highly_compensated_officer_1_name", + "officers.highly_compensated_officer_2_amount", + "officers.highly_compensated_officer_2_name", + "officers.highly_compensated_officer_3_amount", + "officers.highly_compensated_officer_3_name", + "officers.highly_compensated_officer_4_amount", + "officers.highly_compensated_officer_4_name", + "officers.highly_compensated_officer_5_amount", + "officers.highly_compensated_officer_5_name", + "parent_award", + "parent_award.key", + "parent_award.piid", + "performance_based_service_acquisition", + "performance_based_service_acquisition.code", + "performance_based_service_acquisition.description", + "period_of_performance", + "period_of_performance.current_end_date", + "period_of_performance.start_date", + "period_of_performance.ultimate_completion_date", + "piid", + "place_of_manufacture", + "place_of_manufacture.code", + "place_of_manufacture.description", + "place_of_performance", + "place_of_performance.city_name", + "place_of_performance.country_code", + "place_of_performance.country_name", + "place_of_performance.state_code", + "place_of_performance.state_name", + "place_of_performance.zip_code", + "price_evaluation_percent_difference", + "psc", + "psc.code", + "psc.description", + "psc_code", + "purchase_card_as_payment_method", "recipient", + "recipient.cage", + "recipient.cage_code", "recipient.display_name", + "recipient.legal_business_name", "recipient.uei", - "schedule", - "sins", - "uei", - "uuid" + "recovered_materials_sustainability", + "recovered_materials_sustainability.code", + "recovered_materials_sustainability.description", + "research", + "research.code", + "research.description", + "sam_exception", + "sam_exception.code", + "sam_exception.description", + "set_aside", + "set_aside.code", + "set_aside.description", + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", + "solicitation_identifier", + "subawards_summary", + "subawards_summary.count", + "subawards_summary.total_amount", + "subcontracting_plan", + "subcontracting_plan.code", + "subcontracting_plan.description", + "total_contract_value", + "tradeoff_process", + "tradeoff_process.code", + "tradeoff_process.description", + "transactions", + "transactions.action_type", + "transactions.description", + "transactions.modification_number", + "transactions.obligated", + "transactions.transaction_date", + "type_of_set_aside_source", + "undefinitized_action", + "undefinitized_action.code", + "undefinitized_action.description", + "vehicle", + "vehicle.agency_id", + "vehicle.award_date", + "vehicle.contract_type", + "vehicle.description", + "vehicle.fiscal_year", + "vehicle.last_date_to_order", + "vehicle.naics_code", + "vehicle.psc_code", + "vehicle.set_aside", + "vehicle.solicitation_date", + "vehicle.solicitation_description", + "vehicle.solicitation_identifier", + "vehicle.solicitation_title", + "vehicle.type_of_idc", + "vehicle.uuid", + "vehicle.vehicle_type", + "vehicle.who_can_use" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, - "viewset": "awards.views.gsa_elibrary.GsaELibraryContractViewSet" + "viewset": "awards.views.idvs.IDVAwardsViewSet" }, - "swagger_has_key": true, - "swagger_params": [ - "contract_number", - "flat", - "flat_lists", - "joiner", - "key", - "limit", - "ordering", - "page", - "piid", - "schedule", - "search", - "shape", - "show_shapes", - "sin", - "uei" - ] + "swagger_has_key": false, + "swagger_params": [] }, - "idvs": { - "basename": "idv", + "idvs_idvs": { + "basename": "idvs_idvs", "docs_file": null, "docs_params": [], - "prefix": "idvs", - "resource_key": "idvs", + "prefix": "idvs//idvs/", + "resource_key": "idvs_idvs", "runtime": { "filter_params": [ "award_date", @@ -3892,7 +9436,7 @@ "type": "string" }, "solicitation_identifier": { - "filter_class": "UppercaseCharFilter", + "filter_class": "SolicitationNumberFilter", "type": "string" }, "uei": { @@ -4328,42 +9872,212 @@ "vehicle_uuid", "who_can_use" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, - "viewset": "awards.views.idvs.IDVViewSet" + "viewset": "awards.views.idvs.IDVChildIDVsViewSet" }, - "swagger_has_key": true, - "swagger_params": [ - "award_date", - "award_date_gte", - "award_date_lte", - "awarding_agency", - "cursor", - "expiring_gte", - "expiring_lte", - "fiscal_year", - "fiscal_year_gte", - "fiscal_year_lte", - "flat", - "flat_lists", - "funding_agency", - "idv_type", - "joiner", - "last_date_to_order_gte", - "last_date_to_order_lte", - "limit", - "naics", - "ordering", - "piid", - "pop_start_date_gte", - "pop_start_date_lte", - "psc", - "recipient", - "set_aside", - "shape", - "show_shapes", - "uei" - ] + "swagger_has_key": false, + "swagger_params": [] + }, + "idvs_lcats": { + "basename": "idvs_lcats", + "docs_file": null, + "docs_params": [], + "prefix": "idvs//lcats/", + "resource_key": "idvs_lcats", + "runtime": { + "filter_params": [ + "business_size", + "category", + "education_level", + "idv_piid", + "key", + "labor_category", + "min_years_experience_gte", + "min_years_experience_lte", + "piid", + "price_gte", + "price_lte", + "search", + "security_clearance", + "sin", + "vendor_name", + "worksite" + ], + "filter_params_detail": { + "business_size": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "category": { + "filter_class": "CharFilter", + "lookup": "icontains", + "type": "string" + }, + "education_level": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "idv_piid": { + "filter_class": "UppercaseCharFilter", + "type": "string" + }, + "key": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "labor_category": { + "filter_class": "CharFilter", + "lookup": "icontains", + "type": "string" + }, + "min_years_experience_gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "min_years_experience_lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "piid": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "price_gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "price_lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "search": { + "filter_class": "CharFilter", + "type": "string" + }, + "security_clearance": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "sin": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "vendor_name": { + "filter_class": "CharFilter", + "lookup": "icontains", + "type": "string" + }, + "worksite": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "current_price", + "education_level", + "labor_category", + "min_years_experience", + "modified", + "vendor_name" + ], + "pagination": { + "class": "ExactCountPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "business_size": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "idv": { + "expands": {}, + "fields": [ + "award_date", + "key", + "piid" + ] + }, + "recipient": { + "expands": {}, + "fields": [ + "display_name", + "uei" + ] + } + }, + "fields": [ + "category", + "contract_end", + "contract_start", + "current_price", + "education_level", + "experience_range", + "labor_category", + "min_years_experience", + "schedule", + "security_clearance", + "sin", + "subcategory", + "uuid", + "worksite" + ] + }, + "shape_flat_paths": [ + "business_size", + "business_size.code", + "business_size.description", + "category", + "contract_end", + "contract_start", + "current_price", + "education_level", + "experience_range", + "idv", + "idv.award_date", + "idv.key", + "idv.piid", + "labor_category", + "min_years_experience", + "recipient", + "recipient.display_name", + "recipient.uei", + "schedule", + "security_clearance", + "sin", + "subcategory", + "uuid", + "worksite" + ], + "shape_gated_by_level": { + "free": [ + "idv", + "recipient" + ] + }, + "shape_supported": true, + "shape_tier_required": "pro", + "viewset": "awards.views.calc.IDVCalcRateViewSet" + }, + "swagger_has_key": false, + "swagger_params": [] }, "itdashboard": { "basename": "itdashboardinvestment", @@ -4613,6 +10327,14 @@ "updated_time", "url" ], + "shape_gated_by_level": { + "free": [ + "business_case_html" + ], + "pro": [ + "business_case_html" + ] + }, "shape_supported": true, "shape_tier_required": "business", "viewset": "itdashboard.views.ITDashboardInvestmentViewSet" @@ -4679,6 +10401,7 @@ "tdr", "title" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, "viewset": "shared.views.MasSinsViewSet" @@ -4783,6 +10506,7 @@ "size_standards.employee_limit", "size_standards.revenue_limit" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, "viewset": "shared.views.NaicsCodeViewSet" @@ -4857,6 +10581,7 @@ }, "shape": null, "shape_flat_paths": [], + "shape_gated_by_level": {}, "shape_supported": false, "shape_tier_required": null, "viewset": "g2x.views.content.NewsViewSet" @@ -4935,7 +10660,7 @@ "type": "string" }, "solicitation_number": { - "filter_class": "CharFilter", + "filter_class": "SolicitationNumberFilter", "type": "string" } }, @@ -5149,6 +10874,11 @@ "solicitation_number", "title" ], + "shape_gated_by_level": { + "free": [ + "attachments.extracted_text" + ] + }, "shape_supported": true, "shape_tier_required": "pro", "viewset": "opportunities.views.NoticeViewSet" @@ -5254,6 +10984,7 @@ "office_code", "office_name" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, "viewset": "agencies.views.OfficeViewSet" @@ -5362,7 +11093,7 @@ "type": "string" }, "solicitation_number": { - "filter_class": "BaseSmartFilter", + "filter_class": "SolicitationNumberFilter", "type": "string" } }, @@ -5534,157 +11265,523 @@ ] }, "shape_flat_paths": [ - "active", + "active", + "agency", + "agency.abbreviation", + "agency.code", + "agency.name", + "agency_id", + "archive_date", + "attachments", + "attachments.attachment_id", + "attachments.extracted_text", + "attachments.file_size", + "attachments.mime_type", + "attachments.name", + "attachments.posted_date", + "attachments.resource_id", + "attachments.type", + "attachments.url", + "award_number", + "department", + "department.abbreviation", + "department.cgac", + "department.code", + "department.congressional_justification", + "department.description", + "department.name", + "department.website", + "department_id", + "description", + "first_notice_date", + "last_notice_date", + "latest_notice", + "latest_notice.link", + "latest_notice.notice_id", + "latest_notice_id", + "meta", + "meta.attachments_count", + "meta.notice_type", + "meta.notice_type.code", + "meta.notice_type.type", + "meta.notices_count", + "naics_code", + "notice_history", + "notice_history.deleted", + "notice_history.index", + "notice_history.latest", + "notice_history.notice_id", + "notice_history.notice_type_code", + "notice_history.parent_notice_id", + "notice_history.posted_date", + "notice_history.related_notice_id", + "notice_history.solicitation_number", + "notice_history.title", + "office", + "office.agency_code", + "office.agency_name", + "office.department_code", + "office.department_name", + "office.office_code", + "office.office_name", + "office.organization_id", + "office_id", + "opportunity_id", + "place_of_performance", + "place_of_performance.city", + "place_of_performance.country", + "place_of_performance.state", + "place_of_performance.street_address", + "place_of_performance.zip", + "primary_contact", + "primary_contact.email", + "primary_contact.fax", + "primary_contact.full_name", + "primary_contact.phone", + "primary_contact.title", + "psc_code", + "response_deadline", + "sam_url", + "secondary_contact", + "secondary_contact.email", + "secondary_contact.fax", + "secondary_contact.full_name", + "secondary_contact.phone", + "secondary_contact.title", + "set_aside", + "set_aside.code", + "set_aside.description", + "snippet", + "solicitation_number", + "title" + ], + "shape_gated_by_level": { + "free": [ + "attachments.extracted_text" + ] + }, + "shape_supported": true, + "shape_tier_required": "pro", + "viewset": "opportunities.views.OpportunityViewSet" + }, + "swagger_has_key": true, + "swagger_params": [ + "active", + "agency", + "first_notice_date_after", + "first_notice_date_before", + "flat", + "flat_lists", + "joiner", + "last_notice_date_after", + "last_notice_date_before", + "limit", + "naics", + "notice_type", + "ordering", + "page", + "place_of_performance", + "psc", + "response_deadline_after", + "response_deadline_before", + "search", + "set_aside", + "shape", + "show_shapes", + "solicitation_number" + ] + }, + "organizations": { + "basename": "organization", + "docs_file": null, + "docs_params": [], + "prefix": "organizations", + "resource_key": "organizations", + "runtime": { + "filter_params": [ + "cgac", + "include_inactive", + "level", + "parent", + "search", + "type" + ], + "filter_params_detail": { + "cgac": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "include_inactive": { + "filter_class": "CharFilter", + "type": "string" + }, + "level": { + "filter_class": "NumberFilter", + "type": "number" + }, + "parent": { + "filter_class": "CharFilter", + "type": "string" + }, + "search": { + "filter_class": "CharFilter", + "type": "string" + }, + "type": { + "choices": [ + "AGENCY", + "DEPARTMENT", + "MAJOR COMMAND", + "OFFICE", + "SUB COMMAND" + ], + "choices_count": 5, + "filter_class": "LenientMultipleChoiceFilter", + "type": "choice" + } + }, + "ordering_aliases": [], + "ordering_fields": [], + "pagination": { + "class": "CachedPageNumberPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "agency": { + "expands": {}, + "fields": [ + "abbreviation", + "code", + "name" + ] + }, + "ancestors": { + "expands": {}, + "fields": [ + "fh_key", + "level", + "name", + "short_name" + ] + }, + "budget_appropriation": { + "expands": {}, + "fields": [ + "cgac", + "fiscal_year", + "n_accounts", + "scope", + "summary", + "top_accounts" + ] + }, + "budget_spending": { + "expands": {}, + "fields": [ + "fiscal_year", + "n_orgs_in_rollup", + "organization_id", + "summary", + "top_accounts" + ] + }, + "children": { + "expands": {}, + "fields": [ + "cgac", + "code", + "fh_key", + "is_active", + "key", + "level", + "name", + "short_name", + "type" + ] + }, + "department": { + "expands": {}, + "fields": [ + "abbreviation", + "code", + "name" + ] + }, + "parent": { + "expands": {}, + "fields": [ + "cgac", + "code", + "fh_key", + "is_active", + "key", + "level", + "name", + "short_name", + "type" + ] + } + }, + "fields": [ + "aac_code", + "canonical_code", + "cgac", + "code", + "description", + "end_date", + "fh_key", + "fpds_code", + "fpds_org_id", + "full_parent_path_name", + "is_active", + "key", + "l1_fh_key", + "l2_fh_key", + "l3_fh_key", + "l4_fh_key", + "l5_fh_key", + "l6_fh_key", + "l7_fh_key", + "l8_fh_key", + "level", + "logo", + "mod_status", + "name", + "obligation_rank", + "obligations", + "parent_fh_key", + "short_name", + "start_date", + "summary", + "total_obligations", + "tree_obligations", + "type" + ] + }, + "shape_flat_paths": [ + "aac_code", "agency", "agency.abbreviation", "agency.code", "agency.name", - "agency_id", - "archive_date", - "attachments", - "attachments.attachment_id", - "attachments.extracted_text", - "attachments.file_size", - "attachments.mime_type", - "attachments.name", - "attachments.posted_date", - "attachments.resource_id", - "attachments.type", - "attachments.url", - "award_number", + "ancestors", + "ancestors.fh_key", + "ancestors.level", + "ancestors.name", + "ancestors.short_name", + "budget_appropriation", + "budget_appropriation.cgac", + "budget_appropriation.fiscal_year", + "budget_appropriation.n_accounts", + "budget_appropriation.scope", + "budget_appropriation.summary", + "budget_appropriation.top_accounts", + "budget_spending", + "budget_spending.fiscal_year", + "budget_spending.n_orgs_in_rollup", + "budget_spending.organization_id", + "budget_spending.summary", + "budget_spending.top_accounts", + "canonical_code", + "cgac", + "children", + "children.cgac", + "children.code", + "children.fh_key", + "children.is_active", + "children.key", + "children.level", + "children.name", + "children.short_name", + "children.type", + "code", "department", "department.abbreviation", - "department.cgac", "department.code", - "department.congressional_justification", - "department.description", "department.name", - "department.website", - "department_id", "description", - "first_notice_date", - "last_notice_date", - "latest_notice", - "latest_notice.link", - "latest_notice.notice_id", - "latest_notice_id", - "meta", - "meta.attachments_count", - "meta.notice_type", - "meta.notice_type.code", - "meta.notice_type.type", - "meta.notices_count", - "naics_code", - "notice_history", - "notice_history.deleted", - "notice_history.index", - "notice_history.latest", - "notice_history.notice_id", - "notice_history.notice_type_code", - "notice_history.parent_notice_id", - "notice_history.posted_date", - "notice_history.related_notice_id", - "notice_history.solicitation_number", - "notice_history.title", - "office", - "office.agency_code", - "office.agency_name", - "office.department_code", - "office.department_name", - "office.office_code", - "office.office_name", - "office.organization_id", - "office_id", - "opportunity_id", - "place_of_performance", - "place_of_performance.city", - "place_of_performance.country", - "place_of_performance.state", - "place_of_performance.street_address", - "place_of_performance.zip", - "primary_contact", - "primary_contact.email", - "primary_contact.fax", - "primary_contact.full_name", - "primary_contact.phone", - "primary_contact.title", - "psc_code", - "response_deadline", - "sam_url", - "secondary_contact", - "secondary_contact.email", - "secondary_contact.fax", - "secondary_contact.full_name", - "secondary_contact.phone", - "secondary_contact.title", - "set_aside", - "set_aside.code", - "set_aside.description", - "snippet", - "solicitation_number", - "title" + "end_date", + "fh_key", + "fpds_code", + "fpds_org_id", + "full_parent_path_name", + "is_active", + "key", + "l1_fh_key", + "l2_fh_key", + "l3_fh_key", + "l4_fh_key", + "l5_fh_key", + "l6_fh_key", + "l7_fh_key", + "l8_fh_key", + "level", + "logo", + "mod_status", + "name", + "obligation_rank", + "obligations", + "parent", + "parent.cgac", + "parent.code", + "parent.fh_key", + "parent.is_active", + "parent.key", + "parent.level", + "parent.name", + "parent.short_name", + "parent.type", + "parent_fh_key", + "short_name", + "start_date", + "summary", + "total_obligations", + "tree_obligations", + "type" ], + "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": "pro", - "viewset": "opportunities.views.OpportunityViewSet" + "shape_tier_required": null, + "viewset": "agencies.views.OrganizationViewSet" }, "swagger_has_key": true, "swagger_params": [ - "active", - "agency", - "first_notice_date_after", - "first_notice_date_before", + "cgac", "flat", "flat_lists", + "include_inactive", "joiner", - "last_notice_date_after", - "last_notice_date_before", + "level", "limit", - "naics", - "notice_type", - "ordering", "page", - "place_of_performance", - "psc", - "response_deadline_after", - "response_deadline_before", + "parent", "search", - "set_aside", "shape", "show_shapes", - "solicitation_number" + "type" ] }, - "organizations": { - "basename": "organization", + "otas": { + "basename": "ota", "docs_file": null, "docs_params": [], - "prefix": "organizations", - "resource_key": "organizations", + "prefix": "otas", + "resource_key": "otas", "runtime": { "filter_params": [ - "cgac", - "include_inactive", - "level", - "parent", + "award_date", + "award_date_gte", + "award_date_lte", + "awarding_agency", + "expiring_gte", + "expiring_lte", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "funding_agency", + "key", + "ordering", + "piid", + "pop_end_date_gte", + "pop_end_date_lte", + "pop_start_date_gte", + "pop_start_date_lte", + "psc", + "recipient", "search", - "type" - ], - "filter_params_detail": { - "cgac": { - "filter_class": "CharFilter", - "lookup": "iexact", - "type": "string" + "uei" + ], + "filter_params_detail": { + "award_date": { + "filter_class": "DateFilter", + "type": "date" }, - "include_inactive": { - "filter_class": "CharFilter", + "award_date_gte": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_date_lte": { + "filter_class": "DateFilter", + "type": "date" + }, + "awarding_agency": { + "filter_class": "PerformantAgencyFilter", "type": "string" }, - "level": { + "expiring_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "expiring_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "fiscal_year": { "filter_class": "NumberFilter", "type": "number" }, - "parent": { + "fiscal_year_gte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year_lte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "funding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "key": { + "filter_class": "IdListFilter", + "type": "string" + }, + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-total_contract_value", + "award_date", + "obligated", + "total_contract_value" + ], + "choices_count": 6, + "filter_class": "OrderingFilter", + "type": "ordering" + }, + "piid": { + "filter_class": "UppercaseCharFilter", + "type": "string" + }, + "pop_end_date_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "pop_end_date_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "pop_start_date_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "pop_start_date_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "psc": { + "filter_class": "CustomPSCFilter", + "type": "string" + }, + "recipient": { "filter_class": "CharFilter", "type": "string" }, @@ -5692,246 +11789,237 @@ "filter_class": "CharFilter", "type": "string" }, - "type": { - "choices": [ - "AGENCY", - "DEPARTMENT", - "MAJOR COMMAND", - "OFFICE", - "SUB COMMAND" - ], - "choices_count": 5, - "filter_class": "LenientMultipleChoiceFilter", - "type": "choice" + "uei": { + "filter_class": "UppercaseCharFilter", + "type": "string" } }, "ordering_aliases": [], - "ordering_fields": [], + "ordering_fields": [ + "award_date", + "obligated", + "total_contract_value" + ], "pagination": { - "class": "CachedPageNumberPagination", + "class": "KeysetPagination", "max_page_size": 100 }, "shape": { "expands": { - "agency": { + "award_type": { "expands": {}, "fields": [ - "abbreviation", "code", - "name" + "description" ] }, - "ancestors": { + "awarding_office": { "expands": {}, "fields": [ - "fh_key", - "level", - "name", - "short_name" + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" ] }, - "budget_appropriation": { + "extent_competed": { "expands": {}, "fields": [ - "cgac", - "fiscal_year", - "n_accounts", - "scope", - "summary", - "top_accounts" + "code", + "description" ] }, - "budget_spending": { + "funding_office": { "expands": {}, "fields": [ - "fiscal_year", - "n_orgs_in_rollup", - "organization_id", - "summary", - "top_accounts" + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" ] }, - "children": { + "parent_award": { "expands": {}, "fields": [ - "cgac", - "code", - "fh_key", - "is_active", "key", - "level", - "name", - "short_name", - "type" + "piid" ] }, - "department": { + "period_of_performance": { "expands": {}, "fields": [ - "abbreviation", - "code", - "name" + "current_end_date", + "start_date", + "ultimate_completion_date" ] }, - "parent": { + "place_of_performance": { + "expands": {}, + "fields": [ + "city_name", + "country_code", + "country_name", + "state_code", + "state_name", + "zip_code" + ] + }, + "psc": { "expands": {}, "fields": [ - "cgac", "code", - "fh_key", - "is_active", - "key", - "level", - "name", - "short_name", - "type" + "description" ] - } - }, - "fields": [ - "aac_code", - "canonical_code", - "cgac", - "code", - "description", - "end_date", - "fh_key", - "fpds_code", - "fpds_org_id", - "full_parent_path_name", - "is_active", - "key", - "l1_fh_key", - "l2_fh_key", - "l3_fh_key", - "l4_fh_key", - "l5_fh_key", - "l6_fh_key", - "l7_fh_key", - "l8_fh_key", - "level", - "logo", - "mod_status", - "name", - "obligation_rank", - "obligations", - "parent_fh_key", - "short_name", - "start_date", - "summary", - "total_obligations", - "tree_obligations", - "type" + }, + "recipient": { + "expands": {}, + "fields": [ + "cage", + "cage_code", + "display_name", + "legal_business_name", + "uei" + ] + }, + "transactions": { + "expands": {}, + "fields": [ + "action_type", + "description", + "modification_number", + "obligated", + "transaction_date" + ] + }, + "type_of_ot_agreement": { + "expands": {}, + "fields": [ + "code", + "description" + ] + } + }, + "fields": [ + "award_date", + "award_type", + "base_and_exercised_options_value", + "consortia", + "consortia_uei", + "description", + "dod_acquisition_program", + "extent_competed", + "fiscal_year", + "key", + "non_governmental_dollars", + "non_traditional_government_contractor_participation", + "obligated", + "parent_award_modification_number", + "piid", + "psc_code", + "total_contract_value", + "transactions", + "type_of_ot_agreement" ] }, "shape_flat_paths": [ - "aac_code", - "agency", - "agency.abbreviation", - "agency.code", - "agency.name", - "ancestors", - "ancestors.fh_key", - "ancestors.level", - "ancestors.name", - "ancestors.short_name", - "budget_appropriation", - "budget_appropriation.cgac", - "budget_appropriation.fiscal_year", - "budget_appropriation.n_accounts", - "budget_appropriation.scope", - "budget_appropriation.summary", - "budget_appropriation.top_accounts", - "budget_spending", - "budget_spending.fiscal_year", - "budget_spending.n_orgs_in_rollup", - "budget_spending.organization_id", - "budget_spending.summary", - "budget_spending.top_accounts", - "canonical_code", - "cgac", - "children", - "children.cgac", - "children.code", - "children.fh_key", - "children.is_active", - "children.key", - "children.level", - "children.name", - "children.short_name", - "children.type", - "code", - "department", - "department.abbreviation", - "department.code", - "department.name", + "award_date", + "award_type", + "award_type.code", + "award_type.description", + "awarding_office", + "awarding_office.agency_code", + "awarding_office.agency_name", + "awarding_office.department_code", + "awarding_office.department_name", + "awarding_office.office_code", + "awarding_office.office_name", + "awarding_office.organization_id", + "base_and_exercised_options_value", + "consortia", + "consortia_uei", "description", - "end_date", - "fh_key", - "fpds_code", - "fpds_org_id", - "full_parent_path_name", - "is_active", + "dod_acquisition_program", + "extent_competed", + "extent_competed.code", + "extent_competed.description", + "fiscal_year", + "funding_office", + "funding_office.agency_code", + "funding_office.agency_name", + "funding_office.department_code", + "funding_office.department_name", + "funding_office.office_code", + "funding_office.office_name", + "funding_office.organization_id", "key", - "l1_fh_key", - "l2_fh_key", - "l3_fh_key", - "l4_fh_key", - "l5_fh_key", - "l6_fh_key", - "l7_fh_key", - "l8_fh_key", - "level", - "logo", - "mod_status", - "name", - "obligation_rank", - "obligations", - "parent", - "parent.cgac", - "parent.code", - "parent.fh_key", - "parent.is_active", - "parent.key", - "parent.level", - "parent.name", - "parent.short_name", - "parent.type", - "parent_fh_key", - "short_name", - "start_date", - "summary", - "total_obligations", - "tree_obligations", - "type" + "non_governmental_dollars", + "non_traditional_government_contractor_participation", + "obligated", + "parent_award", + "parent_award.key", + "parent_award.piid", + "parent_award_modification_number", + "period_of_performance", + "period_of_performance.current_end_date", + "period_of_performance.start_date", + "period_of_performance.ultimate_completion_date", + "piid", + "place_of_performance", + "place_of_performance.city_name", + "place_of_performance.country_code", + "place_of_performance.country_name", + "place_of_performance.state_code", + "place_of_performance.state_name", + "place_of_performance.zip_code", + "psc", + "psc.code", + "psc.description", + "psc_code", + "recipient", + "recipient.cage", + "recipient.cage_code", + "recipient.display_name", + "recipient.legal_business_name", + "recipient.uei", + "total_contract_value", + "transactions", + "transactions.action_type", + "transactions.description", + "transactions.modification_number", + "transactions.obligated", + "transactions.transaction_date", + "type_of_ot_agreement", + "type_of_ot_agreement.code", + "type_of_ot_agreement.description" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, - "viewset": "agencies.views.OrganizationViewSet" + "viewset": "awards.views.otas.OTAViewSet" }, "swagger_has_key": true, "swagger_params": [ - "cgac", + "cursor", "flat", "flat_lists", - "include_inactive", "joiner", - "level", "limit", - "page", - "parent", - "search", "shape", - "show_shapes", - "type" + "show_shapes" ] }, - "otas": { - "basename": "ota", + "otidvs": { + "basename": "otidv", "docs_file": null, "docs_params": [], - "prefix": "otas", - "resource_key": "otas", + "prefix": "otidvs", + "resource_key": "otidvs", "runtime": { "filter_params": [ "award_date", @@ -6069,13 +12157,6 @@ }, "shape": { "expands": { - "award_type": { - "expands": {}, - "fields": [ - "code", - "description" - ] - }, "awarding_office": { "expands": {}, "fields": [ @@ -6107,13 +12188,6 @@ "organization_id" ] }, - "parent_award": { - "expands": {}, - "fields": [ - "key", - "piid" - ] - }, "period_of_performance": { "expands": {}, "fields": [ @@ -6170,7 +12244,6 @@ }, "fields": [ "award_date", - "award_type", "base_and_exercised_options_value", "consortia", "consortia_uei", @@ -6178,11 +12251,11 @@ "dod_acquisition_program", "extent_competed", "fiscal_year", + "idv_type", "key", "non_governmental_dollars", "non_traditional_government_contractor_participation", "obligated", - "parent_award_modification_number", "piid", "psc_code", "total_contract_value", @@ -6192,9 +12265,6 @@ }, "shape_flat_paths": [ "award_date", - "award_type", - "award_type.code", - "award_type.description", "awarding_office", "awarding_office.agency_code", "awarding_office.agency_name", @@ -6220,14 +12290,11 @@ "funding_office.office_code", "funding_office.office_name", "funding_office.organization_id", + "idv_type", "key", "non_governmental_dollars", "non_traditional_government_contractor_participation", "obligated", - "parent_award", - "parent_award.key", - "parent_award.piid", - "parent_award_modification_number", "period_of_performance", "period_of_performance.current_end_date", "period_of_performance.start_date", @@ -6261,9 +12328,10 @@ "type_of_ot_agreement.code", "type_of_ot_agreement.description" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, - "viewset": "awards.views.otas.OTAViewSet" + "viewset": "awards.views.otidvs.OTIDVViewSet" }, "swagger_has_key": true, "swagger_params": [ @@ -6276,12 +12344,12 @@ "show_shapes" ] }, - "otidvs": { - "basename": "otidv", + "otidvs_awards": { + "basename": "otidvs_awards", "docs_file": null, "docs_params": [], - "prefix": "otidvs", - "resource_key": "otidvs", + "prefix": "otidvs//awards/", + "resource_key": "otidvs_awards", "runtime": { "filter_params": [ "award_date", @@ -6419,6 +12487,13 @@ }, "shape": { "expands": { + "award_type": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, "awarding_office": { "expands": {}, "fields": [ @@ -6450,6 +12525,13 @@ "organization_id" ] }, + "parent_award": { + "expands": {}, + "fields": [ + "key", + "piid" + ] + }, "period_of_performance": { "expands": {}, "fields": [ @@ -6506,6 +12588,7 @@ }, "fields": [ "award_date", + "award_type", "base_and_exercised_options_value", "consortia", "consortia_uei", @@ -6513,11 +12596,11 @@ "dod_acquisition_program", "extent_competed", "fiscal_year", - "idv_type", "key", "non_governmental_dollars", "non_traditional_government_contractor_participation", "obligated", + "parent_award_modification_number", "piid", "psc_code", "total_contract_value", @@ -6527,6 +12610,9 @@ }, "shape_flat_paths": [ "award_date", + "award_type", + "award_type.code", + "award_type.description", "awarding_office", "awarding_office.agency_code", "awarding_office.agency_name", @@ -6552,11 +12638,14 @@ "funding_office.office_code", "funding_office.office_name", "funding_office.organization_id", - "idv_type", "key", "non_governmental_dollars", "non_traditional_government_contractor_participation", "obligated", + "parent_award", + "parent_award.key", + "parent_award.piid", + "parent_award_modification_number", "period_of_performance", "period_of_performance.current_end_date", "period_of_performance.start_date", @@ -6590,20 +12679,13 @@ "type_of_ot_agreement.code", "type_of_ot_agreement.description" ], + "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "awards.views.otidvs.OTIDVViewSet" - }, - "swagger_has_key": true, - "swagger_params": [ - "cursor", - "flat", - "flat_lists", - "joiner", - "limit", - "shape", - "show_shapes" - ] + "shape_tier_required": null, + "viewset": "awards.views.otidvs.OTIDVAwardsViewSet" + }, + "swagger_has_key": false, + "swagger_params": [] }, "protests": { "basename": "bidprotest", @@ -6678,8 +12760,7 @@ "type": "string" }, "solicitation_number": { - "filter_class": "CharFilter", - "lookup": "iexact", + "filter_class": "SolicitationNumberFilter", "type": "string" }, "source_system": { @@ -6886,206 +12967,613 @@ "resolved_protester.uei", "size_standard", "solicitation_number", - "source_system", - "title" + "source_system", + "title" + ], + "shape_gated_by_level": { + "business": [ + "decision_text" + ], + "free": [ + "decision_text", + "resolved_agency", + "resolved_protester" + ], + "pro": [ + "decision_text" + ] + }, + "shape_supported": true, + "shape_tier_required": "enterprise_a", + "viewset": "protests.views.BidProtestViewSet" + }, + "swagger_has_key": false, + "swagger_params": [] + }, + "psc": { + "basename": "productservicecode", + "docs_file": null, + "docs_params": [], + "prefix": "psc", + "resource_key": "psc", + "runtime": { + "filter_params": [ + "has_awards" + ], + "filter_params_detail": { + "has_awards": { + "filter_class": "ViewHandledParam", + "type": "boolean" + } + }, + "ordering_aliases": [], + "ordering_fields": [], + "pagination": { + "class": "StaticModelCachedPagination", + "max_page_size": 10000 + }, + "shape": { + "expands": { + "current": { + "expands": {}, + "fields": [ + "active", + "description", + "end_date", + "excludes", + "includes", + "name", + "start_date" + ] + }, + "historical": { + "expands": {}, + "fields": [ + "active", + "description", + "end_date", + "excludes", + "includes", + "name", + "start_date" + ] + } + }, + "fields": [ + "category", + "code", + "level_1_category", + "level_1_category_code", + "level_2_category", + "level_2_category_code", + "parent" + ] + }, + "shape_flat_paths": [ + "category", + "code", + "current", + "current.active", + "current.description", + "current.end_date", + "current.excludes", + "current.includes", + "current.name", + "current.start_date", + "historical", + "historical.active", + "historical.description", + "historical.end_date", + "historical.excludes", + "historical.includes", + "historical.name", + "historical.start_date", + "level_1_category", + "level_1_category_code", + "level_2_category", + "level_2_category_code", + "parent" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null, + "viewset": "shared.views.ProductServiceCodeViewSet" + }, + "swagger_has_key": true, + "swagger_params": [ + "flat", + "flat_lists", + "joiner", + "limit", + "page", + "shape", + "show_shapes" + ] + }, + "sbir/solicitations": { + "basename": "sbir-solicitation", + "docs_file": null, + "docs_params": [], + "prefix": "sbir/solicitations", + "resource_key": "sbir/solicitations", + "runtime": { + "filter_params": [ + "activity", + "cycle_name", + "end_date_after", + "end_date_before", + "out_of_cycle", + "program", + "search", + "solicitation_number", + "solicitation_status", + "start_date_after", + "start_date_before", + "year" + ], + "filter_params_detail": { + "activity": { + "choices": [ + "closed", + "open" + ], + "choices_count": 2, + "filter_class": "ChoiceFilter", + "type": "choice" + }, + "cycle_name": { + "filter_class": "CharFilter", + "lookup": "icontains", + "type": "string" + }, + "end_date_after": { + "filter_class": "DateFromToRangeFilter", + "lookup": "gte", + "type": "date" + }, + "end_date_before": { + "filter_class": "DateFromToRangeFilter", + "lookup": "lte", + "type": "date" + }, + "out_of_cycle": { + "filter_class": "BooleanFilter", + "type": "boolean" + }, + "program": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "search": { + "filter_class": "CharFilter", + "type": "string" + }, + "solicitation_number": { + "filter_class": "CharFilter", + "lookup": "icontains", + "type": "string" + }, + "solicitation_status": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "start_date_after": { + "filter_class": "DateFromToRangeFilter", + "lookup": "gte", + "type": "date" + }, + "start_date_before": { + "filter_class": "DateFromToRangeFilter", + "lookup": "lte", + "type": "date" + }, + "year": { + "filter_class": "NumberFilter", + "type": "number" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "activity", + "end_date", + "modified", + "start_date", + "year" + ], + "pagination": { + "class": "StandardResultsSetPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "documents": { + "expands": {}, + "fields": [ + "cycle_name", + "document_id", + "extraction_status", + "file_size", + "filename", + "n_chars", + "n_pages", + "s3_key" + ] + }, + "topics": { + "expands": {}, + "fields": [ + "agency", + "close_date", + "title", + "topic_id", + "topic_number", + "topic_url" + ] + } + }, + "fields": [ + "activity", + "cycle", + "cycle_name", + "end_date", + "out_of_cycle", + "program", + "sol_download_url", + "solicitation_cycle_id", + "solicitation_id", + "solicitation_number", + "solicitation_status", + "source_last_updated", + "start_date", + "title", + "year" + ] + }, + "shape_flat_paths": [ + "activity", + "cycle", + "cycle_name", + "documents", + "documents.cycle_name", + "documents.document_id", + "documents.extraction_status", + "documents.file_size", + "documents.filename", + "documents.n_chars", + "documents.n_pages", + "documents.s3_key", + "end_date", + "out_of_cycle", + "program", + "sol_download_url", + "solicitation_cycle_id", + "solicitation_id", + "solicitation_number", + "solicitation_status", + "source_last_updated", + "start_date", + "title", + "topics", + "topics.agency", + "topics.close_date", + "topics.title", + "topics.topic_id", + "topics.topic_number", + "topics.topic_url", + "year" ], + "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": "enterprise_a", - "viewset": "protests.views.BidProtestViewSet" + "shape_tier_required": null, + "viewset": "sbir.views.SbirDsipSolicitationViewSet" }, "swagger_has_key": false, "swagger_params": [] }, - "psc": { - "basename": "productservicecode", + "sbir/topics": { + "basename": "sbir-topic", "docs_file": null, "docs_params": [], - "prefix": "psc", - "resource_key": "psc", + "prefix": "sbir/topics", + "resource_key": "sbir/topics", "runtime": { "filter_params": [ - "has_awards" + "activity", + "agency", + "close_date_after", + "close_date_before", + "doc_source", + "open_date_after", + "open_date_before", + "release_date_after", + "release_date_before", + "search", + "solicitation_number", + "topic_number", + "year" ], "filter_params_detail": { - "has_awards": { - "filter_class": "ViewHandledParam", - "type": "boolean" + "activity": { + "choices": [ + "closed", + "open", + "unknown" + ], + "choices_count": 3, + "filter_class": "ChoiceFilter", + "type": "choice" + }, + "agency": { + "filter_class": "CharFilter", + "lookup": "icontains", + "type": "string" + }, + "close_date_after": { + "filter_class": "DateFromToRangeFilter", + "lookup": "gte", + "type": "date" + }, + "close_date_before": { + "filter_class": "DateFromToRangeFilter", + "lookup": "lte", + "type": "date" + }, + "doc_source": { + "filter_class": "CharFilter", + "lookup": "iexact", + "type": "string" + }, + "open_date_after": { + "filter_class": "DateFromToRangeFilter", + "lookup": "gte", + "type": "date" + }, + "open_date_before": { + "filter_class": "DateFromToRangeFilter", + "lookup": "lte", + "type": "date" + }, + "release_date_after": { + "filter_class": "DateFromToRangeFilter", + "lookup": "gte", + "type": "date" + }, + "release_date_before": { + "filter_class": "DateFromToRangeFilter", + "lookup": "lte", + "type": "date" + }, + "search": { + "filter_class": "CharFilter", + "type": "string" + }, + "solicitation_number": { + "filter_class": "CharFilter", + "lookup": "icontains", + "type": "string" + }, + "topic_number": { + "filter_class": "CharFilter", + "lookup": "icontains", + "type": "string" + }, + "year": { + "filter_class": "NumberFilter", + "type": "number" } }, "ordering_aliases": [], - "ordering_fields": [], + "ordering_fields": [ + "activity", + "close_date", + "modified", + "open_date", + "release_date", + "year" + ], "pagination": { - "class": "StaticModelCachedPagination", - "max_page_size": 10000 + "class": "StandardResultsSetPagination", + "max_page_size": 100 }, "shape": { "expands": { - "current": { + "grant": { "expands": {}, "fields": [ - "active", - "description", - "end_date", - "excludes", - "includes", - "name", - "start_date" + "grant_id", + "opportunity_number", + "response_date", + "title" ] }, - "historical": { + "opportunity": { "expands": {}, "fields": [ - "active", - "description", + "opportunity_id", + "response_deadline", + "solicitation_number", + "title" + ] + }, + "solicitation": { + "expands": {}, + "fields": [ + "cycle_name", "end_date", - "excludes", - "includes", - "name", - "start_date" + "out_of_cycle", + "program", + "solicitation_id", + "solicitation_number", + "solicitation_status", + "start_date", + "title", + "year" ] } }, "fields": [ - "category", - "code", - "level_1_category", - "level_1_category_code", - "level_2_category", - "level_2_category_code", - "parent" + "activity", + "agency", + "close_date", + "description", + "doc_source", + "due_dates_text", + "listed_open", + "official_solicitation_url", + "open_date", + "release_date", + "solicitation_number", + "solicitation_status", + "source_last_updated", + "title", + "topic_id", + "topic_node_id", + "topic_number", + "topic_url", + "year" ] }, "shape_flat_paths": [ - "category", - "code", - "current", - "current.active", - "current.description", - "current.end_date", - "current.excludes", - "current.includes", - "current.name", - "current.start_date", - "historical", - "historical.active", - "historical.description", - "historical.end_date", - "historical.excludes", - "historical.includes", - "historical.name", - "historical.start_date", - "level_1_category", - "level_1_category_code", - "level_2_category", - "level_2_category_code", - "parent" + "activity", + "agency", + "close_date", + "description", + "doc_source", + "due_dates_text", + "grant", + "grant.grant_id", + "grant.opportunity_number", + "grant.response_date", + "grant.title", + "listed_open", + "official_solicitation_url", + "open_date", + "opportunity", + "opportunity.opportunity_id", + "opportunity.response_deadline", + "opportunity.solicitation_number", + "opportunity.title", + "release_date", + "solicitation", + "solicitation.cycle_name", + "solicitation.end_date", + "solicitation.out_of_cycle", + "solicitation.program", + "solicitation.solicitation_id", + "solicitation.solicitation_number", + "solicitation.solicitation_status", + "solicitation.start_date", + "solicitation.title", + "solicitation.year", + "solicitation_number", + "solicitation_status", + "source_last_updated", + "title", + "topic_id", + "topic_node_id", + "topic_number", + "topic_url", + "year" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, - "viewset": "shared.views.ProductServiceCodeViewSet" + "viewset": "sbir.views.SbirTopicViewSet" }, - "swagger_has_key": true, - "swagger_params": [ - "flat", - "flat_lists", - "joiner", - "limit", - "page", - "shape", - "show_shapes" - ] + "swagger_has_key": false, + "swagger_params": [] }, - "sbir/solicitations": { - "basename": "sbir-solicitation", + "sled/forecasts": { + "basename": "sled-forecast", "docs_file": null, "docs_params": [], - "prefix": "sbir/solicitations", - "resource_key": "sbir/solicitations", + "prefix": "sled/forecasts", + "resource_key": "sled/forecasts", "runtime": { "filter_params": [ - "activity", - "cycle_name", - "end_date_after", - "end_date_before", - "out_of_cycle", - "program", + "advertisement_after", + "advertisement_before", + "agency", + "contract_number", + "first_seen_after", + "first_seen_before", + "incumbent_name", + "modified_after", + "modified_before", + "procurement_category", + "procurement_method", "search", - "solicitation_number", - "solicitation_status", - "start_date_after", - "start_date_before", - "year" + "state" ], "filter_params_detail": { - "activity": { - "choices": [ - "closed", - "open" - ], - "choices_count": 2, - "filter_class": "ChoiceFilter", - "type": "choice" - }, - "cycle_name": { - "filter_class": "CharFilter", - "lookup": "icontains", - "type": "string" - }, - "end_date_after": { - "filter_class": "DateFromToRangeFilter", + "advertisement_after": { + "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, - "end_date_before": { - "filter_class": "DateFromToRangeFilter", - "lookup": "lte", + "advertisement_before": { + "filter_class": "_InclusiveBeforeDateFilter", + "lookup": "lt", "type": "date" }, - "out_of_cycle": { - "filter_class": "BooleanFilter", - "type": "boolean" - }, - "program": { - "filter_class": "CharFilter", - "lookup": "iexact", + "agency": { + "filter_class": "BaseSmartFilter", "type": "string" }, - "search": { - "filter_class": "CharFilter", + "contract_number": { + "filter_class": "BaseSmartFilter", "type": "string" }, - "solicitation_number": { - "filter_class": "CharFilter", - "lookup": "icontains", - "type": "string" + "first_seen_after": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" }, - "solicitation_status": { - "filter_class": "CharFilter", - "lookup": "iexact", + "first_seen_before": { + "filter_class": "_InclusiveBeforeDateFilter", + "lookup": "lt", + "type": "date" + }, + "incumbent_name": { + "filter_class": "BaseSmartFilter", "type": "string" }, - "start_date_after": { - "filter_class": "DateFromToRangeFilter", + "modified_after": { + "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, - "start_date_before": { - "filter_class": "DateFromToRangeFilter", - "lookup": "lte", + "modified_before": { + "filter_class": "_InclusiveBeforeDateFilter", + "lookup": "lt", "type": "date" }, - "year": { - "filter_class": "NumberFilter", - "type": "number" + "procurement_category": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "procurement_method": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "search": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "state": { + "filter_class": "BaseSmartFilter", + "type": "string" } }, "ordering_aliases": [], "ordering_fields": [ - "activity", - "end_date", + "estimated_advertisement_date", + "first_seen_at", + "last_seen_at", "modified", - "start_date", - "year" + "rank" ], "pagination": { "class": "StandardResultsSetPagination", @@ -7093,189 +13581,272 @@ }, "shape": { "expands": { - "documents": { + "contact": { "expands": {}, "fields": [ - "cycle_name", - "document_id", - "extraction_status", - "file_size", - "filename", - "n_chars", - "n_pages", - "s3_key" + "email", + "name", + "phone" ] }, - "topics": { + "estimated_value": { + "expands": {}, + "fields": [ + "max", + "min", + "raw" + ] + }, + "organization": { "expands": {}, "fields": [ "agency", - "close_date", - "title", - "topic_id", - "topic_number", - "topic_url" + "level", + "state" + ] + }, + "raw": { + "expands": {}, + "fields": [ + "*" ] } }, "fields": [ - "activity", - "cycle", - "cycle_name", - "end_date", - "out_of_cycle", - "program", - "sol_download_url", - "solicitation_cycle_id", - "solicitation_id", - "solicitation_number", - "solicitation_status", - "source_last_updated", - "start_date", - "title", - "year" + "agency", + "contract_number", + "contract_term", + "delivery_location", + "description", + "estimated_advertisement_date", + "estimated_advertisement_raw", + "first_seen_at", + "forecast_id", + "has_documents", + "incumbent_name", + "last_seen_at", + "mbe_dbe_goal", + "modified", + "procurement_category", + "procurement_method", + "source_status", + "source_url", + "state", + "title" ] }, "shape_flat_paths": [ - "activity", - "cycle", - "cycle_name", - "documents", - "documents.cycle_name", - "documents.document_id", - "documents.extraction_status", - "documents.file_size", - "documents.filename", - "documents.n_chars", - "documents.n_pages", - "documents.s3_key", - "end_date", - "out_of_cycle", - "program", - "sol_download_url", - "solicitation_cycle_id", - "solicitation_id", - "solicitation_number", - "solicitation_status", - "source_last_updated", - "start_date", - "title", - "topics", - "topics.agency", - "topics.close_date", - "topics.title", - "topics.topic_id", - "topics.topic_number", - "topics.topic_url", - "year" + "agency", + "contact", + "contact.email", + "contact.name", + "contact.phone", + "contract_number", + "contract_term", + "delivery_location", + "description", + "estimated_advertisement_date", + "estimated_advertisement_raw", + "estimated_value", + "estimated_value.max", + "estimated_value.min", + "estimated_value.raw", + "first_seen_at", + "forecast_id", + "has_documents", + "incumbent_name", + "last_seen_at", + "mbe_dbe_goal", + "modified", + "organization", + "organization.agency", + "organization.level", + "organization.state", + "procurement_category", + "procurement_method", + "raw", + "raw.*", + "source_status", + "source_url", + "state", + "title" ], + "shape_gated_by_level": { + "free": [ + "raw" + ] + }, "shape_supported": true, - "shape_tier_required": null, - "viewset": "sbir.views.SbirDsipSolicitationViewSet" + "shape_tier_required": "pro", + "viewset": "sled.views.SledForecastViewSet" }, "swagger_has_key": false, "swagger_params": [] }, - "sbir/topics": { - "basename": "sbir-topic", + "sled/opportunities": { + "basename": "sled-opportunity", "docs_file": null, "docs_params": [], - "prefix": "sbir/topics", - "resource_key": "sbir/topics", + "prefix": "sled/opportunities", + "resource_key": "sled/opportunities", "runtime": { "filter_params": [ - "activity", + "active", "agency", - "close_date_after", - "close_date_before", - "doc_source", - "open_date_after", - "open_date_before", - "release_date_after", - "release_date_before", + "category", + "category_code", + "change_seen_after", + "external_id", + "first_seen_after", + "first_seen_before", + "has_documents", + "jurisdiction", + "modified_after", + "modified_before", + "naics", + "native_id", + "nigp", + "platform", + "posted_after", + "posted_before", + "response_deadline_after", + "response_deadline_before", + "revision_kind", "search", "solicitation_number", - "topic_number", - "year" + "solicitation_type", + "state", + "status", + "unspsc" ], "filter_params_detail": { - "activity": { - "choices": [ - "closed", - "open", - "unknown" - ], - "choices_count": 3, - "filter_class": "ChoiceFilter", - "type": "choice" + "active": { + "filter_class": "BooleanFilter", + "type": "boolean" }, "agency": { - "filter_class": "CharFilter", - "lookup": "icontains", + "filter_class": "BaseSmartFilter", "type": "string" }, - "close_date_after": { - "filter_class": "DateFromToRangeFilter", + "category": { + "filter_class": "CategorySchemeFilter", + "type": "string" + }, + "category_code": { + "filter_class": "CategoryCodeFilter", + "type": "string" + }, + "change_seen_after": { + "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, - "close_date_before": { - "filter_class": "DateFromToRangeFilter", - "lookup": "lte", + "external_id": { + "filter_class": "IdListFilter", + "type": "string" + }, + "first_seen_after": { + "filter_class": "DateFilter", + "lookup": "gte", "type": "date" }, - "doc_source": { + "first_seen_before": { + "filter_class": "_InclusiveBeforeDateFilter", + "lookup": "lt", + "type": "date" + }, + "has_documents": { + "filter_class": "BooleanFilter", + "type": "boolean" + }, + "jurisdiction": { "filter_class": "CharFilter", - "lookup": "iexact", "type": "string" }, - "open_date_after": { - "filter_class": "DateFromToRangeFilter", + "modified_after": { + "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, - "open_date_before": { - "filter_class": "DateFromToRangeFilter", - "lookup": "lte", + "modified_before": { + "filter_class": "_InclusiveBeforeDateFilter", + "lookup": "lt", "type": "date" }, - "release_date_after": { - "filter_class": "DateFromToRangeFilter", + "naics": { + "filter_class": "CategorySchemeFilter", + "type": "string" + }, + "native_id": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "nigp": { + "filter_class": "CategorySchemeFilter", + "type": "string" + }, + "platform": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "posted_after": { + "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, - "release_date_before": { - "filter_class": "DateFromToRangeFilter", - "lookup": "lte", + "posted_before": { + "filter_class": "_InclusiveBeforeDateFilter", + "lookup": "lt", + "type": "date" + }, + "response_deadline_after": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "response_deadline_before": { + "filter_class": "_InclusiveBeforeDateFilter", + "lookup": "lt", "type": "date" }, + "revision_kind": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, "search": { - "filter_class": "CharFilter", + "filter_class": "_SledOpportunitySearchFilter", "type": "string" }, "solicitation_number": { - "filter_class": "CharFilter", - "lookup": "icontains", + "filter_class": "BaseSmartFilter", "type": "string" }, - "topic_number": { + "solicitation_type": { "filter_class": "CharFilter", - "lookup": "icontains", "type": "string" }, - "year": { - "filter_class": "NumberFilter", - "type": "number" + "state": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "status": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "unspsc": { + "filter_class": "CategorySchemeFilter", + "type": "string" } }, "ordering_aliases": [], "ordering_fields": [ - "activity", - "close_date", + "first_seen_at", + "last_change_seen_at", + "last_seen_at", "modified", - "open_date", - "release_date", - "year" + "posted_date", + "rank", + "response_deadline" ], "pagination": { "class": "StandardResultsSetPagination", @@ -7283,107 +13854,172 @@ }, "shape": { "expands": { - "grant": { + "attachments": { "expands": {}, "fields": [ - "grant_id", - "opportunity_number", - "response_date", - "title" + "char_count", + "checksum", + "download_status", + "extension", + "extracted_text", + "extraction_status", + "first_seen_at", + "is_contested", + "is_generated_summary", + "mime_type", + "name", + "pages", + "size_bytes", + "word_count" ] }, - "opportunity": { + "contact": { "expands": {}, "fields": [ - "opportunity_id", - "response_deadline", - "solicitation_number", - "title" + "email", + "name", + "phone" ] }, - "solicitation": { + "meta": { "expands": {}, "fields": [ - "cycle_name", - "end_date", - "out_of_cycle", - "program", - "solicitation_id", - "solicitation_number", - "solicitation_status", - "start_date", - "title", - "year" + "attachment_count", + "last_change_source_declared", + "last_revision_kind", + "revision_count" + ] + }, + "organization": { + "expands": {}, + "fields": [ + "agency", + "level", + "state" + ] + }, + "raw": { + "expands": {}, + "fields": [ + "*" + ] + }, + "revisions": { + "expands": {}, + "fields": [ + "changed_fields", + "changes", + "kind", + "observed_at", + "sequence", + "source_declared" ] } }, "fields": [ - "activity", "agency", - "close_date", + "bid_opening_date", + "bid_opening_raw", + "category_codes", "description", - "doc_source", - "due_dates_text", - "listed_open", - "official_solicitation_url", - "open_date", - "release_date", + "first_seen_at", + "has_documents", + "jurisdiction", + "last_change_seen_at", + "last_seen_at", + "modified", + "opportunity_id", + "posted_date", + "response_deadline", + "response_deadline_original", + "snippet", "solicitation_number", - "solicitation_status", - "source_last_updated", - "title", - "topic_id", - "topic_node_id", - "topic_number", - "topic_url", - "year" + "solicitation_type", + "solicitation_type_source", + "source_status", + "source_url", + "state", + "status", + "status_computed_at", + "status_reason", + "title" ] }, "shape_flat_paths": [ - "activity", "agency", - "close_date", + "attachments", + "attachments.char_count", + "attachments.checksum", + "attachments.download_status", + "attachments.extension", + "attachments.extracted_text", + "attachments.extraction_status", + "attachments.first_seen_at", + "attachments.is_contested", + "attachments.is_generated_summary", + "attachments.mime_type", + "attachments.name", + "attachments.pages", + "attachments.size_bytes", + "attachments.word_count", + "bid_opening_date", + "bid_opening_raw", + "category_codes", + "contact", + "contact.email", + "contact.name", + "contact.phone", "description", - "doc_source", - "due_dates_text", - "grant", - "grant.grant_id", - "grant.opportunity_number", - "grant.response_date", - "grant.title", - "listed_open", - "official_solicitation_url", - "open_date", - "opportunity", - "opportunity.opportunity_id", - "opportunity.response_deadline", - "opportunity.solicitation_number", - "opportunity.title", - "release_date", - "solicitation", - "solicitation.cycle_name", - "solicitation.end_date", - "solicitation.out_of_cycle", - "solicitation.program", - "solicitation.solicitation_id", - "solicitation.solicitation_number", - "solicitation.solicitation_status", - "solicitation.start_date", - "solicitation.title", - "solicitation.year", + "first_seen_at", + "has_documents", + "jurisdiction", + "last_change_seen_at", + "last_seen_at", + "meta", + "meta.attachment_count", + "meta.last_change_source_declared", + "meta.last_revision_kind", + "meta.revision_count", + "modified", + "opportunity_id", + "organization", + "organization.agency", + "organization.level", + "organization.state", + "posted_date", + "raw", + "raw.*", + "response_deadline", + "response_deadline_original", + "revisions", + "revisions.changed_fields", + "revisions.changes", + "revisions.kind", + "revisions.observed_at", + "revisions.sequence", + "revisions.source_declared", + "snippet", "solicitation_number", - "solicitation_status", - "source_last_updated", - "title", - "topic_id", - "topic_node_id", - "topic_number", - "topic_url", - "year" + "solicitation_type", + "solicitation_type_source", + "source_status", + "source_url", + "state", + "status", + "status_computed_at", + "status_reason", + "title" ], + "shape_gated_by_level": { + "free": [ + "attachments.extracted_text", + "raw", + "revisions.changes" + ] + }, "shape_supported": true, - "shape_tier_required": null, - "viewset": "sbir.views.SbirTopicViewSet" + "shape_tier_required": "pro", + "viewset": "sled.views.SledOpportunityViewSet" }, "swagger_has_key": false, "swagger_params": [] @@ -7604,6 +14240,7 @@ "subaward_recipient.uei", "usaspending_permalink" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, "viewset": "awards.views.subawards.SubawardViewSet" @@ -9012,201 +15649,956 @@ "competition_details.solicitation_procedures", "contract_type", "description", - "descriptions", + "descriptions", + "fiscal_year", + "idv_count", + "is_synthetic_solicitation", + "last_date_to_order", + "latest_award_date", + "metrics", + "metrics.*", + "metrics.avg_offers_received", + "metrics.avg_order_value", + "metrics.award_concentration_hhi", + "metrics.competed_rate", + "metrics.days_since_last_order", + "metrics.max_order_value", + "metrics.obligation_to_ceiling_ratio", + "metrics.order_concentration_hhi", + "metrics.recent_obligations_24mo", + "metrics.recent_orders_24mo", + "metrics.top_recipient_share", + "metrics.using_agency_count", + "naics_code", + "name", + "opportunity", + "opportunity.active", + "opportunity.agency", + "opportunity.agency.abbreviation", + "opportunity.agency.code", + "opportunity.agency.name", + "opportunity.agency_id", + "opportunity.archive_date", + "opportunity.attachments", + "opportunity.attachments.attachment_id", + "opportunity.attachments.extracted_text", + "opportunity.attachments.file_size", + "opportunity.attachments.mime_type", + "opportunity.attachments.name", + "opportunity.attachments.posted_date", + "opportunity.attachments.resource_id", + "opportunity.attachments.type", + "opportunity.attachments.url", + "opportunity.award_number", + "opportunity.department", + "opportunity.department.abbreviation", + "opportunity.department.cgac", + "opportunity.department.code", + "opportunity.department.congressional_justification", + "opportunity.department.description", + "opportunity.department.name", + "opportunity.department.website", + "opportunity.department_id", + "opportunity.description", + "opportunity.first_notice_date", + "opportunity.last_notice_date", + "opportunity.latest_notice", + "opportunity.latest_notice.link", + "opportunity.latest_notice.notice_id", + "opportunity.latest_notice_id", + "opportunity.meta", + "opportunity.meta.attachments_count", + "opportunity.meta.notice_type", + "opportunity.meta.notice_type.code", + "opportunity.meta.notice_type.type", + "opportunity.meta.notices_count", + "opportunity.naics_code", + "opportunity.notice_history", + "opportunity.notice_history.deleted", + "opportunity.notice_history.index", + "opportunity.notice_history.latest", + "opportunity.notice_history.notice_id", + "opportunity.notice_history.notice_type_code", + "opportunity.notice_history.parent_notice_id", + "opportunity.notice_history.posted_date", + "opportunity.notice_history.related_notice_id", + "opportunity.notice_history.solicitation_number", + "opportunity.notice_history.title", + "opportunity.office", + "opportunity.office.agency_code", + "opportunity.office.agency_name", + "opportunity.office.department_code", + "opportunity.office.department_name", + "opportunity.office.office_code", + "opportunity.office.office_name", + "opportunity.office.organization_id", + "opportunity.office_id", + "opportunity.opportunity_id", + "opportunity.place_of_performance", + "opportunity.place_of_performance.city", + "opportunity.place_of_performance.country", + "opportunity.place_of_performance.state", + "opportunity.place_of_performance.street_address", + "opportunity.place_of_performance.zip", + "opportunity.primary_contact", + "opportunity.primary_contact.email", + "opportunity.primary_contact.fax", + "opportunity.primary_contact.full_name", + "opportunity.primary_contact.phone", + "opportunity.primary_contact.title", + "opportunity.psc_code", + "opportunity.response_deadline", + "opportunity.sam_url", + "opportunity.secondary_contact", + "opportunity.secondary_contact.email", + "opportunity.secondary_contact.fax", + "opportunity.secondary_contact.full_name", + "opportunity.secondary_contact.phone", + "opportunity.secondary_contact.title", + "opportunity.set_aside", + "opportunity.set_aside.code", + "opportunity.set_aside.description", + "opportunity.snippet", + "opportunity.solicitation_number", + "opportunity.title", + "opportunity_id", + "order_count", + "organization", + "organization.agency_code", + "organization.agency_name", + "organization.department_code", + "organization.department_name", + "organization.office_code", + "organization.office_name", + "organization.organization_id", + "organization_id", + "program_acronym", + "psc_code", + "set_aside", + "solicitation_date", + "solicitation_description", + "solicitation_identifier", + "solicitation_title", + "total_obligated", + "type_of_idc", + "uuid", + "vehicle_contracts_value", + "vehicle_obligations", + "vehicle_type", + "who_can_use" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null, + "viewset": "awards.views.vehicles.VehicleViewSet" + }, + "swagger_has_key": true, + "swagger_params": [ + "agency", + "award_date_after", + "award_date_before", + "contract_type", + "fiscal_year", + "flat", + "flat_lists", + "idv_count_max", + "idv_count_min", + "joiner", + "last_date_to_order_after", + "last_date_to_order_before", + "limit", + "naics_code", + "order_count_max", + "order_count_min", + "ordering", + "organization_id", + "page", + "program_acronym", + "psc_code", + "search", + "set_aside", + "shape", + "show_shapes", + "total_obligated_max", + "total_obligated_min", + "type_of_idc", + "vehicle_type", + "who_can_use" + ] + }, + "vehicles_orders": { + "basename": "vehicles_orders", + "docs_file": null, + "docs_params": [], + "prefix": "vehicles//orders/", + "resource_key": "vehicles_orders", + "runtime": { + "filter_params": [ + "award_date", + "award_date_gte", + "award_date_lte", + "award_type", + "awarding_agency", + "expiring_gte", + "expiring_lte", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "funding_agency", + "key", + "naics", + "obligated_gte", + "obligated_lte", + "ordering", + "piid", + "pop_end_date_gte", + "pop_end_date_lte", + "pop_start_date_gte", + "pop_start_date_lte", + "psc", + "recipient", + "search", + "set_aside", + "solicitation_identifier", + "uei" + ], + "filter_params_detail": { + "award_date": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_date_gte": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_date_lte": { + "filter_class": "DateFilter", + "type": "date" + }, + "award_type": { + "choices": [ + "A", + "B", + "C", + "D", + "a", + "b", + "c", + "d" + ], + "choices_count": 8, + "filter_class": "UppercaseCodeChoiceFilter", + "type": "choice" + }, + "awarding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "expiring_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "expiring_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "fiscal_year": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year_gte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "fiscal_year_lte": { + "filter_class": "NumberFilter", + "type": "number" + }, + "funding_agency": { + "filter_class": "PerformantAgencyFilter", + "type": "string" + }, + "key": { + "filter_class": "IdListFilter", + "type": "string" + }, + "naics": { + "filter_class": "CustomNAICSFilter", + "type": "string" + }, + "obligated_gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "obligated_lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-total_contract_value", + "award_date", + "obligated", + "total_contract_value" + ], + "choices_count": 6, + "filter_class": "OrderingFilter", + "type": "ordering" + }, + "piid": { + "filter_class": "UppercaseCharFilter", + "type": "string" + }, + "pop_end_date_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "pop_end_date_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "pop_start_date_gte": { + "filter_class": "DateFilter", + "lookup": "gte", + "type": "date" + }, + "pop_start_date_lte": { + "filter_class": "DateFilter", + "lookup": "lte", + "type": "date" + }, + "psc": { + "filter_class": "CustomPSCFilter", + "type": "string" + }, + "recipient": { + "filter_class": "CharFilter", + "type": "string" + }, + "search": { + "filter_class": "CharFilter", + "type": "string" + }, + "set_aside": { + "filter_class": "CustomSetAsideFilter", + "type": "string" + }, + "solicitation_identifier": { + "filter_class": "SolicitationNumberFilter", + "type": "string" + }, + "uei": { + "filter_class": "UppercaseCharFilter", + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "award_date", + "obligated", + "total_contract_value" + ], + "pagination": { + "class": "CachedPageNumberPagination", + "max_page_size": 100 + }, + "shape": { + "expands": { + "award_type": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "awarding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "commercial_item_acquisition_procedures": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "competition": { + "expands": {}, + "fields": [ + "contract_type", + "extent_competed", + "number_of_offers_received", + "other_than_full_and_open_competition", + "solicitation_date", + "solicitation_identifier", + "solicitation_procedures" + ] + }, + "consolidated_contract": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "contingency_humanitarian_or_peacekeeping_operation": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "contract_bundling": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "cost_accounting_standards_clause": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "cost_or_pricing_data": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "domestic_or_foreign_entity": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "epa_designated_product": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "evaluated_preference": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "fair_opportunity_limited_sources": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "fed_biz_opps": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "foreign_funding": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "funding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "information_technology_commercial_item_category": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "inherently_governmental_functions": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "legislative_mandates": { + "expands": {}, + "fields": [ + "clinger_cohen_act_planning", + "construction_wage_rate_requirements", + "employment_eligibility_verification", + "interagency_contracting_authority", + "labor_standards", + "materials_supplies_articles_equipment", + "other_statutory_authority", + "service_contract_inventory" + ] + }, + "naics": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "officers": { + "expands": {}, + "fields": [ + "highly_compensated_officer_1_amount", + "highly_compensated_officer_1_name", + "highly_compensated_officer_2_amount", + "highly_compensated_officer_2_name", + "highly_compensated_officer_3_amount", + "highly_compensated_officer_3_name", + "highly_compensated_officer_4_amount", + "highly_compensated_officer_4_name", + "highly_compensated_officer_5_amount", + "highly_compensated_officer_5_name" + ] + }, + "parent_award": { + "expands": {}, + "fields": [ + "key", + "piid" + ] + }, + "performance_based_service_acquisition": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "period_of_performance": { + "expands": {}, + "fields": [ + "current_end_date", + "start_date", + "ultimate_completion_date" + ] + }, + "place_of_manufacture": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "place_of_performance": { + "expands": {}, + "fields": [ + "city_name", + "country_code", + "country_name", + "state_code", + "state_name", + "zip_code" + ] + }, + "psc": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "recipient": { + "expands": {}, + "fields": [ + "cage", + "cage_code", + "display_name", + "legal_business_name", + "uei" + ] + }, + "recovered_materials_sustainability": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "research": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "sam_exception": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "set_aside": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "subawards_summary": { + "expands": {}, + "fields": [ + "count", + "total_amount" + ] + }, + "subcontracting_plan": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "tradeoff_process": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "transactions": { + "expands": {}, + "fields": [ + "action_type", + "description", + "modification_number", + "obligated", + "transaction_date" + ] + }, + "undefinitized_action": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "vehicle": { + "expands": {}, + "fields": [ + "agency_id", + "award_date", + "contract_type", + "description", + "fiscal_year", + "last_date_to_order", + "naics_code", + "psc_code", + "set_aside", + "solicitation_date", + "solicitation_description", + "solicitation_identifier", + "solicitation_title", + "type_of_idc", + "uuid", + "vehicle_type", + "who_can_use" + ] + } + }, + "fields": [ + "award_date", + "award_type", + "base_and_exercised_options_value", + "contract_financing", + "description", + "dod_acquisition_program", + "dod_transaction_number", + "fiscal_year", + "government_furnished_property", + "key", + "local_area_set_aside", + "major_program", + "naics_code", + "number_of_actions", + "number_of_offers_source", + "obligated", + "piid", + "price_evaluation_percent_difference", + "psc_code", + "purchase_card_as_payment_method", + "set_aside", + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", + "solicitation_identifier", + "subawards_summary", + "total_contract_value", + "transactions", + "type_of_set_aside_source" + ] + }, + "shape_flat_paths": [ + "award_date", + "award_type", + "award_type.code", + "award_type.description", + "awarding_office", + "awarding_office.agency_code", + "awarding_office.agency_name", + "awarding_office.department_code", + "awarding_office.department_name", + "awarding_office.office_code", + "awarding_office.office_name", + "awarding_office.organization_id", + "base_and_exercised_options_value", + "commercial_item_acquisition_procedures", + "commercial_item_acquisition_procedures.code", + "commercial_item_acquisition_procedures.description", + "competition", + "competition.contract_type", + "competition.extent_competed", + "competition.number_of_offers_received", + "competition.other_than_full_and_open_competition", + "competition.solicitation_date", + "competition.solicitation_identifier", + "competition.solicitation_procedures", + "consolidated_contract", + "consolidated_contract.code", + "consolidated_contract.description", + "contingency_humanitarian_or_peacekeeping_operation", + "contingency_humanitarian_or_peacekeeping_operation.code", + "contingency_humanitarian_or_peacekeeping_operation.description", + "contract_bundling", + "contract_bundling.code", + "contract_bundling.description", + "contract_financing", + "cost_accounting_standards_clause", + "cost_accounting_standards_clause.code", + "cost_accounting_standards_clause.description", + "cost_or_pricing_data", + "cost_or_pricing_data.code", + "cost_or_pricing_data.description", + "description", + "dod_acquisition_program", + "dod_transaction_number", + "domestic_or_foreign_entity", + "domestic_or_foreign_entity.code", + "domestic_or_foreign_entity.description", + "epa_designated_product", + "epa_designated_product.code", + "epa_designated_product.description", + "evaluated_preference", + "evaluated_preference.code", + "evaluated_preference.description", + "fair_opportunity_limited_sources", + "fair_opportunity_limited_sources.code", + "fair_opportunity_limited_sources.description", + "fed_biz_opps", + "fed_biz_opps.code", + "fed_biz_opps.description", "fiscal_year", - "idv_count", - "is_synthetic_solicitation", - "last_date_to_order", - "latest_award_date", - "metrics", - "metrics.*", - "metrics.avg_offers_received", - "metrics.avg_order_value", - "metrics.award_concentration_hhi", - "metrics.competed_rate", - "metrics.days_since_last_order", - "metrics.max_order_value", - "metrics.obligation_to_ceiling_ratio", - "metrics.order_concentration_hhi", - "metrics.recent_obligations_24mo", - "metrics.recent_orders_24mo", - "metrics.top_recipient_share", - "metrics.using_agency_count", + "foreign_funding", + "foreign_funding.code", + "foreign_funding.description", + "funding_office", + "funding_office.agency_code", + "funding_office.agency_name", + "funding_office.department_code", + "funding_office.department_name", + "funding_office.office_code", + "funding_office.office_name", + "funding_office.organization_id", + "government_furnished_property", + "information_technology_commercial_item_category", + "information_technology_commercial_item_category.code", + "information_technology_commercial_item_category.description", + "inherently_governmental_functions", + "inherently_governmental_functions.code", + "inherently_governmental_functions.description", + "key", + "legislative_mandates", + "legislative_mandates.clinger_cohen_act_planning", + "legislative_mandates.construction_wage_rate_requirements", + "legislative_mandates.employment_eligibility_verification", + "legislative_mandates.interagency_contracting_authority", + "legislative_mandates.labor_standards", + "legislative_mandates.materials_supplies_articles_equipment", + "legislative_mandates.other_statutory_authority", + "legislative_mandates.service_contract_inventory", + "local_area_set_aside", + "major_program", + "naics", + "naics.code", + "naics.description", "naics_code", - "name", - "opportunity", - "opportunity.active", - "opportunity.agency", - "opportunity.agency.abbreviation", - "opportunity.agency.code", - "opportunity.agency.name", - "opportunity.agency_id", - "opportunity.archive_date", - "opportunity.attachments", - "opportunity.attachments.attachment_id", - "opportunity.attachments.extracted_text", - "opportunity.attachments.file_size", - "opportunity.attachments.mime_type", - "opportunity.attachments.name", - "opportunity.attachments.posted_date", - "opportunity.attachments.resource_id", - "opportunity.attachments.type", - "opportunity.attachments.url", - "opportunity.award_number", - "opportunity.department", - "opportunity.department.abbreviation", - "opportunity.department.cgac", - "opportunity.department.code", - "opportunity.department.congressional_justification", - "opportunity.department.description", - "opportunity.department.name", - "opportunity.department.website", - "opportunity.department_id", - "opportunity.description", - "opportunity.first_notice_date", - "opportunity.last_notice_date", - "opportunity.latest_notice", - "opportunity.latest_notice.link", - "opportunity.latest_notice.notice_id", - "opportunity.latest_notice_id", - "opportunity.meta", - "opportunity.meta.attachments_count", - "opportunity.meta.notice_type", - "opportunity.meta.notice_type.code", - "opportunity.meta.notice_type.type", - "opportunity.meta.notices_count", - "opportunity.naics_code", - "opportunity.notice_history", - "opportunity.notice_history.deleted", - "opportunity.notice_history.index", - "opportunity.notice_history.latest", - "opportunity.notice_history.notice_id", - "opportunity.notice_history.notice_type_code", - "opportunity.notice_history.parent_notice_id", - "opportunity.notice_history.posted_date", - "opportunity.notice_history.related_notice_id", - "opportunity.notice_history.solicitation_number", - "opportunity.notice_history.title", - "opportunity.office", - "opportunity.office.agency_code", - "opportunity.office.agency_name", - "opportunity.office.department_code", - "opportunity.office.department_name", - "opportunity.office.office_code", - "opportunity.office.office_name", - "opportunity.office.organization_id", - "opportunity.office_id", - "opportunity.opportunity_id", - "opportunity.place_of_performance", - "opportunity.place_of_performance.city", - "opportunity.place_of_performance.country", - "opportunity.place_of_performance.state", - "opportunity.place_of_performance.street_address", - "opportunity.place_of_performance.zip", - "opportunity.primary_contact", - "opportunity.primary_contact.email", - "opportunity.primary_contact.fax", - "opportunity.primary_contact.full_name", - "opportunity.primary_contact.phone", - "opportunity.primary_contact.title", - "opportunity.psc_code", - "opportunity.response_deadline", - "opportunity.sam_url", - "opportunity.secondary_contact", - "opportunity.secondary_contact.email", - "opportunity.secondary_contact.fax", - "opportunity.secondary_contact.full_name", - "opportunity.secondary_contact.phone", - "opportunity.secondary_contact.title", - "opportunity.set_aside", - "opportunity.set_aside.code", - "opportunity.set_aside.description", - "opportunity.snippet", - "opportunity.solicitation_number", - "opportunity.title", - "opportunity_id", - "order_count", - "organization", - "organization.agency_code", - "organization.agency_name", - "organization.department_code", - "organization.department_name", - "organization.office_code", - "organization.office_name", - "organization.organization_id", - "organization_id", - "program_acronym", + "number_of_actions", + "number_of_offers_source", + "obligated", + "officers", + "officers.highly_compensated_officer_1_amount", + "officers.highly_compensated_officer_1_name", + "officers.highly_compensated_officer_2_amount", + "officers.highly_compensated_officer_2_name", + "officers.highly_compensated_officer_3_amount", + "officers.highly_compensated_officer_3_name", + "officers.highly_compensated_officer_4_amount", + "officers.highly_compensated_officer_4_name", + "officers.highly_compensated_officer_5_amount", + "officers.highly_compensated_officer_5_name", + "parent_award", + "parent_award.key", + "parent_award.piid", + "performance_based_service_acquisition", + "performance_based_service_acquisition.code", + "performance_based_service_acquisition.description", + "period_of_performance", + "period_of_performance.current_end_date", + "period_of_performance.start_date", + "period_of_performance.ultimate_completion_date", + "piid", + "place_of_manufacture", + "place_of_manufacture.code", + "place_of_manufacture.description", + "place_of_performance", + "place_of_performance.city_name", + "place_of_performance.country_code", + "place_of_performance.country_name", + "place_of_performance.state_code", + "place_of_performance.state_name", + "place_of_performance.zip_code", + "price_evaluation_percent_difference", + "psc", + "psc.code", + "psc.description", "psc_code", + "purchase_card_as_payment_method", + "recipient", + "recipient.cage", + "recipient.cage_code", + "recipient.display_name", + "recipient.legal_business_name", + "recipient.uei", + "recovered_materials_sustainability", + "recovered_materials_sustainability.code", + "recovered_materials_sustainability.description", + "research", + "research.code", + "research.description", + "sam_exception", + "sam_exception.code", + "sam_exception.description", "set_aside", - "solicitation_date", - "solicitation_description", + "set_aside.code", + "set_aside.description", + "simplified_procedures_for_certain_commercial_items", + "small_business_competitiveness_demonstration_program", "solicitation_identifier", - "solicitation_title", - "total_obligated", - "type_of_idc", - "uuid", - "vehicle_contracts_value", - "vehicle_obligations", - "vehicle_type", - "who_can_use" + "subawards_summary", + "subawards_summary.count", + "subawards_summary.total_amount", + "subcontracting_plan", + "subcontracting_plan.code", + "subcontracting_plan.description", + "total_contract_value", + "tradeoff_process", + "tradeoff_process.code", + "tradeoff_process.description", + "transactions", + "transactions.action_type", + "transactions.description", + "transactions.modification_number", + "transactions.obligated", + "transactions.transaction_date", + "type_of_set_aside_source", + "undefinitized_action", + "undefinitized_action.code", + "undefinitized_action.description", + "vehicle", + "vehicle.agency_id", + "vehicle.award_date", + "vehicle.contract_type", + "vehicle.description", + "vehicle.fiscal_year", + "vehicle.last_date_to_order", + "vehicle.naics_code", + "vehicle.psc_code", + "vehicle.set_aside", + "vehicle.solicitation_date", + "vehicle.solicitation_description", + "vehicle.solicitation_identifier", + "vehicle.solicitation_title", + "vehicle.type_of_idc", + "vehicle.uuid", + "vehicle.vehicle_type", + "vehicle.who_can_use" ], + "shape_gated_by_level": {}, "shape_supported": true, "shape_tier_required": null, - "viewset": "awards.views.vehicles.VehicleViewSet" + "viewset": "awards.views.vehicles.VehicleOrdersViewSet" }, - "swagger_has_key": true, - "swagger_params": [ - "agency", - "award_date_after", - "award_date_before", - "contract_type", - "fiscal_year", - "flat", - "flat_lists", - "idv_count_max", - "idv_count_min", - "joiner", - "last_date_to_order_after", - "last_date_to_order_before", - "limit", - "naics_code", - "order_count_max", - "order_count_min", - "ordering", - "organization_id", - "page", - "program_acronym", - "psc_code", - "search", - "set_aside", - "shape", - "show_shapes", - "total_obligated_max", - "total_obligated_min", - "type_of_idc", - "vehicle_type", - "who_can_use" - ] + "swagger_has_key": false, + "swagger_params": [] } }, "unmapped_resources": { "no_docs_page": [ "agencies", + "agencies_contracts_awarding", + "agencies_contracts_funding", "assistance_listings", "budget/accounts", "business_types", "contracts", + "contracts_subawards", "departments", "dibbs/awards", "dibbs/rfps", "dibbs/rfqs", "entities", + "entities_contracts", + "entities_idvs", + "entities_lcats", + "entities_otas", + "entities_otidvs", + "entities_subawards", "events", "exclusions", "forecasts", "grants", "gsa_elibrary_contracts", "idvs", + "idvs_awards", + "idvs_idvs", + "idvs_lcats", "itdashboard", "mas_sins", "naics", @@ -9217,24 +16609,44 @@ "organizations", "otas", "otidvs", + "otidvs_awards", "protests", "psc", "sbir/solicitations", "sbir/topics", + "sled/forecasts", + "sled/opportunities", "subawards", - "vehicles" + "vehicles", + "vehicles_orders" ], "no_swagger": [ + "agencies_contracts_awarding", + "agencies_contracts_funding", "budget/accounts", + "contracts_subawards", "dibbs/awards", "dibbs/rfps", "dibbs/rfqs", + "entities_contracts", + "entities_idvs", + "entities_lcats", + "entities_otas", + "entities_otidvs", + "entities_subawards", "events", + "idvs_awards", + "idvs_idvs", + "idvs_lcats", "itdashboard", "news", + "otidvs_awards", "protests", "sbir/solicitations", - "sbir/topics" + "sbir/topics", + "sled/forecasts", + "sled/opportunities", + "vehicles_orders" ] } } diff --git a/contracts/shape_coverage_baseline.json b/contracts/shape_coverage_baseline.json index fa6c0a4..ec141ed 100644 --- a/contracts/shape_coverage_baseline.json +++ b/contracts/shape_coverage_baseline.json @@ -1,5 +1,20 @@ { "description": "Known reverse shape-coverage gaps (Tango exposes, SDK schema lacks), accepted as a tracked backlog. check-shape-coverage.ts fails only on gaps NOT listed here. Burn down and regenerate with --update-baseline.", - "count": 0, - "known_gaps": [] + "count": 14, + "known_gaps": [ + "unmapped_resource|agencies_contracts_awarding|(root)|(no model mapped)", + "unmapped_resource|agencies_contracts_funding|(root)|(no model mapped)", + "unmapped_resource|contracts_subawards|(root)|(no model mapped)", + "unmapped_resource|entities_contracts|(root)|(no model mapped)", + "unmapped_resource|entities_idvs|(root)|(no model mapped)", + "unmapped_resource|entities_lcats|(root)|(no model mapped)", + "unmapped_resource|entities_otas|(root)|(no model mapped)", + "unmapped_resource|entities_otidvs|(root)|(no model mapped)", + "unmapped_resource|entities_subawards|(root)|(no model mapped)", + "unmapped_resource|idvs_awards|(root)|(no model mapped)", + "unmapped_resource|idvs_idvs|(root)|(no model mapped)", + "unmapped_resource|idvs_lcats|(root)|(no model mapped)", + "unmapped_resource|otidvs_awards|(root)|(no model mapped)", + "unmapped_resource|vehicles_orders|(root)|(no model mapped)" + ] } diff --git a/docs/API_REFERENCE.md b/docs/API_REFERENCE.md index c98ba50..96474d1 100644 --- a/docs/API_REFERENCE.md +++ b/docs/API_REFERENCE.md @@ -265,7 +265,7 @@ The canonical agency/department/office hierarchy. `level` filters by hierarchy d ```ts const orgs = await client.listOrganizations({ - level: 1, // 1 = department, 2 = agency, 3 = sub-agency, … + level: 1, // 1 = department, 2 = agency, 3 = sub-agency, … include_inactive: false, search: "Defense", limit: 25, @@ -438,13 +438,13 @@ const accounts = await client.listBudgetAccounts({ The range filters use the API's **dunder wire names** (double underscore, e.g. `fiscal_year__gte`) — these are passed through verbatim. A representative sample: -| Filter family | Example params | -| ------------- | -------------- | -| Identity / categorical | `federal_account_symbol`, `fiscal_year`, `agency_code__in`, `bureau_name__icontains`, `bea_category`, `subfunction_code`, `account_title__icontains` | -| Lifecycle amounts | `requested_ba__gte`, `enacted_ba__lte`, `apportioned__gte`, `obligated_total__gte`, `outlayed_total__lte`, `unobligated_balance__gte` | -| Contract / assistance breakdowns | `contract_obligated__gte`, `assistance_outlayed__lte`, `contract_share_of_obligated_capped__gte` | -| Ratios | `obligated_to_apportioned_pct__gte`, `apportioned_to_enacted_pct_capped__lte`, `outlayed_to_obligated_pct__gte`, `unobligated_pct__gte` | -| Trends | `enacted_ba_yoy_pct__gte`, `obligated_yoy_pct__lte`, `enacted_ba_5yr_cagr__gte`, `ba_growth_next_year_pct__gte`, `actual_vs_requested_contract__gte` | +| Filter family | Example params | +| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| Identity / categorical | `federal_account_symbol`, `fiscal_year`, `agency_code__in`, `bureau_name__icontains`, `bea_category`, `subfunction_code`, `account_title__icontains` | +| Lifecycle amounts | `requested_ba__gte`, `enacted_ba__lte`, `apportioned__gte`, `obligated_total__gte`, `outlayed_total__lte`, `unobligated_balance__gte` | +| Contract / assistance breakdowns | `contract_obligated__gte`, `assistance_outlayed__lte`, `contract_share_of_obligated_capped__gte` | +| Ratios | `obligated_to_apportioned_pct__gte`, `apportioned_to_enacted_pct_capped__lte`, `outlayed_to_obligated_pct__gte`, `unobligated_pct__gte` | +| Trends | `enacted_ba_yoy_pct__gte`, `obligated_yoy_pct__lte`, `enacted_ba_5yr_cagr__gte`, `ba_growth_next_year_pct__gte`, `actual_vs_requested_contract__gte` | See `ListBudgetAccountsOptions` in `src/client.ts` for the complete list — every filter is a typed, autocompleted option. Any of the numeric fields is a valid `ordering` target (`ordering: "-unobligated_balance"` ranks by largest headroom first), and `search` covers account title, agency name, and bureau name. @@ -508,6 +508,97 @@ Two API behaviors worth knowing: --- +## State & Local (SLED) — Beta + +State, local and education procurement — solicitations that never appear on SAM.gov because they were never federal. Coverage is partial and grows one jurisdiction at a time. + +This data does not join to the federal data: no UEI, no PIID, no agency-hierarchy key and no NAICS/PSC crosswalk. `organization(*)` here is three strings, not the federal 7-key office payload. + +### `listSledOpportunities(options?)` / `getSledOpportunity(opportunityId, options?)` + +```ts +const open = await client.listSledOpportunities({ + state: "TX", + response_deadline_before: "2026-10-01", + ordering: "response_deadline", +}); +``` + +Typed filters: `state`, `jurisdiction`, `status`, `active`, `agency`, `solicitation_number`, `solicitation_type`, `has_documents`, `revision_kind`, `naics`, `nigp`, `unspsc`, `category`, `category_code`, `posted_after` / `posted_before`, `response_deadline_after` / `response_deadline_before`, `first_seen_after` / `first_seen_before`, `change_seen_after`, `modified_after` / `modified_before`, `platform`, `native_id`, `external_id`, `search`, `ordering`. + +**Two defaults to know before your first call:** + +- **Passing neither `status` nor `active` returns open solicitations only.** Only about a fifth of the corpus is open, and a portal drops a closed solicitation rather than restating it, so the API defaults the list to `status=open`. Pass an explicit `status` to page the whole corpus; `status: "open|unknown"` also reaches the standing rosters and dateless RFIs that `unknown` covers. `getSledOpportunity()` returns a solicitation whatever its status. +- **`status` is Tango's answer, not the portal's.** It is derived from the portal's word, the deadline and the clock, and refreshed every fifteen minutes. The portal's own word is served as `source_status`, is frozen at last capture, and is not filterable — most of what it calls open already has a passed deadline. + +`?search=` is ranked over title, agency, identifiers, category labels and description, widened by the solicitations whose _attachment text_ matched. A row that matched on its description carries a `snippet` with the matching passage; a title-or-agency match honestly carries none. Attachment matching contributes ids only — a caller learns _that_ a document matched, never what it said. + +`category_codes` scheme tagging is mid-migration, so **`naics` matches only the small tagged share**. Use `category_code` to match a code under any scheme, including the untagged pre-migration strings. + +```ts +const row = await client.getSledOpportunity(id, { + shape: "opportunity_id,title,status,meta(*),attachments(*),revisions(*)", +}); +``` + +`meta.attachment_count` can be **lower** than `row.attachments.length`. Some portals auto-generate a cover sheet alongside the real documents; it is listed and flagged `is_generated_summary` but excluded from the count and from `has_documents`. The count answers "does this record hold its solicitation package"; the array answers "what files exist". `size_bytes` and `char_count` only mean something as a pair. + +**Reading a document body — `attachments(extracted_text)`:** + +```ts +const row = await client.getSledOpportunity(id, { + shape: "opportunity_id,attachments(name,size_bytes,extracted_text)", +}); +``` + +Requires a **Small plan or above** and Tango API 4.25.1+. Three rules: + +- **You have to name it.** `attachments(*)` does not carry the body and neither `ShapeConfig` default names it — the API only resolves it for a caller who asked, so a default would make every detail fetch pay for a document nobody wanted to read. +- **The key is absent, not null**, whenever the text is not being served to you: below Small (withheld and named in `meta.upgrade_hints`), on a contested document, or where it could not be resolved. +- **A contested document never returns text**, at any plan — its stored bytes disagree with what the record advertised. + +Searching document text and reading it are separate. `search` matches inside attachment text on **every plan** and returns no fragment of it; the body is a per-record read on Small and above. + +`raw(*)` needs a Small plan or above and is explicitly unstable: its shape varies by portal platform. + +### `listSledOpportunityRevisions(opportunityId, options?)` + +```ts +const revisions = await client.listSledOpportunityRevisions(id, { kind: "deadline_change" }); +``` + +Typed filters: `kind`, `source_declared`, `observed_after` / `observed_before`. + +`observed_at` is the scrape that saw the change, not the date the agency made it. No state portal emits amendment notices, so `kind` is Tango's inference from the diff on about 95% of revisions, resolution is that state's crawl cadence, and history starts when Tango began reading the jurisdiction rather than when the solicitation was posted. + +Unlike the `revisions(*)` expand, this route serves `enrichment` rows — Tango's own detail fetch filling in coverage rather than an agency amendment. Pass `kind: "enrichment"` for only those. `changes` (the per-field before and after) needs a Small plan, which is why it is left out of `SLED_REVISIONS_MINIMAL`; `changed_fields` is in the default and available at every plan. + +### `getSledCoverage()` + +```ts +const coverage = await client.getSledCoverage(); +for (const row of coverage.states as Array>) { + console.log(row.state, row.total_count, row.by_status, row.last_change_observed_at); +} +``` + +**Call this before treating a per-state count as market size.** A thin result for a state is at least as likely to be a portal Tango does not read as a quiet market, and that is the ambiguity this endpoint exists to resolve. Every state row carries all five status buckets whether or not they have rows, so a total and two buckets never invite subtraction. Takes no parameters and is neither shaped nor paginated. + +### `listSledForecasts(options?)` / `getSledForecast(forecastId, options?)` + +```ts +const forecasts = await client.listSledForecasts({ state: "MD", advertisement_after: "2026-10-01" }); +``` + +Typed filters: `state`, `agency`, `procurement_category`, `procurement_method`, `contract_number`, `incumbent_name`, `advertisement_after` / `advertisement_before`, `first_seen_after` / `first_seen_before`, `modified_after` / `modified_before`, `search`, `ordering`. + +- **Forecasts carry no liveness at all** — no deadline to have passed, so no `status`, no `active`, and no open-only default. Currency is the caller's call from `estimated_advertisement_date`. +- `estimated_advertisement_date` is the **start of the published quarter**, not a posting date. `estimated_advertisement_raw` keeps the portal's own words (`"Q3 (Jan.-March 2027)"`), and a large share of rows publish no quarter at all. +- `estimated_value(min,max,raw)` is parsed from a free-text award band at serve time. **A band naming one number is a floor, so `max` is null** — never read a missing `max` as an unbounded ceiling. +- `incumbent_name` is published text, not a resolved Tango entity. + +--- + ## Exclusions SAM.gov exclusion records (debarments, suspensions, and other ineligibility actions). @@ -749,7 +840,7 @@ for await (const contract of client.iterate("listContracts", { awarding_agency: } ``` -Named wrappers: `iterateContracts`, `iterateEntities`, `iterateOpportunities`, `iterateNotices`, `iterateGrants`, `iterateForecasts`, `iterateIdvs`, `iterateVehicles`, `iterateDibbsRfqs`, `iterateDibbsRfps`, `iterateDibbsAwards`, `iterateExclusions`, `iterateSbirTopics`, `iterateSbirSolicitations`. +Named wrappers: `iterateContracts`, `iterateEntities`, `iterateOpportunities`, `iterateNotices`, `iterateGrants`, `iterateForecasts`, `iterateIdvs`, `iterateVehicles`, `iterateDibbsRfqs`, `iterateDibbsRfps`, `iterateDibbsAwards`, `iterateExclusions`, `iterateSbirTopics`, `iterateSbirSolicitations`, `iterateSledOpportunities`, `iterateSledForecasts`. --- @@ -845,11 +936,11 @@ The Alerts API is a filter-subscription convenience layer on top of subscription ```ts // Create const alert = await client.createWebhookAlert({ - name: "New IT cloud contracts", // vs subscription_name on the wire - query_type: "contract", // SINGULAR — not "contracts" - filters: { naics: "541511" }, // vs filter_definition on the wire - frequency: "realtime", // realtime | daily | weekly | custom - cron_expression: undefined, // required if frequency === "custom" + name: "New IT cloud contracts", // vs subscription_name on the wire + query_type: "contract", // SINGULAR — not "contracts" + filters: { naics: "541511" }, // vs filter_definition on the wire + frequency: "realtime", // realtime | daily | weekly | custom + cron_expression: undefined, // required if frequency === "custom" }); // List diff --git a/docs/WEBHOOKS.md b/docs/WEBHOOKS.md index 90537f6..fc7b61e 100644 --- a/docs/WEBHOOKS.md +++ b/docs/WEBHOOKS.md @@ -472,6 +472,10 @@ console.log(JSON.stringify(sample.sample_delivery, null, 2)); **`createWebhookAlert` throws `TangoValidationError: query_type is required`.** The `query_type` field is singular — `"contract"`, not `"contracts"`. +**An alert never fires when a record just reaches its date — except `sled_opportunity`.** An exclusion passing its termination date, or a DIBBS RFQ/RFP passing its close date, emits nothing: open/closed and in-force are derived at query time, so no stored row changes. Poll `listExclusions({ active: true })` / `listDibbsRfqs({ open: true })` if you need to observe expiry. + +`sled_opportunity` is the one exception. A state solicitation's liveness is a stored `status` column Tango recomputes every fifteen minutes rather than deriving per request, so a deadline passing **is** a write and `alerts.sled_opportunity.match` can follow it. There is no `sled_forecast` query type — a forecast has no deadline, so nothing transitions — and SLED revisions and attachments are not separately alertable: subscribe to `sled_opportunity` and filter on `change_seen_after` or `revision_kind`. + **`testWebhookEndpoint` returns `success: false`.** Tango reached your endpoint but got a non-2xx response. Check `result.status_code` and `result.response_body` in the result, then look at your handler's logs. **`getWebhookSamplePayload` throws with 401.** Set `TANGO_API_KEY` (or pass `apiKey` to `TangoClient`). This endpoint requires authentication. diff --git a/scripts/check-filter-shape-conformance.ts b/scripts/check-filter-shape-conformance.ts index 0d68561..d98647f 100644 --- a/scripts/check-filter-shape-conformance.ts +++ b/scripts/check-filter-shape-conformance.ts @@ -79,6 +79,24 @@ export const RESOURCE_TO_METHOD: Record = { exclusions: "listExclusions", "sbir/topics": "listSbirTopics", "sbir/solicitations": "listSbirSolicitations", + "sled/opportunities": "listSledOpportunities", + "sled/forecasts": "listSledForecasts", + // Nested sub-resource routes, published by the contract for the first time at + // schema_version 2. Each has a method; each takes its parent id positionally. + agencies_contracts_awarding: "listAgencyAwardingContracts", + agencies_contracts_funding: "listAgencyFundingContracts", + contracts_subawards: "getContractSubawards", + entities_contracts: "listEntityContracts", + entities_idvs: "listEntityIdvs", + entities_lcats: "listEntityLcats", + entities_otas: "listEntityOtas", + entities_otidvs: "listEntityOtidvs", + entities_subawards: "listEntitySubawards", + idvs_awards: "listIdvAwards", + idvs_idvs: "listIdvChildIdvs", + idvs_lcats: "listIdvLcats", + otidvs_awards: "listOtidvAwards", + vehicles_orders: "listVehicleOrders", // Genuinely absent from the SDK: content endpoints with no shaping and no list method — permanently baselined. events: null, news: null, diff --git a/scripts/check-shape-coverage.ts b/scripts/check-shape-coverage.ts index c26def3..15f9d8c 100644 --- a/scripts/check-shape-coverage.ts +++ b/scripts/check-shape-coverage.ts @@ -78,6 +78,8 @@ export const RESOURCE_TO_MODEL: Record = { exclusions: "Exclusion", "sbir/topics": "SbirTopic", "sbir/solicitations": "SbirSolicitation", + "sled/opportunities": "SledOpportunity", + "sled/forecasts": "SledForecast", events: "Event", news: "News", }; diff --git a/src/client.ts b/src/client.ts index 1be7130..c9f165f 100644 --- a/src/client.ts +++ b/src/client.ts @@ -6,15 +6,7 @@ import type { ShapeSpec } from "./shapes/types.js"; import { isRecord } from "./utils/guards.js"; import { HttpClient } from "./utils/http.js"; import { unflattenResponse } from "./utils/unflatten.js"; -import { - AgencyRecord, - PaginatedResponse, - ProtestRecord, - RateLimitInfo, - ResolveResult, - TangoClientOptions, - ValidateResult, -} from "./types.js"; +import { AgencyRecord, PaginatedResponse, ProtestRecord, RateLimitInfo, ResolveResult, TangoClientOptions, ValidateResult } from "./types.js"; import type { WebhookAlert, WebhookAlertCreateInput, @@ -210,21 +202,21 @@ export interface ListContractsOptions extends ListOptionsBase { piid?: string; solicitation_identifier?: string; naics?: string; - naics_code?: string; // SDK-friendly alias mapped to `naics` + naics_code?: string; // SDK-friendly alias mapped to `naics` psc?: string; - psc_code?: string; // SDK-friendly alias mapped to `psc` + psc_code?: string; // SDK-friendly alias mapped to `psc` recipient?: string; - recipient_name?: string; // SDK-friendly alias mapped to `recipient` + recipient_name?: string; // SDK-friendly alias mapped to `recipient` uei?: string; - recipient_uei?: string; // SDK-friendly alias mapped to `uei` + recipient_uei?: string; // SDK-friendly alias mapped to `uei` set_aside?: string; - set_aside_type?: string; // SDK-friendly alias mapped to `set_aside` + set_aside_type?: string; // SDK-friendly alias mapped to `set_aside` // Search + ordering search?: string; - keyword?: string; // SDK-friendly alias mapped to `search` + keyword?: string; // SDK-friendly alias mapped to `search` ordering?: string; - sort?: string; // SDK-friendly alias combined with `order` → `ordering` + sort?: string; // SDK-friendly alias combined with `order` → `ordering` order?: "asc" | "desc"; [key: string]: unknown; @@ -688,6 +680,108 @@ export interface ListSbirSolicitationsOptions extends ListOptionsBase { [key: string]: unknown; } +/** + * SLED solicitation list options. + * + * Two things behave unlike the federal endpoints. + * + * Passing neither `status` nor `active` returns open solicitations only — the API defaults the list to `status=open`, because only about a fifth of the corpus is open and portals drop a closed solicitation rather than restating it. Pass an explicit `status` to page the whole corpus. `getSledOpportunity()` returns a solicitation whatever its status. + * + * `status` is Tango-derived liveness, refreshed every fifteen minutes. The portal's own word is served as `source_status`, is frozen at last capture, and is NOT filterable — most of what it calls open already has a passed deadline. + */ +export interface ListSledOpportunitiesOptions extends ListOptionsBase { + joiner?: string; + /** Two-letter state or territory code. Multi-value: `"TX|OK"`. */ + state?: string; + /** `state`, `local`, `education`, or `unknown` for aggregator rows that cannot tell state from local. */ + jurisdiction?: string; + /** `open`, `closed`, `awarded`, `cancelled` or `unknown`. Absent (with `active` also absent) the API returns open only; `unknown` is hidden by that default and reachable with `"open|unknown"`. */ + status?: string; + /** Sugar for federal-shaped callers: true is `status=open`, false is its complement (so it includes `unknown`). */ + active?: boolean; + /** Substring match on the buyer's published text (min 2 characters). No code resolution behind it — state agencies have no entry in the federal organization tree. */ + agency?: string; + solicitation_number?: string; + /** `rfp`, `ifb`, `rfq`, `rfi`, `itb`, `sole_source`, `grant` or `other`. `"null"` (the portal states no type) is a distinct answer from `"other"`. */ + solicitation_type?: string; + has_documents?: boolean; + /** Kind of the most recent substantive revision. */ + revision_kind?: string; + /** Exact match within the `naics` category scheme. Thin on purpose: scheme tagging is mid-migration, so only a small share of entries are tagged NAICS. Prefer `category_code` unless you need scheme precision. */ + naics?: string; + nigp?: string; + unspsc?: string; + /** Exact match within the `text` scheme, where the code is the portal's own human label. */ + category?: string; + /** Match a code under ANY scheme, including the untagged pre-migration strings. The escape hatch when a scheme-specific filter returns less than you expected. */ + category_code?: string; + posted_after?: string; + posted_before?: string; + response_deadline_after?: string; + response_deadline_before?: string; + /** When Tango FIRST OBSERVED the solicitation. The polling primitive. */ + first_seen_after?: string; + first_seen_before?: string; + /** When Tango OBSERVED the last substantive change. A scrape date, not an amendment date. */ + change_seen_after?: string; + modified_after?: string; + modified_before?: string; + /** Support filter identifying the source portal's platform family. Not in any response shape, and not a stable value. */ + platform?: string; + /** Support filter — the portal's own identifier. */ + native_id?: string; + /** Support filter — Tango's opaque lake key. At most 500 values. */ + external_id?: string; + /** Ranked full-text search over title, agency, identifiers, category labels and description, widened by the solicitations whose ATTACHMENT text matched (min 2 characters). Adds a `snippet` to rows that matched on their description. */ + search?: string; + /** Sort field (rank, response_deadline, posted_date, first_seen_at, last_seen_at, last_change_seen_at, modified). `rank` requires a non-empty `search`. */ + ordering?: string; + [key: string]: unknown; +} + +/** SLED revision list options, for the nested `/revisions/` route. */ +export interface ListSledOpportunityRevisionsOptions extends ListOptionsBase { + joiner?: string; + /** Revision kind, plus `enrichment` — which the `revisions(*)` expand excludes and this route serves. Multi-value: use `|`. */ + kind?: string; + /** Whether the portal's own amendment marker moved at this emission. True on about 5% of revisions; everything else is Tango inferring the change from the diff. */ + source_declared?: boolean; + observed_after?: string; + observed_before?: string; + [key: string]: unknown; +} + +/** + * SLED forecast list options. + * + * Forecasts carry no liveness at all — no deadline to have passed, so no `status`, no `active`, and no open-only default. + */ +export interface ListSledForecastsOptions extends ListOptionsBase { + joiner?: string; + /** Two-letter state code. Multi-value: use `|`. */ + state?: string; + /** Substring match on the buyer's published text (min 2 characters). */ + agency?: string; + /** The portal's own category word, verbatim. */ + procurement_category?: string; + /** The portal's own method word, verbatim. */ + procurement_method?: string; + contract_number?: string; + /** Substring match on the incumbent vendor's name as published. NOT resolved to a Tango entity. */ + incumbent_name?: string; + /** Estimated advertisement date range. Remember the date is a QUARTER START, not a posting date. */ + advertisement_after?: string; + advertisement_before?: string; + first_seen_after?: string; + first_seen_before?: string; + modified_after?: string; + modified_before?: string; + search?: string; + /** Sort field (rank, estimated_advertisement_date, first_seen_at, last_seen_at, modified). `rank` requires a non-empty `search`. */ + ordering?: string; + [key: string]: unknown; +} + /** * List methods on `TangoClient` that `iterate()` knows how to drive. Every * entry must accept an options object and return a `PaginatedResponse` @@ -707,7 +801,9 @@ export type IterableListMethod = | "listDibbsAwards" | "listExclusions" | "listSbirTopics" - | "listSbirSolicitations"; + | "listSbirSolicitations" + | "listSledOpportunities" + | "listSledForecasts"; // --------------------------------------------------------------------------- // Read-method option interfaces (lookups + awards completeness + other) @@ -1127,10 +1223,7 @@ export class TangoClient { } /** List transactions under a contract (`/api/contracts/{key}/transactions/`). */ - async getContractTransactions( - key: string, - options: ListOptionsBase & { [key: string]: unknown } = {}, - ): Promise> { + async getContractTransactions(key: string, options: ListOptionsBase & { [key: string]: unknown } = {}): Promise> { if (!key) throw new TangoValidationError("Contract key is required"); return this._genericPaginatedList(`/api/contracts/${encodeURIComponent(key)}/transactions/`, options); } @@ -1777,9 +1870,7 @@ export class TangoClient { // duplicate). Raising client-side gives a clearer error and matches the // Python SDK's 1.0.0 behavior. if (!body.name) { - throw new TangoValidationError( - "createWebhookEndpoint: `name` is required. The Tango API enforces unique(user, name) on endpoints.", - ); + throw new TangoValidationError("createWebhookEndpoint: `name` is required. The Tango API enforces unique(user, name) on endpoints."); } // Preserve historical default for create: active endpoints unless caller opts out. if (body.is_active === undefined) { @@ -1845,12 +1936,7 @@ export class TangoClient { async createWebhookAlert(input: WebhookAlertCreateInput): Promise { if (!input?.name) throw new TangoValidationError("Webhook alert name is required"); if (!input.query_type) throw new TangoValidationError('Webhook alert query_type is required (singular, e.g. "contract")'); - if ( - !input.filters || - typeof input.filters !== "object" || - Array.isArray(input.filters) || - Object.keys(input.filters).length === 0 - ) { + if (!input.filters || typeof input.filters !== "object" || Array.isArray(input.filters) || Object.keys(input.filters).length === 0) { throw new TangoValidationError("Webhook alert filters must be a non-empty plain object"); } @@ -2021,6 +2107,14 @@ export class TangoClient { return this.iterate>("listSbirSolicitations", options); } + iterateSledOpportunities(options: ListSledOpportunitiesOptions = {}): AsyncIterableIterator> { + return this.iterate>("listSledOpportunities", options); + } + + iterateSledForecasts(options: ListSledForecastsOptions = {}): AsyncIterableIterator> { + return this.iterate>("listSledForecasts", options); + } + // --------------------------------------------------------------------------- // Lookups // --------------------------------------------------------------------------- @@ -2278,10 +2372,7 @@ export class TangoClient { } /** Get a single budget account by id (`/api/budget/accounts/{id}/`). */ - async getBudgetAccount( - id: string | number, - options: { shape?: string | null; flat?: boolean; flatLists?: boolean } = {}, - ): Promise { + async getBudgetAccount(id: string | number, options: { shape?: string | null; flat?: boolean; flatLists?: boolean } = {}): Promise { if (id === undefined || id === null || id === "") { throw new TangoValidationError("Budget account id is required"); } @@ -2299,10 +2390,7 @@ export class TangoClient { * * `tas` narrows to a single Treasury Account Symbol. */ - async getBudgetAccountQuarters( - id: string | number, - options: { tas?: string; limit?: number } = {}, - ): Promise> { + async getBudgetAccountQuarters(id: string | number, options: { tas?: string; limit?: number } = {}): Promise> { if (id === undefined || id === null || id === "") { throw new TangoValidationError("Budget account id is required"); } @@ -2452,6 +2540,93 @@ export class TangoClient { ); } + // --------------------------------------------------------------------------- + // State, local and education (SLED) procurement + // --------------------------------------------------------------------------- + + /** + * List state, local and education solicitations (`/api/sled/opportunities/`). + * + * Beta. Coverage is partial and grows one jurisdiction at a time, so a thin per-state result is at least as likely to be a portal Tango does not read as a quiet market — call `getSledCoverage()` before treating a per-state count as market size. + * + * Passing neither `status` nor `active` returns open solicitations only; that default is the API's, and this method deliberately does not synthesize one, since doing so would make `active: false` unreachable. + */ + async listSledOpportunities(options: ListSledOpportunitiesOptions = {}): Promise>> { + return this._shapedPaginatedList("/api/sled/opportunities/", "SledOpportunity", ShapeConfig.SLED_OPPORTUNITIES_MINIMAL, options); + } + + /** + * Get a single SLED solicitation by `opportunity_id` (`/api/sled/opportunities/{opportunity_id}/`). + * + * The open-only default applies to the list endpoint, not here — a closed solicitation still resolves on its own URL. + */ + async getSledOpportunity( + opportunityId: string, + options: { shape?: string | null; flat?: boolean; flatLists?: boolean; joiner?: string } = {}, + ): Promise> { + if (!opportunityId) throw new TangoValidationError("opportunity_id is required"); + return this._shapedGet( + `/api/sled/opportunities/${encodeURIComponent(opportunityId)}/`, + "SledOpportunity", + ShapeConfig.SLED_OPPORTUNITIES_COMPREHENSIVE, + options, + ); + } + + /** + * List one solicitation's observed revision history (`/api/sled/opportunities/{opportunity_id}/revisions/`). + * + * `observed_at` is the scrape that saw the change, not the date the agency made it: no state portal emits amendment notices, so resolution is that state's crawl cadence and history starts when Tango began reading the jurisdiction. + * + * Unlike the `revisions(*)` expand, this route serves `enrichment` rows — Tango's own detail fetch filling in coverage rather than an agency amendment. Pass `kind: "enrichment"` for only those. + */ + async listSledOpportunityRevisions( + opportunityId: string, + options: ListSledOpportunityRevisionsOptions = {}, + ): Promise>> { + if (!opportunityId) throw new TangoValidationError("opportunity_id is required"); + return this._shapedPaginatedList( + `/api/sled/opportunities/${encodeURIComponent(opportunityId)}/revisions/`, + "SledOpportunityRevision", + ShapeConfig.SLED_REVISIONS_MINIMAL, + options, + ); + } + + /** + * Get the per-state SLED coverage rollup (`/api/sled/opportunities/coverage/`). + * + * Corpus totals plus one row per jurisdiction — the total, the count in each of the five statuses, the jurisdiction levels present, and when a solicitation there last changed. It answers one question: whether a thin result for a state is a thin market or a portal Tango does not read. + * + * Every state row carries all five status buckets whether or not they have rows, so a total and two buckets never invite subtraction. Takes no parameters and is neither shaped nor paginated. + */ + async getSledCoverage(): Promise> { + return this.http.get>("/api/sled/opportunities/coverage/", {}); + } + + /** + * List planned state procurements (`/api/sled/forecasts/`). + * + * Forecasts carry no liveness at all — there is no deadline to have passed, so there is no `status` option and no open-only default. Currency is the caller's call from `estimated_advertisement_date`, which is the START of the published quarter rather than a posting date. + */ + async listSledForecasts(options: ListSledForecastsOptions = {}): Promise>> { + return this._shapedPaginatedList("/api/sled/forecasts/", "SledForecast", ShapeConfig.SLED_FORECASTS_MINIMAL, options); + } + + /** Get a single SLED forecast by `forecast_id` (`/api/sled/forecasts/{forecast_id}/`). */ + async getSledForecast( + forecastId: string, + options: { shape?: string | null; flat?: boolean; flatLists?: boolean; joiner?: string } = {}, + ): Promise> { + if (!forecastId) throw new TangoValidationError("forecast_id is required"); + return this._shapedGet( + `/api/sled/forecasts/${encodeURIComponent(forecastId)}/`, + "SledForecast", + ShapeConfig.SLED_FORECASTS_COMPREHENSIVE, + options, + ); + } + // --------------------------------------------------------------------------- // Protests + IT Dashboard + Metrics // --------------------------------------------------------------------------- diff --git a/src/config.ts b/src/config.ts index 9aa8212..04936e6 100644 --- a/src/config.ts +++ b/src/config.ts @@ -64,54 +64,42 @@ export const ShapeConfig = { VEHICLE_AWARDEES_MINIMAL: "uuid,key,piid,award_date,title,order_count,idv_obligations,idv_contracts_value,recipient(display_name,uei)", // Default for listVehicleOrders() - VEHICLE_ORDERS_MINIMAL: - "key,piid,award_date,obligated,total_contract_value,description,recipient(display_name,uei)", + VEHICLE_ORDERS_MINIMAL: "key,piid,award_date,obligated,total_contract_value,description,recipient(display_name,uei)", // Default for listOrganizations() ORGANIZATIONS_MINIMAL: "key,fh_key,name,level,type,short_name", // Default for listOtas() - OTAS_MINIMAL: - "key,piid,award_date,recipient(display_name,uei),description,total_contract_value,obligated", + OTAS_MINIMAL: "key,piid,award_date,recipient(display_name,uei),description,total_contract_value,obligated", // Default for listOtidvs() OTIDVS_MINIMAL: "key,piid,award_date,recipient(display_name,uei),description,total_contract_value,obligated,idv_type", // Default for listSubawards() // Note: API does not accept "id" or "amount" in shape (unknown_field). Use only accepted fields. - SUBAWARDS_MINIMAL: - "award_key,prime_recipient(uei,display_name),subaward_recipient(uei,display_name)", + SUBAWARDS_MINIMAL: "award_key,prime_recipient(uei,display_name),subaward_recipient(uei,display_name)", // Default for listGsaElibraryContracts() - GSA_ELIBRARY_CONTRACTS_MINIMAL: - "uuid,contract_number,schedule,recipient(display_name,uei),idv(key,award_date)", + GSA_ELIBRARY_CONTRACTS_MINIMAL: "uuid,contract_number,schedule,recipient(display_name,uei),idv(key,award_date)", // Default for listItdashboardInvestments() // Free-tier safe: matches the API's INVESTMENT_LIST_DEFAULT_SHAPE. - ITDASHBOARD_INVESTMENTS_MINIMAL: - "uii,agency_name,bureau_name,investment_title," + - "type_of_investment,part_of_it_portfolio,updated_time,url", + ITDASHBOARD_INVESTMENTS_MINIMAL: "uii,agency_name,bureau_name,investment_title," + "type_of_investment,part_of_it_portfolio,updated_time,url", // Default for getItdashboardInvestment() // Free-tier safe: matches the API's INVESTMENT_RETRIEVE_DEFAULT_SHAPE. ITDASHBOARD_INVESTMENTS_COMPREHENSIVE: - "uii,agency_code,agency_name,bureau_code,bureau_name," + - "investment_title,type_of_investment,part_of_it_portfolio," + - "updated_time,url", + "uii,agency_code,agency_name,bureau_code,bureau_name," + "investment_title,type_of_investment,part_of_it_portfolio," + "updated_time,url", // Default for listDibbsRfqs() - DIBBS_RFQS_MINIMAL: - "uuid,solicitation,nsn,part_number,nomenclature,quantity,issue_date,return_by_date,is_open", + DIBBS_RFQS_MINIMAL: "uuid,solicitation,nsn,part_number,nomenclature,quantity,issue_date,return_by_date,is_open", // Default for listDibbsRfps() - DIBBS_RFPS_MINIMAL: - "uuid,solicitation,nsn,part_number,nomenclature,issued_date,closes_date,is_open", + DIBBS_RFPS_MINIMAL: "uuid,solicitation,nsn,part_number,nomenclature,issued_date,closes_date,is_open", // Default for listDibbsAwards(). total_contract_price is the ORDER total // repeated per line item — never sum it across rows. - DIBBS_AWARDS_MINIMAL: - "uuid,award_number,solicitation,nsn,part_number,nomenclature," + - "awardee_cage,award_date,total_contract_price", + DIBBS_AWARDS_MINIMAL: "uuid,award_number,solicitation,nsn,part_number,nomenclature," + "awardee_cage,award_date,total_contract_price", // Default for listExclusions() EXCLUSIONS_MINIMAL: @@ -119,12 +107,48 @@ export const ShapeConfig = { "excluding_agency_name,activate_date,termination_date,is_currently_excluded", // Default for listSbirTopics() - SBIR_TOPICS_MINIMAL: - "topic_id,topic_number,title,agency,activity,year," + - "solicitation_number,open_date,close_date,listed_open", + SBIR_TOPICS_MINIMAL: "topic_id,topic_number,title,agency,activity,year," + "solicitation_number,open_date,close_date,listed_open", // Default for listSbirSolicitations() SBIR_SOLICITATIONS_MINIMAL: - "solicitation_id,solicitation_number,title,program,activity," + - "cycle_name,solicitation_status,year,start_date,end_date", + "solicitation_id,solicitation_number,title,program,activity," + "cycle_name,solicitation_status,year,start_date,end_date", + + // Default for listSledOpportunities(). `description` is detail-only on the API + // (median ~550 chars, tail past 120k), so it is not in the list default. + SLED_OPPORTUNITIES_MINIMAL: + "opportunity_id,solicitation_number,solicitation_type,title,state," + + "jurisdiction,agency,status,status_reason,posted_date,response_deadline," + + "source_url,has_documents,first_seen_at,last_change_seen_at", + + // Default for getSledOpportunity(). `attachments(*)` deliberately does not pull + // `attachments(extracted_text)`: the body needs a Small plan and the API only + // resolves it when a caller names the leaf, so putting it in a default shape + // would make every detail fetch pay for a document nobody asked to read. + SLED_OPPORTUNITIES_COMPREHENSIVE: + "opportunity_id,solicitation_number,solicitation_type," + + "solicitation_type_source,title,description,state,jurisdiction,agency," + + "status,status_reason,status_computed_at,source_status,source_url," + + "posted_date,response_deadline,response_deadline_original," + + "bid_opening_date,bid_opening_raw,category_codes,has_documents," + + "first_seen_at,last_seen_at,last_change_seen_at," + + "organization(*),contact(*),meta(*),attachments(*),revisions(*)", + + // Default for listSledOpportunityRevisions(). `changes` is omitted because it + // needs a Small plan; name it explicitly when the caller has one. + SLED_REVISIONS_MINIMAL: "observed_at,sequence,kind,changed_fields,source_declared", + + // Default for listSledForecasts() + SLED_FORECASTS_MINIMAL: + "forecast_id,state,agency,title,estimated_advertisement_date," + + "estimated_advertisement_raw,procurement_category,procurement_method," + + "contract_number,incumbent_name,source_url,estimated_value(*)", + + // Default for getSledForecast() + SLED_FORECASTS_COMPREHENSIVE: + "forecast_id,state,agency,title,description," + + "estimated_advertisement_date,estimated_advertisement_raw," + + "procurement_category,procurement_method,contract_term,contract_number," + + "incumbent_name,mbe_dbe_goal,delivery_location,source_url,source_status," + + "has_documents,first_seen_at,last_seen_at," + + "organization(*),contact(*),estimated_value(*)", } as const; diff --git a/src/index.ts b/src/index.ts index b7a4a64..95456f3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -25,6 +25,9 @@ export type { ListExclusionsOptions, ListSbirTopicsOptions, ListSbirSolicitationsOptions, + ListSledOpportunitiesOptions, + ListSledOpportunityRevisionsOptions, + ListSledForecastsOptions, ListProtestsOptions, ListItDashboardOptions, ListMetricsOptions, diff --git a/src/models/Sled.ts b/src/models/Sled.ts new file mode 100644 index 0000000..991f8d0 --- /dev/null +++ b/src/models/Sled.ts @@ -0,0 +1,189 @@ +/** + * State, local and education (SLED) procurement (`/api/sled/opportunities/`, `/api/sled/forecasts/`). + * + * These endpoints use shape-on-demand: which fields appear depends on the `?shape=` query param, so EVERY field is optional. + * + * This data does not join to the federal data. There is no UEI, no PIID, no agency-hierarchy key and no NAICS/PSC crosswalk; `organization` here is three strings, not the federal 7-key office payload. + */ + +/** The buyer — the government and the body within it. Not the federal office payload: no code resolution and no `organization_id` to join on. */ +export interface SledOrganizationPayload { + state?: string | null; + /** `state`, `local` or `education`; null where the portal cannot distinguish. */ + level?: string | null; + agency?: string | null; +} + +/** Buyer contact as the portal publishes it. */ +export interface SledContactPayload { + name?: string | null; + email?: string | null; + phone?: string | null; +} + +/** Denormalized counts, costing no join. */ +export interface SledMetaPayload { + /** + * Documents the record holds, EXCLUDING auto-generated portal cover sheets. + * + * This can be lower than `attachments.length` — a generated sheet is a file, not a document the agency wrote, so it is listed and flagged `is_generated_summary` but left out of the count. The count answers "does this record hold its solicitation package"; the array answers "what files exist". + */ + attachment_count?: number | null; + /** Substantive revisions, excluding `enrichment`. */ + revision_count?: number | null; + last_revision_kind?: string | null; + /** Whether the portal's own amendment marker moved at the emission behind `last_change_seen_at`. False means Tango inferred the change by diffing consecutive scrapes, which is the common case. */ + last_change_source_declared?: boolean | null; +} + +/** + * One document a solicitation advertises — metadata and extraction stats, never the body. + * + * `size_bytes` and `char_count` only mean something as a pair: 3 MB that yielded no characters is a scan awaiting OCR, 3 MB that yielded 40,000 is a specification, and neither number says that alone. + */ +export interface SledAttachmentPayload { + name?: string | null; + extension?: string | null; + mime_type?: string | null; + checksum?: string | null; + /** The stored object's size. NULL means no blob is stored — never 0, which would read as an empty file. */ + size_bytes?: number | null; + char_count?: number | null; + word_count?: number | null; + pages?: number | null; + /** `completed`, `empty` or `failed`. `empty` is extraction succeeding with zero characters — almost always a scan awaiting OCR, a different problem from one that threw. */ + extraction_status?: string | null; + download_status?: string | null; + /** The stored object's checksum disagrees with what this record advertised — another solicitation's bytes under the same key. Served as a name and an existence, never as content. */ + is_contested?: boolean | null; + /** An auto-generated portal cover sheet rather than a document the agency wrote. Excluded from `meta.attachment_count` and `has_documents`. */ + is_generated_summary?: boolean | null; + first_seen_at?: string | null; + /** + * The document's extracted body. Requires a **Small plan or above**, Tango API 4.25.1+, and must be **named explicitly** — `attachments(*)` does not carry it. + * + * The key is ABSENT rather than null whenever the text is not being served to you: below Small (withheld and named in `meta.upgrade_hints`), on a contested document, or where the text could not be resolved. A contested document never returns text at any plan, because its stored bytes disagree with what the record advertised. + */ + extracted_text?: string | null; +} + +/** + * One observed change to a solicitation. + * + * `observed_at` is the scrape that saw the change, not the date the agency made it — no state portal emits amendment notices, so `kind` is Tango's inference from the diff on about 95% of revisions and `source_declared` is true only where a portal's own amendment marker moved. + */ +export interface SledRevisionPayload { + observed_at?: string | null; + /** 1-based within the record; what to page the history by. */ + sequence?: number | null; + /** `deadline_change`, `status_change`, `documents_added`, `documents_removed`, `documents_replaced`, `title_change`, `content_change` — plus `enrichment` on the nested revisions route only. */ + kind?: string | null; + changed_fields?: string[] | null; + /** The per-field before and after. Requires a Small plan or above; the key is absent below it. */ + changes?: Record | null; + source_declared?: boolean | null; +} + +/** A `{min, max}` display range read off a forecast's free-text award band, with the portal's string kept beside it. */ +export interface SledEstimatedValuePayload { + min?: number | null; + /** Null when the band names only one number — that is a floor, not an unbounded ceiling. */ + max?: number | null; + /** The portal's free-text award band, verbatim. Always there to check the parse against. */ + raw?: string | null; +} + +/** + * A state, local or education solicitation. + * + * Two behaviors have no federal equivalent. + * + * `status` is Tango-derived and refreshed every fifteen minutes. `source_status` is the portal's own word, frozen at last capture, and most of what it calls open already has a passed deadline — so never filter liveness on it. + * + * A list request passing neither `status` nor `active` returns open solicitations only, while a detail request returns the solicitation whatever its status. + */ +export interface SledOpportunity { + opportunity_id?: string; + solicitation_number?: string | null; + solicitation_type?: string | null; + /** Where the type came from: `portal`, `title`, `description` or `none`. About half of type fill is inferred rather than published. */ + solicitation_type_source?: string | null; + title?: string | null; + /** Detail-only on the API — median around 550 characters, tail past 120,000. Reach it on a list with `verbose: true` or by naming it in a shape. */ + description?: string | null; + state?: string | null; + /** `state`, `local` or `education`; null on aggregator portals that cannot distinguish. */ + jurisdiction?: string | null; + agency?: string | null; + /** Tango-derived liveness: `open`, `closed`, `awarded`, `cancelled`, `unknown`. */ + status?: string | null; + /** Which input decided `status`: `deadline_future`, `deadline_past`, `no_deadline`, `source_terminal`. */ + status_reason?: string | null; + status_computed_at?: string | null; + /** The portal's own status word, frozen at last capture. NOT liveness. */ + source_status?: string | null; + source_url?: string | null; + posted_date?: string | null; + response_deadline?: string | null; + /** The first deadline ever observed, which is what makes a moved deadline legible. */ + response_deadline_original?: string | null; + bid_opening_date?: string | null; + bid_opening_raw?: string | null; + /** `{scheme, code}` entries over `nigp`, `unspsc`, `naics`, `text`, `unknown`. Scheme tagging is mid-migration, so roughly half of all entries carry no scheme. */ + category_codes?: unknown[] | null; + has_documents?: boolean | null; + /** When Tango first observed the solicitation. The polling primitive. */ + first_seen_at?: string | null; + last_seen_at?: string | null; + /** When Tango OBSERVED the newest substantive change. A scrape date, not an amendment date. */ + last_change_seen_at?: string | null; + modified?: string | null; + /** The passage that matched, present only under `search` and only on rows that matched on their description. A title-or-agency match honestly carries none. */ + snippet?: string | null; + organization?: SledOrganizationPayload | null; + contact?: SledContactPayload | null; + meta?: SledMetaPayload | null; + attachments?: SledAttachmentPayload[] | null; + revisions?: SledRevisionPayload[] | null; + /** The platform's unparsed payload. Requires a Small plan or above, and explicitly unstable: its shape varies by portal platform and is not a contract at any plan. */ + raw?: Record | null; +} + +/** One observed change, as served by `/api/sled/opportunities/{opportunity_id}/revisions/`. */ +export type SledOpportunityRevision = SledRevisionPayload; + +/** + * A planned state procurement. + * + * Forecasts carry no liveness at all: there is no deadline to have passed, so there is no `status` field and no `active` filter. `estimated_advertisement_date` is the START of the published quarter rather than a posting date. + */ +export interface SledForecast { + forecast_id?: string; + state?: string | null; + agency?: string | null; + title?: string | null; + description?: string | null; + /** The start of the published quarter, NOT a posting date. A large share of rows publish no quarter at all. */ + estimated_advertisement_date?: string | null; + /** The portal's own words, verbatim — e.g. `"Q3 (Jan.-March 2027)"`. */ + estimated_advertisement_raw?: string | null; + procurement_category?: string | null; + procurement_method?: string | null; + contract_term?: string | null; + contract_number?: string | null; + /** Incumbent vendor name as published. NOT resolved to a Tango entity. */ + incumbent_name?: string | null; + mbe_dbe_goal?: string | null; + delivery_location?: string | null; + source_url?: string | null; + source_status?: string | null; + has_documents?: boolean | null; + first_seen_at?: string | null; + last_seen_at?: string | null; + modified?: string | null; + organization?: SledOrganizationPayload | null; + contact?: SledContactPayload | null; + estimated_value?: SledEstimatedValuePayload | null; + /** Requires a Small plan or above, and unstable. */ + raw?: Record | null; +} diff --git a/src/models/index.ts b/src/models/index.ts index 2d3248d..2bc3cde 100644 --- a/src/models/index.ts +++ b/src/models/index.ts @@ -9,13 +9,7 @@ export type { ParentAwardReference, } from "./Contract.js"; export type { Department } from "./Department.js"; -export type { - DibbsRfq, - DibbsRfp, - DibbsAward, - DibbsOrganizationPayload, - DibbsAwardeePayload, -} from "./Dibbs.js"; +export type { DibbsRfq, DibbsRfp, DibbsAward, DibbsOrganizationPayload, DibbsAwardeePayload } from "./Dibbs.js"; export type { Entity, EntityBasic } from "./Entity.js"; export type { Exclusion } from "./Exclusion.js"; export type { Forecast } from "./Forecast.js"; @@ -25,6 +19,17 @@ export type { Notice } from "./Notice.js"; export type { Opportunity } from "./Opportunity.js"; export type { RecipientProfile } from "./RecipientProfile.js"; export type { SbirTopic, SbirSolicitation } from "./Sbir.js"; +export type { + SledOpportunity, + SledOpportunityRevision, + SledForecast, + SledOrganizationPayload, + SledContactPayload, + SledMetaPayload, + SledAttachmentPayload, + SledRevisionPayload, + SledEstimatedValuePayload, +} from "./Sled.js"; export type { Vehicle } from "./Vehicle.js"; export type { IDV } from "./IDV.js"; export type { diff --git a/src/shapes/explicitSchemas.ts b/src/shapes/explicitSchemas.ts index e6bab73..40adb8a 100644 --- a/src/shapes/explicitSchemas.ts +++ b/src/shapes/explicitSchemas.ts @@ -4917,6 +4917,661 @@ export const SBIR_SOLICITATION_SCHEMA: FieldSchemaMap = { nestedModel: "SbirSolicitationDocument", }, }; +// The SLED buyer. Three strings, not the federal 7-key office payload — no code resolution and no `organization_id` to join on. +export const SLED_ORGANIZATION_SCHEMA: FieldSchemaMap = { + state: { + name: "state", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + level: { + name: "level", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + agency: { + name: "agency", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, +}; + +// Buyer contact as the portal publishes it. +export const SLED_CONTACT_SCHEMA: FieldSchemaMap = { + name: { + name: "name", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + email: { + name: "email", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + phone: { + name: "phone", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, +}; + +// Denormalized counts. `attachment_count` excludes auto-generated portal cover sheets, so it can be lower than the length of `attachments`. +export const SLED_META_SCHEMA: FieldSchemaMap = { + attachment_count: { + name: "attachment_count", + type: "int", + isOptional: true, + isList: false, + nestedModel: null, + }, + revision_count: { + name: "revision_count", + type: "int", + isOptional: true, + isList: false, + nestedModel: null, + }, + last_revision_kind: { + name: "last_revision_kind", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + last_change_source_declared: { + name: "last_change_source_declared", + type: "bool", + isOptional: true, + isList: false, + nestedModel: null, + }, +}; + +// One advertised document — metadata and extraction stats, never the body. `size_bytes` and `char_count` only mean something as a pair. +export const SLED_ATTACHMENT_SCHEMA: FieldSchemaMap = { + name: { + name: "name", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + extension: { + name: "extension", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + mime_type: { + name: "mime_type", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + checksum: { + name: "checksum", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + size_bytes: { + name: "size_bytes", + type: "int", + isOptional: true, + isList: false, + nestedModel: null, + }, + char_count: { + name: "char_count", + type: "int", + isOptional: true, + isList: false, + nestedModel: null, + }, + word_count: { + name: "word_count", + type: "int", + isOptional: true, + isList: false, + nestedModel: null, + }, + pages: { + name: "pages", + type: "int", + isOptional: true, + isList: false, + nestedModel: null, + }, + extraction_status: { + name: "extraction_status", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + download_status: { + name: "download_status", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + is_contested: { + name: "is_contested", + type: "bool", + isOptional: true, + isList: false, + nestedModel: null, + }, + is_generated_summary: { + name: "is_generated_summary", + type: "bool", + isOptional: true, + isList: false, + nestedModel: null, + }, + first_seen_at: { + name: "first_seen_at", + type: "datetime", + isOptional: true, + isList: false, + nestedModel: null, + }, + extracted_text: { + name: "extracted_text", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, +}; + +// One observed change. `observed_at` is the scrape that saw it, not the date the agency made it. `changes` requires a Small plan or above. +export const SLED_REVISION_SCHEMA: FieldSchemaMap = { + observed_at: { + name: "observed_at", + type: "datetime", + isOptional: true, + isList: false, + nestedModel: null, + }, + sequence: { + name: "sequence", + type: "int", + isOptional: true, + isList: false, + nestedModel: null, + }, + kind: { + name: "kind", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + changed_fields: { + name: "changed_fields", + type: "list", + isOptional: true, + isList: false, + nestedModel: null, + }, + changes: { + name: "changes", + type: "dict", + isOptional: true, + isList: false, + nestedModel: null, + }, + source_declared: { + name: "source_declared", + type: "bool", + isOptional: true, + isList: false, + nestedModel: null, + }, +}; + +// A forecast's award band parsed into a range. A band naming one number is a floor, so `max` is null. +export const SLED_ESTIMATED_VALUE_SCHEMA: FieldSchemaMap = { + min: { + name: "min", + type: "float", + isOptional: true, + isList: false, + nestedModel: null, + }, + max: { + name: "max", + type: "float", + isOptional: true, + isList: false, + nestedModel: null, + }, + raw: { + name: "raw", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, +}; + +// State, local and education solicitations (/api/sled/opportunities/). `status` is Tango-derived; `source_status` is the portal's frozen word and is not liveness. +export const SLED_OPPORTUNITY_SCHEMA: FieldSchemaMap = { + opportunity_id: { + name: "opportunity_id", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + solicitation_number: { + name: "solicitation_number", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + solicitation_type: { + name: "solicitation_type", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + solicitation_type_source: { + name: "solicitation_type_source", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + title: { + name: "title", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + description: { + name: "description", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + state: { + name: "state", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + jurisdiction: { + name: "jurisdiction", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + agency: { + name: "agency", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + status: { + name: "status", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + status_reason: { + name: "status_reason", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + status_computed_at: { + name: "status_computed_at", + type: "datetime", + isOptional: true, + isList: false, + nestedModel: null, + }, + source_status: { + name: "source_status", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + source_url: { + name: "source_url", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + posted_date: { + name: "posted_date", + type: "datetime", + isOptional: true, + isList: false, + nestedModel: null, + }, + response_deadline: { + name: "response_deadline", + type: "datetime", + isOptional: true, + isList: false, + nestedModel: null, + }, + response_deadline_original: { + name: "response_deadline_original", + type: "datetime", + isOptional: true, + isList: false, + nestedModel: null, + }, + bid_opening_date: { + name: "bid_opening_date", + type: "datetime", + isOptional: true, + isList: false, + nestedModel: null, + }, + bid_opening_raw: { + name: "bid_opening_raw", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + category_codes: { + name: "category_codes", + type: "list", + isOptional: true, + isList: false, + nestedModel: null, + }, + has_documents: { + name: "has_documents", + type: "bool", + isOptional: true, + isList: false, + nestedModel: null, + }, + first_seen_at: { + name: "first_seen_at", + type: "datetime", + isOptional: true, + isList: false, + nestedModel: null, + }, + last_seen_at: { + name: "last_seen_at", + type: "datetime", + isOptional: true, + isList: false, + nestedModel: null, + }, + last_change_seen_at: { + name: "last_change_seen_at", + type: "datetime", + isOptional: true, + isList: false, + nestedModel: null, + }, + modified: { + name: "modified", + type: "datetime", + isOptional: true, + isList: false, + nestedModel: null, + }, + snippet: { + name: "snippet", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + organization: { + name: "organization", + type: "dict", + isOptional: true, + isList: false, + nestedModel: "SledOrganization", + }, + contact: { + name: "contact", + type: "dict", + isOptional: true, + isList: false, + nestedModel: "SledContact", + }, + meta: { + name: "meta", + type: "dict", + isOptional: true, + isList: false, + nestedModel: "SledMeta", + }, + attachments: { + name: "attachments", + type: "dict", + isOptional: true, + isList: true, + nestedModel: "SledAttachment", + }, + revisions: { + name: "revisions", + type: "dict", + isOptional: true, + isList: true, + nestedModel: "SledRevision", + }, + raw: { + name: "raw", + type: "dict", + isOptional: true, + isList: false, + nestedModel: null, + }, +}; + +// Planned state procurements (/api/sled/forecasts/). No liveness at all: no deadline to have passed, so no `status` and no `active` filter. +export const SLED_FORECAST_SCHEMA: FieldSchemaMap = { + forecast_id: { + name: "forecast_id", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + state: { + name: "state", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + agency: { + name: "agency", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + title: { + name: "title", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + description: { + name: "description", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + estimated_advertisement_date: { + name: "estimated_advertisement_date", + type: "datetime", + isOptional: true, + isList: false, + nestedModel: null, + }, + estimated_advertisement_raw: { + name: "estimated_advertisement_raw", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + procurement_category: { + name: "procurement_category", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + procurement_method: { + name: "procurement_method", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + contract_term: { + name: "contract_term", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + contract_number: { + name: "contract_number", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + incumbent_name: { + name: "incumbent_name", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + mbe_dbe_goal: { + name: "mbe_dbe_goal", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + delivery_location: { + name: "delivery_location", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + source_url: { + name: "source_url", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + source_status: { + name: "source_status", + type: "str", + isOptional: true, + isList: false, + nestedModel: null, + }, + has_documents: { + name: "has_documents", + type: "bool", + isOptional: true, + isList: false, + nestedModel: null, + }, + first_seen_at: { + name: "first_seen_at", + type: "datetime", + isOptional: true, + isList: false, + nestedModel: null, + }, + last_seen_at: { + name: "last_seen_at", + type: "datetime", + isOptional: true, + isList: false, + nestedModel: null, + }, + modified: { + name: "modified", + type: "datetime", + isOptional: true, + isList: false, + nestedModel: null, + }, + organization: { + name: "organization", + type: "dict", + isOptional: true, + isList: false, + nestedModel: "SledOrganization", + }, + contact: { + name: "contact", + type: "dict", + isOptional: true, + isList: false, + nestedModel: "SledContact", + }, + estimated_value: { + name: "estimated_value", + type: "dict", + isOptional: true, + isList: false, + nestedModel: "SledEstimatedValue", + }, + raw: { + name: "raw", + type: "dict", + isOptional: true, + isList: false, + nestedModel: null, + }, +}; + export const EXPLICIT_SCHEMAS: ExplicitSchemas = { Office: OFFICE_SCHEMA, Location: LOCATION_SCHEMA, @@ -4971,6 +5626,15 @@ export const EXPLICIT_SCHEMAS: ExplicitSchemas = { DibbsAwardee: DIBBS_AWARDEE_SCHEMA, Exclusion: EXCLUSION_SCHEMA, SbirTopic: SBIR_TOPIC_SCHEMA, + SledOpportunity: SLED_OPPORTUNITY_SCHEMA, + SledOpportunityRevision: SLED_REVISION_SCHEMA, + SledForecast: SLED_FORECAST_SCHEMA, + SledOrganization: SLED_ORGANIZATION_SCHEMA, + SledContact: SLED_CONTACT_SCHEMA, + SledMeta: SLED_META_SCHEMA, + SledAttachment: SLED_ATTACHMENT_SCHEMA, + SledRevision: SLED_REVISION_SCHEMA, + SledEstimatedValue: SLED_ESTIMATED_VALUE_SCHEMA, SbirTopicGrantRef: SBIR_TOPIC_GRANT_REF_SCHEMA, SbirTopicOpportunityRef: SBIR_TOPIC_OPPORTUNITY_REF_SCHEMA, SbirTopicSolicitationRef: SBIR_TOPIC_SOLICITATION_REF_SCHEMA, diff --git a/src/shapes/generatedOverlay.ts b/src/shapes/generatedOverlay.ts index 3522a90..3e7bcc5 100644 --- a/src/shapes/generatedOverlay.ts +++ b/src/shapes/generatedOverlay.ts @@ -90,6 +90,36 @@ export const GENERATED_NESTED: Record = { type: f("type", "str"), url: f("url", "str"), }, + AwardingOffice: { + agency_code: f("agency_code", "str"), + agency_name: f("agency_name", "str"), + department_code: f("department_code", "str"), + department_name: f("department_name", "str"), + office_code: f("office_code", "str"), + office_name: f("office_name", "str"), + organization_id: f("organization_id", "str"), + }, + AwardingOffice2: { + agency_code: f("agency_code", "str"), + agency_name: f("agency_name", "str"), + department_code: f("department_code", "str"), + department_name: f("department_name", "str"), + office_code: f("office_code", "str"), + office_name: f("office_name", "str"), + }, + Awards: { + award_date: f("award_date", "date"), + base_and_exercised_options_value: f("base_and_exercised_options_value", "Decimal"), + description: f("description", "str"), + fiscal_year: f("fiscal_year", "str"), + key: f("key", "str"), + naics_code: f("naics_code", "str"), + obligated: f("obligated", "str"), + piid: f("piid", "str"), + psc_code: f("psc_code", "str"), + total_contract_value: f("total_contract_value", "Decimal"), + transactions: f("transactions", "str"), + }, BudgetAppropriation: { cgac: f("cgac", "int"), fiscal_year: f("fiscal_year", "int"), @@ -116,6 +146,15 @@ export const GENERATED_NESTED: Record = { short_name: f("short_name", "str"), type: f("type", "str"), }, + Competition2: { + contract_type: f("contract_type", "str"), + extent_competed: f("extent_competed", "str"), + number_of_offers_received: f("number_of_offers_received", "int"), + other_than_full_and_open_competition: f("other_than_full_and_open_competition", "str"), + solicitation_date: f("solicitation_date", "date"), + solicitation_identifier: f("solicitation_identifier", "str"), + solicitation_procedures: f("solicitation_procedures", "str"), + }, Current: { active: f("active", "bool"), description: f("description", "str"), @@ -185,6 +224,12 @@ export const GENERATED_NESTED: Record = { active: f("active", "str"), total: f("total", "str"), }, + FsrsDetails2: { + id: f("id", "str"), + last_modified_date: f("last_modified_date", "date"), + month: f("month", "str"), + year: f("year", "str"), + }, Funding: { fy2020_contribution: f("fy2020_contribution", "Decimal"), fy2020_internal_funding: f("fy2020_internal_funding", "Decimal"), @@ -211,6 +256,18 @@ export const GENERATED_NESTED: Record = { phone: f("phone", "str"), }, GsaElibrary: { + contract_number: f("contract_number", "str"), + cooperative_purchasing: f("cooperative_purchasing", "str"), + disaster_recovery_purchasing: f("disaster_recovery_purchasing", "str"), + external_id: f("external_id", "str"), + extracted_text: f("extracted_text", "str"), + file_urls: f("file_urls", "str"), + schedule: f("schedule", "str"), + sins: f("sins", "str"), + source_data: f("source_data", "str"), + uei: f("uei", "str"), + }, + GsaElibrary2: { contract_number: f("contract_number", "str"), cooperative_purchasing: f("cooperative_purchasing", "bool"), disaster_recovery_purchasing: f("disaster_recovery_purchasing", "bool"), @@ -227,6 +284,10 @@ export const GENERATED_NESTED: Record = { legal_business_name: f("legal_business_name", "str"), uei: f("uei", "str"), }, + HighlyCompensatedOfficers: { + amount: f("amount", "str"), + name: f("name", "str"), + }, Historical: { active: f("active", "bool"), description: f("description", "str"), @@ -236,6 +297,11 @@ export const GENERATED_NESTED: Record = { name: f("name", "str"), start_date: f("start_date", "date"), }, + Idv: { + award_date: f("award_date", "date"), + key: f("key", "str"), + piid: f("piid", "str"), + }, ImportantDates: { estimated_application_response_date: f("estimated_application_response_date", "date"), estimated_application_response_date_description: f("estimated_application_response_date_description", "str"), @@ -249,6 +315,16 @@ export const GENERATED_NESTED: Record = { link: f("link", "str"), notice_id: f("notice_id", "str"), }, + LegislativeMandates2: { + clinger_cohen_act_planning: f("clinger_cohen_act_planning", "str"), + construction_wage_rate_requirements: f("construction_wage_rate_requirements", "str"), + employment_eligibility_verification: f("employment_eligibility_verification", "str"), + interagency_contracting_authority: f("interagency_contracting_authority", "str"), + labor_standards: f("labor_standards", "str"), + materials_supplies_articles_equipment: f("materials_supplies_articles_equipment", "str"), + other_statutory_authority: f("other_statutory_authority", "str"), + service_contract_inventory: f("service_contract_inventory", "str"), + }, MailingAddress: { address_line1: f("address_line1", "str"), address_line2: f("address_line2", "str"), @@ -329,15 +405,6 @@ export const GENERATED_NESTED: Record = { code: f("code", "str"), type: f("type", "str"), }, - Office2: { - agency_code: f("agency_code", "str"), - agency_name: f("agency_name", "str"), - department_code: f("department_code", "str"), - department_name: f("department_name", "str"), - office_code: f("office_code", "str"), - office_name: f("office_name", "str"), - organization_id: f("organization_id", "str"), - }, Officers2: { highly_compensated_officer_1_amount: f("highly_compensated_officer_1_amount", "Decimal"), highly_compensated_officer_1_name: f("highly_compensated_officer_1_name", "str"), @@ -376,6 +443,10 @@ export const GENERATED_NESTED: Record = { start_date: f("start_date", "date"), ultimate_completion_date: f("ultimate_completion_date", "date"), }, + PeriodOfPerformance2: { + last_date_to_order: f("last_date_to_order", "str"), + start_date: f("start_date", "date"), + }, PhysicalAddress: { address_line1: f("address_line1", "str"), address_line2: f("address_line2", "str"), @@ -390,27 +461,33 @@ export const GENERATED_NESTED: Record = { zip_code_plus4: f("zip_code_plus4", "int"), }, PlaceOfPerformance2: { + city_name: f("city_name", "str"), + country_code: f("country_code", "str"), + country_name: f("country_name", "str"), + state_code: f("state_code", "str"), + state_name: f("state_name", "str"), + zip_code: f("zip_code", "str"), + }, + PlaceOfPerformance3: { + city: f("city", "str"), + country_code: f("country_code", "str"), + state: f("state", "str"), + zip: f("zip", "str"), + }, + PlaceOfPerformance4: { city: f("city", "str"), country: f("country", "str"), state: f("state", "str"), street_address: f("street_address", "str"), zip: f("zip", "str"), }, - PlaceOfPerformance3: { + PlaceOfPerformance5: { city: f("city", "int"), country: f("country", "str"), state: f("state", "str"), street_address: f("street_address", "str"), zip: f("zip", "str"), }, - PlaceOfPerformance4: { - city_name: f("city_name", "str"), - country_code: f("country_code", "str"), - country_name: f("country_name", "str"), - state_code: f("state_code", "str"), - state_name: f("state_name", "str"), - zip_code: f("zip_code", "str"), - }, PrimaryContact: { email: f("email", "str"), fax: f("fax", "str"), @@ -418,6 +495,17 @@ export const GENERATED_NESTED: Record = { phone: f("phone", "str"), title: f("title", "str"), }, + PrimeRecipient: { + display_name: f("display_name", "str"), + uei: f("uei", "str"), + }, + Recipient: { + cage: f("cage", "str"), + cage_code: f("cage_code", "str"), + display_name: f("display_name", "str"), + legal_business_name: f("legal_business_name", "str"), + uei: f("uei", "str"), + }, Relationships: { confidence: f("confidence", "str"), display_name: f("display_name", "str"), @@ -449,21 +537,57 @@ export const GENERATED_NESTED: Record = { employee_limit: f("employee_limit", "str"), revenue_limit: f("revenue_limit", "int"), }, + SubawardDetails2: { + action_date: f("action_date", "date"), + amount: f("amount", "str"), + description: f("description", "str"), + fiscal_year: f("fiscal_year", "str"), + number: f("number", "str"), + type: f("type", "str"), + }, + SubawardRecipient: { + display_name: f("display_name", "str"), + duns: f("duns", "str"), + uei: f("uei", "str"), + }, + SubawardsSummary2: { + count: f("count", "str"), + total_amount: f("total_amount", "Decimal"), + }, Transactions: { action_type: f("action_type", "str"), description: f("description", "str"), - modification_number: f("modification_number", "int"), - obligated: f("obligated", "Decimal"), + modification_number: f("modification_number", "str"), + obligated: f("obligated", "str"), transaction_date: f("transaction_date", "date"), }, Transactions2: { action_type: f("action_type", "str"), description: f("description", "str"), - modification_number: f("modification_number", "str"), - obligated: f("obligated", "str"), + modification_number: f("modification_number", "int"), + obligated: f("obligated", "Decimal"), transaction_date: f("transaction_date", "date"), }, Vehicle2: { + agency_id: f("agency_id", "str"), + award_date: f("award_date", "date"), + contract_type: f("contract_type", "str"), + description: f("description", "str"), + fiscal_year: f("fiscal_year", "str"), + last_date_to_order: f("last_date_to_order", "str"), + naics_code: f("naics_code", "str"), + psc_code: f("psc_code", "str"), + set_aside: f("set_aside", "str"), + solicitation_date: f("solicitation_date", "date"), + solicitation_description: f("solicitation_description", "str"), + solicitation_identifier: f("solicitation_identifier", "str"), + solicitation_title: f("solicitation_title", "str"), + type_of_idc: f("type_of_idc", "str"), + uuid: f("uuid", "str"), + vehicle_type: f("vehicle_type", "str"), + who_can_use: f("who_can_use", "str"), + }, + Vehicle3: { agency_id: f("agency_id", "int"), award_date: f("award_date", "date"), contract_type: f("contract_type", "str"), @@ -482,6 +606,12 @@ export const GENERATED_NESTED: Record = { vehicle_type: f("vehicle_type", "str"), who_can_use: f("who_can_use", "str"), }, + Workforce: { + last_verified: f("last_verified", "str"), + location_count: f("location_count", "int"), + locations: f("locations", "str"), + number_of_employees: f("number_of_employees", "int"), + }, }; // Container model-name -> additional field schemas (merged over the base). @@ -605,9 +735,9 @@ export const GENERATED_OVERLAY: Record = { set_aside: f("set_aside", "dict", false, "CodeDescription"), subcontracting_plan: f("subcontracting_plan", "dict", false, "CodeDescription"), tradeoff_process: f("tradeoff_process", "dict", false, "CodeDescription"), - transactions: f("transactions", "dict", true, "Transactions"), + transactions: f("transactions", "dict", true, "Transactions2"), undefinitized_action: f("undefinitized_action", "dict", false, "CodeDescription"), - vehicle: f("vehicle", "dict", false, "Vehicle2"), + vehicle: f("vehicle", "dict", false, "Vehicle3"), }, Department: { cgac: f("cgac", "str"), @@ -645,6 +775,7 @@ export const GENERATED_OVERLAY: Record = { special_equip_material: f("special_equip_material", "str"), state_of_incorporation: f("state_of_incorporation", "dict", false, "CodeDescription"), uuid: f("uuid", "str"), + workforce: f("workforce", "dict", false, "Workforce"), }, Forecast: { created: f("created", "datetime"), @@ -689,7 +820,7 @@ export const GENERATED_OVERLAY: Record = { fixed_fee_value: f("fixed_fee_value", "Decimal"), foreign_funding: f("foreign_funding", "str"), government_furnished_property: f("government_furnished_property", "str"), - gsa_elibrary: f("gsa_elibrary", "dict", false, "GsaElibrary"), + gsa_elibrary: f("gsa_elibrary", "dict", false, "GsaElibrary2"), idv_type: f("idv_type", "dict", false, "CodeDescription"), idv_website: f("idv_website", "str"), inherently_governmental_functions: f("inherently_governmental_functions", "str"), @@ -749,51 +880,51 @@ export const GENERATED_OVERLAY: Record = { archive: f("archive", "dict", false, "Archive"), attachments: f("attachments", "dict", true, "Attachments"), meta: f("meta", "dict", false, "Meta"), - office: f("office", "dict", false, "Office2"), + office: f("office", "dict", false, "AwardingOffice"), opportunity: f("opportunity", "dict", false, "Opportunity2"), opportunity_id: f("opportunity_id", "str"), - place_of_performance: f("place_of_performance", "dict", false, "PlaceOfPerformance2"), + place_of_performance: f("place_of_performance", "dict", false, "PlaceOfPerformance4"), primary_contact: f("primary_contact", "dict", false, "PrimaryContact"), secondary_contact: f("secondary_contact", "dict", false, "PrimaryContact"), set_aside: f("set_aside", "dict", false, "CodeDescription"), }, OTA: { award_type: f("award_type", "dict", false, "CodeDescription"), - awarding_office: f("awarding_office", "dict", false, "Office2"), + awarding_office: f("awarding_office", "dict", false, "AwardingOffice"), base_and_exercised_options_value: f("base_and_exercised_options_value", "Decimal"), consortia: f("consortia", "str"), consortia_uei: f("consortia_uei", "str"), dod_acquisition_program: f("dod_acquisition_program", "int"), extent_competed: f("extent_competed", "dict", false, "CodeDescription"), fiscal_year: f("fiscal_year", "int"), - funding_office: f("funding_office", "dict", false, "Office2"), + funding_office: f("funding_office", "dict", false, "AwardingOffice"), non_governmental_dollars: f("non_governmental_dollars", "Decimal"), non_traditional_government_contractor_participation: f("non_traditional_government_contractor_participation", "str"), parent_award: f("parent_award", "dict", false, "ParentAward2"), parent_award_modification_number: f("parent_award_modification_number", "int"), period_of_performance: f("period_of_performance", "dict", false, "PeriodOfPerformance"), - place_of_performance: f("place_of_performance", "dict", false, "PlaceOfPerformance4"), + place_of_performance: f("place_of_performance", "dict", false, "PlaceOfPerformance2"), psc: f("psc", "dict", false, "CodeDescription"), psc_code: f("psc_code", "int"), - transactions: f("transactions", "dict", true, "Transactions2"), + transactions: f("transactions", "dict", true, "Transactions"), type_of_ot_agreement: f("type_of_ot_agreement", "dict", false, "CodeDescription"), }, OTIDV: { - awarding_office: f("awarding_office", "dict", false, "Office2"), + awarding_office: f("awarding_office", "dict", false, "AwardingOffice"), base_and_exercised_options_value: f("base_and_exercised_options_value", "Decimal"), consortia: f("consortia", "str"), consortia_uei: f("consortia_uei", "str"), dod_acquisition_program: f("dod_acquisition_program", "str"), extent_competed: f("extent_competed", "dict", false, "CodeDescription"), fiscal_year: f("fiscal_year", "int"), - funding_office: f("funding_office", "dict", false, "Office2"), + funding_office: f("funding_office", "dict", false, "AwardingOffice"), non_governmental_dollars: f("non_governmental_dollars", "Decimal"), non_traditional_government_contractor_participation: f("non_traditional_government_contractor_participation", "str"), period_of_performance: f("period_of_performance", "dict", false, "PeriodOfPerformance"), - place_of_performance: f("place_of_performance", "dict", false, "PlaceOfPerformance4"), + place_of_performance: f("place_of_performance", "dict", false, "PlaceOfPerformance2"), psc: f("psc", "dict", false, "CodeDescription"), psc_code: f("psc_code", "int"), - transactions: f("transactions", "dict", true, "Transactions2"), + transactions: f("transactions", "dict", true, "Transactions"), type_of_ot_agreement: f("type_of_ot_agreement", "dict", false, "CodeDescription"), }, Office: { @@ -819,7 +950,7 @@ export const GENERATED_OVERLAY: Record = { meta: f("meta", "dict", false, "Meta2"), notice_history: f("notice_history", "dict", false, "NoticeHistory2"), office_id: f("office_id", "str"), - place_of_performance: f("place_of_performance", "dict", false, "PlaceOfPerformance2"), + place_of_performance: f("place_of_performance", "dict", false, "PlaceOfPerformance4"), secondary_contact: f("secondary_contact", "dict", false, "PrimaryContact"), set_aside: f("set_aside", "dict", false, "CodeDescription"), snippet: f("snippet", "str"), diff --git a/tests/unit/client.sled.test.ts b/tests/unit/client.sled.test.ts new file mode 100644 index 0000000..08a97b7 --- /dev/null +++ b/tests/unit/client.sled.test.ts @@ -0,0 +1,267 @@ +/** + * Tests for the state, local and education (SLED) endpoint family. + * + * Covers the request contract for each method — correct path, filters passed + * through under the API's own param names, the documented default shape — via + * the injected fetchImpl mock. Mirrors tango-python's tests/test_sled.py. + */ + +import { TangoClient } from "../../src/client.js"; +import { ShapeConfig } from "../../src/config.js"; +import { ShapeParser } from "../../src/shapes/parser.js"; +import { SchemaRegistry } from "../../src/shapes/schema.js"; +import type { FieldSpec } from "../../src/shapes/types.js"; + +type RecordedCall = { url: string; init?: RequestInit | undefined }; + +interface MockResponseBody { + count?: number; + next?: string | null; + previous?: string | null; + results?: unknown[]; + [key: string]: unknown; +} + +function recordingFetch(body: MockResponseBody | unknown = { count: 0, next: null, previous: null, results: [] }): { + fetchImpl: typeof fetch; + calls: RecordedCall[]; +} { + const calls: RecordedCall[] = []; + const fetchImpl = (async (url: string | URL, init?: RequestInit) => { + calls.push({ url: String(url), init }); + return { + ok: true, + status: 200, + async text() { + return JSON.stringify(body); + }, + }; + }) as unknown as typeof fetch; + return { fetchImpl, calls }; +} + +function makeClient(body?: MockResponseBody | unknown): { client: TangoClient; calls: RecordedCall[] } { + const { fetchImpl, calls } = recordingFetch(body); + const client = new TangoClient({ apiKey: "k", baseUrl: "http://localhost:8000", fetchImpl, retries: 0 }); + return { client, calls }; +} + +function params(calls: RecordedCall[]): URLSearchParams { + return new URL(calls[0].url).searchParams; +} + +describe("TangoClient — SLED solicitations", () => { + it("listSledOpportunities hits /api/sled/opportunities/ with filters under API param names", async () => { + const { client, calls } = makeClient(); + await client.listSledOpportunities({ + state: "TX|OK", + jurisdiction: "local|education", + status: "open|unknown", + has_documents: true, + response_deadline_before: "2026-10-01", + limit: 10, + }); + + expect(calls[0].url).toContain("/api/sled/opportunities/"); + const p = params(calls); + expect(p.get("state")).toBe("TX|OK"); + expect(p.get("jurisdiction")).toBe("local|education"); + expect(p.get("status")).toBe("open|unknown"); + expect(p.get("has_documents")).toBe("true"); + expect(p.get("response_deadline_before")).toBe("2026-10-01"); + expect(p.get("limit")).toBe("10"); + expect(p.get("shape")).toBe(ShapeConfig.SLED_OPPORTUNITIES_MINIMAL); + }); + + it("sends no liveness filter when the caller requests none", async () => { + // The open-only default is the API's. Synthesizing `status=open` here would + // make `active: false` unreachable, since it is the complement of open. + const { client, calls } = makeClient(); + await client.listSledOpportunities(); + const p = params(calls); + expect(p.has("status")).toBe(false); + expect(p.has("active")).toBe(false); + }); + + it("sends active=false rather than dropping it", async () => { + const { client, calls } = makeClient(); + await client.listSledOpportunities({ active: false }); + expect(params(calls).get("active")).toBe("false"); + }); + + it("does not accept source_status as a filter", async () => { + // `status` is Tango-derived liveness; the portal's frozen word is served but not filterable. + const { client, calls } = makeClient(); + await client.listSledOpportunities({ status: "closed" }); + const p = params(calls); + expect(p.get("status")).toBe("closed"); + expect(p.has("source_status")).toBe(false); + }); + + it("keeps the four category filters distinct", async () => { + const { client, calls } = makeClient(); + await client.listSledOpportunities({ + naics: "541620", + nigp: "962-47", + unspsc: "77101500", + category_code: "541620", + }); + const p = params(calls); + expect(p.get("naics")).toBe("541620"); + expect(p.get("nigp")).toBe("962-47"); + expect(p.get("unspsc")).toBe("77101500"); + expect(p.get("category_code")).toBe("541620"); + }); + + it("getSledOpportunity uses the opportunity_id route and the comprehensive shape", async () => { + const { client, calls } = makeClient({ opportunity_id: "abc" }); + await client.getSledOpportunity("abc"); + expect(calls[0].url).toContain("/api/sled/opportunities/abc/"); + expect(params(calls).get("shape")).toBe(ShapeConfig.SLED_OPPORTUNITIES_COMPREHENSIVE); + }); + + it("getSledOpportunity rejects an empty id before issuing a request", async () => { + const { client, calls } = makeClient(); + await expect(client.getSledOpportunity("")).rejects.toThrow(); + expect(calls).toHaveLength(0); + }); + + it("parses list results", async () => { + const { client } = makeClient({ + count: 1, + next: null, + previous: null, + results: [{ opportunity_id: "u1", title: "Environmental mitigation services", state: "TX", status: "open" }], + }); + const page = await client.listSledOpportunities(); + expect(page.count).toBe(1); + expect((page.results[0] as Record).state).toBe("TX"); + }); +}); + +describe("TangoClient — SLED revisions", () => { + it("listSledOpportunityRevisions hits the nested route with filters", async () => { + const { client, calls } = makeClient(); + await client.listSledOpportunityRevisions("abc", { kind: "deadline_change", source_declared: true }); + expect(calls[0].url).toContain("/api/sled/opportunities/abc/revisions/"); + const p = params(calls); + expect(p.get("kind")).toBe("deadline_change"); + expect(p.get("source_declared")).toBe("true"); + expect(p.get("shape")).toBe(ShapeConfig.SLED_REVISIONS_MINIMAL); + }); + + it("reaches enrichment rows, which the revisions(*) expand excludes", async () => { + const { client, calls } = makeClient(); + await client.listSledOpportunityRevisions("abc", { kind: "enrichment" }); + expect(params(calls).get("kind")).toBe("enrichment"); + }); + + it("default revision shape omits the plan-gated changes leaf", () => { + // `changes` needs a Small plan, so naming it by default would 403 a Free caller. + expect(ShapeConfig.SLED_REVISIONS_MINIMAL).toContain("changed_fields"); + expect(ShapeConfig.SLED_REVISIONS_MINIMAL.split(",")).not.toContain("changes"); + }); +}); + +describe("TangoClient — SLED coverage", () => { + it("getSledCoverage hits the coverage route with no shape or pagination", async () => { + const { client, calls } = makeClient({ + generated_at: "2026-09-10T14:00:00Z", + totals: { opportunities: 3, forecasts: 1 }, + states: [{ state: "TX", total_count: 3 }], + }); + const payload = await client.getSledCoverage(); + expect(calls[0].url).toContain("/api/sled/opportunities/coverage/"); + const p = params(calls); + expect(p.has("shape")).toBe(false); + expect(p.has("page")).toBe(false); + expect((payload.totals as Record).opportunities).toBe(3); + }); +}); + +describe("TangoClient — SLED forecasts", () => { + it("listSledForecasts hits /api/sled/forecasts/ with filters", async () => { + const { client, calls } = makeClient(); + await client.listSledForecasts({ + state: "MD", + procurement_method: "Competitive Sealed Proposals", + advertisement_after: "2026-10-01", + }); + expect(calls[0].url).toContain("/api/sled/forecasts/"); + const p = params(calls); + expect(p.get("state")).toBe("MD"); + expect(p.get("procurement_method")).toBe("Competitive Sealed Proposals"); + expect(p.get("advertisement_after")).toBe("2026-10-01"); + expect(p.get("shape")).toBe(ShapeConfig.SLED_FORECASTS_MINIMAL); + }); + + it("getSledForecast uses the forecast_id route", async () => { + const { client, calls } = makeClient({ forecast_id: "f1" }); + await client.getSledForecast("f1"); + expect(calls[0].url).toContain("/api/sled/forecasts/f1/"); + }); +}); + +describe("SLED shapes resolve against the registered schemas", () => { + const parser = new ShapeParser(); + const registry = new SchemaRegistry(); + + /** Walk every leaf and expand of a parsed shape against the model's schema. */ + function assertResolves(shape: string, modelName: string): void { + const walk = (fields: FieldSpec[], model: string, path: string): void => { + for (const field of fields) { + if (field.name === "*") continue; + const schema = registry.getSchema(model); + const spec = schema.fields[field.name]; + expect(spec, `${path}${field.name} on ${model}`).toBeDefined(); + if (field.nestedFields?.length) { + const nested = spec!.nestedModel; + expect(nested, `${path}${field.name} should carry a nested schema`).toBeTruthy(); + walk(field.nestedFields, nested!, `${path}${field.name}.`); + } + } + }; + walk(parser.parse(shape).fields, modelName, ""); + } + + const defaults: Array<[string, string]> = [ + [ShapeConfig.SLED_OPPORTUNITIES_MINIMAL, "SledOpportunity"], + [ShapeConfig.SLED_OPPORTUNITIES_COMPREHENSIVE, "SledOpportunity"], + [ShapeConfig.SLED_REVISIONS_MINIMAL, "SledOpportunityRevision"], + [ShapeConfig.SLED_FORECASTS_MINIMAL, "SledForecast"], + [ShapeConfig.SLED_FORECASTS_COMPREHENSIVE, "SledForecast"], + ]; + + it.each(defaults)("%s resolves against %s", (shape, model) => { + assertResolves(shape, model); + }); + + const nested: Array<[string, string]> = [ + ["opportunity_id,organization(state,level,agency),meta(attachment_count,revision_count)", "SledOpportunity"], + ["opportunity_id,attachments(name,size_bytes,char_count,extraction_status,is_generated_summary)", "SledOpportunity"], + ["opportunity_id,revisions(observed_at,kind,changed_fields,changes)", "SledOpportunity"], + ["opportunity_id,title,snippet", "SledOpportunity"], + ["forecast_id,estimated_value(min,max,raw),contact(name,email)", "SledForecast"], + ]; + + it.each(nested)("%s resolves against %s", (shape, model) => { + assertResolves(shape, model); + }); + + it("the paid document body resolves when named", () => { + // `extracted_text` needs a Small plan, but the SDK must not reject it client-side. + assertResolves("opportunity_id,attachments(name,size_bytes,extracted_text)", "SledOpportunity"); + }); + + it.each([ + ["SLED_OPPORTUNITIES_MINIMAL", ShapeConfig.SLED_OPPORTUNITIES_MINIMAL], + ["SLED_OPPORTUNITIES_COMPREHENSIVE", ShapeConfig.SLED_OPPORTUNITIES_COMPREHENSIVE], + ])("%s does not name the paid document body", (_name, shape) => { + // The API resolves the body only when named, so a default shape naming it would make every detail fetch pay for it. + expect(shape).not.toContain("extracted_text"); + }); + + it.each(["external_id", "native_id", "platform"])("%s is a filter and never a response field", (field) => { + expect(registry.getSchema("SledOpportunity").fields[field]).toBeUndefined(); + }); +}); diff --git a/tests/unit/config.shapes.parity.test.ts b/tests/unit/config.shapes.parity.test.ts index 7af3d36..bc230c7 100644 --- a/tests/unit/config.shapes.parity.test.ts +++ b/tests/unit/config.shapes.parity.test.ts @@ -22,6 +22,11 @@ describe("ShapeConfig parity with Python SDK", () => { "VEHICLE_ORDERS_MINIMAL", "ITDASHBOARD_INVESTMENTS_MINIMAL", "ITDASHBOARD_INVESTMENTS_COMPREHENSIVE", + "SLED_OPPORTUNITIES_MINIMAL", + "SLED_OPPORTUNITIES_COMPREHENSIVE", + "SLED_REVISIONS_MINIMAL", + "SLED_FORECASTS_MINIMAL", + "SLED_FORECASTS_COMPREHENSIVE", ] as const; it.each(newKeys)("%s is exported and non-empty", (key) => { @@ -136,6 +141,9 @@ describe("ShapeConfig parity with Python SDK", () => { ["EXCLUSIONS_MINIMAL", "Exclusion"], ["SBIR_TOPICS_MINIMAL", "SbirTopic"], ["SBIR_SOLICITATIONS_MINIMAL", "SbirSolicitation"], + ["SLED_OPPORTUNITIES_MINIMAL", "SledOpportunity"], + ["SLED_REVISIONS_MINIMAL", "SledOpportunityRevision"], + ["SLED_FORECASTS_MINIMAL", "SledForecast"], ] as const; it.each(presetToModel)("%s parses and every field exists on %s", (presetName, modelName) => {