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

    Type Alias BillAction

    BillAction: {
        actionCode?: string;
        actionDate: string;
        actionTime?: string;
        committees?: { name: string; systemCode: string; url: string }[];
        recordedVotes?: {
            chamber: Chamber;
            congress: number;
            date: string;
            rollNumber: number;
            sessionNumber: 1 | 2;
            url: string;
        }[];
        sourceSystem: { code?: 0
        | 2
        | 1
        | 9; name: SourceSystemName };
        text: string;
        type: BillActionType;
    }

    Zod schema for validating entities returned from the /bill/{congress}/{billType}/{billNumber}/actions endpoint.

    Type declaration

    • OptionalactionCode?: string

      An action code associated with the action taken on a bill or resolution. The actionCode element will be present only for actions where the sourceSystem is 2 (House) or 9 (Library of Congress). Action Codes is an authoritative list of values where the sourceSystem is 9 (Library of Congress). An authoritative list of action codes where the sourceSystem is 2 (House) does not exist. Various code sets are used by multiple systems in the House, Senate, and Library of Congress by legislative clerks and data editors for functions independent of this data set. As new codes and systems were developed, there was no coordinated effort to retroactively apply new codes to old records. Many codes are concatenated with other codes or elements or utilize free text. Codes in one set may be redundant with a different code in another code set. Additionally, some codes may have been used and re-used over the years for different purposes further complicating the ability to create an authoritative list. View the original code set of U.S. Congress legislative status steps.

    • actionDate: string

      The date of the action taken on a bill or resolution. (e.g. 2022-03-08)

    • OptionalactionTime?: string

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

    • Optionalcommittees?: { name: string; systemCode: string; url: string }[]

      Committees associated with the action

    • OptionalrecordedVotes?: {
          chamber: Chamber;
          congress: number;
          date: string;
          rollNumber: number;
          sessionNumber: 1 | 2;
          url: string;
      }[]

      recorded (roll call) votes associated with the action. Read more about roll call votes on Congress.gov. More information can also be found at the Roll Call Votes by the U.S. Congress and Votes in the House and Senate pages on Congress.gov.

    • sourceSystem: { code?: 0 | 2 | 1 | 9; name: SourceSystemName }

      The source system where the action was entered

      • Optionalcode?: 0 | 2 | 1 | 9

        A code for the source system that entered the action. Possible values are "0", "1", "2", or "9". "0" is for Senate, "1" and "2" are for House, and "9" is Library of Congress.

      • name: SourceSystemName

        The name of the source system that entered the action. Possible values are "Senate", "House committee actions", "House floor actions", and "Library of Congress".

    • text: string

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

    • type: BillActionType

      A short name representing legislative process stages or categories of more detailed actions. Most types condense actions into sets. Some types are used for data processing and do not represent House or Senate legislative process activities. Possible values are "Committee", "Calendars", "Floor", "BecameLaw", "IntroReferral", "President", "ResolvingDifferences", "Discharge", "NotUsed", and "Veto".