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

    Type Alias BillSubject

    BillSubject: {
        legislativeSubjects: { name: string; updateDate: string }[];
        policyArea: { name: string; updateDate?: string };
    }

    Zod schema for validating entities returned from the /bill/{congress}/{billType}/{billNumber}/subjects endpoint. Legislative subject terms and policy area terms attached to a bill or resolution, as assigned by CRS. Note that subject terms from the Legislative Indexing Vocabulary were applied to bills and resolutions from the 93rd to the 110th Congresses (1973-2008). Read more about subject and policy area terms on Congress.gov.

    Type declaration

    • legislativeSubjects: { name: string; updateDate: string }[]

      Legislative subject terms attached to a bill or resolution.

    • policyArea: { name: string; updateDate?: string }

      Policy area term attached to a bill or resolution. Each bill or resolution will have only one policy area term taken from this list of terms on Congress.gov. Note that prior to the 101st Congress (1989), terms outside of the controlled list may be used as a policy area term for a bill or resolution. Projects are underway to standardize the terms used during those congresses.

      • name: string

        The name of the policy area term attached to a bill or resolution.

      • OptionalupdateDate?: string

        The update date for the bill subject on Congress.gov. This may be the date the subject was published or re-published. 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.