congress-dot-gov - v0.4.3
    Preparing search index...

    Type Alias BillSummary

    BillSummary: {
        congress: number;
        latestAction: { actionDate: string; actionTime?: string; text: string };
        number: string;
        originChamber: Chamber;
        originChamberCode: ChamberCode;
        title: string;
        type: BillType;
        updateDate: string;
        updateDateIncludingText: string;
        url: string;
    }

    Zod schema for validating entities returned from the /bill, /bill/{congress} and /bill/{congress}/{billType} list endpoints.

    Type declaration

    • congress: number

      The congress during which a bill or resolution was introduced or submitted. View the field values list of Congresses on Congress.gov. Read more about Congresses on Congress.gov.

    • latestAction: { actionDate: string; actionTime?: string; text: string }

      The latest action taken on the bill or resolution

      • actionDate: string

        The date of the latest action taken on the bill or resolution.

      • OptionalactionTime?: string

        The time of the latest action taken on the bill or resolution. Certain actions taken by the House contain this element.

      • text: string

        The text of the latest action taken on the bill or resolution.

    • number: string

      The assigned bill or resolution number.

    • originChamber: Chamber

      The chamber of origin where a bill or resolution was introduced or submitted. Possible values are "House" and "Senate".

    • originChamberCode: ChamberCode

      The code for the chamber of origin where the bill or resolution was introduced or submitted. Possible values are "H" and "S".

    • title: string

      The display title for the bill or resolution on Congress.gov.

    • type: BillType

      The type of bill or resolution. Possible values are "HR", "S", "HJRES", "SJRES", "HCONRES", "SCONRES", "HRES", and "SRES".

    • updateDate: string

      The date of update on Congress.gov. This update date does not include updates to bill text. The updateDate is the date of the last update received for the legislative entity . It’s not a date corresponding to the legislative date or legislative action date.

    • updateDateIncludingText: string

      The date of update on Congress.gov, including if the update was to bill text.The is the date of the last update received for the legislative entity . It’s not a date corresponding to the legislative date or legislative action date.

    • url: string

      A referrer URL to the bill or resolution item in the API.