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

    Type Alias BillAmendment

    BillAmendment: {
        congress: number;
        description: string;
        latestAction: { actionDate: string; actionTime?: string; text: string };
        number: string;
        purpose?: string;
        type: AmendmentType;
        updateDate: string;
        url: string;
    }

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

    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.

    • description: string

      The amendment's description. Only House amendments will have this element populated.

    • 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. (e.g. 2022-04-06)

      • 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. (e.g. Became Public Law No: 117-108.)

    • number: string

      The assigned amendment number. (e.g. 173)

    • Optionalpurpose?: string

      The amendment's purpose. House amendments and proposed Senate amendments may have this element populated.

    • type: AmendmentType

      The type of amendment. (e.g. HAMDT) Possible values are "HAMDT", "SAMDT", and "SUAMDT". Note that the "SUAMDT" type value is only available for the 97th and 98th Congresses.

    • updateDate: string

      The date of update on Congress.gov.

    • url: string

      A referrer URL to the amendment item in the API. Documentation for the amendment endpoint is available here. (e.g. https://api.congress.gov/v3/amendment/117/hamdt/173)