From f44c2ba42c2b0d4c1fa7ec88e231d922be4b7637 Mon Sep 17 00:00:00 2001 From: "V. David Zvenyach" Date: Thu, 29 Oct 2026 14:27:08 -0500 Subject: [PATCH 1/4] feat(dibbs): add the fsc filter to the DIBBS list methods `listDibbsRfqs()`, `listDibbsRfps()` and `listDibbsAwards()` type the new `fsc` option (Tango API 5.13.0): the Federal Supply Class, the first four digits of the NSN, with several values OR'd by `|`. Re-vendors the API contract at 5.13.0 and regenerates the shape overlay; the contract's new financial-assistance award endpoints are not yet in the SDK and are baselined as known gaps. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 8 + contracts/conformance_baseline.json | 8 +- contracts/filter_shape_contract.json | 2249 ++++++++++++++++- contracts/shape_coverage_baseline.json | 6 +- docs/API_REFERENCE.md | 6 +- scripts/check-filter-shape-conformance.ts | 5 + src/client.ts | 6 + src/shapes/generatedOverlay.ts | 93 +- .../unit/client.dibbs-exclusions-sbir.test.ts | 16 + 9 files changed, 2385 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50da30f..03ec068 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,14 @@ This project follows [Semantic Versioning](https://semver.org/). ## [Unreleased] +### 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/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..c91875f 100644 --- a/contracts/filter_shape_contract.json +++ b/contracts/filter_shape_contract.json @@ -1,6 +1,6 @@ { "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 @@ -1596,6 +1596,2230 @@ "swagger_has_key": false, "swagger_params": [] }, + "assistance/direct_payments": { + "basename": "assistance-direct_payments", + "docs_file": null, + "docs_params": [], + "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": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "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" + }, + "business_funds_indicator": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "cfda_number": { + "filter_class": "IdListFilter", + "type": "string" + }, + "disaster_emergency_fund_code": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "fain": { + "filter_class": "IdListFilter", + "type": "string" + }, + "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" + }, + "funding_opportunity_number": { + "filter_class": "IdListFilter", + "type": "string" + }, + "key": { + "filter_class": "IdListFilter", + "type": "string" + }, + "obligated_gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "obligated_lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-pragmatic_obligations", + "award_date", + "obligated", + "pragmatic_obligations" + ], + "choices_count": 6, + "filter_class": "OrderingFilter", + "type": "ordering" + }, + "pop_country": { + "filter_class": "BaseSmartFilter", + "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" + }, + "pop_state": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "pop_zip": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "recipient": { + "filter_class": "CharFilter", + "type": "string" + }, + "record_type": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "search": { + "filter_class": "CharFilter", + "type": "string" + }, + "uei": { + "filter_class": "UeiToEntityUuidFilter", + "type": "string" + }, + "uri": { + "filter_class": "IdListFilter", + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "award_date", + "obligated", + "pragmatic_obligations" + ], + "pagination": { + "class": "AssistanceKeysetPagination", + "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, + "viewset": "assistance.views.DirectPaymentAwardViewSet" + }, + "swagger_has_key": false, + "swagger_params": [] + }, + "assistance/grants": { + "basename": "assistance-grants", + "docs_file": null, + "docs_params": [], + "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": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "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" + }, + "business_funds_indicator": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "cfda_number": { + "filter_class": "IdListFilter", + "type": "string" + }, + "disaster_emergency_fund_code": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "fain": { + "filter_class": "IdListFilter", + "type": "string" + }, + "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" + }, + "funding_opportunity_number": { + "filter_class": "IdListFilter", + "type": "string" + }, + "key": { + "filter_class": "IdListFilter", + "type": "string" + }, + "obligated_gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "obligated_lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-pragmatic_obligations", + "award_date", + "obligated", + "pragmatic_obligations" + ], + "choices_count": 6, + "filter_class": "OrderingFilter", + "type": "ordering" + }, + "pop_country": { + "filter_class": "BaseSmartFilter", + "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" + }, + "pop_state": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "pop_zip": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "recipient": { + "filter_class": "CharFilter", + "type": "string" + }, + "record_type": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "search": { + "filter_class": "CharFilter", + "type": "string" + }, + "uei": { + "filter_class": "UeiToEntityUuidFilter", + "type": "string" + }, + "uri": { + "filter_class": "IdListFilter", + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "award_date", + "obligated", + "pragmatic_obligations" + ], + "pagination": { + "class": "AssistanceKeysetPagination", + "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, + "viewset": "assistance.views.GrantAwardViewSet" + }, + "swagger_has_key": false, + "swagger_params": [] + }, + "assistance/loans": { + "basename": "assistance-loans", + "docs_file": null, + "docs_params": [], + "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": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "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" + }, + "business_funds_indicator": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "cfda_number": { + "filter_class": "IdListFilter", + "type": "string" + }, + "disaster_emergency_fund_code": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "fain": { + "filter_class": "IdListFilter", + "type": "string" + }, + "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" + }, + "funding_opportunity_number": { + "filter_class": "IdListFilter", + "type": "string" + }, + "key": { + "filter_class": "IdListFilter", + "type": "string" + }, + "obligated_gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "obligated_lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-pragmatic_obligations", + "award_date", + "obligated", + "pragmatic_obligations" + ], + "choices_count": 6, + "filter_class": "OrderingFilter", + "type": "ordering" + }, + "pop_country": { + "filter_class": "BaseSmartFilter", + "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" + }, + "pop_state": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "pop_zip": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "recipient": { + "filter_class": "CharFilter", + "type": "string" + }, + "record_type": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "search": { + "filter_class": "CharFilter", + "type": "string" + }, + "uei": { + "filter_class": "UeiToEntityUuidFilter", + "type": "string" + }, + "uri": { + "filter_class": "IdListFilter", + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "award_date", + "obligated", + "pragmatic_obligations" + ], + "pagination": { + "class": "AssistanceKeysetPagination", + "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, + "viewset": "assistance.views.LoanAwardViewSet" + }, + "swagger_has_key": false, + "swagger_params": [] + }, + "assistance/other": { + "basename": "assistance-other", + "docs_file": null, + "docs_params": [], + "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": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "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" + }, + "business_funds_indicator": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "cfda_number": { + "filter_class": "IdListFilter", + "type": "string" + }, + "disaster_emergency_fund_code": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "fain": { + "filter_class": "IdListFilter", + "type": "string" + }, + "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" + }, + "funding_opportunity_number": { + "filter_class": "IdListFilter", + "type": "string" + }, + "key": { + "filter_class": "IdListFilter", + "type": "string" + }, + "obligated_gte": { + "filter_class": "NumberFilter", + "lookup": "gte", + "type": "number" + }, + "obligated_lte": { + "filter_class": "NumberFilter", + "lookup": "lte", + "type": "number" + }, + "ordering": { + "choices": [ + "-award_date", + "-obligated", + "-pragmatic_obligations", + "award_date", + "obligated", + "pragmatic_obligations" + ], + "choices_count": 6, + "filter_class": "OrderingFilter", + "type": "ordering" + }, + "pop_country": { + "filter_class": "BaseSmartFilter", + "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" + }, + "pop_state": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "pop_zip": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "recipient": { + "filter_class": "CharFilter", + "type": "string" + }, + "record_type": { + "filter_class": "BaseSmartFilter", + "type": "string" + }, + "search": { + "filter_class": "CharFilter", + "type": "string" + }, + "uei": { + "filter_class": "UeiToEntityUuidFilter", + "type": "string" + }, + "uri": { + "filter_class": "IdListFilter", + "type": "string" + } + }, + "ordering_aliases": [], + "ordering_fields": [ + "award_date", + "obligated", + "pragmatic_obligations" + ], + "pagination": { + "class": "AssistanceKeysetPagination", + "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, + "viewset": "assistance.views.OtherAssistanceAwardViewSet" + }, + "swagger_has_key": false, + "swagger_params": [] + }, "assistance_listings": { "basename": "assistancelisting", "docs_file": null, @@ -3797,6 +6021,7 @@ "awardee_cage", "delivery_order_number", "entity", + "fsc", "nsn", "organization", "part_number", @@ -3835,6 +6060,10 @@ "filter_class": "BaseSmartFilter", "type": "string" }, + "fsc": { + "filter_class": "FscFilter", + "type": "string" + }, "nsn": { "filter_class": "BaseSmartFilter", "type": "string" @@ -3981,6 +6210,7 @@ "buyer_code", "closes_date_after", "closes_date_before", + "fsc", "issued_date_after", "issued_date_before", "nsn", @@ -4005,6 +6235,10 @@ "lookup": "lte", "type": "date" }, + "fsc": { + "filter_class": "FscFilter", + "type": "string" + }, "issued_date_after": { "filter_class": "DateFilter", "lookup": "gte", @@ -4117,6 +6351,7 @@ "resource_key": "dibbs/rfqs", "runtime": { "filter_params": [ + "fsc", "issue_date_after", "issue_date_before", "nsn", @@ -4134,6 +6369,10 @@ "status_code" ], "filter_params_detail": { + "fsc": { + "filter_class": "FscFilter", + "type": "string" + }, "issue_date_after": { "filter_class": "DateFilter", "lookup": "gte", @@ -17665,6 +19904,10 @@ "agencies", "agencies_contracts_awarding", "agencies_contracts_funding", + "assistance/direct_payments", + "assistance/grants", + "assistance/loans", + "assistance/other", "assistance_listings", "budget/accounts", "business_types", @@ -17717,6 +19960,10 @@ "no_swagger": [ "agencies_contracts_awarding", "agencies_contracts_funding", + "assistance/direct_payments", + "assistance/grants", + "assistance/loans", + "assistance/other", "budget/accounts", "contracts_subawards", "dibbs/awards", 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/scripts/check-filter-shape-conformance.ts b/scripts/check-filter-shape-conformance.ts index cfcf59e..f32d908 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, }; // --------------------------------------------------------------------------- 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/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(); From 5066d842c1c2d4919b49647b92e7e10d0c95a685 Mon Sep 17 00:00:00 2001 From: "V. David Zvenyach" Date: Thu, 29 Oct 2026 15:02:02 -0500 Subject: [PATCH 2/4] chore(contracts): vendor only the parts of the upstream contract the SDK consumes `scripts/vendor-contract.ts` (`npm run vendor-contract -- PATH`) replaces the manual copy: it projects the upstream contract and writes `contracts/filter_shape_contract.json`, so every refresh drops server-side implementation details (filter, paginator and view class names, docs-coverage bookkeeping, the generator path). `--check` compares the vendored file against a source's projection; CI's re-vendor drift warning now uses it instead of a raw diff. The committed contract is re-vendored through the script at API 5.13.0; the regenerated shape overlay is unchanged. A new test pins the dropped keys and asserts the committed contract is already a projection. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 8 +- CLAUDE.md | 1 + README.md | 1 + contracts/filter_shape_contract.json | 1384 +-------------------- docs/DEVELOPERS.md | 3 +- package.json | 1 + scripts/check-filter-shape-conformance.ts | 2 +- scripts/vendor-contract.ts | 106 ++ tests/scripts/vendor-contract.test.ts | 79 ++ 9 files changed, 250 insertions(+), 1335 deletions(-) create mode 100644 scripts/vendor-contract.ts create mode 100644 tests/scripts/vendor-contract.test.ts 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/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/filter_shape_contract.json b/contracts/filter_shape_contract.json index c91875f..655a672 100644 --- a/contracts/filter_shape_contract.json +++ b/contracts/filter_shape_contract.json @@ -2,17 +2,11 @@ "meta": { "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,8 +59,7 @@ ], "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": [ @@ -84,8 +75,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 +110,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 +130,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 +182,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 +229,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -833,16 +793,13 @@ ], "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 +835,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 +855,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 +907,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 +954,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -1590,16 +1518,13 @@ ], "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/direct_payments": { "basename": "assistance-direct_payments", - "docs_file": null, - "docs_params": [], "prefix": "assistance/direct_payments", "resource_key": "assistance/direct_payments", "runtime": { @@ -1637,72 +1562,55 @@ ], "filter_params_detail": { "assistance_type": { - "filter_class": "BaseSmartFilter", "type": "string" }, "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" }, "business_funds_indicator": { - "filter_class": "BaseSmartFilter", "type": "string" }, "cfda_number": { - "filter_class": "IdListFilter", "type": "string" }, "disaster_emergency_fund_code": { - "filter_class": "BaseSmartFilter", "type": "string" }, "fain": { - "filter_class": "IdListFilter", "type": "string" }, "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" }, "funding_opportunity_number": { - "filter_class": "IdListFilter", "type": "string" }, "key": { - "filter_class": "IdListFilter", "type": "string" }, "obligated_gte": { - "filter_class": "NumberFilter", "lookup": "gte", "type": "number" }, "obligated_lte": { - "filter_class": "NumberFilter", "lookup": "lte", "type": "number" }, @@ -1716,59 +1624,46 @@ "pragmatic_obligations" ], "choices_count": 6, - "filter_class": "OrderingFilter", "type": "ordering" }, "pop_country": { - "filter_class": "BaseSmartFilter", "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" }, "pop_state": { - "filter_class": "BaseSmartFilter", "type": "string" }, "pop_zip": { - "filter_class": "BaseSmartFilter", "type": "string" }, "recipient": { - "filter_class": "CharFilter", "type": "string" }, "record_type": { - "filter_class": "BaseSmartFilter", "type": "string" }, "search": { - "filter_class": "CharFilter", "type": "string" }, "uei": { - "filter_class": "UeiToEntityUuidFilter", "type": "string" }, "uri": { - "filter_class": "IdListFilter", "type": "string" } }, @@ -1779,7 +1674,6 @@ "pragmatic_obligations" ], "pagination": { - "class": "AssistanceKeysetPagination", "max_page_size": 100 }, "shape": { @@ -2146,16 +2040,13 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "assistance.views.DirectPaymentAwardViewSet" + "shape_tier_required": null }, "swagger_has_key": false, "swagger_params": [] }, "assistance/grants": { "basename": "assistance-grants", - "docs_file": null, - "docs_params": [], "prefix": "assistance/grants", "resource_key": "assistance/grants", "runtime": { @@ -2193,72 +2084,55 @@ ], "filter_params_detail": { "assistance_type": { - "filter_class": "BaseSmartFilter", "type": "string" }, "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" }, "business_funds_indicator": { - "filter_class": "BaseSmartFilter", "type": "string" }, "cfda_number": { - "filter_class": "IdListFilter", "type": "string" }, "disaster_emergency_fund_code": { - "filter_class": "BaseSmartFilter", "type": "string" }, "fain": { - "filter_class": "IdListFilter", "type": "string" }, "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" }, "funding_opportunity_number": { - "filter_class": "IdListFilter", "type": "string" }, "key": { - "filter_class": "IdListFilter", "type": "string" }, "obligated_gte": { - "filter_class": "NumberFilter", "lookup": "gte", "type": "number" }, "obligated_lte": { - "filter_class": "NumberFilter", "lookup": "lte", "type": "number" }, @@ -2272,59 +2146,46 @@ "pragmatic_obligations" ], "choices_count": 6, - "filter_class": "OrderingFilter", "type": "ordering" }, "pop_country": { - "filter_class": "BaseSmartFilter", "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" }, "pop_state": { - "filter_class": "BaseSmartFilter", "type": "string" }, "pop_zip": { - "filter_class": "BaseSmartFilter", "type": "string" }, "recipient": { - "filter_class": "CharFilter", "type": "string" }, "record_type": { - "filter_class": "BaseSmartFilter", "type": "string" }, "search": { - "filter_class": "CharFilter", "type": "string" }, "uei": { - "filter_class": "UeiToEntityUuidFilter", "type": "string" }, "uri": { - "filter_class": "IdListFilter", "type": "string" } }, @@ -2335,7 +2196,6 @@ "pragmatic_obligations" ], "pagination": { - "class": "AssistanceKeysetPagination", "max_page_size": 100 }, "shape": { @@ -2702,16 +2562,13 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "assistance.views.GrantAwardViewSet" + "shape_tier_required": null }, "swagger_has_key": false, "swagger_params": [] }, "assistance/loans": { "basename": "assistance-loans", - "docs_file": null, - "docs_params": [], "prefix": "assistance/loans", "resource_key": "assistance/loans", "runtime": { @@ -2749,72 +2606,55 @@ ], "filter_params_detail": { "assistance_type": { - "filter_class": "BaseSmartFilter", "type": "string" }, "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" }, "business_funds_indicator": { - "filter_class": "BaseSmartFilter", "type": "string" }, "cfda_number": { - "filter_class": "IdListFilter", "type": "string" }, "disaster_emergency_fund_code": { - "filter_class": "BaseSmartFilter", "type": "string" }, "fain": { - "filter_class": "IdListFilter", "type": "string" }, "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" }, "funding_opportunity_number": { - "filter_class": "IdListFilter", "type": "string" }, "key": { - "filter_class": "IdListFilter", "type": "string" }, "obligated_gte": { - "filter_class": "NumberFilter", "lookup": "gte", "type": "number" }, "obligated_lte": { - "filter_class": "NumberFilter", "lookup": "lte", "type": "number" }, @@ -2828,59 +2668,46 @@ "pragmatic_obligations" ], "choices_count": 6, - "filter_class": "OrderingFilter", "type": "ordering" }, "pop_country": { - "filter_class": "BaseSmartFilter", "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" }, "pop_state": { - "filter_class": "BaseSmartFilter", "type": "string" }, "pop_zip": { - "filter_class": "BaseSmartFilter", "type": "string" }, "recipient": { - "filter_class": "CharFilter", "type": "string" }, "record_type": { - "filter_class": "BaseSmartFilter", "type": "string" }, "search": { - "filter_class": "CharFilter", "type": "string" }, "uei": { - "filter_class": "UeiToEntityUuidFilter", "type": "string" }, "uri": { - "filter_class": "IdListFilter", "type": "string" } }, @@ -2891,7 +2718,6 @@ "pragmatic_obligations" ], "pagination": { - "class": "AssistanceKeysetPagination", "max_page_size": 100 }, "shape": { @@ -3258,16 +3084,13 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "assistance.views.LoanAwardViewSet" + "shape_tier_required": null }, "swagger_has_key": false, "swagger_params": [] }, "assistance/other": { "basename": "assistance-other", - "docs_file": null, - "docs_params": [], "prefix": "assistance/other", "resource_key": "assistance/other", "runtime": { @@ -3305,72 +3128,55 @@ ], "filter_params_detail": { "assistance_type": { - "filter_class": "BaseSmartFilter", "type": "string" }, "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" }, "business_funds_indicator": { - "filter_class": "BaseSmartFilter", "type": "string" }, "cfda_number": { - "filter_class": "IdListFilter", "type": "string" }, "disaster_emergency_fund_code": { - "filter_class": "BaseSmartFilter", "type": "string" }, "fain": { - "filter_class": "IdListFilter", "type": "string" }, "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" }, "funding_opportunity_number": { - "filter_class": "IdListFilter", "type": "string" }, "key": { - "filter_class": "IdListFilter", "type": "string" }, "obligated_gte": { - "filter_class": "NumberFilter", "lookup": "gte", "type": "number" }, "obligated_lte": { - "filter_class": "NumberFilter", "lookup": "lte", "type": "number" }, @@ -3384,59 +3190,46 @@ "pragmatic_obligations" ], "choices_count": 6, - "filter_class": "OrderingFilter", "type": "ordering" }, "pop_country": { - "filter_class": "BaseSmartFilter", "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" }, "pop_state": { - "filter_class": "BaseSmartFilter", "type": "string" }, "pop_zip": { - "filter_class": "BaseSmartFilter", "type": "string" }, "recipient": { - "filter_class": "CharFilter", "type": "string" }, "record_type": { - "filter_class": "BaseSmartFilter", "type": "string" }, "search": { - "filter_class": "CharFilter", "type": "string" }, "uei": { - "filter_class": "UeiToEntityUuidFilter", "type": "string" }, "uri": { - "filter_class": "IdListFilter", "type": "string" } }, @@ -3447,7 +3240,6 @@ "pragmatic_obligations" ], "pagination": { - "class": "AssistanceKeysetPagination", "max_page_size": 100 }, "shape": { @@ -3814,16 +3606,13 @@ ], "shape_gated_by_level": {}, "shape_supported": true, - "shape_tier_required": null, - "viewset": "assistance.views.OtherAssistanceAwardViewSet" + "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": { @@ -3832,7 +3621,6 @@ "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "StaticModelCachedPagination", "max_page_size": 10000 }, "shape": { @@ -3860,8 +3648,7 @@ ], "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": [ @@ -3876,8 +3663,6 @@ }, "budget/accounts": { "basename": "budget-account", - "docs_file": null, - "docs_params": [], "prefix": "budget/accounts", "resource_key": "budget/accounts", "runtime": { @@ -3988,480 +3773,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" } @@ -4485,7 +4167,6 @@ "outlayed_total" ], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -4744,16 +4425,13 @@ ], "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": { @@ -4762,7 +4440,6 @@ "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "StaticModelCachedPagination", "max_page_size": 10000 }, "shape": { @@ -4778,8 +4455,7 @@ ], "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": [ @@ -4794,8 +4470,6 @@ }, "contract_appeals": { "basename": "contractappeal", - "docs_file": null, - "docs_params": [], "prefix": "contract_appeals", "resource_key": "contract_appeals", "runtime": { @@ -4813,45 +4487,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" } }, @@ -4863,7 +4527,6 @@ "rank" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -4927,8 +4590,7 @@ ] }, "shape_supported": true, - "shape_tier_required": "enterprise_a", - "viewset": "appeals.views.ContractAppealViewSet" + "shape_tier_required": "enterprise_a" }, "swagger_has_key": true, "swagger_params": [ @@ -4944,8 +4606,6 @@ }, "contracts": { "basename": "contract", - "docs_file": null, - "docs_params": [], "prefix": "contracts", "resource_key": "contracts", "runtime": { @@ -4981,15 +4641,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": { @@ -5004,58 +4661,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" }, @@ -5069,55 +4713,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" } }, @@ -5128,7 +4760,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -5693,8 +5324,7 @@ ], "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": [ @@ -5733,8 +5363,6 @@ }, "contracts_subawards": { "basename": "contracts_subawards", - "docs_file": null, - "docs_params": [], "prefix": "contracts//subawards/", "resource_key": "contracts_subawards", "runtime": { @@ -5751,41 +5379,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" } }, @@ -5794,7 +5413,6 @@ ], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -5949,16 +5567,13 @@ ], "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": { @@ -5967,7 +5582,6 @@ "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -5993,8 +5607,7 @@ ], "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": [ @@ -6009,8 +5622,6 @@ }, "dibbs/awards": { "basename": "dibbs-award", - "docs_file": null, - "docs_params": [], "prefix": "dibbs/awards", "resource_key": "dibbs/awards", "runtime": { @@ -6035,76 +5646,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": { - "filter_class": "FscFilter", "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" } @@ -6118,7 +5712,6 @@ "total_contract_price" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -6193,16 +5786,13 @@ ], "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": { @@ -6222,55 +5812,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": { - "filter_class": "FscFilter", "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" } }, @@ -6282,7 +5860,6 @@ "rank" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -6337,16 +5914,13 @@ ], "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": { @@ -6370,73 +5944,57 @@ ], "filter_params_detail": { "fsc": { - "filter_class": "FscFilter", "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" } }, @@ -6449,7 +6007,6 @@ "return_by_date" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -6512,16 +6069,13 @@ ], "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": { @@ -6543,63 +6097,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" } }, @@ -6611,7 +6151,6 @@ "modified" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -6754,16 +6293,13 @@ ], "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": { @@ -6784,66 +6320,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": { @@ -7194,8 +6716,7 @@ ] }, "shape_supported": true, - "shape_tier_required": "pro", - "viewset": "entities.views.EntityViewSet" + "shape_tier_required": "pro" }, "swagger_has_key": true, "swagger_params": [ @@ -7210,8 +6731,6 @@ }, "entities_contracts": { "basename": "entities_contracts", - "docs_file": null, - "docs_params": [], "prefix": "entities//contracts/", "resource_key": "entities_contracts", "runtime": { @@ -7247,15 +6766,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": { @@ -7270,58 +6786,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" }, @@ -7335,55 +6838,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" } }, @@ -7394,7 +6885,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -7959,16 +7449,13 @@ ], "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": { @@ -8002,49 +7489,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": { @@ -8061,25 +7537,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": { @@ -8092,45 +7563,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" } }, @@ -8141,7 +7602,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -8574,16 +8034,13 @@ ], "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": { @@ -8607,80 +8064,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" } @@ -8695,7 +8136,6 @@ "vendor_name" ], "pagination": { - "class": "ExactCountPagination", "max_page_size": 100 }, "shape": { @@ -8773,16 +8213,13 @@ ] }, "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": { @@ -8811,49 +8248,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": { @@ -8866,47 +8292,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" } }, @@ -8917,7 +8333,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -9126,16 +8541,13 @@ ], "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": { @@ -9164,49 +8576,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": { @@ -9219,47 +8620,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" } }, @@ -9270,7 +8661,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -9458,16 +8848,13 @@ ], "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": { @@ -9484,41 +8871,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" } }, @@ -9527,7 +8905,6 @@ ], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -9682,16 +9059,13 @@ ], "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": { @@ -9707,38 +9081,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" } @@ -9746,23 +9112,19 @@ "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": { @@ -9789,85 +9151,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" } @@ -9882,7 +9225,6 @@ "update_date" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -9995,8 +9337,7 @@ ], "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": [ @@ -10012,8 +9353,6 @@ }, "federal_register": { "basename": "federalregisterdocument", - "docs_file": null, - "docs_params": [], "prefix": "federal_register", "resource_key": "federal_register", "runtime": { @@ -10038,77 +9377,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" } }, @@ -10121,7 +9443,6 @@ "rank" ], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -10219,8 +9540,7 @@ ], "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": [ @@ -10236,8 +9556,6 @@ }, "forecasts": { "basename": "forecast", - "docs_file": null, - "docs_params": [], "prefix": "forecasts", "resource_key": "forecasts", "runtime": { @@ -10259,65 +9577,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" } }, @@ -10328,7 +9632,6 @@ "title" ], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -10438,8 +9741,7 @@ ], "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": [ @@ -10454,8 +9756,6 @@ }, "grants": { "basename": "grantopportunity", - "docs_file": null, - "docs_params": [], "prefix": "grants", "resource_key": "grants", "runtime": { @@ -10476,7 +9776,6 @@ ], "filter_params_detail": { "agency": { - "filter_class": "OrganizationScopeAgencyFilter", "type": "string" }, "applicant_types": { @@ -10501,12 +9800,10 @@ "DESCRIPTION" ], "choices_count": 18, - "filter_class": "CaseInsensitiveChoiceFilter", "lookup": "icontains", "type": "choice" }, "cfda_number": { - "filter_class": "CharFilter", "lookup": "icontains", "type": "string" }, @@ -10546,7 +9843,6 @@ "TR" ], "choices_count": 32, - "filter_class": "CaseInsensitiveChoiceFilter", "lookup": "icontains", "type": "choice" }, @@ -10564,40 +9860,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": { @@ -10606,7 +9894,6 @@ "P" ], "choices_count": 2, - "filter_class": "CaseInsensitiveChoiceFilter", "type": "choice" } }, @@ -10619,7 +9906,6 @@ "rank" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -10812,8 +10098,7 @@ ], "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": [ @@ -10828,8 +10113,6 @@ }, "gsa_elibrary_contracts": { "basename": "gsa-elibrary-contract", - "docs_file": null, - "docs_params": [], "prefix": "gsa_elibrary_contracts", "resource_key": "gsa_elibrary_contracts", "runtime": { @@ -10844,33 +10127,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" } }, @@ -10881,7 +10157,6 @@ "schedule" ], "pagination": { - "class": "ExactCountPagination", "max_page_size": 100 }, "shape": { @@ -10930,8 +10205,7 @@ ], "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": [ @@ -10954,8 +10228,6 @@ }, "idvs": { "basename": "idv", - "docs_file": null, - "docs_params": [], "prefix": "idvs", "resource_key": "idvs", "runtime": { @@ -10989,49 +10261,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": { @@ -11048,25 +10309,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": { @@ -11079,45 +10335,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" } }, @@ -11128,7 +10374,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -11561,8 +10806,7 @@ ], "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": [ @@ -11600,8 +10844,6 @@ }, "idvs_awards": { "basename": "idvs_awards", - "docs_file": null, - "docs_params": [], "prefix": "idvs//awards/", "resource_key": "idvs_awards", "runtime": { @@ -11637,15 +10879,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": { @@ -11660,58 +10899,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" }, @@ -11725,55 +10951,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" } }, @@ -11784,7 +10998,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -12349,16 +11562,13 @@ ], "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": { @@ -12392,49 +11602,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": { @@ -12451,25 +11650,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": { @@ -12482,45 +11676,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" } }, @@ -12531,7 +11715,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -12964,16 +12147,13 @@ ], "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": { @@ -12997,80 +12177,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" } @@ -13085,7 +12249,6 @@ "vendor_name" ], "pagination": { - "class": "ExactCountPagination", "max_page_size": 100 }, "shape": { @@ -13163,16 +12326,13 @@ ] }, "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": { @@ -13191,49 +12351,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" } @@ -13241,7 +12390,6 @@ "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -13431,16 +12579,13 @@ ] }, "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": { @@ -13449,14 +12594,12 @@ ], "filter_params_detail": { "search": { - "filter_class": "ViewHandledParam", "type": "string" } }, "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "StaticModelCachedPagination", "max_page_size": 10000 }, "shape": { @@ -13498,8 +12641,7 @@ ], "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": [ @@ -13515,8 +12657,6 @@ }, "naics": { "basename": "naicscode", - "docs_file": null, - "docs_params": [], "prefix": "naics", "resource_key": "naics", "runtime": { @@ -13531,42 +12671,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": { @@ -13603,8 +12735,7 @@ ], "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": [ @@ -13626,8 +12757,6 @@ }, "news": { "basename": "g2x-news", - "docs_file": null, - "docs_params": [], "prefix": "news", "resource_key": "news", "runtime": { @@ -13641,29 +12770,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" } @@ -13671,23 +12794,19 @@ "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": { @@ -13707,62 +12826,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": { @@ -13995,8 +13101,7 @@ ] }, "shape_supported": true, - "shape_tier_required": "pro", - "viewset": "opportunities.views.NoticeViewSet" + "shape_tier_required": "pro" }, "swagger_has_key": true, "swagger_params": [ @@ -14023,8 +13128,6 @@ }, "offices": { "basename": "office", - "docs_file": null, - "docs_params": [], "prefix": "offices", "resource_key": "offices", "runtime": { @@ -14033,14 +13136,12 @@ ], "filter_params_detail": { "search": { - "filter_class": "BaseSmartFilter", "type": "string" } }, "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -14101,8 +13202,7 @@ ], "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": [ @@ -14117,8 +13217,6 @@ }, "opportunities": { "basename": "opportunity", - "docs_file": null, - "docs_params": [], "prefix": "opportunities", "resource_key": "opportunities", "runtime": { @@ -14144,81 +13242,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" } }, @@ -14231,7 +13311,6 @@ "response_deadline" ], "pagination": { - "class": "OpportunityPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -14532,8 +13611,7 @@ ] }, "shape_supported": true, - "shape_tier_required": "pro", - "viewset": "opportunities.views.OpportunityViewSet" + "shape_tier_required": "pro" }, "swagger_has_key": true, "swagger_params": [ @@ -14566,8 +13644,6 @@ }, "organizations": { "basename": "organization", - "docs_file": null, - "docs_params": [], "prefix": "organizations", "resource_key": "organizations", "runtime": { @@ -14581,24 +13657,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": { @@ -14610,14 +13681,12 @@ "SUB COMMAND" ], "choices_count": 5, - "filter_class": "LenientMultipleChoiceFilter", "type": "choice" } }, "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -14816,8 +13885,7 @@ ], "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": [ @@ -14838,8 +13906,6 @@ }, "otas": { "basename": "ota", - "docs_file": null, - "docs_params": [], "prefix": "otas", "resource_key": "otas", "runtime": { @@ -14868,49 +13934,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": { @@ -14923,47 +13978,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" } }, @@ -14974,7 +14019,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -15183,8 +14227,7 @@ ], "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": [ @@ -15199,8 +14242,6 @@ }, "otidvs": { "basename": "otidv", - "docs_file": null, - "docs_params": [], "prefix": "otidvs", "resource_key": "otidvs", "runtime": { @@ -15229,49 +14270,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": { @@ -15284,47 +14314,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" } }, @@ -15335,7 +14355,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -15523,8 +14542,7 @@ ], "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": [ @@ -15539,8 +14557,6 @@ }, "otidvs_awards": { "basename": "otidvs_awards", - "docs_file": null, - "docs_params": [], "prefix": "otidvs//awards/", "resource_key": "otidvs_awards", "runtime": { @@ -15569,49 +14585,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": { @@ -15624,47 +14629,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" } }, @@ -15675,7 +14670,6 @@ "total_contract_value" ], "pagination": { - "class": "KeysetPagination", "max_page_size": 100 }, "shape": { @@ -15884,16 +14878,13 @@ ], "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": { @@ -15914,67 +14905,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": { @@ -16187,16 +15164,13 @@ ] }, "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": { @@ -16205,14 +15179,12 @@ ], "filter_params_detail": { "has_awards": { - "filter_class": "ViewHandledParam", "type": "boolean" } }, "ordering_aliases": [], "ordering_fields": [], "pagination": { - "class": "StaticModelCachedPagination", "max_page_size": 10000 }, "shape": { @@ -16279,8 +15251,7 @@ ], "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": [ @@ -16295,8 +15266,6 @@ }, "sbir/solicitations": { "basename": "sbir-solicitation", - "docs_file": null, - "docs_params": [], "prefix": "sbir/solicitations", "resource_key": "sbir/solicitations", "runtime": { @@ -16321,59 +15290,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" } }, @@ -16386,7 +15343,6 @@ "year" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -16489,16 +15445,13 @@ ], "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": { @@ -16526,68 +15479,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" } }, @@ -16601,7 +15540,6 @@ "year" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -16728,16 +15666,13 @@ ], "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": { @@ -16758,61 +15693,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" } }, @@ -16825,7 +15747,6 @@ "rank" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -16926,16 +15847,13 @@ ] }, "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": { @@ -16970,120 +15888,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" } }, @@ -17098,7 +15989,6 @@ "response_deadline" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -17271,16 +16161,13 @@ ] }, "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": { @@ -17297,41 +16184,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" } }, @@ -17340,7 +16218,6 @@ ], "ordering_fields": [], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -17495,8 +16372,7 @@ ], "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": [ @@ -17512,8 +16388,6 @@ }, "vehicles": { "basename": "vehicle", - "docs_file": null, - "docs_params": [], "prefix": "vehicles", "resource_key": "vehicles", "runtime": { @@ -17543,103 +16417,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" } @@ -17656,7 +16508,6 @@ "vehicle_obligations" ], "pagination": { - "class": "StandardResultsSetPagination", "max_page_size": 100 }, "shape": { @@ -19104,8 +17955,7 @@ ], "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": [ @@ -19143,8 +17993,6 @@ }, "vehicles_orders": { "basename": "vehicles_orders", - "docs_file": null, - "docs_params": [], "prefix": "vehicles//orders/", "resource_key": "vehicles_orders", "runtime": { @@ -19180,15 +18028,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": { @@ -19203,58 +18048,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" }, @@ -19268,55 +18100,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" } }, @@ -19327,7 +18147,6 @@ "total_contract_value" ], "pagination": { - "class": "CachedPageNumberPagination", "max_page_size": 100 }, "shape": { @@ -19892,103 +18711,10 @@ ], "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/direct_payments", - "assistance/grants", - "assistance/loans", - "assistance/other", - "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", - "assistance/direct_payments", - "assistance/grants", - "assistance/loans", - "assistance/other", - "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/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.json b/package.json index e8b0353..1b91818 100644 --- a/package.json +++ b/package.json @@ -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 f32d908..1049ba1 100644 --- a/scripts/check-filter-shape-conformance.ts +++ b/scripts/check-filter-shape-conformance.ts @@ -159,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..edf559d --- /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"] 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/tests/scripts/vendor-contract.test.ts b/tests/scripts/vendor-contract.test.ts new file mode 100644 index 0000000..0829b84 --- /dev/null +++ b/tests/scripts/vendor-contract.test.ts @@ -0,0 +1,79 @@ +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"], + 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", "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", + 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); + }); +}); From a9e14b8d07cad34e58722b94bea600c59d0dd9d2 Mon Sep 17 00:00:00 2001 From: "V. David Zvenyach" Date: Thu, 29 Oct 2026 15:13:30 -0500 Subject: [PATCH 3/4] chore(contracts): also drop the per-resource swagger audit flag The projection now drops the per-resource swagger audit flag too, which nothing in the SDK reads; the public swagger parameter list stays. The contract is re-vendored through the script; the regenerated shape overlay is unchanged. Co-Authored-By: Claude Opus 5.5 --- contracts/filter_shape_contract.json | 55 --------------------------- scripts/vendor-contract.ts | 2 +- tests/scripts/vendor-contract.test.ts | 5 ++- 3 files changed, 5 insertions(+), 57 deletions(-) diff --git a/contracts/filter_shape_contract.json b/contracts/filter_shape_contract.json index 655a672..1217b54 100644 --- a/contracts/filter_shape_contract.json +++ b/contracts/filter_shape_contract.json @@ -61,7 +61,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -795,7 +794,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "agencies_contracts_funding": { @@ -1520,7 +1518,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "assistance/direct_payments": { @@ -2042,7 +2039,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "assistance/grants": { @@ -2564,7 +2560,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "assistance/loans": { @@ -3086,7 +3081,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "assistance/other": { @@ -3608,7 +3602,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "assistance_listings": { @@ -3650,7 +3643,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -4427,7 +4419,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "business_types": { @@ -4457,7 +4448,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -4592,7 +4582,6 @@ "shape_supported": true, "shape_tier_required": "enterprise_a" }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -5326,7 +5315,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "award_date", "award_date_gte", @@ -5569,7 +5557,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "departments": { @@ -5609,7 +5596,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -5788,7 +5774,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "dibbs/rfps": { @@ -5916,7 +5901,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "dibbs/rfqs": { @@ -6071,7 +6055,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "ebuy/requests": { @@ -6295,7 +6278,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "entities": { @@ -6718,7 +6700,6 @@ "shape_supported": true, "shape_tier_required": "pro" }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -7451,7 +7432,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "entities_idvs": { @@ -8036,7 +8016,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "entities_lcats": { @@ -8215,7 +8194,6 @@ "shape_supported": true, "shape_tier_required": "pro" }, - "swagger_has_key": false, "swagger_params": [] }, "entities_otas": { @@ -8543,7 +8521,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "entities_otidvs": { @@ -8850,7 +8827,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "entities_subawards": { @@ -9061,7 +9037,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "events": { @@ -9120,7 +9095,6 @@ "shape_supported": false, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "exclusions": { @@ -9339,7 +9313,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -9542,7 +9515,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -9743,7 +9715,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -10100,7 +10071,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -10207,7 +10177,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "contract_number", "flat", @@ -10808,7 +10777,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "award_date", "award_date_gte", @@ -11564,7 +11532,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "idvs_idvs": { @@ -12149,7 +12116,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "idvs_lcats": { @@ -12328,7 +12294,6 @@ "shape_supported": true, "shape_tier_required": "pro" }, - "swagger_has_key": false, "swagger_params": [] }, "itdashboard": { @@ -12581,7 +12546,6 @@ "shape_supported": true, "shape_tier_required": "business" }, - "swagger_has_key": false, "swagger_params": [] }, "mas_sins": { @@ -12643,7 +12607,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -12737,7 +12700,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "employee_limit", "employee_limit_gte", @@ -12802,7 +12764,6 @@ "shape_supported": false, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "notices": { @@ -13103,7 +13064,6 @@ "shape_supported": true, "shape_tier_required": "pro" }, - "swagger_has_key": true, "swagger_params": [ "agency", "department", @@ -13204,7 +13164,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -13613,7 +13572,6 @@ "shape_supported": true, "shape_tier_required": "pro" }, - "swagger_has_key": true, "swagger_params": [ "active", "agency", @@ -13887,7 +13845,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "cgac", "flat", @@ -14229,7 +14186,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "cursor", "flat", @@ -14544,7 +14500,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "cursor", "flat", @@ -14880,7 +14835,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "protests": { @@ -15166,7 +15120,6 @@ "shape_supported": true, "shape_tier_required": "enterprise_a" }, - "swagger_has_key": false, "swagger_params": [] }, "psc": { @@ -15253,7 +15206,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -15447,7 +15399,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "sbir/topics": { @@ -15668,7 +15619,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] }, "sled/forecasts": { @@ -15849,7 +15799,6 @@ "shape_supported": true, "shape_tier_required": "pro" }, - "swagger_has_key": false, "swagger_params": [] }, "sled/opportunities": { @@ -16163,7 +16112,6 @@ "shape_supported": true, "shape_tier_required": "pro" }, - "swagger_has_key": false, "swagger_params": [] }, "subawards": { @@ -16374,7 +16322,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "flat", "flat_lists", @@ -17957,7 +17904,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": true, "swagger_params": [ "agency", "award_date_after", @@ -18713,7 +18659,6 @@ "shape_supported": true, "shape_tier_required": null }, - "swagger_has_key": false, "swagger_params": [] } } diff --git a/scripts/vendor-contract.ts b/scripts/vendor-contract.ts index edf559d..c3b00af 100644 --- a/scripts/vendor-contract.ts +++ b/scripts/vendor-contract.ts @@ -21,7 +21,7 @@ export const VENDORED_CONTRACT_PATH = path.join(REPO_ROOT, "contracts", "filter_ 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"] 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; diff --git a/tests/scripts/vendor-contract.test.ts b/tests/scripts/vendor-contract.test.ts index 0829b84..58a8093 100644 --- a/tests/scripts/vendor-contract.test.ts +++ b/tests/scripts/vendor-contract.test.ts @@ -14,6 +14,8 @@ const UPSTREAM = { 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"], @@ -42,7 +44,7 @@ function collectKeys(value: unknown, out: Set = new Set()): Set return out; } -const DROPPED = ["generated_from", "policy", "unmapped_resources", "docs_file", "docs_params", "viewset", "class", "filter_class"]; +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", () => { @@ -58,6 +60,7 @@ describe("vendor-contract projection", () => { 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"] } }, From 005dc38d212347c76be22ab43dc6c8bb4b08e4b8 Mon Sep 17 00:00:00 2001 From: "V. David Zvenyach" Date: Thu, 29 Oct 2026 15:16:40 -0500 Subject: [PATCH 4/4] chore(release): v1.5.0 Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 2 ++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03ec068..82b4521 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ 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. 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 1b91818..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",