|
327 | 327 | ), |
328 | 328 | "major_program": FieldSchema(name="major_program", type=str, is_optional=True, is_list=False), |
329 | 329 | "naics_code": FieldSchema(name="naics_code", type=int, is_optional=True, is_list=False), |
| 330 | + # Expand form: shape=naics(code,description). Server PR #2259 also accepts |
| 331 | + # naics_code(...) as an alias which the SDK parser normalizes to naics. |
| 332 | + "naics": FieldSchema( |
| 333 | + name="naics", type=dict, is_optional=True, is_list=False, nested_model="CodeDescription" |
| 334 | + ), |
330 | 335 | "number_of_actions": FieldSchema( |
331 | 336 | name="number_of_actions", type=int, is_optional=True, is_list=False |
332 | 337 | ), |
|
355 | 360 | name="price_evaluation_percent_difference", type=str, is_optional=True, is_list=False |
356 | 361 | ), |
357 | 362 | "psc_code": FieldSchema(name="psc_code", type=str, is_optional=True, is_list=False), |
| 363 | + # Expand form: shape=psc(code,description). Server PR #2259 also accepts |
| 364 | + # psc_code(...) as an alias which the SDK parser normalizes to psc. |
| 365 | + "psc": FieldSchema( |
| 366 | + name="psc", type=dict, is_optional=True, is_list=False, nested_model="CodeDescription" |
| 367 | + ), |
358 | 368 | "purchase_card_as_payment_method": FieldSchema( |
359 | 369 | name="purchase_card_as_payment_method", type=str, is_optional=True, is_list=False |
360 | 370 | ), |
|
572 | 582 | "id": FieldSchema(name="id", type=int, is_optional=False, is_list=False), |
573 | 583 | "is_active": FieldSchema(name="is_active", type=bool, is_optional=True, is_list=False), |
574 | 584 | "naics_code": FieldSchema(name="naics_code", type=str, is_optional=True, is_list=False), |
| 585 | + # Expand form: shape=naics(code,description). Server PR #2259 also accepts |
| 586 | + # naics_code(...) as an alias which the SDK parser normalizes to naics. |
| 587 | + "naics": FieldSchema( |
| 588 | + name="naics", type=dict, is_optional=True, is_list=False, nested_model="CodeDescription" |
| 589 | + ), |
575 | 590 | "place_of_performance": FieldSchema( |
576 | 591 | name="place_of_performance", type=str, is_optional=False, is_list=False |
577 | 592 | ), |
|
611 | 626 | ), |
612 | 627 | "meta": FieldSchema(name="meta", type=dict, is_optional=False, is_list=False), |
613 | 628 | "naics_code": FieldSchema(name="naics_code", type=int, is_optional=True, is_list=False), |
| 629 | + # Expand form: shape=naics(code,description). Server PR #2259 also accepts |
| 630 | + # naics_code(...) as an alias which the SDK parser normalizes to naics. |
| 631 | + "naics": FieldSchema( |
| 632 | + name="naics", type=dict, is_optional=True, is_list=False, nested_model="CodeDescription" |
| 633 | + ), |
614 | 634 | "notice_history": FieldSchema( |
615 | 635 | name="notice_history", |
616 | 636 | type=dict, |
|
631 | 651 | name="primary_contact", type=dict, is_optional=True, is_list=False, nested_model="Contact" |
632 | 652 | ), |
633 | 653 | "psc_code": FieldSchema(name="psc_code", type=str, is_optional=True, is_list=False), |
| 654 | + # Expand form: shape=psc(code,description). Server PR #2259 also accepts |
| 655 | + # psc_code(...) as an alias which the SDK parser normalizes to psc. |
| 656 | + "psc": FieldSchema( |
| 657 | + name="psc", type=dict, is_optional=True, is_list=False, nested_model="CodeDescription" |
| 658 | + ), |
634 | 659 | "response_deadline": FieldSchema( |
635 | 660 | name="response_deadline", type=datetime, is_optional=False, is_list=False |
636 | 661 | ), |
|
654 | 679 | name="last_updated", type=datetime, is_optional=False, is_list=False |
655 | 680 | ), |
656 | 681 | "naics_code": FieldSchema(name="naics_code", type=str, is_optional=True, is_list=False), |
| 682 | + # Expand form: shape=naics(code,description). Server PR #2259 also accepts |
| 683 | + # naics_code(...) as an alias which the SDK parser normalizes to naics. |
| 684 | + "naics": FieldSchema( |
| 685 | + name="naics", type=dict, is_optional=True, is_list=False, nested_model="CodeDescription" |
| 686 | + ), |
657 | 687 | "notice_id": FieldSchema(name="notice_id", type=str, is_optional=False, is_list=False), |
658 | 688 | "opportunity": FieldSchema(name="opportunity", type=dict, is_optional=False, is_list=False), |
659 | 689 | "posted_date": FieldSchema(name="posted_date", type=datetime, is_optional=False, is_list=False), |
660 | 690 | "psc_code": FieldSchema(name="psc_code", type=str, is_optional=False, is_list=False), |
| 691 | + # Expand form: shape=psc(code,description). Server PR #2259 also accepts |
| 692 | + # psc_code(...) as an alias which the SDK parser normalizes to psc. |
| 693 | + "psc": FieldSchema( |
| 694 | + name="psc", type=dict, is_optional=True, is_list=False, nested_model="CodeDescription" |
| 695 | + ), |
661 | 696 | "response_deadline": FieldSchema( |
662 | 697 | name="response_deadline", type=datetime, is_optional=False, is_list=False |
663 | 698 | ), |
|
1120 | 1155 | ), |
1121 | 1156 | "opportunity_id": FieldSchema(name="opportunity_id", type=str, is_optional=True, is_list=False), |
1122 | 1157 | "naics_code": FieldSchema(name="naics_code", type=int, is_optional=True, is_list=False), |
| 1158 | + # Expand form: shape=naics(code,description). Server PR #2259 also accepts |
| 1159 | + # naics_code(...) as an alias which the SDK parser normalizes to naics. |
| 1160 | + "naics": FieldSchema( |
| 1161 | + name="naics", type=dict, is_optional=True, is_list=False, nested_model="CodeDescription" |
| 1162 | + ), |
1123 | 1163 | "psc_code": FieldSchema(name="psc_code", type=str, is_optional=True, is_list=False), |
| 1164 | + # Expand form: shape=psc(code,description). Server PR #2259 also accepts |
| 1165 | + # psc_code(...) as an alias which the SDK parser normalizes to psc. |
| 1166 | + "psc": FieldSchema( |
| 1167 | + name="psc", type=dict, is_optional=True, is_list=False, nested_model="CodeDescription" |
| 1168 | + ), |
1124 | 1169 | "set_aside": FieldSchema(name="set_aside", type=str, is_optional=True, is_list=False), |
1125 | 1170 | # Shaping expansions |
1126 | 1171 | "awardees": FieldSchema( |
|
0 commit comments