diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6338588..d004a15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,8 +9,8 @@ name: CI # TANGO_API_REPO_ACCESS_TOKEN is available, the same two checks ALSO run as # hard gates against the fresh contract at makegov/tango HEAD, plus a warning # annotation when the vendored copy has drifted (re-vendor reminder). Refresh -# the vendored contract by copying contracts/filter_shape_contract.json from -# makegov/tango. +# the vendored contract with `npm run vendor-contract -- `, +# which vendors only the parts of the contract the SDK consumes. on: push: branches: [ main ] @@ -114,8 +114,8 @@ jobs: - name: Warn when the vendored contract has drifted from tango HEAD if: steps.gate.outputs.ready == 'true' run: | - if ! diff -q contracts/filter_shape_contract.json tango-api/contracts/filter_shape_contract.json >/dev/null; then - echo "::warning::Vendored contract differs from makegov/tango HEAD. Re-vendor contracts/filter_shape_contract.json and regenerate the overlay." + if ! npx tsx scripts/vendor-contract.ts tango-api/contracts/filter_shape_contract.json --check >/dev/null; then + echo "::warning::Vendored contract differs from makegov/tango HEAD. Re-vendor with npm run vendor-contract and regenerate the overlay." else echo "Vendored contract matches makegov/tango HEAD." fi diff --git a/CHANGELOG.md b/CHANGELOG.md index 50da30f..82b4521 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,16 @@ This project follows [Semantic Versioning](https://semver.org/). ## [Unreleased] +## [1.5.0] - 2026-10-29 + +### Added + +- **`fsc` filter on `listDibbsRfqs()`, `listDibbsRfps()` and `listDibbsAwards()`** (Tango API 5.13.0). Filters by Federal Supply Class, the first four digits of the 13-digit NSN (NSN `6515012345678` is FSC `6515`). Each value must be exactly four digits, and several are OR'd with `|`, e.g. `"6515|6530"`; any other value makes the API return a 400. It combines with every other filter, `nsn` and `part_number` included. + +### Changed + +- The vendored API contract now tracks Tango API 5.13.0. Its new financial-assistance award endpoints are not yet in the SDK and are recorded as known gaps in both conformance baselines. + ## [1.4.1] - 2026-10-19 ### Changed diff --git a/CLAUDE.md b/CLAUDE.md index 37abf5d..bea38c1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -48,6 +48,7 @@ npm run coverage # single pass with v8 coverage npm run check-conformance # SDK filters/shapes -> contract npm run check-shape-coverage # contract shape fields -> SDK schemas npm run generate-shape-overlay # regenerate src/shapes/generatedOverlay.ts +npm run vendor-contract -- PATH # re-vendor the contract from an upstream copy (projected to what the SDK consumes) ``` ### Tests diff --git a/README.md b/README.md index 6135633..266625c 100644 --- a/README.md +++ b/README.md @@ -397,6 +397,7 @@ Useful scripts: - `npm run check-conformance` – SDK filters/shapes vs the vendored API contract. - `npm run check-shape-coverage` – Reverse gate: every contract shape field is captured by the SDK. - `npm run generate-shape-overlay` – Regenerate `src/shapes/generatedOverlay.ts` from the vendored contract. +- `npm run vendor-contract -- PATH` – Re-vendor `contracts/filter_shape_contract.json` from an upstream copy, keeping only what the SDK consumes. See [docs/DEVELOPERS.md](docs/DEVELOPERS.md) for the conformance architecture and the cassette record/replay workflow. diff --git a/contracts/conformance_baseline.json b/contracts/conformance_baseline.json index c036c0f..55ba630 100644 --- a/contracts/conformance_baseline.json +++ b/contracts/conformance_baseline.json @@ -1,8 +1,12 @@ { - "_comment": "Accepted SDK coverage gaps vs the API contract. Gaps listed here downgrade from error to warning in scripts/check-filter-shape-conformance.ts. Each entry is tracked backlog: remove it in the same PR that closes the gap in the SDK. `missing_filters` maps a resource to filter params the mapped method does not expose; `unimplemented_resources` lists contract resources with no SDK method at all. events and news are content endpoints with no list method and stay baselined permanently (tango-python does the same).", + "_comment": "Accepted SDK coverage gaps vs the API contract. Gaps listed here downgrade from error to warning in scripts/check-filter-shape-conformance.ts. Each entry is tracked backlog: remove it in the same PR that closes the gap in the SDK. `missing_filters` maps a resource to filter params the mapped method does not expose; `unimplemented_resources` lists contract resources with no SDK method at all. events and news are content endpoints with no list method and stay baselined permanently (tango-python does the same). The assistance/* resources (financial-assistance awards) are not yet ported.", "missing_filters": {}, "unimplemented_resources": [ "events", - "news" + "news", + "assistance/direct_payments", + "assistance/grants", + "assistance/loans", + "assistance/other" ] } diff --git a/contracts/filter_shape_contract.json b/contracts/filter_shape_contract.json index fed5961..1217b54 100644 --- a/contracts/filter_shape_contract.json +++ b/contracts/filter_shape_contract.json @@ -1,18 +1,12 @@ { "meta": { - "api_version": "5.11.0", + "api_version": "5.13.0", "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 }, - "policy": { - "critical_runtime_swagger_resources": [] - }, "resources": { "agencies": { "basename": "agency", - "docs_file": null, - "docs_params": [], "prefix": "agencies", "resource_key": "agencies", "runtime": { @@ -21,14 +15,12 @@ ], "filter_params_detail": { "search": { - "filter_class": "BaseSmartFilter", "type": "string" } }, "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -67,10 +59,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "agencies.views.AgencyViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -84,8 +74,6 @@ }, "agencies_contracts_awarding": { "basename": "agencies_contracts_awarding", - "docs_file": null, - "docs_params": [], "prefix": "agencies//contracts/awarding/", "resource_key": "agencies_contracts_awarding", "runtime": { @@ -121,15 +109,12 @@ ], "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": { @@ -144,58 +129,45 @@ "d" ], "choices_count": 8, - "filter_class": "UppercaseCodeChoiceFilter", "type": "choice" }, "awarding_agency": { - "filter_class": "PerformantAgencyFilter", "type": "string" }, "commercial_item_acquisition_procedures": { - "filter_class": "BaseSmartFilter", "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" }, @@ -209,55 +181,43 @@ "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": "UeiToEntityUuidFilter", "type": "string" } }, @@ -268,7 +228,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -833,16 +792,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "agencies.views.AgencyAwardingContractViewSet" + "shape_tier_required": null }, - "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": { @@ -878,15 +833,12 @@ ], "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": { @@ -901,58 +853,45 @@ "d" ], "choices_count": 8, - "filter_class": "UppercaseCodeChoiceFilter", "type": "choice" }, "awarding_agency": { - "filter_class": "PerformantAgencyFilter", "type": "string" }, "commercial_item_acquisition_procedures": { - "filter_class": "BaseSmartFilter", "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" }, @@ -966,55 +905,43 @@ "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": "UeiToEntityUuidFilter", "type": "string" } }, @@ -1025,7 +952,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -1284,117 +1210,2256 @@ "description" ] }, - "sam_exception": { + "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", + "obligations_by_fiscal_year", + "obligations_by_fiscal_year.fiscal_year", + "obligations_by_fiscal_year.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 + }, + "swagger_params": [] + }, + "assistance/direct_payments": { + "basename": "assistance-direct_payments", + "prefix": "assistance/direct_payments", + "resource_key": "assistance/direct_payments", + "runtime": { + "filter_params": [ + "assistance_type", + "award_date", + "award_date_gte", + "award_date_lte", + "awarding_agency", + "business_funds_indicator", + "cfda_number", + "disaster_emergency_fund_code", + "fain", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "funding_agency", + "funding_opportunity_number", + "key", + "obligated_gte", + "obligated_lte", + "ordering", + "pop_country", + "pop_end_date_gte", + "pop_end_date_lte", + "pop_start_date_gte", + "pop_start_date_lte", + "pop_state", + "pop_zip", + "recipient", + "record_type", + "search", + "uei", + "uri" + ], + "filter_params_detail": { + "assistance_type": { + "type": "string" + }, + "award_date": { + "type": "date" + }, + "award_date_gte": { + "type": "date" + }, + "award_date_lte": { + "type": "date" + }, + "awarding_agency": { + "type": "string" + }, + "business_funds_indicator": { + "type": "string" + }, + "cfda_number": { + "type": "string" + }, + "disaster_emergency_fund_code": { + "type": "string" + }, + "fain": { + "type": "string" + }, + "fiscal_year": { + "type": "number" + }, + "fiscal_year_gte": { + "type": "number" + }, + "fiscal_year_lte": { + "type": "number" + }, + "funding_agency": { + "type": "string" + }, + "funding_opportunity_number": { + "type": "string" + }, + "key": { + "type": "string" + }, + "obligated_gte": { + "lookup": "gte", + "type": "number" + }, + "obligated_lte": { + "lookup": "lte", + "type": "number" + }, + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-pragmatic_obligations", + "award_date", + "obligated", + "pragmatic_obligations" + ], + "choices_count": 6, + "type": "ordering" + }, + "pop_country": { + "type": "string" + }, + "pop_end_date_gte": { + "lookup": "gte", + "type": "date" + }, + "pop_end_date_lte": { + "lookup": "lte", + "type": "date" + }, + "pop_start_date_gte": { + "lookup": "gte", + "type": "date" + }, + "pop_start_date_lte": { + "lookup": "lte", + "type": "date" + }, + "pop_state": { + "type": "string" + }, + "pop_zip": { + "type": "string" + }, + "recipient": { + "type": "string" + }, + "record_type": { + "type": "string" + }, + "search": { + "type": "string" + }, + "uei": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "award_date", + "obligated", + "pragmatic_obligations" + ], + "pagination": { + "max_page_size": 100 + }, + "shape": { + "expands": { + "assistance_listing": { + "expands": {}, + "fields": [ + "number", + "title" + ] + }, + "assistance_type": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "awarding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "funding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "listings": { + "expands": {}, + "fields": [ + "cfda_number", + "face_value_of_loan", + "first_action_date", + "indirect_cost_federal_share_amount", + "is_primary", + "last_action_date", + "loan_subsidy_cost", + "non_federal_funding_amount", + "obligated", + "pragmatic_obligations", + "transactions_count" + ] + }, + "obligations_by_fiscal_year": { + "expands": {}, + "fields": [ + "fiscal_year", + "obligated" + ] + }, + "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" + ] + }, + "period_of_performance": { + "expands": {}, + "fields": [ + "current_end_date", + "start_date" + ] + }, + "place_of_performance": { + "expands": {}, + "fields": [ + "city_name", + "code", + "country", + "county_fips", + "county_name", + "foreign_location", + "scope", + "state_code", + "state_fips", + "state_name", + "zip_code", + "zip_plus_four" + ] + }, + "recipient": { + "expands": {}, + "fields": [ + "business_types", + "congressional_district", + "congressional_district_original", + "county", + "duns", + "highest_owner", + "legal_business_name", + "legal_business_name_raw", + "uei", + "uuid" + ] + }, + "recipient_address": { + "expands": {}, + "fields": [ + "address_line1", + "address_line2", + "city", + "congressional_district_current", + "congressional_district_original", + "country_code", + "county_fips", + "foreign_city_name", + "foreign_postal_code", + "foreign_province_name", + "state_fips", + "state_or_province_code", + "zip_code", + "zip_code_plus4" + ] + }, + "transactions": { + "expands": {}, + "fields": [ + "action_date_fiscal_year", + "action_type", + "assistance_type_code", + "award_amount_basis", + "award_recipient_basis", + "cfda_number", + "correction_delete_indicator", + "face_value_of_loan", + "indirect_cost_federal_share_amount", + "initial_report_date", + "key", + "last_modified_date", + "loan_subsidy_cost", + "modification_number", + "non_federal_funding_amount", + "obligated", + "pragmatic_obligations", + "transaction_date" + ] + } + }, + "fields": [ + "assistance_type", + "assistance_types_count", + "award_amount_basis", + "award_date", + "award_recipient_basis", + "award_total_face_value_of_loan", + "award_total_loan_subsidy_cost", + "award_total_non_federal_funding", + "award_total_obligated", + "award_total_outlayed", + "business_funds_indicator", + "cfda_number", + "covid19_obligated", + "covid19_outlayed", + "disaster_emergency_fund_codes", + "face_value_of_loan", + "fain", + "federal_accounts_funding_this_award", + "fiscal_year", + "former_award_keys", + "funding_opportunity_goals_text", + "funding_opportunity_number", + "iija_obligated", + "iija_outlayed", + "indirect_cost_federal_share_amount", + "insurance_coverage_amount", + "key", + "last_action_date", + "last_modified_date", + "listings_count", + "loan_subsidy_cost", + "non_federal_funding_amount", + "object_classes_funding_this_award", + "obligated", + "pragmatic_obligations", + "program_activities_funding_this_award", + "purposes_differ", + "record_type", + "sai_number", + "summary", + "title", + "transactions", + "transactions_count", + "treasury_accounts_funding_this_award", + "uri" + ] + }, + "shape_flat_paths": [ + "assistance_listing", + "assistance_listing.number", + "assistance_listing.title", + "assistance_type", + "assistance_type.code", + "assistance_type.description", + "assistance_types_count", + "award_amount_basis", + "award_date", + "award_recipient_basis", + "award_total_face_value_of_loan", + "award_total_loan_subsidy_cost", + "award_total_non_federal_funding", + "award_total_obligated", + "award_total_outlayed", + "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", + "business_funds_indicator", + "cfda_number", + "covid19_obligated", + "covid19_outlayed", + "disaster_emergency_fund_codes", + "face_value_of_loan", + "fain", + "federal_accounts_funding_this_award", + "fiscal_year", + "former_award_keys", + "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", + "funding_opportunity_goals_text", + "funding_opportunity_number", + "iija_obligated", + "iija_outlayed", + "indirect_cost_federal_share_amount", + "insurance_coverage_amount", + "key", + "last_action_date", + "last_modified_date", + "listings", + "listings.cfda_number", + "listings.face_value_of_loan", + "listings.first_action_date", + "listings.indirect_cost_federal_share_amount", + "listings.is_primary", + "listings.last_action_date", + "listings.loan_subsidy_cost", + "listings.non_federal_funding_amount", + "listings.obligated", + "listings.pragmatic_obligations", + "listings.transactions_count", + "listings_count", + "loan_subsidy_cost", + "non_federal_funding_amount", + "object_classes_funding_this_award", + "obligated", + "obligations_by_fiscal_year", + "obligations_by_fiscal_year.fiscal_year", + "obligations_by_fiscal_year.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", + "period_of_performance", + "period_of_performance.current_end_date", + "period_of_performance.start_date", + "place_of_performance", + "place_of_performance.city_name", + "place_of_performance.code", + "place_of_performance.country", + "place_of_performance.county_fips", + "place_of_performance.county_name", + "place_of_performance.foreign_location", + "place_of_performance.scope", + "place_of_performance.state_code", + "place_of_performance.state_fips", + "place_of_performance.state_name", + "place_of_performance.zip_code", + "place_of_performance.zip_plus_four", + "pragmatic_obligations", + "program_activities_funding_this_award", + "purposes_differ", + "recipient", + "recipient.business_types", + "recipient.congressional_district", + "recipient.congressional_district_original", + "recipient.county", + "recipient.duns", + "recipient.highest_owner", + "recipient.legal_business_name", + "recipient.legal_business_name_raw", + "recipient.uei", + "recipient.uuid", + "recipient_address", + "recipient_address.address_line1", + "recipient_address.address_line2", + "recipient_address.city", + "recipient_address.congressional_district_current", + "recipient_address.congressional_district_original", + "recipient_address.country_code", + "recipient_address.county_fips", + "recipient_address.foreign_city_name", + "recipient_address.foreign_postal_code", + "recipient_address.foreign_province_name", + "recipient_address.state_fips", + "recipient_address.state_or_province_code", + "recipient_address.zip_code", + "recipient_address.zip_code_plus4", + "record_type", + "sai_number", + "summary", + "title", + "transactions", + "transactions.action_date_fiscal_year", + "transactions.action_type", + "transactions.assistance_type_code", + "transactions.award_amount_basis", + "transactions.award_recipient_basis", + "transactions.cfda_number", + "transactions.correction_delete_indicator", + "transactions.face_value_of_loan", + "transactions.indirect_cost_federal_share_amount", + "transactions.initial_report_date", + "transactions.key", + "transactions.last_modified_date", + "transactions.loan_subsidy_cost", + "transactions.modification_number", + "transactions.non_federal_funding_amount", + "transactions.obligated", + "transactions.pragmatic_obligations", + "transactions.transaction_date", + "transactions_count", + "treasury_accounts_funding_this_award", + "uri" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null + }, + "swagger_params": [] + }, + "assistance/grants": { + "basename": "assistance-grants", + "prefix": "assistance/grants", + "resource_key": "assistance/grants", + "runtime": { + "filter_params": [ + "assistance_type", + "award_date", + "award_date_gte", + "award_date_lte", + "awarding_agency", + "business_funds_indicator", + "cfda_number", + "disaster_emergency_fund_code", + "fain", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "funding_agency", + "funding_opportunity_number", + "key", + "obligated_gte", + "obligated_lte", + "ordering", + "pop_country", + "pop_end_date_gte", + "pop_end_date_lte", + "pop_start_date_gte", + "pop_start_date_lte", + "pop_state", + "pop_zip", + "recipient", + "record_type", + "search", + "uei", + "uri" + ], + "filter_params_detail": { + "assistance_type": { + "type": "string" + }, + "award_date": { + "type": "date" + }, + "award_date_gte": { + "type": "date" + }, + "award_date_lte": { + "type": "date" + }, + "awarding_agency": { + "type": "string" + }, + "business_funds_indicator": { + "type": "string" + }, + "cfda_number": { + "type": "string" + }, + "disaster_emergency_fund_code": { + "type": "string" + }, + "fain": { + "type": "string" + }, + "fiscal_year": { + "type": "number" + }, + "fiscal_year_gte": { + "type": "number" + }, + "fiscal_year_lte": { + "type": "number" + }, + "funding_agency": { + "type": "string" + }, + "funding_opportunity_number": { + "type": "string" + }, + "key": { + "type": "string" + }, + "obligated_gte": { + "lookup": "gte", + "type": "number" + }, + "obligated_lte": { + "lookup": "lte", + "type": "number" + }, + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-pragmatic_obligations", + "award_date", + "obligated", + "pragmatic_obligations" + ], + "choices_count": 6, + "type": "ordering" + }, + "pop_country": { + "type": "string" + }, + "pop_end_date_gte": { + "lookup": "gte", + "type": "date" + }, + "pop_end_date_lte": { + "lookup": "lte", + "type": "date" + }, + "pop_start_date_gte": { + "lookup": "gte", + "type": "date" + }, + "pop_start_date_lte": { + "lookup": "lte", + "type": "date" + }, + "pop_state": { + "type": "string" + }, + "pop_zip": { + "type": "string" + }, + "recipient": { + "type": "string" + }, + "record_type": { + "type": "string" + }, + "search": { + "type": "string" + }, + "uei": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "award_date", + "obligated", + "pragmatic_obligations" + ], + "pagination": { + "max_page_size": 100 + }, + "shape": { + "expands": { + "assistance_listing": { + "expands": {}, + "fields": [ + "number", + "title" + ] + }, + "assistance_type": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "awarding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "funding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "listings": { + "expands": {}, + "fields": [ + "cfda_number", + "face_value_of_loan", + "first_action_date", + "indirect_cost_federal_share_amount", + "is_primary", + "last_action_date", + "loan_subsidy_cost", + "non_federal_funding_amount", + "obligated", + "pragmatic_obligations", + "transactions_count" + ] + }, + "obligations_by_fiscal_year": { + "expands": {}, + "fields": [ + "fiscal_year", + "obligated" + ] + }, + "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" + ] + }, + "period_of_performance": { + "expands": {}, + "fields": [ + "current_end_date", + "start_date" + ] + }, + "place_of_performance": { + "expands": {}, + "fields": [ + "city_name", + "code", + "country", + "county_fips", + "county_name", + "foreign_location", + "scope", + "state_code", + "state_fips", + "state_name", + "zip_code", + "zip_plus_four" + ] + }, + "recipient": { + "expands": {}, + "fields": [ + "business_types", + "congressional_district", + "congressional_district_original", + "county", + "duns", + "highest_owner", + "legal_business_name", + "legal_business_name_raw", + "uei", + "uuid" + ] + }, + "recipient_address": { + "expands": {}, + "fields": [ + "address_line1", + "address_line2", + "city", + "congressional_district_current", + "congressional_district_original", + "country_code", + "county_fips", + "foreign_city_name", + "foreign_postal_code", + "foreign_province_name", + "state_fips", + "state_or_province_code", + "zip_code", + "zip_code_plus4" + ] + }, + "transactions": { + "expands": {}, + "fields": [ + "action_date_fiscal_year", + "action_type", + "assistance_type_code", + "award_amount_basis", + "award_recipient_basis", + "cfda_number", + "correction_delete_indicator", + "face_value_of_loan", + "indirect_cost_federal_share_amount", + "initial_report_date", + "key", + "last_modified_date", + "loan_subsidy_cost", + "modification_number", + "non_federal_funding_amount", + "obligated", + "pragmatic_obligations", + "transaction_date" + ] + } + }, + "fields": [ + "assistance_type", + "assistance_types_count", + "award_amount_basis", + "award_date", + "award_recipient_basis", + "award_total_face_value_of_loan", + "award_total_loan_subsidy_cost", + "award_total_non_federal_funding", + "award_total_obligated", + "award_total_outlayed", + "business_funds_indicator", + "cfda_number", + "covid19_obligated", + "covid19_outlayed", + "disaster_emergency_fund_codes", + "face_value_of_loan", + "fain", + "federal_accounts_funding_this_award", + "fiscal_year", + "former_award_keys", + "funding_opportunity_goals_text", + "funding_opportunity_number", + "iija_obligated", + "iija_outlayed", + "indirect_cost_federal_share_amount", + "insurance_coverage_amount", + "key", + "last_action_date", + "last_modified_date", + "listings_count", + "loan_subsidy_cost", + "non_federal_funding_amount", + "object_classes_funding_this_award", + "obligated", + "pragmatic_obligations", + "program_activities_funding_this_award", + "purposes_differ", + "record_type", + "sai_number", + "summary", + "title", + "transactions", + "transactions_count", + "treasury_accounts_funding_this_award", + "uri" + ] + }, + "shape_flat_paths": [ + "assistance_listing", + "assistance_listing.number", + "assistance_listing.title", + "assistance_type", + "assistance_type.code", + "assistance_type.description", + "assistance_types_count", + "award_amount_basis", + "award_date", + "award_recipient_basis", + "award_total_face_value_of_loan", + "award_total_loan_subsidy_cost", + "award_total_non_federal_funding", + "award_total_obligated", + "award_total_outlayed", + "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", + "business_funds_indicator", + "cfda_number", + "covid19_obligated", + "covid19_outlayed", + "disaster_emergency_fund_codes", + "face_value_of_loan", + "fain", + "federal_accounts_funding_this_award", + "fiscal_year", + "former_award_keys", + "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", + "funding_opportunity_goals_text", + "funding_opportunity_number", + "iija_obligated", + "iija_outlayed", + "indirect_cost_federal_share_amount", + "insurance_coverage_amount", + "key", + "last_action_date", + "last_modified_date", + "listings", + "listings.cfda_number", + "listings.face_value_of_loan", + "listings.first_action_date", + "listings.indirect_cost_federal_share_amount", + "listings.is_primary", + "listings.last_action_date", + "listings.loan_subsidy_cost", + "listings.non_federal_funding_amount", + "listings.obligated", + "listings.pragmatic_obligations", + "listings.transactions_count", + "listings_count", + "loan_subsidy_cost", + "non_federal_funding_amount", + "object_classes_funding_this_award", + "obligated", + "obligations_by_fiscal_year", + "obligations_by_fiscal_year.fiscal_year", + "obligations_by_fiscal_year.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", + "period_of_performance", + "period_of_performance.current_end_date", + "period_of_performance.start_date", + "place_of_performance", + "place_of_performance.city_name", + "place_of_performance.code", + "place_of_performance.country", + "place_of_performance.county_fips", + "place_of_performance.county_name", + "place_of_performance.foreign_location", + "place_of_performance.scope", + "place_of_performance.state_code", + "place_of_performance.state_fips", + "place_of_performance.state_name", + "place_of_performance.zip_code", + "place_of_performance.zip_plus_four", + "pragmatic_obligations", + "program_activities_funding_this_award", + "purposes_differ", + "recipient", + "recipient.business_types", + "recipient.congressional_district", + "recipient.congressional_district_original", + "recipient.county", + "recipient.duns", + "recipient.highest_owner", + "recipient.legal_business_name", + "recipient.legal_business_name_raw", + "recipient.uei", + "recipient.uuid", + "recipient_address", + "recipient_address.address_line1", + "recipient_address.address_line2", + "recipient_address.city", + "recipient_address.congressional_district_current", + "recipient_address.congressional_district_original", + "recipient_address.country_code", + "recipient_address.county_fips", + "recipient_address.foreign_city_name", + "recipient_address.foreign_postal_code", + "recipient_address.foreign_province_name", + "recipient_address.state_fips", + "recipient_address.state_or_province_code", + "recipient_address.zip_code", + "recipient_address.zip_code_plus4", + "record_type", + "sai_number", + "summary", + "title", + "transactions", + "transactions.action_date_fiscal_year", + "transactions.action_type", + "transactions.assistance_type_code", + "transactions.award_amount_basis", + "transactions.award_recipient_basis", + "transactions.cfda_number", + "transactions.correction_delete_indicator", + "transactions.face_value_of_loan", + "transactions.indirect_cost_federal_share_amount", + "transactions.initial_report_date", + "transactions.key", + "transactions.last_modified_date", + "transactions.loan_subsidy_cost", + "transactions.modification_number", + "transactions.non_federal_funding_amount", + "transactions.obligated", + "transactions.pragmatic_obligations", + "transactions.transaction_date", + "transactions_count", + "treasury_accounts_funding_this_award", + "uri" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null + }, + "swagger_params": [] + }, + "assistance/loans": { + "basename": "assistance-loans", + "prefix": "assistance/loans", + "resource_key": "assistance/loans", + "runtime": { + "filter_params": [ + "assistance_type", + "award_date", + "award_date_gte", + "award_date_lte", + "awarding_agency", + "business_funds_indicator", + "cfda_number", + "disaster_emergency_fund_code", + "fain", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "funding_agency", + "funding_opportunity_number", + "key", + "obligated_gte", + "obligated_lte", + "ordering", + "pop_country", + "pop_end_date_gte", + "pop_end_date_lte", + "pop_start_date_gte", + "pop_start_date_lte", + "pop_state", + "pop_zip", + "recipient", + "record_type", + "search", + "uei", + "uri" + ], + "filter_params_detail": { + "assistance_type": { + "type": "string" + }, + "award_date": { + "type": "date" + }, + "award_date_gte": { + "type": "date" + }, + "award_date_lte": { + "type": "date" + }, + "awarding_agency": { + "type": "string" + }, + "business_funds_indicator": { + "type": "string" + }, + "cfda_number": { + "type": "string" + }, + "disaster_emergency_fund_code": { + "type": "string" + }, + "fain": { + "type": "string" + }, + "fiscal_year": { + "type": "number" + }, + "fiscal_year_gte": { + "type": "number" + }, + "fiscal_year_lte": { + "type": "number" + }, + "funding_agency": { + "type": "string" + }, + "funding_opportunity_number": { + "type": "string" + }, + "key": { + "type": "string" + }, + "obligated_gte": { + "lookup": "gte", + "type": "number" + }, + "obligated_lte": { + "lookup": "lte", + "type": "number" + }, + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-pragmatic_obligations", + "award_date", + "obligated", + "pragmatic_obligations" + ], + "choices_count": 6, + "type": "ordering" + }, + "pop_country": { + "type": "string" + }, + "pop_end_date_gte": { + "lookup": "gte", + "type": "date" + }, + "pop_end_date_lte": { + "lookup": "lte", + "type": "date" + }, + "pop_start_date_gte": { + "lookup": "gte", + "type": "date" + }, + "pop_start_date_lte": { + "lookup": "lte", + "type": "date" + }, + "pop_state": { + "type": "string" + }, + "pop_zip": { + "type": "string" + }, + "recipient": { + "type": "string" + }, + "record_type": { + "type": "string" + }, + "search": { + "type": "string" + }, + "uei": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "award_date", + "obligated", + "pragmatic_obligations" + ], + "pagination": { + "max_page_size": 100 + }, + "shape": { + "expands": { + "assistance_listing": { + "expands": {}, + "fields": [ + "number", + "title" + ] + }, + "assistance_type": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "awarding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "funding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "listings": { + "expands": {}, + "fields": [ + "cfda_number", + "face_value_of_loan", + "first_action_date", + "indirect_cost_federal_share_amount", + "is_primary", + "last_action_date", + "loan_subsidy_cost", + "non_federal_funding_amount", + "obligated", + "pragmatic_obligations", + "transactions_count" + ] + }, + "obligations_by_fiscal_year": { + "expands": {}, + "fields": [ + "fiscal_year", + "obligated" + ] + }, + "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" + ] + }, + "period_of_performance": { + "expands": {}, + "fields": [ + "current_end_date", + "start_date" + ] + }, + "place_of_performance": { + "expands": {}, + "fields": [ + "city_name", + "code", + "country", + "county_fips", + "county_name", + "foreign_location", + "scope", + "state_code", + "state_fips", + "state_name", + "zip_code", + "zip_plus_four" + ] + }, + "recipient": { + "expands": {}, + "fields": [ + "business_types", + "congressional_district", + "congressional_district_original", + "county", + "duns", + "highest_owner", + "legal_business_name", + "legal_business_name_raw", + "uei", + "uuid" + ] + }, + "recipient_address": { + "expands": {}, + "fields": [ + "address_line1", + "address_line2", + "city", + "congressional_district_current", + "congressional_district_original", + "country_code", + "county_fips", + "foreign_city_name", + "foreign_postal_code", + "foreign_province_name", + "state_fips", + "state_or_province_code", + "zip_code", + "zip_code_plus4" + ] + }, + "transactions": { + "expands": {}, + "fields": [ + "action_date_fiscal_year", + "action_type", + "assistance_type_code", + "award_amount_basis", + "award_recipient_basis", + "cfda_number", + "correction_delete_indicator", + "face_value_of_loan", + "indirect_cost_federal_share_amount", + "initial_report_date", + "key", + "last_modified_date", + "loan_subsidy_cost", + "modification_number", + "non_federal_funding_amount", + "obligated", + "pragmatic_obligations", + "transaction_date" + ] + } + }, + "fields": [ + "assistance_type", + "assistance_types_count", + "award_amount_basis", + "award_date", + "award_recipient_basis", + "award_total_face_value_of_loan", + "award_total_loan_subsidy_cost", + "award_total_non_federal_funding", + "award_total_obligated", + "award_total_outlayed", + "business_funds_indicator", + "cfda_number", + "covid19_obligated", + "covid19_outlayed", + "disaster_emergency_fund_codes", + "face_value_of_loan", + "fain", + "federal_accounts_funding_this_award", + "fiscal_year", + "former_award_keys", + "funding_opportunity_goals_text", + "funding_opportunity_number", + "iija_obligated", + "iija_outlayed", + "indirect_cost_federal_share_amount", + "insurance_coverage_amount", + "key", + "last_action_date", + "last_modified_date", + "listings_count", + "loan_subsidy_cost", + "non_federal_funding_amount", + "object_classes_funding_this_award", + "obligated", + "pragmatic_obligations", + "program_activities_funding_this_award", + "purposes_differ", + "record_type", + "sai_number", + "summary", + "title", + "transactions", + "transactions_count", + "treasury_accounts_funding_this_award", + "uri" + ] + }, + "shape_flat_paths": [ + "assistance_listing", + "assistance_listing.number", + "assistance_listing.title", + "assistance_type", + "assistance_type.code", + "assistance_type.description", + "assistance_types_count", + "award_amount_basis", + "award_date", + "award_recipient_basis", + "award_total_face_value_of_loan", + "award_total_loan_subsidy_cost", + "award_total_non_federal_funding", + "award_total_obligated", + "award_total_outlayed", + "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", + "business_funds_indicator", + "cfda_number", + "covid19_obligated", + "covid19_outlayed", + "disaster_emergency_fund_codes", + "face_value_of_loan", + "fain", + "federal_accounts_funding_this_award", + "fiscal_year", + "former_award_keys", + "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", + "funding_opportunity_goals_text", + "funding_opportunity_number", + "iija_obligated", + "iija_outlayed", + "indirect_cost_federal_share_amount", + "insurance_coverage_amount", + "key", + "last_action_date", + "last_modified_date", + "listings", + "listings.cfda_number", + "listings.face_value_of_loan", + "listings.first_action_date", + "listings.indirect_cost_federal_share_amount", + "listings.is_primary", + "listings.last_action_date", + "listings.loan_subsidy_cost", + "listings.non_federal_funding_amount", + "listings.obligated", + "listings.pragmatic_obligations", + "listings.transactions_count", + "listings_count", + "loan_subsidy_cost", + "non_federal_funding_amount", + "object_classes_funding_this_award", + "obligated", + "obligations_by_fiscal_year", + "obligations_by_fiscal_year.fiscal_year", + "obligations_by_fiscal_year.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", + "period_of_performance", + "period_of_performance.current_end_date", + "period_of_performance.start_date", + "place_of_performance", + "place_of_performance.city_name", + "place_of_performance.code", + "place_of_performance.country", + "place_of_performance.county_fips", + "place_of_performance.county_name", + "place_of_performance.foreign_location", + "place_of_performance.scope", + "place_of_performance.state_code", + "place_of_performance.state_fips", + "place_of_performance.state_name", + "place_of_performance.zip_code", + "place_of_performance.zip_plus_four", + "pragmatic_obligations", + "program_activities_funding_this_award", + "purposes_differ", + "recipient", + "recipient.business_types", + "recipient.congressional_district", + "recipient.congressional_district_original", + "recipient.county", + "recipient.duns", + "recipient.highest_owner", + "recipient.legal_business_name", + "recipient.legal_business_name_raw", + "recipient.uei", + "recipient.uuid", + "recipient_address", + "recipient_address.address_line1", + "recipient_address.address_line2", + "recipient_address.city", + "recipient_address.congressional_district_current", + "recipient_address.congressional_district_original", + "recipient_address.country_code", + "recipient_address.county_fips", + "recipient_address.foreign_city_name", + "recipient_address.foreign_postal_code", + "recipient_address.foreign_province_name", + "recipient_address.state_fips", + "recipient_address.state_or_province_code", + "recipient_address.zip_code", + "recipient_address.zip_code_plus4", + "record_type", + "sai_number", + "summary", + "title", + "transactions", + "transactions.action_date_fiscal_year", + "transactions.action_type", + "transactions.assistance_type_code", + "transactions.award_amount_basis", + "transactions.award_recipient_basis", + "transactions.cfda_number", + "transactions.correction_delete_indicator", + "transactions.face_value_of_loan", + "transactions.indirect_cost_federal_share_amount", + "transactions.initial_report_date", + "transactions.key", + "transactions.last_modified_date", + "transactions.loan_subsidy_cost", + "transactions.modification_number", + "transactions.non_federal_funding_amount", + "transactions.obligated", + "transactions.pragmatic_obligations", + "transactions.transaction_date", + "transactions_count", + "treasury_accounts_funding_this_award", + "uri" + ], + "shape_gated_by_level": {}, + "shape_supported": true, + "shape_tier_required": null + }, + "swagger_params": [] + }, + "assistance/other": { + "basename": "assistance-other", + "prefix": "assistance/other", + "resource_key": "assistance/other", + "runtime": { + "filter_params": [ + "assistance_type", + "award_date", + "award_date_gte", + "award_date_lte", + "awarding_agency", + "business_funds_indicator", + "cfda_number", + "disaster_emergency_fund_code", + "fain", + "fiscal_year", + "fiscal_year_gte", + "fiscal_year_lte", + "funding_agency", + "funding_opportunity_number", + "key", + "obligated_gte", + "obligated_lte", + "ordering", + "pop_country", + "pop_end_date_gte", + "pop_end_date_lte", + "pop_start_date_gte", + "pop_start_date_lte", + "pop_state", + "pop_zip", + "recipient", + "record_type", + "search", + "uei", + "uri" + ], + "filter_params_detail": { + "assistance_type": { + "type": "string" + }, + "award_date": { + "type": "date" + }, + "award_date_gte": { + "type": "date" + }, + "award_date_lte": { + "type": "date" + }, + "awarding_agency": { + "type": "string" + }, + "business_funds_indicator": { + "type": "string" + }, + "cfda_number": { + "type": "string" + }, + "disaster_emergency_fund_code": { + "type": "string" + }, + "fain": { + "type": "string" + }, + "fiscal_year": { + "type": "number" + }, + "fiscal_year_gte": { + "type": "number" + }, + "fiscal_year_lte": { + "type": "number" + }, + "funding_agency": { + "type": "string" + }, + "funding_opportunity_number": { + "type": "string" + }, + "key": { + "type": "string" + }, + "obligated_gte": { + "lookup": "gte", + "type": "number" + }, + "obligated_lte": { + "lookup": "lte", + "type": "number" + }, + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-pragmatic_obligations", + "award_date", + "obligated", + "pragmatic_obligations" + ], + "choices_count": 6, + "type": "ordering" + }, + "pop_country": { + "type": "string" + }, + "pop_end_date_gte": { + "lookup": "gte", + "type": "date" + }, + "pop_end_date_lte": { + "lookup": "lte", + "type": "date" + }, + "pop_start_date_gte": { + "lookup": "gte", + "type": "date" + }, + "pop_start_date_lte": { + "lookup": "lte", + "type": "date" + }, + "pop_state": { + "type": "string" + }, + "pop_zip": { + "type": "string" + }, + "recipient": { + "type": "string" + }, + "record_type": { + "type": "string" + }, + "search": { + "type": "string" + }, + "uei": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "award_date", + "obligated", + "pragmatic_obligations" + ], + "pagination": { + "max_page_size": 100 + }, + "shape": { + "expands": { + "assistance_listing": { + "expands": {}, + "fields": [ + "number", + "title" + ] + }, + "assistance_type": { + "expands": {}, + "fields": [ + "code", + "description" + ] + }, + "awarding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "funding_office": { + "expands": {}, + "fields": [ + "agency_code", + "agency_name", + "department_code", + "department_name", + "office_code", + "office_name", + "organization_id" + ] + }, + "listings": { + "expands": {}, + "fields": [ + "cfda_number", + "face_value_of_loan", + "first_action_date", + "indirect_cost_federal_share_amount", + "is_primary", + "last_action_date", + "loan_subsidy_cost", + "non_federal_funding_amount", + "obligated", + "pragmatic_obligations", + "transactions_count" + ] + }, + "obligations_by_fiscal_year": { + "expands": {}, + "fields": [ + "fiscal_year", + "obligated" + ] + }, + "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" + ] + }, + "period_of_performance": { "expands": {}, "fields": [ - "code", - "description" + "current_end_date", + "start_date" ] }, - "set_aside": { + "place_of_performance": { "expands": {}, "fields": [ + "city_name", "code", - "description" - ] - }, - "subawards_summary": { - "expands": {}, - "fields": [ - "count", - "total_amount" + "country", + "county_fips", + "county_name", + "foreign_location", + "scope", + "state_code", + "state_fips", + "state_name", + "zip_code", + "zip_plus_four" ] }, - "subcontracting_plan": { + "recipient": { "expands": {}, "fields": [ - "code", - "description" + "business_types", + "congressional_district", + "congressional_district_original", + "county", + "duns", + "highest_owner", + "legal_business_name", + "legal_business_name_raw", + "uei", + "uuid" ] }, - "tradeoff_process": { + "recipient_address": { "expands": {}, "fields": [ - "code", - "description" + "address_line1", + "address_line2", + "city", + "congressional_district_current", + "congressional_district_original", + "country_code", + "county_fips", + "foreign_city_name", + "foreign_postal_code", + "foreign_province_name", + "state_fips", + "state_or_province_code", + "zip_code", + "zip_code_plus4" ] }, "transactions": { "expands": {}, "fields": [ + "action_date_fiscal_year", "action_type", - "description", + "assistance_type_code", + "award_amount_basis", + "award_recipient_basis", + "cfda_number", + "correction_delete_indicator", + "face_value_of_loan", + "indirect_cost_federal_share_amount", + "initial_report_date", + "key", + "last_modified_date", + "loan_subsidy_cost", "modification_number", + "non_federal_funding_amount", "obligated", + "pragmatic_obligations", "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": [ + "assistance_type", + "assistance_types_count", + "award_amount_basis", "award_date", - "award_type", - "base_and_exercised_options_value", - "contract_financing", - "description", - "dod_acquisition_program", - "dod_transaction_number", + "award_recipient_basis", + "award_total_face_value_of_loan", + "award_total_loan_subsidy_cost", + "award_total_non_federal_funding", + "award_total_obligated", + "award_total_outlayed", + "business_funds_indicator", + "cfda_number", + "covid19_obligated", + "covid19_outlayed", + "disaster_emergency_fund_codes", + "face_value_of_loan", + "fain", + "federal_accounts_funding_this_award", "fiscal_year", - "government_furnished_property", + "former_award_keys", + "funding_opportunity_goals_text", + "funding_opportunity_number", + "iija_obligated", + "iija_outlayed", + "indirect_cost_federal_share_amount", + "insurance_coverage_amount", "key", - "local_area_set_aside", - "major_program", - "naics_code", - "number_of_actions", - "number_of_offers_source", + "last_action_date", + "last_modified_date", + "listings_count", + "loan_subsidy_cost", + "non_federal_funding_amount", + "object_classes_funding_this_award", "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", + "pragmatic_obligations", + "program_activities_funding_this_award", + "purposes_differ", + "record_type", + "sai_number", + "summary", + "title", "transactions", - "type_of_set_aside_source" + "transactions_count", + "treasury_accounts_funding_this_award", + "uri" ] }, "shape_flat_paths": [ + "assistance_listing", + "assistance_listing.number", + "assistance_listing.title", + "assistance_type", + "assistance_type.code", + "assistance_type.description", + "assistance_types_count", + "award_amount_basis", "award_date", - "award_type", - "award_type.code", - "award_type.description", + "award_recipient_basis", + "award_total_face_value_of_loan", + "award_total_loan_subsidy_cost", + "award_total_non_federal_funding", + "award_total_obligated", + "award_total_outlayed", "awarding_office", "awarding_office.agency_code", "awarding_office.agency_name", @@ -1403,56 +3468,16 @@ "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", + "business_funds_indicator", + "cfda_number", + "covid19_obligated", + "covid19_outlayed", + "disaster_emergency_fund_codes", + "face_value_of_loan", + "fain", + "federal_accounts_funding_this_award", "fiscal_year", - "foreign_funding", - "foreign_funding.code", - "foreign_funding.description", + "former_award_keys", "funding_office", "funding_office.agency_code", "funding_office.agency_name", @@ -1461,31 +3486,31 @@ "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", + "funding_opportunity_goals_text", + "funding_opportunity_number", + "iija_obligated", + "iija_outlayed", + "indirect_cost_federal_share_amount", + "insurance_coverage_amount", "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", + "last_action_date", + "last_modified_date", + "listings", + "listings.cfda_number", + "listings.face_value_of_loan", + "listings.first_action_date", + "listings.indirect_cost_federal_share_amount", + "listings.is_primary", + "listings.last_action_date", + "listings.loan_subsidy_cost", + "listings.non_federal_funding_amount", + "listings.obligated", + "listings.pragmatic_obligations", + "listings.transactions_count", + "listings_count", + "loan_subsidy_cost", + "non_federal_funding_amount", + "object_classes_funding_this_award", "obligated", "obligations_by_fiscal_year", "obligations_by_fiscal_year.fiscal_year", @@ -1501,105 +3526,86 @@ "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.code", + "place_of_performance.country", + "place_of_performance.county_fips", + "place_of_performance.county_name", + "place_of_performance.foreign_location", + "place_of_performance.scope", "place_of_performance.state_code", + "place_of_performance.state_fips", "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", + "place_of_performance.zip_plus_four", + "pragmatic_obligations", + "program_activities_funding_this_award", + "purposes_differ", "recipient", - "recipient.cage", - "recipient.cage_code", - "recipient.display_name", + "recipient.business_types", + "recipient.congressional_district", + "recipient.congressional_district_original", + "recipient.county", + "recipient.duns", + "recipient.highest_owner", "recipient.legal_business_name", + "recipient.legal_business_name_raw", "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", + "recipient.uuid", + "recipient_address", + "recipient_address.address_line1", + "recipient_address.address_line2", + "recipient_address.city", + "recipient_address.congressional_district_current", + "recipient_address.congressional_district_original", + "recipient_address.country_code", + "recipient_address.county_fips", + "recipient_address.foreign_city_name", + "recipient_address.foreign_postal_code", + "recipient_address.foreign_province_name", + "recipient_address.state_fips", + "recipient_address.state_or_province_code", + "recipient_address.zip_code", + "recipient_address.zip_code_plus4", + "record_type", + "sai_number", + "summary", + "title", "transactions", + "transactions.action_date_fiscal_year", "transactions.action_type", - "transactions.description", + "transactions.assistance_type_code", + "transactions.award_amount_basis", + "transactions.award_recipient_basis", + "transactions.cfda_number", + "transactions.correction_delete_indicator", + "transactions.face_value_of_loan", + "transactions.indirect_cost_federal_share_amount", + "transactions.initial_report_date", + "transactions.key", + "transactions.last_modified_date", + "transactions.loan_subsidy_cost", "transactions.modification_number", + "transactions.non_federal_funding_amount", "transactions.obligated", + "transactions.pragmatic_obligations", "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" + "transactions_count", + "treasury_accounts_funding_this_award", + "uri" ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "agencies.views.AgencyFundingContractViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "assistance_listings": { "basename": "assistancelisting", - "docs_file": null, - "docs_params": [], "prefix": "assistance_listings", "resource_key": "assistance_listings", "runtime": { @@ -1608,7 +3614,6 @@ "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "StaticModelCachedPagination", "max_page_size": 10000 }, "shape": { @@ -1636,10 +3641,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "shared.views.AssistanceListingViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -1652,8 +3655,6 @@ }, "budget/accounts": { "basename": "budget-account", - "docs_file": null, - "docs_params": [], "prefix": "budget/accounts", "resource_key": "budget/accounts", "runtime": { @@ -1764,480 +3765,377 @@ ], "filter_params_detail": { "account_category": { - "filter_class": "CharFilter", "type": "string" }, "account_category__in": { - "filter_class": "CharInFilter", "lookup": "in", "type": "string" }, "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": { - "filter_class": "OrganizationScopeAgencyFilter", "type": "string" }, "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" }, "data_through_period": { - "filter_class": "NumberFilter", "type": "number" }, "data_through_period__gte": { - "filter_class": "NumberFilter", "lookup": "gte", "type": "number" }, "data_through_period__isnull": { - "filter_class": "BooleanFilter", "lookup": "isnull", "type": "boolean" }, "data_through_period__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" } @@ -2261,7 +4159,6 @@ "outlayed_total" ], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -2520,16 +4417,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "budget.views.BudgetAccountViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "business_types": { "basename": "businesstype", - "docs_file": null, - "docs_params": [], "prefix": "business_types", "resource_key": "business_types", "runtime": { @@ -2538,7 +4431,6 @@ "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "StaticModelCachedPagination", "max_page_size": 10000 }, "shape": { @@ -2554,10 +4446,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "shared.views.BusinessTypesViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -2570,8 +4460,6 @@ }, "contract_appeals": { "basename": "contractappeal", - "docs_file": null, - "docs_params": [], "prefix": "contract_appeals", "resource_key": "contract_appeals", "runtime": { @@ -2589,45 +4477,35 @@ ], "filter_params_detail": { "appellant": { - "filter_class": "BaseSmartFilter", "type": "string" }, "board": { - "filter_class": "BaseSmartFilter", "type": "string" }, "decision_date_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "decision_date_before": { - "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, "decision_type": { - "filter_class": "BaseSmartFilter", "type": "string" }, "docket": { - "filter_class": "DocketFilter", "type": "string" }, "document_id": { - "filter_class": "CharFilter", "type": "string" }, "judge": { - "filter_class": "BaseSmartFilter", "type": "string" }, "listed": { - "filter_class": "BooleanFilter", "type": "boolean" }, "search": { - "filter_class": "ContractAppealSearchFilter", "type": "string" } }, @@ -2639,7 +4517,6 @@ "rank" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -2703,10 +4580,8 @@ ] }, "shape_supported": true, - "shape_tier_required": "enterprise_a", - "viewset": "appeals.views.ContractAppealViewSet" + "shape_tier_required": "enterprise_a" }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -2720,8 +4595,6 @@ }, "contracts": { "basename": "contract", - "docs_file": null, - "docs_params": [], "prefix": "contracts", "resource_key": "contracts", "runtime": { @@ -2757,15 +4630,12 @@ ], "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": { @@ -2780,58 +4650,45 @@ "d" ], "choices_count": 8, - "filter_class": "UppercaseCodeChoiceFilter", "type": "choice" }, "awarding_agency": { - "filter_class": "PerformantAgencyFilter", "type": "string" }, "commercial_item_acquisition_procedures": { - "filter_class": "BaseSmartFilter", "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" }, @@ -2845,55 +4702,43 @@ "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": "UeiToEntityUuidFilter", "type": "string" } }, @@ -2904,7 +4749,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -3469,10 +5313,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "awards.views.contracts.ContractViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "award_date", "award_date_gte", @@ -3509,8 +5351,6 @@ }, "contracts_subawards": { "basename": "contracts_subawards", - "docs_file": null, - "docs_params": [], "prefix": "contracts//subawards/", "resource_key": "contracts_subawards", "runtime": { @@ -3527,41 +5367,32 @@ ], "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" } }, @@ -3570,7 +5401,6 @@ ], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -3725,16 +5555,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "awards.views.contracts.ContractSubawardsViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "departments": { "basename": "department", - "docs_file": null, - "docs_params": [], "prefix": "departments", "resource_key": "departments", "runtime": { @@ -3743,7 +5569,6 @@ "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -3769,10 +5594,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "agencies.views.DepartmentViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -3785,8 +5608,6 @@ }, "dibbs/awards": { "basename": "dibbs-award", - "docs_file": null, - "docs_params": [], "prefix": "dibbs/awards", "resource_key": "dibbs/awards", "runtime": { @@ -3797,6 +5618,7 @@ "awardee_cage", "delivery_order_number", "entity", + "fsc", "nsn", "organization", "part_number", @@ -3810,72 +5632,59 @@ ], "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" + }, + "fsc": { "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" } @@ -3889,7 +5698,6 @@ "total_contract_price" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -3964,16 +5772,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "dibbs.views.DibbsAwardViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "dibbs/rfps": { "basename": "dibbs-rfp", - "docs_file": null, - "docs_params": [], "prefix": "dibbs/rfps", "resource_key": "dibbs/rfps", "runtime": { @@ -3981,6 +5785,7 @@ "buyer_code", "closes_date_after", "closes_date_before", + "fsc", "issued_date_after", "issued_date_before", "nsn", @@ -3992,51 +5797,43 @@ ], "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" }, + "fsc": { + "type": "string" + }, "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" } }, @@ -4048,7 +5845,6 @@ "rank" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -4103,20 +5899,17 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "dibbs.views.DibbsRfpViewSet" + "shape_tier_required": null }, - "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": [ + "fsc", "issue_date_after", "issue_date_before", "nsn", @@ -4134,70 +5927,58 @@ "status_code" ], "filter_params_detail": { + "fsc": { + "type": "string" + }, "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" } }, @@ -4210,7 +5991,6 @@ "return_by_date" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -4273,16 +6053,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "dibbs.views.DibbsRfqViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "ebuy/requests": { "basename": "ebuy-request", - "docs_file": null, - "docs_params": [], "prefix": "ebuy/requests", "resource_key": "ebuy/requests", "runtime": { @@ -4304,63 +6080,49 @@ ], "filter_params_detail": { "agency": { - "filter_class": "OrganizationScopeAgencyFilter", "type": "string" }, "buyer_agency": { - "filter_class": "BaseSmartFilter", "type": "string" }, "close_date_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "close_date_before": { - "filter_class": "DateFilter", "lookup": "date__lte", "type": "date" }, "contract_number": { - "filter_class": "CharFilter", "type": "string" }, "issue_date_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "issue_date_before": { - "filter_class": "DateFilter", "lookup": "date__lte", "type": "date" }, "reference_number": { - "filter_class": "SolicitationNumberFilter", "type": "string" }, "request_type": { - "filter_class": "BaseSmartFilter", "type": "string" }, "rfq_id": { - "filter_class": "BaseSmartFilter", "type": "string" }, "schedule": { - "filter_class": "BaseSmartFilter", "type": "string" }, "search": { - "filter_class": "EbuyRequestSearchFilter", "type": "string" }, "sin": { - "filter_class": "BaseSmartFilter", "type": "string" }, "status": { - "filter_class": "BaseSmartFilter", "type": "string" } }, @@ -4372,7 +6134,6 @@ "modified" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -4515,16 +6276,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "ebuy.views.EbuyRequestViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "entities": { "basename": "entity", - "docs_file": null, - "docs_params": [], "prefix": "entities", "resource_key": "entities", "runtime": { @@ -4545,66 +6302,52 @@ ], "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", "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", "type": "string" } }, "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -4955,10 +6698,8 @@ ] }, "shape_supported": true, - "shape_tier_required": "pro", - "viewset": "entities.views.EntityViewSet" + "shape_tier_required": "pro" }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -4971,8 +6712,6 @@ }, "entities_contracts": { "basename": "entities_contracts", - "docs_file": null, - "docs_params": [], "prefix": "entities//contracts/", "resource_key": "entities_contracts", "runtime": { @@ -5008,15 +6747,12 @@ ], "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": { @@ -5031,58 +6767,45 @@ "d" ], "choices_count": 8, - "filter_class": "UppercaseCodeChoiceFilter", "type": "choice" }, "awarding_agency": { - "filter_class": "PerformantAgencyFilter", "type": "string" }, "commercial_item_acquisition_procedures": { - "filter_class": "BaseSmartFilter", "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" }, @@ -5096,55 +6819,43 @@ "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": "UeiToEntityUuidFilter", "type": "string" } }, @@ -5155,7 +6866,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -5720,16 +7430,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "entities.views.EntityContractViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "entities_idvs": { "basename": "entities_idvs", - "docs_file": null, - "docs_params": [], "prefix": "entities//idvs/", "resource_key": "entities_idvs", "runtime": { @@ -5763,49 +7469,38 @@ ], "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" }, "commercial_item_acquisition_procedures": { - "filter_class": "BaseSmartFilter", "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": { @@ -5822,25 +7517,20 @@ "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": { @@ -5853,45 +7543,35 @@ "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": "UeiToEntityUuidFilter", "type": "string" } }, @@ -5902,7 +7582,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -6335,16 +8014,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "entities.views.EntityIDVViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "entities_lcats": { "basename": "entities_lcats", - "docs_file": null, - "docs_params": [], "prefix": "entities//lcats/", "resource_key": "entities_lcats", "runtime": { @@ -6368,80 +8043,64 @@ ], "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" } @@ -6456,7 +8115,6 @@ "vendor_name" ], "pagination": { - "class": "ExactCountPagination", "max_page_size": 100 }, "shape": { @@ -6534,16 +8192,12 @@ ] }, "shape_supported": true, - "shape_tier_required": "pro", - "viewset": "entities.views.EntityCalcRateViewSet" + "shape_tier_required": "pro" }, - "swagger_has_key": false, "swagger_params": [] }, "entities_otas": { "basename": "entities_otas", - "docs_file": null, - "docs_params": [], "prefix": "entities//otas/", "resource_key": "entities_otas", "runtime": { @@ -6572,49 +8226,38 @@ ], "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" }, "key": { - "filter_class": "IdListFilter", "type": "string" }, "ordering": { @@ -6627,47 +8270,37 @@ "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" }, "uei": { - "filter_class": "UeiToEntityUuidFilter", "type": "string" } }, @@ -6678,7 +8311,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -6887,16 +8519,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "entities.views.EntityOTAViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "entities_otidvs": { "basename": "entities_otidvs", - "docs_file": null, - "docs_params": [], "prefix": "entities//otidvs/", "resource_key": "entities_otidvs", "runtime": { @@ -6925,49 +8553,38 @@ ], "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" }, "key": { - "filter_class": "IdListFilter", "type": "string" }, "ordering": { @@ -6980,47 +8597,37 @@ "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" }, "uei": { - "filter_class": "UeiToEntityUuidFilter", "type": "string" } }, @@ -7031,7 +8638,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -7219,16 +8825,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "entities.views.EntityOTIDVViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "entities_subawards": { "basename": "entities_subawards", - "docs_file": null, - "docs_params": [], "prefix": "entities//subawards/", "resource_key": "entities_subawards", "runtime": { @@ -7245,41 +8847,32 @@ ], "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" } }, @@ -7288,7 +8881,6 @@ ], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -7443,16 +9035,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "entities.views.EntitySubawardViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "events": { "basename": "g2x-events", - "docs_file": null, - "docs_params": [], "prefix": "events", "resource_key": "events", "runtime": { @@ -7468,38 +9056,30 @@ ], "filter_params_detail": { "is_free": { - "filter_class": "BooleanFilter", "type": "boolean" }, "is_virtual": { - "filter_class": "BooleanFilter", "type": "boolean" }, "organizer": { - "filter_class": "CharFilter", "lookup": "icontains", "type": "string" }, "search": { - "filter_class": "CharFilter", "type": "string" }, "source": { - "filter_class": "CharFilter", "type": "string" }, "start_date_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "start_date_before": { - "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, "state": { - "filter_class": "CharFilter", "lookup": "iexact", "type": "string" } @@ -7507,23 +9087,18 @@ "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": null, "shape_flat_paths": [], "shape_gated_by_level": {}, "shape_supported": false, - "shape_tier_required": null, - "viewset": "g2x.views.content.EventsViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "exclusions": { "basename": "exclusion", - "docs_file": null, - "docs_params": [], "prefix": "exclusions", "resource_key": "exclusions", "runtime": { @@ -7550,85 +9125,66 @@ ], "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" }, "agency": { - "filter_class": "OrganizationScopeAgencyFilter", "type": "string" }, "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", "type": "string" }, "exclusion_program": { - "filter_class": "BaseSmartFilter", "type": "string" }, "exclusion_type": { - "filter_class": "BaseSmartFilter", "type": "string" }, "npi": { - "filter_class": "BaseSmartFilter", "type": "string" }, "search": { - "filter_class": "BaseSmartFilter", "type": "string" }, "termination_date_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "termination_date_before": { - "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, "uei": { - "filter_class": "BaseSmartFilter", "type": "string" }, "update_date_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "update_date_before": { - "filter_class": "DateFilter", "lookup": "lte", "type": "date" } @@ -7643,7 +9199,6 @@ "update_date" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -7756,10 +9311,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "exclusions.views.ExclusionViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -7773,8 +9326,6 @@ }, "federal_register": { "basename": "federalregisterdocument", - "docs_file": null, - "docs_params": [], "prefix": "federal_register", "resource_key": "federal_register", "runtime": { @@ -7799,77 +9350,60 @@ ], "filter_params_detail": { "agency": { - "filter_class": "FederalRegisterAgencyFilter", "type": "string" }, "cfr_part": { - "filter_class": "CharFilter", "type": "string" }, "cfr_title": { - "filter_class": "CharFilter", "type": "string" }, "comments_close_on_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "comments_close_on_before": { - "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, "comments_open": { - "filter_class": "BooleanFilter", "type": "boolean" }, "document_number": { - "filter_class": "IdListFilter", "type": "string" }, "effective_on_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "effective_on_before": { - "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, "executive_order_number": { - "filter_class": "CharFilter", "type": "string" }, "fr_agency": { - "filter_class": "JsonbContainsFilter", "type": "string" }, "publication_date_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "publication_date_before": { - "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, "rin": { - "filter_class": "JsonbContainsFilter", "type": "string" }, "search": { - "filter_class": "FederalRegisterSearchFilter", "type": "string" }, "significant": { - "filter_class": "BooleanFilter", "type": "boolean" }, "type": { - "filter_class": "DocumentTypeFilter", "type": "string" } }, @@ -7882,7 +9416,6 @@ "rank" ], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -7980,10 +9513,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "federal_register.views.FederalRegisterDocumentViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -7997,8 +9528,6 @@ }, "forecasts": { "basename": "forecast", - "docs_file": null, - "docs_params": [], "prefix": "forecasts", "resource_key": "forecasts", "runtime": { @@ -8020,65 +9549,51 @@ ], "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" } }, @@ -8089,7 +9604,6 @@ "title" ], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -8199,10 +9713,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "forecasts.views.ForecastViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -8215,8 +9727,6 @@ }, "grants": { "basename": "grantopportunity", - "docs_file": null, - "docs_params": [], "prefix": "grants", "resource_key": "grants", "runtime": { @@ -8237,7 +9747,6 @@ ], "filter_params_detail": { "agency": { - "filter_class": "OrganizationScopeAgencyFilter", "type": "string" }, "applicant_types": { @@ -8262,12 +9771,10 @@ "DESCRIPTION" ], "choices_count": 18, - "filter_class": "CaseInsensitiveChoiceFilter", "lookup": "icontains", "type": "choice" }, "cfda_number": { - "filter_class": "CharFilter", "lookup": "icontains", "type": "string" }, @@ -8307,7 +9814,6 @@ "TR" ], "choices_count": 32, - "filter_class": "CaseInsensitiveChoiceFilter", "lookup": "icontains", "type": "choice" }, @@ -8325,40 +9831,32 @@ "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" }, "posted_date_after": { - "filter_class": "DateFromToRangeFilter", "lookup": "gte", "type": "date" }, "posted_date_before": { - "filter_class": "DateFromToRangeFilter", "lookup": "lte", "type": "date" }, "response_date_after": { - "filter_class": "DateFromToRangeFilter", "lookup": "gte", "type": "date" }, "response_date_before": { - "filter_class": "DateFromToRangeFilter", "lookup": "lte", "type": "date" }, "search": { - "filter_class": "BaseSmartFilter", "type": "string" }, "status": { @@ -8367,7 +9865,6 @@ "P" ], "choices_count": 2, - "filter_class": "CaseInsensitiveChoiceFilter", "type": "choice" } }, @@ -8380,7 +9877,6 @@ "rank" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -8573,10 +10069,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "grants.views.GrantOpportunityViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -8589,8 +10083,6 @@ }, "gsa_elibrary_contracts": { "basename": "gsa-elibrary-contract", - "docs_file": null, - "docs_params": [], "prefix": "gsa_elibrary_contracts", "resource_key": "gsa_elibrary_contracts", "runtime": { @@ -8605,33 +10097,26 @@ ], "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" } }, @@ -8642,7 +10127,6 @@ "schedule" ], "pagination": { - "class": "ExactCountPagination", "max_page_size": 100 }, "shape": { @@ -8691,10 +10175,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "awards.views.gsa_elibrary.GsaELibraryContractViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "contract_number", "flat", @@ -8715,8 +10197,6 @@ }, "idvs": { "basename": "idv", - "docs_file": null, - "docs_params": [], "prefix": "idvs", "resource_key": "idvs", "runtime": { @@ -8750,49 +10230,38 @@ ], "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" }, "commercial_item_acquisition_procedures": { - "filter_class": "BaseSmartFilter", "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": { @@ -8809,25 +10278,20 @@ "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": { @@ -8840,45 +10304,35 @@ "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": "UeiToEntityUuidFilter", "type": "string" } }, @@ -8889,7 +10343,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -9322,10 +10775,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "awards.views.idvs.IDVViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "award_date", "award_date_gte", @@ -9361,8 +10812,6 @@ }, "idvs_awards": { "basename": "idvs_awards", - "docs_file": null, - "docs_params": [], "prefix": "idvs//awards/", "resource_key": "idvs_awards", "runtime": { @@ -9398,15 +10847,12 @@ ], "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": { @@ -9421,58 +10867,45 @@ "d" ], "choices_count": 8, - "filter_class": "UppercaseCodeChoiceFilter", "type": "choice" }, "awarding_agency": { - "filter_class": "PerformantAgencyFilter", "type": "string" }, "commercial_item_acquisition_procedures": { - "filter_class": "BaseSmartFilter", "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" }, @@ -9486,55 +10919,43 @@ "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": "UeiToEntityUuidFilter", "type": "string" } }, @@ -9545,7 +10966,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -10110,16 +11530,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "awards.views.idvs.IDVAwardsViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "idvs_idvs": { "basename": "idvs_idvs", - "docs_file": null, - "docs_params": [], "prefix": "idvs//idvs/", "resource_key": "idvs_idvs", "runtime": { @@ -10153,49 +11569,38 @@ ], "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" }, "commercial_item_acquisition_procedures": { - "filter_class": "BaseSmartFilter", "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": { @@ -10212,25 +11617,20 @@ "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": { @@ -10243,45 +11643,35 @@ "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": "UeiToEntityUuidFilter", "type": "string" } }, @@ -10292,7 +11682,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -10725,16 +12114,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "awards.views.idvs.IDVChildIDVsViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "idvs_lcats": { "basename": "idvs_lcats", - "docs_file": null, - "docs_params": [], "prefix": "idvs//lcats/", "resource_key": "idvs_lcats", "runtime": { @@ -10758,80 +12143,64 @@ ], "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" } @@ -10846,7 +12215,6 @@ "vendor_name" ], "pagination": { - "class": "ExactCountPagination", "max_page_size": 100 }, "shape": { @@ -10924,16 +12292,12 @@ ] }, "shape_supported": true, - "shape_tier_required": "pro", - "viewset": "awards.views.calc.IDVCalcRateViewSet" + "shape_tier_required": "pro" }, - "swagger_has_key": false, "swagger_params": [] }, "itdashboard": { "basename": "itdashboardinvestment", - "docs_file": null, - "docs_params": [], "prefix": "itdashboard", "resource_key": "itdashboard", "runtime": { @@ -10952,49 +12316,38 @@ ], "filter_params_detail": { "agency": { - "filter_class": "OrganizationScopeAgencyFilter", "type": "string" }, "agency_code": { - "filter_class": "NumberFilter", "type": "number" }, "agency_name": { - "filter_class": "BaseSmartFilter", "type": "string" }, "cio_rating": { - "filter_class": "CIORatingFilter", "type": "number" }, "cio_rating_max": { - "filter_class": "CIORatingMaxFilter", "type": "number" }, "performance_risk": { - "filter_class": "PerformanceRiskFilter", "type": "boolean" }, "previous_uii": { - "filter_class": "CharFilter", "type": "string" }, "search": { - "filter_class": "BaseSmartFilter", "type": "string" }, "type_of_investment": { - "filter_class": "CharFilter", "lookup": "iexact", "type": "string" }, "updated_time_after": { - "filter_class": "DateFromToRangeFilter", "lookup": "gte", "type": "date" }, "updated_time_before": { - "filter_class": "DateFromToRangeFilter", "lookup": "lte", "type": "date" } @@ -11002,7 +12355,6 @@ "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -11192,16 +12544,12 @@ ] }, "shape_supported": true, - "shape_tier_required": "business", - "viewset": "itdashboard.views.ITDashboardInvestmentViewSet" + "shape_tier_required": "business" }, - "swagger_has_key": false, "swagger_params": [] }, "mas_sins": { "basename": "massin", - "docs_file": null, - "docs_params": [], "prefix": "mas_sins", "resource_key": "mas_sins", "runtime": { @@ -11210,14 +12558,12 @@ ], "filter_params_detail": { "search": { - "filter_class": "ViewHandledParam", "type": "string" } }, "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "StaticModelCachedPagination", "max_page_size": 10000 }, "shape": { @@ -11259,10 +12605,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "shared.views.MasSinsViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -11276,8 +12620,6 @@ }, "naics": { "basename": "naicscode", - "docs_file": null, - "docs_params": [], "prefix": "naics", "resource_key": "naics", "runtime": { @@ -11292,42 +12634,34 @@ ], "filter_params_detail": { "employee_limit": { - "filter_class": "SizeLimitFilter", "type": "string" }, "employee_limit_gte": { - "filter_class": "SizeLimitFilter", "lookup": "gte", "type": "string" }, "employee_limit_lte": { - "filter_class": "SizeLimitFilter", "lookup": "lte", "type": "string" }, "revenue_limit": { - "filter_class": "SizeLimitFilter", "type": "string" }, "revenue_limit_gte": { - "filter_class": "SizeLimitFilter", "lookup": "gte", "type": "string" }, "revenue_limit_lte": { - "filter_class": "SizeLimitFilter", "lookup": "lte", "type": "string" }, "search": { - "filter_class": "CharFilter", "type": "string" } }, "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "StaticModelCachedPagination", "max_page_size": 10000 }, "shape": { @@ -11364,10 +12698,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "shared.views.NaicsCodeViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "employee_limit", "employee_limit_gte", @@ -11387,8 +12719,6 @@ }, "news": { "basename": "g2x-news", - "docs_file": null, - "docs_params": [], "prefix": "news", "resource_key": "news", "runtime": { @@ -11402,29 +12732,23 @@ ], "filter_params_detail": { "published_after": { - "filter_class": "DateTimeFilter", "lookup": "gte", "type": "datetime" }, "published_before": { - "filter_class": "DateTimeFilter", "lookup": "lte", "type": "datetime" }, "search": { - "filter_class": "CharFilter", "type": "string" }, "source": { - "filter_class": "CharFilter", "type": "string" }, "tag": { - "filter_class": "CharFilter", "type": "string" }, "vertical": { - "filter_class": "CharFilter", "lookup": "iexact", "type": "string" } @@ -11432,23 +12756,18 @@ "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": null, "shape_flat_paths": [], "shape_gated_by_level": {}, "shape_supported": false, - "shape_tier_required": null, - "viewset": "g2x.views.content.NewsViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "notices": { "basename": "notice", - "docs_file": null, - "docs_params": [], "prefix": "notices", "resource_key": "notices", "runtime": { @@ -11468,62 +12787,49 @@ ], "filter_params_detail": { "active": { - "filter_class": "BooleanFilter", "type": "boolean" }, "agency": { - "filter_class": "PerformantAgencyFilter", "type": "string" }, "naics": { - "filter_class": "CustomNAICSFilter", "type": "string" }, "notice_type": { - "filter_class": "NoticeTypeFilter", "type": "string" }, "posted_date_after": { - "filter_class": "DateFromToRangeFilter", "lookup": "gte", "type": "date" }, "posted_date_before": { - "filter_class": "DateFromToRangeFilter", "lookup": "lte", "type": "date" }, "psc": { - "filter_class": "CustomPSCFilter", "type": "string" }, "response_deadline_after": { - "filter_class": "DateFromToRangeFilter", "lookup": "gte", "type": "date" }, "response_deadline_before": { - "filter_class": "DateFromToRangeFilter", "lookup": "lte", "type": "date" }, "search": { - "filter_class": "NoticeSearchFilter", "type": "string" }, "set_aside": { - "filter_class": "CustomSetAsideFilter", "type": "string" }, "solicitation_number": { - "filter_class": "SolicitationNumberFilter", "type": "string" } }, "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -11756,10 +13062,8 @@ ] }, "shape_supported": true, - "shape_tier_required": "pro", - "viewset": "opportunities.views.NoticeViewSet" + "shape_tier_required": "pro" }, - "swagger_has_key": true, "swagger_params": [ "agency", "department", @@ -11784,8 +13088,6 @@ }, "offices": { "basename": "office", - "docs_file": null, - "docs_params": [], "prefix": "offices", "resource_key": "offices", "runtime": { @@ -11794,14 +13096,12 @@ ], "filter_params_detail": { "search": { - "filter_class": "BaseSmartFilter", "type": "string" } }, "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -11862,10 +13162,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "agencies.views.OfficeViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -11878,8 +13176,6 @@ }, "opportunities": { "basename": "opportunity", - "docs_file": null, - "docs_params": [], "prefix": "opportunities", "resource_key": "opportunities", "runtime": { @@ -11905,81 +13201,63 @@ ], "filter_params_detail": { "active": { - "filter_class": "BooleanFilter", "type": "boolean" }, "agency": { - "filter_class": "PerformantAgencyFilter", "type": "string" }, "awarded": { - "filter_class": "BooleanFilter", "type": "boolean" }, "awardee_uei": { - "filter_class": "AwardeeUeiFilter", "type": "string" }, "first_notice_date_after": { - "filter_class": "DateFromToRangeFilter", "lookup": "gte", "type": "date" }, "first_notice_date_before": { - "filter_class": "DateFromToRangeFilter", "lookup": "lte", "type": "date" }, "last_notice_date_after": { - "filter_class": "DateFromToRangeFilter", "lookup": "gte", "type": "date" }, "last_notice_date_before": { - "filter_class": "DateFromToRangeFilter", "lookup": "lte", "type": "date" }, "naics": { - "filter_class": "CustomNAICSFilter", "type": "string" }, "notice_type": { - "filter_class": "NoticeTypeFilter", "type": "string" }, "opportunity_id": { - "filter_class": "IdListFilter", "type": "string" }, "place_of_performance": { - "filter_class": "OpportunityPlaceOfPerformanceFilter", "type": "string" }, "psc": { - "filter_class": "CustomPSCFilter", "type": "string" }, "response_deadline_after": { - "filter_class": "DateFromToRangeFilter", "lookup": "gte", "type": "date" }, "response_deadline_before": { - "filter_class": "DateFromToRangeFilter", "lookup": "lte", "type": "date" }, "search": { - "filter_class": "OpportunitySearchFilter", "type": "string" }, "set_aside": { - "filter_class": "CustomSetAsideFilter", "type": "string" }, "solicitation_number": { - "filter_class": "SolicitationNumberFilter", "type": "string" } }, @@ -11992,7 +13270,6 @@ "response_deadline" ], "pagination": { - "class": "OpportunityPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -12293,10 +13570,8 @@ ] }, "shape_supported": true, - "shape_tier_required": "pro", - "viewset": "opportunities.views.OpportunityViewSet" + "shape_tier_required": "pro" }, - "swagger_has_key": true, "swagger_params": [ "active", "agency", @@ -12327,8 +13602,6 @@ }, "organizations": { "basename": "organization", - "docs_file": null, - "docs_params": [], "prefix": "organizations", "resource_key": "organizations", "runtime": { @@ -12342,24 +13615,19 @@ ], "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": { @@ -12371,14 +13639,12 @@ "SUB COMMAND" ], "choices_count": 5, - "filter_class": "LenientMultipleChoiceFilter", "type": "choice" } }, "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -12577,10 +13843,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "agencies.views.OrganizationViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "cgac", "flat", @@ -12599,8 +13863,6 @@ }, "otas": { "basename": "ota", - "docs_file": null, - "docs_params": [], "prefix": "otas", "resource_key": "otas", "runtime": { @@ -12629,49 +13891,38 @@ ], "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" }, "key": { - "filter_class": "IdListFilter", "type": "string" }, "ordering": { @@ -12684,47 +13935,37 @@ "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" }, "uei": { - "filter_class": "UeiToEntityUuidFilter", "type": "string" } }, @@ -12735,7 +13976,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -12944,10 +14184,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "awards.views.otas.OTAViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "cursor", "flat", @@ -12960,8 +14198,6 @@ }, "otidvs": { "basename": "otidv", - "docs_file": null, - "docs_params": [], "prefix": "otidvs", "resource_key": "otidvs", "runtime": { @@ -12990,49 +14226,38 @@ ], "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" }, "key": { - "filter_class": "IdListFilter", "type": "string" }, "ordering": { @@ -13045,47 +14270,37 @@ "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" }, "uei": { - "filter_class": "UeiToEntityUuidFilter", "type": "string" } }, @@ -13096,7 +14311,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -13284,10 +14498,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "awards.views.otidvs.OTIDVViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "cursor", "flat", @@ -13300,8 +14512,6 @@ }, "otidvs_awards": { "basename": "otidvs_awards", - "docs_file": null, - "docs_params": [], "prefix": "otidvs//awards/", "resource_key": "otidvs_awards", "runtime": { @@ -13330,49 +14540,38 @@ ], "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" }, "key": { - "filter_class": "IdListFilter", "type": "string" }, "ordering": { @@ -13385,47 +14584,37 @@ "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" }, "uei": { - "filter_class": "UeiToEntityUuidFilter", "type": "string" } }, @@ -13436,7 +14625,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -13645,16 +14833,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "awards.views.otidvs.OTIDVAwardsViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "protests": { "basename": "bidprotest", - "docs_file": null, - "docs_params": [], "prefix": "protests", "resource_key": "protests", "runtime": { @@ -13675,67 +14859,53 @@ ], "filter_params_detail": { "agency": { - "filter_class": "OrganizationScopeAgencyFilter", "type": "string" }, "case_number": { - "filter_class": "BaseSmartFilter", "type": "string" }, "case_type": { - "filter_class": "BaseSmartFilter", "type": "string" }, "decision_date_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "decision_date_before": { - "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, "filed_date_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "filed_date_before": { - "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, "naics_code": { - "filter_class": "CharFilter", "lookup": "iexact", "type": "string" }, "outcome": { - "filter_class": "BaseSmartFilter", "type": "string" }, "protester": { - "filter_class": "BaseSmartFilter", "type": "string" }, "search": { - "filter_class": "BaseSmartFilter", "type": "string" }, "solicitation_number": { - "filter_class": "SolicitationNumberFilter", "type": "string" }, "source_system": { - "filter_class": "BaseSmartFilter", "type": "string" } }, "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "BidProtestPagination", "max_page_size": 100 }, "shape": { @@ -13948,16 +15118,12 @@ ] }, "shape_supported": true, - "shape_tier_required": "enterprise_a", - "viewset": "protests.views.BidProtestViewSet" + "shape_tier_required": "enterprise_a" }, - "swagger_has_key": false, "swagger_params": [] }, "psc": { "basename": "productservicecode", - "docs_file": null, - "docs_params": [], "prefix": "psc", "resource_key": "psc", "runtime": { @@ -13966,14 +15132,12 @@ ], "filter_params_detail": { "has_awards": { - "filter_class": "ViewHandledParam", "type": "boolean" } }, "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "StaticModelCachedPagination", "max_page_size": 10000 }, "shape": { @@ -14040,10 +15204,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "shared.views.ProductServiceCodeViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -14056,8 +15218,6 @@ }, "sbir/solicitations": { "basename": "sbir-solicitation", - "docs_file": null, - "docs_params": [], "prefix": "sbir/solicitations", "resource_key": "sbir/solicitations", "runtime": { @@ -14082,59 +15242,47 @@ "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" } }, @@ -14147,7 +15295,6 @@ "year" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -14250,16 +15397,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "sbir.views.SbirDsipSolicitationViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "sbir/topics": { "basename": "sbir-topic", - "docs_file": null, - "docs_params": [], "prefix": "sbir/topics", "resource_key": "sbir/topics", "runtime": { @@ -14287,68 +15430,54 @@ "unknown" ], "choices_count": 3, - "filter_class": "ChoiceFilter", "type": "choice" }, "agency": { - "filter_class": "OrganizationScopeAgencyFilter", "type": "string" }, "close_date_after": { - "filter_class": "DateFromToRangeFilter", "lookup": "gte", "type": "date" }, "close_date_before": { - "filter_class": "DateFromToRangeFilter", "lookup": "lte", "type": "date" }, "cycle_name": { - "filter_class": "CharFilter", "type": "string" }, "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" } }, @@ -14362,7 +15491,6 @@ "year" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -14489,16 +15617,12 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "sbir.views.SbirTopicViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "sled/forecasts": { "basename": "sled-forecast", - "docs_file": null, - "docs_params": [], "prefix": "sled/forecasts", "resource_key": "sled/forecasts", "runtime": { @@ -14519,61 +15643,48 @@ ], "filter_params_detail": { "advertisement_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "advertisement_before": { - "filter_class": "_InclusiveBeforeDateFilter", "lookup": "lt", "type": "date" }, "agency": { - "filter_class": "BaseSmartFilter", "type": "string" }, "contract_number": { - "filter_class": "BaseSmartFilter", "type": "string" }, "first_seen_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "first_seen_before": { - "filter_class": "_InclusiveBeforeDateFilter", "lookup": "lt", "type": "date" }, "incumbent_name": { - "filter_class": "BaseSmartFilter", "type": "string" }, "modified_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "modified_before": { - "filter_class": "_InclusiveBeforeDateFilter", "lookup": "lt", "type": "date" }, "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" } }, @@ -14586,7 +15697,6 @@ "rank" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -14687,16 +15797,12 @@ ] }, "shape_supported": true, - "shape_tier_required": "pro", - "viewset": "sled.views.SledForecastViewSet" + "shape_tier_required": "pro" }, - "swagger_has_key": false, "swagger_params": [] }, "sled/opportunities": { "basename": "sled-opportunity", - "docs_file": null, - "docs_params": [], "prefix": "sled/opportunities", "resource_key": "sled/opportunities", "runtime": { @@ -14731,120 +15837,93 @@ ], "filter_params_detail": { "active": { - "filter_class": "BooleanFilter", "type": "boolean" }, "agency": { - "filter_class": "BaseSmartFilter", "type": "string" }, "category": { - "filter_class": "CategorySchemeFilter", "type": "string" }, "category_code": { - "filter_class": "CategoryCodeFilter", "type": "string" }, "change_seen_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "external_id": { - "filter_class": "IdListFilter", "type": "string" }, "first_seen_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "first_seen_before": { - "filter_class": "_InclusiveBeforeDateFilter", "lookup": "lt", "type": "date" }, "has_documents": { - "filter_class": "BooleanFilter", "type": "boolean" }, "jurisdiction": { - "filter_class": "CharFilter", "type": "string" }, "modified_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "modified_before": { - "filter_class": "_InclusiveBeforeDateFilter", "lookup": "lt", "type": "date" }, "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" }, "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": "_SledOpportunitySearchFilter", "type": "string" }, "solicitation_number": { - "filter_class": "BaseSmartFilter", "type": "string" }, "solicitation_type": { - "filter_class": "CharFilter", "type": "string" }, "state": { - "filter_class": "BaseSmartFilter", "type": "string" }, "status": { - "filter_class": "BaseSmartFilter", "type": "string" }, "unspsc": { - "filter_class": "CategorySchemeFilter", "type": "string" } }, @@ -14859,7 +15938,6 @@ "response_deadline" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -15032,16 +16110,12 @@ ] }, "shape_supported": true, - "shape_tier_required": "pro", - "viewset": "sled.views.SledOpportunityViewSet" + "shape_tier_required": "pro" }, - "swagger_has_key": false, "swagger_params": [] }, "subawards": { "basename": "subaward", - "docs_file": null, - "docs_params": [], "prefix": "subawards", "resource_key": "subawards", "runtime": { @@ -15058,41 +16132,32 @@ ], "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" } }, @@ -15101,7 +16166,6 @@ ], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -15256,10 +16320,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "awards.views.subawards.SubawardViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -15273,8 +16335,6 @@ }, "vehicles": { "basename": "vehicle", - "docs_file": null, - "docs_params": [], "prefix": "vehicles", "resource_key": "vehicles", "runtime": { @@ -15304,103 +16364,81 @@ ], "filter_params_detail": { "agency": { - "filter_class": "VehiclePerformantAgencyFilter", "type": "string" }, "award_date_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "award_date_before": { - "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, "contract_type": { - "filter_class": "BaseSmartFilter", "type": "string" }, "fiscal_year": { - "filter_class": "NumberFilter", "type": "number" }, "idv_count_max": { - "filter_class": "NumberFilter", "lookup": "lte", "type": "number" }, "idv_count_min": { - "filter_class": "NumberFilter", "lookup": "gte", "type": "number" }, "last_date_to_order_after": { - "filter_class": "DateFilter", "lookup": "gte", "type": "date" }, "last_date_to_order_before": { - "filter_class": "DateFilter", "lookup": "lte", "type": "date" }, "naics_code": { - "filter_class": "NumberFilter", "type": "number" }, "order_count_max": { - "filter_class": "NumberFilter", "lookup": "lte", "type": "number" }, "order_count_min": { - "filter_class": "NumberFilter", "lookup": "gte", "type": "number" }, "organization_id": { - "filter_class": "UUIDFilter", "type": "string" }, "program_acronym": { - "filter_class": "CharFilter", "lookup": "iexact", "type": "string" }, "psc_code": { - "filter_class": "CharFilter", "lookup": "iexact", "type": "string" }, "search": { - "filter_class": "ViewHandledSearch", "type": "string" }, "set_aside": { - "filter_class": "CustomSetAsideFilter", "type": "string" }, "total_obligated_max": { - "filter_class": "NumberFilter", "lookup": "lte", "type": "number" }, "total_obligated_min": { - "filter_class": "NumberFilter", "lookup": "gte", "type": "number" }, "type_of_idc": { - "filter_class": "BaseSmartFilter", "type": "string" }, "vehicle_type": { - "filter_class": "BaseSmartFilter", "type": "string" }, "who_can_use": { - "filter_class": "CharFilter", "lookup": "iexact", "type": "string" } @@ -15417,7 +16455,6 @@ "vehicle_obligations" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -16865,10 +17902,8 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "awards.views.vehicles.VehicleViewSet" + "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "agency", "award_date_after", @@ -16904,8 +17939,6 @@ }, "vehicles_orders": { "basename": "vehicles_orders", - "docs_file": null, - "docs_params": [], "prefix": "vehicles//orders/", "resource_key": "vehicles_orders", "runtime": { @@ -16941,15 +17974,12 @@ ], "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": { @@ -16964,58 +17994,45 @@ "d" ], "choices_count": 8, - "filter_class": "UppercaseCodeChoiceFilter", "type": "choice" }, "awarding_agency": { - "filter_class": "PerformantAgencyFilter", "type": "string" }, "commercial_item_acquisition_procedures": { - "filter_class": "BaseSmartFilter", "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" }, @@ -17029,55 +18046,43 @@ "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": "UeiToEntityUuidFilter", "type": "string" } }, @@ -17088,7 +18093,6 @@ "total_contract_value" ], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -17653,95 +18657,9 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "awards.views.vehicles.VehicleOrdersViewSet" + "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] } - }, - "unmapped_resources": { - "no_docs_page": [ - "agencies", - "agencies_contracts_awarding", - "agencies_contracts_funding", - "assistance_listings", - "budget/accounts", - "business_types", - "contract_appeals", - "contracts", - "contracts_subawards", - "departments", - "dibbs/awards", - "dibbs/rfps", - "dibbs/rfqs", - "ebuy/requests", - "entities", - "entities_contracts", - "entities_idvs", - "entities_lcats", - "entities_otas", - "entities_otidvs", - "entities_subawards", - "events", - "exclusions", - "federal_register", - "forecasts", - "grants", - "gsa_elibrary_contracts", - "idvs", - "idvs_awards", - "idvs_idvs", - "idvs_lcats", - "itdashboard", - "mas_sins", - "naics", - "news", - "notices", - "offices", - "opportunities", - "organizations", - "otas", - "otidvs", - "otidvs_awards", - "protests", - "psc", - "sbir/solicitations", - "sbir/topics", - "sled/forecasts", - "sled/opportunities", - "subawards", - "vehicles", - "vehicles_orders" - ], - "no_swagger": [ - "agencies_contracts_awarding", - "agencies_contracts_funding", - "budget/accounts", - "contracts_subawards", - "dibbs/awards", - "dibbs/rfps", - "dibbs/rfqs", - "ebuy/requests", - "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", - "sled/forecasts", - "sled/opportunities", - "vehicles_orders" - ] } } diff --git a/contracts/shape_coverage_baseline.json b/contracts/shape_coverage_baseline.json index ec141ed..dbac8a6 100644 --- a/contracts/shape_coverage_baseline.json +++ b/contracts/shape_coverage_baseline.json @@ -1,9 +1,13 @@ { "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": 14, + "count": 18, "known_gaps": [ "unmapped_resource|agencies_contracts_awarding|(root)|(no model mapped)", "unmapped_resource|agencies_contracts_funding|(root)|(no model mapped)", + "unmapped_resource|assistance/direct_payments|(root)|(no model mapped)", + "unmapped_resource|assistance/grants|(root)|(no model mapped)", + "unmapped_resource|assistance/loans|(root)|(no model mapped)", + "unmapped_resource|assistance/other|(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)", diff --git a/docs/API_REFERENCE.md b/docs/API_REFERENCE.md index deed046..4683c3c 100644 --- a/docs/API_REFERENCE.md +++ b/docs/API_REFERENCE.md @@ -764,7 +764,7 @@ const rfqs = await client.listDibbsRfqs({ }); ``` -Typed filters: `nsn`, `part_number`, `solicitation`, `purchase_request`, `organization`, `status_code`, `set_aside`, `open`, `quantity_min` / `quantity_max`, `issue_date_after` / `issue_date_before`, `return_by_date_after` / `return_by_date_before`, `search`, `ordering`. +Typed filters: `nsn`, `part_number`, `fsc`, `solicitation`, `purchase_request`, `organization`, `status_code`, `set_aside`, `open`, `quantity_min` / `quantity_max`, `issue_date_after` / `issue_date_before`, `return_by_date_after` / `return_by_date_before`, `search`, `ordering`. ### `listDibbsRfps(options?)` / `getDibbsRfp(uuid, options?)` @@ -772,7 +772,7 @@ Typed filters: `nsn`, `part_number`, `solicitation`, `purchase_request`, `organi const rfps = await client.listDibbsRfps({ open: true, limit: 25 }); ``` -Typed filters: `nsn`, `part_number`, `solicitation`, `organization`, `buyer_code`, `open`, `issued_date_after` / `issued_date_before`, `closes_date_after` / `closes_date_before`, `search`, `ordering`. +Typed filters: `nsn`, `part_number`, `fsc`, `solicitation`, `organization`, `buyer_code`, `open`, `issued_date_after` / `issued_date_before`, `closes_date_after` / `closes_date_before`, `search`, `ordering`. ### `listDibbsAwards(options?)` / `getDibbsAward(uuid, options?)` @@ -780,7 +780,7 @@ Typed filters: `nsn`, `part_number`, `solicitation`, `organization`, `buyer_code const awards = await client.listDibbsAwards({ awardee_cage: "1ABC2", limit: 25 }); ``` -Typed filters: `award_number`, `delivery_order_number`, `solicitation`, `purchase_request`, `nsn`, `part_number`, `awardee_cage`, `entity`, `organization`, `total_contract_price_min` / `total_contract_price_max`, `award_date_after` / `award_date_before`, `posted_date_after` / `posted_date_before`, `search`, `ordering`. +Typed filters: `award_number`, `delivery_order_number`, `solicitation`, `purchase_request`, `nsn`, `part_number`, `fsc`, `awardee_cage`, `entity`, `organization`, `total_contract_price_min` / `total_contract_price_max`, `award_date_after` / `award_date_before`, `posted_date_after` / `posted_date_before`, `search`, `ordering`. Two API behaviors worth knowing: diff --git a/docs/DEVELOPERS.md b/docs/DEVELOPERS.md index 8f88b46..4873f85 100644 --- a/docs/DEVELOPERS.md +++ b/docs/DEVELOPERS.md @@ -537,7 +537,8 @@ Shrink the baselines as gaps close — never grow them to silence a legitimate f It honors the same `TANGO_CONTRACT_PATH` env var / `--contract` flag as the two check scripts. CI regenerates the overlay and fails on any diff against the committed file, so a contract refresh or curated-schema change that alters generator output must land alongside a rerun of `npm run generate-shape-overlay`. -To refresh the vendored contract, copy `contracts/filter_shape_contract.json` from the tango API repo, regenerate the overlay, and re-run both gates. +To refresh the vendored contract, run `npm run vendor-contract -- ` (`-` reads stdin), then regenerate the overlay and re-run both gates. +The script (`scripts/vendor-contract.ts`) vendors only the parts of the upstream contract the SDK consumes, dropping server-side implementation details; `--check` compares the vendored file against a source without writing. When the `TANGO_API_REPO_ACCESS_TOKEN` secret is configured, CI additionally runs both gates as hard checks against the fresh contract at tango HEAD, and emits a re-vendor warning when the vendored copy has drifted. ### Lint and type-check diff --git a/package-lock.json b/package-lock.json index b614516..7c14d5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@makegov/tango-node", - "version": "1.4.1", + "version": "1.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@makegov/tango-node", - "version": "1.4.1", + "version": "1.5.0", "license": "MIT", "dependencies": { "commander": "^12.1.0" diff --git a/package.json b/package.json index e8b0353..63e144e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@makegov/tango-node", - "version": "1.4.1", + "version": "1.5.0", "description": "Official Node.js SDK for the Tango API – dynamic response shaping, typed models, and full endpoint coverage.", "type": "module", "main": "./dist/index.js", @@ -43,6 +43,7 @@ "check-conformance": "tsx scripts/check-filter-shape-conformance.ts", "check-shape-coverage": "tsx scripts/check-shape-coverage.ts", "generate-shape-overlay": "tsx scripts/generate-shape-overlay.ts", + "vendor-contract": "tsx scripts/vendor-contract.ts", "prepare": "npm run build", "prepublishOnly": "npm run lint && npm run test && npm run build" }, diff --git a/scripts/check-filter-shape-conformance.ts b/scripts/check-filter-shape-conformance.ts index cfcf59e..1049ba1 100644 --- a/scripts/check-filter-shape-conformance.ts +++ b/scripts/check-filter-shape-conformance.ts @@ -103,6 +103,11 @@ export const RESOURCE_TO_METHOD: Record = { // Genuinely absent from the SDK: content endpoints with no shaping and no list method — permanently baselined. events: null, news: null, + // Not yet ported: financial-assistance awards, baselined in contracts/conformance_baseline.json. + "assistance/direct_payments": null, + "assistance/grants": null, + "assistance/loans": null, + "assistance/other": null, }; // --------------------------------------------------------------------------- @@ -154,7 +159,7 @@ interface ResourceManifest { runtime?: { filter_params?: string[]; ordering_fields?: string[]; - pagination?: { class?: string }; + pagination?: { max_page_size?: number }; }; } diff --git a/scripts/vendor-contract.ts b/scripts/vendor-contract.ts new file mode 100644 index 0000000..c3b00af --- /dev/null +++ b/scripts/vendor-contract.ts @@ -0,0 +1,106 @@ +/** + * Vendor the upstream filter/shape contract into contracts/filter_shape_contract.json. + * + * The upstream contract carries server internals; vendor only what the SDK consumes. + * Every refresh goes through `projectContract`, which drops the server-side keys listed below and keeps everything else verbatim. + * + * Run: npx tsx scripts/vendor-contract.ts PATH # write the projection of PATH ("-" reads stdin) + * npx tsx scripts/vendor-contract.ts PATH --check # exit 1 when the vendored file differs from the projection of PATH + * + * After a refresh, run `npm run generate-shape-overlay` and both conformance gates. + */ + +import * as fs from "node:fs"; +import * as path from "node:path"; +import { fileURLToPath } from "node:url"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); +const REPO_ROOT = path.resolve(__dirname, ".."); +export const VENDORED_CONTRACT_PATH = path.join(REPO_ROOT, "contracts", "filter_shape_contract.json"); + +export const DROPPED_TOP_LEVEL_KEYS = ["policy", "unmapped_resources"] as const; +export const DROPPED_META_KEYS = ["generated_from"] as const; +export const DROPPED_RESOURCE_KEYS = ["docs_file", "docs_params", "swagger_has_key"] as const; +export const DROPPED_RUNTIME_KEYS = ["viewset"] as const; +export const DROPPED_PAGINATION_KEYS = ["class"] as const; +export const DROPPED_FILTER_DETAIL_KEYS = ["filter_class"] as const; + +type Json = Record; + +function isObject(value: unknown): value is Json { + return typeof value === "object" && value !== null && !Array.isArray(value); +} + +function omit(obj: Json, keys: readonly string[]): Json { + return Object.fromEntries(Object.entries(obj).filter(([key]) => !keys.includes(key))); +} + +function projectRuntime(runtime: Json): Json { + const out = omit(runtime, DROPPED_RUNTIME_KEYS); + if (isObject(out.pagination)) out.pagination = omit(out.pagination, DROPPED_PAGINATION_KEYS); + if (isObject(out.filter_params_detail)) { + out.filter_params_detail = Object.fromEntries( + Object.entries(out.filter_params_detail).map(([name, detail]) => [name, isObject(detail) ? omit(detail, DROPPED_FILTER_DETAIL_KEYS) : detail]), + ); + } + return out; +} + +export function projectContract(contract: Json): Json { + const out = omit(contract, DROPPED_TOP_LEVEL_KEYS); + if (isObject(out.meta)) out.meta = omit(out.meta, DROPPED_META_KEYS); + if (isObject(out.resources)) { + out.resources = Object.fromEntries( + Object.entries(out.resources).map(([key, resource]) => { + if (!isObject(resource)) return [key, resource]; + const projected = omit(resource, DROPPED_RESOURCE_KEYS); + if (isObject(projected.runtime)) projected.runtime = projectRuntime(projected.runtime); + return [key, projected]; + }), + ); + } + return out; +} + +export function serializeContract(contract: Json): string { + return JSON.stringify(contract, null, 2) + "\n"; +} + +function main(argv: string[]): number { + const check = argv.includes("--check"); + const positional = argv.filter((arg) => arg !== "--check"); + if (positional.length !== 1) { + process.stderr.write("usage: vendor-contract.ts [--check]\n"); + return 2; + } + const source = positional[0]; + const raw = fs.readFileSync(source === "-" ? 0 : path.resolve(source), "utf8"); + const projected = serializeContract(projectContract(JSON.parse(raw) as Json)); + + if (check) { + const vendored = fs.existsSync(VENDORED_CONTRACT_PATH) ? fs.readFileSync(VENDORED_CONTRACT_PATH, "utf8") : ""; + if (vendored === projected) { + process.stdout.write("Vendored contract matches the projection of the source.\n"); + return 0; + } + process.stdout.write("Vendored contract differs from the projection of the source.\n"); + return 1; + } + + fs.writeFileSync(VENDORED_CONTRACT_PATH, projected); + process.stdout.write(`Wrote ${path.relative(REPO_ROOT, VENDORED_CONTRACT_PATH)}.\n`); + return 0; +} + +const isDirectRun = (() => { + try { + return process.argv[1] ? path.resolve(process.argv[1]) === __filename : false; + } catch { + return false; + } +})(); + +if (isDirectRun) { + process.exit(main(process.argv.slice(2))); +} diff --git a/src/client.ts b/src/client.ts index c7187e2..9cfb2c4 100644 --- a/src/client.ts +++ b/src/client.ts @@ -577,6 +577,8 @@ export interface ListDibbsRfqsOptions extends ListOptionsBase { joiner?: string; nsn?: string; part_number?: string; + /** Federal Supply Class: the first four digits of the NSN. Exactly four digits; OR several with `|`, e.g. `"6515|6530"`. */ + fsc?: string; solicitation?: string; purchase_request?: string; organization?: string; @@ -603,6 +605,8 @@ export interface ListDibbsRfpsOptions extends ListOptionsBase { joiner?: string; nsn?: string; part_number?: string; + /** Federal Supply Class: the first four digits of the NSN. Exactly four digits; OR several with `|`, e.g. `"6515|6530"`. */ + fsc?: string; solicitation?: string; organization?: string; buyer_code?: string; @@ -629,6 +633,8 @@ export interface ListDibbsAwardsOptions extends ListOptionsBase { purchase_request?: string; nsn?: string; part_number?: string; + /** Federal Supply Class: the first four digits of the NSN. Exactly four digits; OR several with `|`, e.g. `"6515|6530"`. */ + fsc?: string; awardee_cage?: string; entity?: string; organization?: string; diff --git a/src/shapes/generatedOverlay.ts b/src/shapes/generatedOverlay.ts index e948696..df4e0ba 100644 --- a/src/shapes/generatedOverlay.ts +++ b/src/shapes/generatedOverlay.ts @@ -57,6 +57,10 @@ export const GENERATED_NESTED: Record = { date: f("date", "date"), type: f("type", "str"), }, + AssistanceListing: { + number: f("number", "str"), + title: f("title", "str"), + }, Attachments: { attachment_id: f("attachment_id", "str"), doc_role: f("doc_role", "str"), @@ -354,6 +358,19 @@ export const GENERATED_NESTED: Record = { other_statutory_authority: f("other_statutory_authority", "str"), service_contract_inventory: f("service_contract_inventory", "str"), }, + Listings: { + cfda_number: f("cfda_number", "str"), + face_value_of_loan: f("face_value_of_loan", "str"), + first_action_date: f("first_action_date", "date"), + indirect_cost_federal_share_amount: f("indirect_cost_federal_share_amount", "Decimal"), + is_primary: f("is_primary", "bool"), + last_action_date: f("last_action_date", "date"), + loan_subsidy_cost: f("loan_subsidy_cost", "Decimal"), + non_federal_funding_amount: f("non_federal_funding_amount", "Decimal"), + obligated: f("obligated", "str"), + pragmatic_obligations: f("pragmatic_obligations", "Decimal"), + transactions_count: f("transactions_count", "int"), + }, MailingAddress: { address_line1: f("address_line1", "str"), address_line2: f("address_line2", "str"), @@ -479,6 +496,10 @@ export const GENERATED_NESTED: Record = { ultimate_completion_date: f("ultimate_completion_date", "date"), }, PeriodOfPerformance2: { + current_end_date: f("current_end_date", "date"), + start_date: f("start_date", "date"), + }, + PeriodOfPerformance3: { last_date_to_order: f("last_date_to_order", "str"), start_date: f("start_date", "date"), }, @@ -504,19 +525,33 @@ export const GENERATED_NESTED: Record = { zip_code: f("zip_code", "str"), }, PlaceOfPerformance3: { + city_name: f("city_name", "str"), + code: f("code", "str"), + country: f("country", "str"), + county_fips: f("county_fips", "str"), + county_name: f("county_name", "str"), + foreign_location: f("foreign_location", "str"), + scope: f("scope", "str"), + state_code: f("state_code", "str"), + state_fips: f("state_fips", "str"), + state_name: f("state_name", "str"), + zip_code: f("zip_code", "str"), + zip_plus_four: f("zip_plus_four", "str"), + }, + PlaceOfPerformance4: { city: f("city", "str"), country_code: f("country_code", "str"), state: f("state", "str"), zip: f("zip", "str"), }, - PlaceOfPerformance4: { + PlaceOfPerformance5: { city: f("city", "str"), country: f("country", "str"), state: f("state", "str"), street_address: f("street_address", "str"), zip: f("zip", "str"), }, - PlaceOfPerformance5: { + PlaceOfPerformance6: { city: f("city", "int"), country: f("country", "str"), state: f("state", "str"), @@ -541,6 +576,34 @@ export const GENERATED_NESTED: Record = { legal_business_name: f("legal_business_name", "str"), uei: f("uei", "str"), }, + Recipient2: { + business_types: f("business_types", "str"), + congressional_district: f("congressional_district", "str"), + congressional_district_original: f("congressional_district_original", "str"), + county: f("county", "str"), + duns: f("duns", "str"), + highest_owner: f("highest_owner", "str"), + legal_business_name: f("legal_business_name", "str"), + legal_business_name_raw: f("legal_business_name_raw", "str"), + uei: f("uei", "str"), + uuid: f("uuid", "str"), + }, + RecipientAddress: { + address_line1: f("address_line1", "str"), + address_line2: f("address_line2", "str"), + city: f("city", "str"), + congressional_district_current: f("congressional_district_current", "str"), + congressional_district_original: f("congressional_district_original", "str"), + country_code: f("country_code", "str"), + county_fips: f("county_fips", "str"), + foreign_city_name: f("foreign_city_name", "str"), + foreign_postal_code: f("foreign_postal_code", "str"), + foreign_province_name: f("foreign_province_name", "str"), + state_fips: f("state_fips", "str"), + state_or_province_code: f("state_or_province_code", "str"), + zip_code: f("zip_code", "str"), + zip_code_plus4: f("zip_code_plus4", "str"), + }, Relationships: { confidence: f("confidence", "str"), display_name: f("display_name", "str"), @@ -597,6 +660,26 @@ export const GENERATED_NESTED: Record = { transaction_date: f("transaction_date", "date"), }, Transactions2: { + action_date_fiscal_year: f("action_date_fiscal_year", "str"), + action_type: f("action_type", "str"), + assistance_type_code: f("assistance_type_code", "str"), + award_amount_basis: f("award_amount_basis", "str"), + award_recipient_basis: f("award_recipient_basis", "str"), + cfda_number: f("cfda_number", "str"), + correction_delete_indicator: f("correction_delete_indicator", "str"), + face_value_of_loan: f("face_value_of_loan", "str"), + indirect_cost_federal_share_amount: f("indirect_cost_federal_share_amount", "Decimal"), + initial_report_date: f("initial_report_date", "date"), + key: f("key", "str"), + last_modified_date: f("last_modified_date", "date"), + loan_subsidy_cost: f("loan_subsidy_cost", "Decimal"), + modification_number: f("modification_number", "str"), + non_federal_funding_amount: f("non_federal_funding_amount", "Decimal"), + obligated: f("obligated", "str"), + pragmatic_obligations: f("pragmatic_obligations", "Decimal"), + transaction_date: f("transaction_date", "date"), + }, + Transactions3: { action_type: f("action_type", "str"), description: f("description", "str"), modification_number: f("modification_number", "int"), @@ -775,7 +858,7 @@ 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, "Transactions2"), + transactions: f("transactions", "dict", true, "Transactions3"), undefinitized_action: f("undefinitized_action", "dict", false, "CodeDescription"), vehicle: f("vehicle", "dict", false, "Vehicle3"), }, @@ -933,7 +1016,7 @@ export const GENERATED_OVERLAY: Record = { 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, "PlaceOfPerformance4"), + place_of_performance: f("place_of_performance", "dict", false, "PlaceOfPerformance5"), primary_contact: f("primary_contact", "dict", false, "PrimaryContact"), secondary_contact: f("secondary_contact", "dict", false, "PrimaryContact"), set_aside: f("set_aside", "dict", false, "CodeDescription"), @@ -1007,7 +1090,7 @@ export const GENERATED_OVERLAY: Record = { meta: f("meta", "dict", false, "Meta2"), notice_history: f("notice_history", "dict", true, "NoticeHistory2"), office_id: f("office_id", "str"), - place_of_performance: f("place_of_performance", "dict", false, "PlaceOfPerformance4"), + place_of_performance: f("place_of_performance", "dict", false, "PlaceOfPerformance5"), secondary_contact: f("secondary_contact", "dict", false, "PrimaryContact"), set_aside: f("set_aside", "dict", false, "CodeDescription"), snippet: f("snippet", "str"), diff --git a/tests/scripts/vendor-contract.test.ts b/tests/scripts/vendor-contract.test.ts new file mode 100644 index 0000000..58a8093 --- /dev/null +++ b/tests/scripts/vendor-contract.test.ts @@ -0,0 +1,82 @@ +import * as fs from "node:fs"; +import { describe, it, expect } from "vitest"; + +import { VENDORED_CONTRACT_PATH, projectContract, serializeContract } from "../../scripts/vendor-contract.js"; + +const UPSTREAM = { + meta: { api_version: "9.9.9", schema_version: 2, description: "d", generated_from: "internal/path" }, + policy: { audit: [] }, + unmapped_resources: { no_docs_page: ["widgets"] }, + resources: { + widgets: { + resource_key: "widgets", + prefix: "widgets", + basename: "widget", + docs_file: "internal/widgets.md", + docs_params: ["name"], + swagger_params: ["name"], + swagger_has_key: true, + runtime: { + viewset: "internal.module.View", + filter_params: ["name", "kind"], + filter_params_detail: { + name: { type: "string", filter_class: "InternalA" }, + kind: { type: "choice", filter_class: "InternalB", choices: ["a", "b"] }, + }, + ordering_fields: ["name"], + pagination: { class: "InternalPager", max_page_size: 100 }, + shape: { fields: ["name"], expands: {} }, + shape_flat_paths: ["name"], + }, + }, + bare: { resource_key: "bare", runtime: null }, + }, +}; + +function collectKeys(value: unknown, out: Set = new Set()): Set { + if (Array.isArray(value)) value.forEach((item) => collectKeys(item, out)); + else if (value && typeof value === "object") { + for (const [key, child] of Object.entries(value)) { + out.add(key); + collectKeys(child, out); + } + } + return out; +} + +const DROPPED = ["generated_from", "policy", "unmapped_resources", "docs_file", "docs_params", "swagger_has_key", "viewset", "class", "filter_class"]; + +describe("vendor-contract projection", () => { + it("drops the server-side keys", () => { + const keys = collectKeys(projectContract(UPSTREAM)); + expect(DROPPED.filter((key) => keys.has(key))).toEqual([]); + }); + + it("keeps everything the SDK consumes", () => { + expect(projectContract(UPSTREAM)).toEqual({ + meta: { api_version: "9.9.9", schema_version: 2, description: "d" }, + resources: { + widgets: { + resource_key: "widgets", + prefix: "widgets", + basename: "widget", + swagger_params: ["name"], + runtime: { + filter_params: ["name", "kind"], + filter_params_detail: { name: { type: "string" }, kind: { type: "choice", choices: ["a", "b"] } }, + ordering_fields: ["name"], + pagination: { max_page_size: 100 }, + shape: { fields: ["name"], expands: {} }, + shape_flat_paths: ["name"], + }, + }, + bare: { resource_key: "bare", runtime: null }, + }, + }); + }); + + it("the committed contract is already a projection", () => { + const vendored = fs.readFileSync(VENDORED_CONTRACT_PATH, "utf8"); + expect(serializeContract(projectContract(JSON.parse(vendored)))).toBe(vendored); + }); +}); diff --git a/tests/unit/client.dibbs-exclusions-sbir.test.ts b/tests/unit/client.dibbs-exclusions-sbir.test.ts index 6b6f271..5b9aa7d 100644 --- a/tests/unit/client.dibbs-exclusions-sbir.test.ts +++ b/tests/unit/client.dibbs-exclusions-sbir.test.ts @@ -177,6 +177,22 @@ describe("TangoClient — DIBBS awards", () => { }); }); +describe("TangoClient — DIBBS fsc filter", () => { + it.each([ + ["listDibbsRfqs", "/api/dibbs/rfqs/"], + ["listDibbsRfps", "/api/dibbs/rfps/"], + ["listDibbsAwards", "/api/dibbs/awards/"], + ] as const)("%s sends fsc as-is, pipe-separated OR intact", async (method, route) => { + const { client, calls } = makeClient(); + await client[method]({ fsc: "6515|6530", nsn: "6515012345678" }); + + expect(calls[0].url).toContain(route); + const p = params(calls); + expect(p.get("fsc")).toBe("6515|6530"); + expect(p.get("nsn")).toBe("6515012345678"); + }); +}); + describe("TangoClient — exclusions", () => { it("listExclusions hits /api/exclusions/ with filters under API param names", async () => { const { client, calls } = makeClient();