Repository navigation
Add Bill Scraping from LegisInfo #27
Copy link
Copy link
Open
Description
Activity
@xrendan Happy to pick this up. Will assign to myself, but feel free to change. 🙂
Reacted by Melody KuoExtra info on this area:
APIs
Bills - https://www.parl.ca/legisinfo/en/bills/json
Example data
[ { "SearchScore": 1.0, "BillId": 13539458, "BillNumberPrefix": null, "BillNumber": 0, "BillNumberSuffix": null, "BillNumberFormatted": "S-1", "LongTitleEn": "An Act relating to railways", "LongTitleFr": "Loi concernant les chemins de fer", "ShortTitleEn": "", "ShortTitleFr": "", "LatestBillMilestoneId": 60043, "LatestCompletedMajorStageEn": "First reading", "LatestCompletedMajorStageFr": "Première lecture", "LatestCompletedMajorStageChamberId": 2, "DidReinstateFromPreviousSession": false, "PassedHouseFirstReadingDateTime": null, "PassedHouseSecondReadingDateTime": null, "PassedHouseThirdReadingDateTime": null, "PassedSenateFirstReadingDateTime": "2025-05-26T20:00:00-04:00", "PassedSenateSecondReadingDateTime": null, "PassedSenateThirdReadingDateTime": null, "ReceivedRoyalAssentDateTime": null, "ParlSessionCode": "45-1", "ParlSessionEn": "45th Parliament, 1st session~May 26, 2025 to present", "ParlSessionFr": "45<sup>e</sup> législature, 1<sup>re</sup> session~26 mai 2025 à aujourd'hui", "ParliamentNumber": 45, "SessionNumber": 1, "OriginatingChamberId": 2, "BillTypeId": 0, "BillTypeEn": "Senate Public Bill", "BillTypeFr": "Projet de loi d'intérêt public du Sénat", "CurrentStatusId": 0, "CurrentStatusEn": "Introduced as pro forma bill", "CurrentStatusFr": "Présenté en tant que projet de loi pro forma", "MinistryId": 0, "SponsorId": 0, "SponsorEn": "Sen. Judith Seidman", "SponsorFr": "Sén. Judith Seidman", "PoliticalAffiliationId": 0, "IsFromCurrentSession": true, "Highlight": null, "LatestBillTextTypeId": 0, "LatestActivityEn": "Introduction and first reading on May 27, 2025 (Senate)", "LatestActivityFr": "Dépôt et première lecture le 27 mai 2025 (Sénat)", "LatestActivityDateTime": "2025-05-26T20:00:00-04:00" } ]- Returns json summary of all bills within the current parliament
- Includes timestamps for status changes (e.g.
PassedHouseFirstReadingDateTimeetc) - does not include bill text
- not a 'feed' i.e. it does not append new entries when a bill is updated
Bill - https://www.parl.ca/legisinfo/en/bill/45-1/s-1/json
Example data
[ { "Id": 13559562, "NumberCode": "S-231", "NumberPrefix": "S", "Number": 231, "LongTitleEn": "An Act to amend the Criminal Code (medical assistance in dying)", "LongTitleFr": "Loi modifiant le Code criminel (aide médicale à mourir)", "LongTitle": "An Act to amend the Criminal Code (medical assistance in dying)", "ShortTitleEn": "", "ShortTitleFr": "", "ShortTitle": "", "StatusId": 343, "StatusNameEn": "At second reading in the Senate", "StatusNameFr": "À la deuxième lecture au Sénat", "StatusName": "At second reading in the Senate", "LatestCompletedMajorStageId": 60043, "LatestCompletedMajorStageNameEn": "First reading", "LatestCompletedMajorStageNameFr": "Première lecture", "LatestCompletedMajorStageName": "First reading", "LatestCompletedMajorStageNameWithChamberSuffix": "First reading in the Senate", "IsInSenatePreStudy": false, "LatestCompletedMajorStageChamberOrganizationId": 2, "LatestCompletedMajorStageChamberNameEn": "Senate", "LatestCompletedMajorStageChamberNameFr": "Sénat", "LatestCompletedMajorStageChamberName": "Senate", "OngoingStageId": 60030, "OngoingStageNameEn": "Second reading", "OngoingStageNameFr": "Deuxième lecture", "OngoingStageName": "Second reading", "LatestCompletedBillStageId": 60029, "LatestCompletedBillStageNameEn": "First reading", "LatestCompletedBillStageNameFr": "Première lecture", "LatestCompletedBillStageName": "First reading", "LatestCompletedBillStageChamberOrganizationId": 2, "LatestCompletedBillStageChamberNameEn": "Senate", "LatestCompletedBillStageChamberNameFr": "Sénat", "LatestCompletedBillStageChamberName": "Senate", "LatestCompletedBillStageDateTime": "2025-06-12T10:00:00", "ParliamentNumber": 45, "SessionNumber": 1, "BillDocumentTypeId": 80760, "BillDocumentTypeNameEn": "Senate Public Bill", "BillDocumentTypeNameFr": "Projet de loi d'intérêt public du Sénat", "BillDocumentTypeName": "Senate Public Bill", "IsGovernmentBill": false, "OriginatingChamberOrganizationId": 2, "OriginatingChamberNameEn": "Senate", "OriginatingChamberNameFr": "Sénat", "OriginatingChamberName": "Senate", "IsHouseBill": false, "IsSenateBill": true, "SponsorSenateSystemAffiliationId": 2811, "SponsorPersonId": 55008, "SponsorPersonOfficialFirstName": "Pamela", "SponsorPersonOfficialLastName": "Wallin", "SponsorPersonUsualFirstName": "", "SponsorPersonMiddleName": "", "SponsorPersonName": "Pamela Wallin", "SponsorPersonShortHonorificEn": "Hon.", "SponsorPersonShortHonorificFr": "L'hon.", "SponsorPersonShortHonorific": "Hon.", "SponsorAffiliationTitleEn": "Senator", "SponsorAffiliationTitleFr": "sénatrice", "SponsorAffiliationTitle": "Senator", "SponsorAffiliationRoleId": 3, "SponsorAffiliationRoleNameEn": "Senator", "SponsorAffiliationRoleNameFr": "sénateur", "SponsorAffiliationRoleName": "Senator", "SponsorConstituencyId": 0, "SponsorConstituencyNameEn": "", "SponsorConstituencyNameFr": "", "SponsorConstituencyName": "", "LatestBillEventEventTypeId": 60115, "LatestBillEventTypeNameEn": "Debate at second reading", "LatestBillEventTypeNameFr": "Débat à l’étape de la deuxième lecture", "LatestBillEventStageId": 60030, "LatestBillEventTypeName": "Debate at second reading", "LatestBillEventCommitteeDetails": null, "LatestBillEventDateTime": "2025-06-16T14:00:00", "LatestBillEventChamberOrganizationId": 2, "LatestBillEventChamberNameEn": "Senate", "LatestBillEventChamberNameFr": "Sénat", "LatestBillEventChamberName": "Senate", "LatestBillEventNumberOfAmendments": 0, "LatestBillEventAmendmentNoteId": 0, "LatestBillEventMeetingNumber": "11", "LatestBillEventAdditionalInformationEn": "", "LatestBillEventAdditionalInformationFr": "", "LatestBillEventAdditionalInformation": "", "PassedHouseFirstReadingDateTime": null, "PassedHouseSecondReadingDateTime": null, "PassedHouseThirdReadingDateTime": null, "PassedSenateFirstReadingDateTime": "2025-06-12T10:00:00", "PassedSenateSecondReadingDateTime": null, "PassedSenateThirdReadingDateTime": null, "ReceivedRoyalAssentDateTime": null, "DidReinstateFromPreviousSession": false, "ReinstatedFromBillDocumentId": null, "ReinstatedFromBillNumberCode": null, "DidReinstateInNextSession": false, "ReinstatedAsBillDocumentId": null, "ReinstatedAsBillNumberCode": null, "PassedFirstChamberFirstReading": true, "PassedFirstChamberSecondReading": false, "PassedFirstChamberThirdReading": false, "PassedSecondChamberFirstReading": false, "PassedSecondChamberSecondReading": false, "PassedSecondChamberThirdReading": false, "ReceivedRoyalAssent": false, "ConsideredDuringPreviousSitting": false, "IsProForma": false, "BillFormId": 10, "BillFormNameEn": "Regular", "BillFormNameFr": "Ordinaire", "BillFormName": "Regular", "NotesEn": "", "NotesFr": "", "Notes": "", "ShortLegislativeSummaryEn": null, "ShortLegislativeSummaryFr": null, "ShortLegislativeSummary": null, "IsFullLegislativeSummaryAvailable": false, "StatuteYear": null, "StatuteChapter": null, "BillStages": { "BillId": 0, "HouseBillStages": [ { "BillStageId": 60029, "BillStageNameEn": "First reading", "BillStageNameFr": "Première lecture", "BillStageName": "First reading", "ChamberOrganizationId": 0, "ParliamentNumber": 0, "SessionNumber": 0, "State": 1, "StateNameEn": "Not reached", "StateNameFr": "Non atteinte", "StateAsOfDate": null, "StateName": "Not reached", "Committee": null, "Sittings": [], "Decisions": [], "CommitteeMeetings": [], "SignificantEvents": [], "EndOfStageEvent": null, "StageEventCount": 0, "LastStageEventStartDateTime": null, "Speeches": null, "ContainsReferralToCommitteeEvent": false, "ContainsRecommittalOfBillEvent": false }, { "BillStageId": 60030, "BillStageNameEn": "Second reading", "BillStageNameFr": "Deuxième lecture", "BillStageName": "Second reading", "ChamberOrganizationId": 0, "ParliamentNumber": 0, "SessionNumber": 0, "State": 1, "StateNameEn": "Not reached", "StateNameFr": "Non atteinte", "StateAsOfDate": null, "StateName": "Not reached", "Committee": null, "Sittings": [], "Decisions": [], "CommitteeMeetings": [], "SignificantEvents": [], "EndOfStageEvent": null, "StageEventCount": 0, "LastStageEventStartDateTime": null, "Speeches": null, "ContainsReferralToCommitteeEvent": false, "ContainsRecommittalOfBillEvent": false }, { "BillStageId": 60049, "BillStageNameEn": "Consideration in committee", "BillStageNameFr": "Examen en comité", "BillStageName": "Consideration in committee", "ChamberOrganizationId": 0, "ParliamentNumber": 0, "SessionNumber": 0, "State": 1, "StateNameEn": "Not reached", "StateNameFr": "Non atteint", "StateAsOfDate": null, "StateName": "Not reached", "Committee": null, "Sittings": [], "Decisions": [], "CommitteeMeetings": [], "SignificantEvents": [], "EndOfStageEvent": null, "StageEventCount": 0, "LastStageEventStartDateTime": null, "Speeches": null, "ContainsReferralToCommitteeEvent": false, "ContainsRecommittalOfBillEvent": false }, { "BillStageId": 60032, "BillStageNameEn": "Report stage", "BillStageNameFr": "Étape du rapport", "BillStageName": "Report stage", "ChamberOrganizationId": 0, "ParliamentNumber": 0, "SessionNumber": 0, "State": 1, "StateNameEn": "Not reached", "StateNameFr": "Non atteinte", "StateAsOfDate": null, "StateName": "Not reached", "Committee": null, "Sittings": [], "Decisions": [], "CommitteeMeetings": [], "SignificantEvents": [], "EndOfStageEvent": null, "StageEventCount": 0, "LastStageEventStartDateTime": null, "Speeches": null, "ContainsReferralToCommitteeEvent": false, "ContainsRecommittalOfBillEvent": false }, { "BillStageId": 60031, "BillStageNameEn": "Third reading", "BillStageNameFr": "Troisième lecture", "BillStageName": "Third reading", "ChamberOrganizationId": 0, "ParliamentNumber": 0, "SessionNumber": 0, "State": 1, "StateNameEn": "Not reached", "StateNameFr": "Non atteinte", "StateAsOfDate": null, "StateName": "Not reached", "Committee": null, "Sittings": [], "Decisions": [], "CommitteeMeetings": [], "SignificantEvents": [], "EndOfStageEvent": null, "StageEventCount": 0, "LastStageEventStartDateTime": null, "Speeches": null, "ContainsReferralToCommitteeEvent": false, "ContainsRecommittalOfBillEvent": false } ], "SenateBillStages": [ { "BillStageId": 60029, "BillStageNameEn": "First reading", "BillStageNameFr": "Première lecture", "BillStageName": "First reading", "ChamberOrganizationId": 2, "ParliamentNumber": 45, "SessionNumber": 1, "State": 4, "StateNameEn": "Completed", "StateNameFr": "Terminée", "StateAsOfDate": "2025-06-12T00:00:00", "StateName": "Completed", "Committee": null, "Sittings": [ { "NameEn": "Introduction and first reading", "NameFr": "Dépôt et première lecture", "Name": "Introduction and first reading", "Number": "10", "Date": "2025-06-12T00:00:00", "AdditionalInformationEn": null, "AdditionalInformationFr": null, "AdditionalInformation": null, "IsPublished": false } ], "Decisions": [], "CommitteeMeetings": [], "SignificantEvents": [ { "EventTypeId": 60110, "BillDocumentId": 0, "EventNameEn": "Introduction and first reading", "EventNameFr": "Dépôt et première lecture", "EventName": "Introduction and first reading", "EventDateTime": "2025-06-12T00:00:00", "IsCompletionOfBillStage": true, "IsDefeatedEvent": false, "CommitteeReportId": null, "CommitteeReportNumber": null, "AdditionalInformationEn": "", "AdditionalInformationFr": "", "AdditionalInformation": "", "MeetingEventId": null, "AmendmentNoteId": null }, { "EventTypeId": 60110, "BillDocumentId": 0, "EventNameEn": "Introduction and first reading", "EventNameFr": "Dépôt et première lecture", "EventName": "Introduction and first reading", "EventDateTime": "2025-06-12T10:00:00", "IsCompletionOfBillStage": true, "IsDefeatedEvent": false, "CommitteeReportId": null, "CommitteeReportNumber": null, "AdditionalInformationEn": "", "AdditionalInformationFr": "", "AdditionalInformation": "", "MeetingEventId": null, "AmendmentNoteId": null } ], "EndOfStageEvent": { "EventTypeId": 60110, "EventTypeNameEn": "Introduction and first reading", "EventTypeNameFr": "Dépôt et première lecture", "EventTypeName": "Introduction and first reading", "EventStartDateTime": "2025-06-12T00:00:00", "EventEndDateTime": "2025-06-12T00:00:00" }, "StageEventCount": 1, "LastStageEventStartDateTime": "2025-06-12T10:00:00", "Speeches": null, "ContainsReferralToCommitteeEvent": false, "ContainsRecommittalOfBillEvent": false }, { "BillStageId": 60030, "BillStageNameEn": "Second reading", "BillStageNameFr": "Deuxième lecture", "BillStageName": "Second reading", "ChamberOrganizationId": 2, "ParliamentNumber": 45, "SessionNumber": 1, "State": 3, "StateNameEn": "In progress", "StateNameFr": "En cours", "StateAsOfDate": null, "StateName": "In progress", "Committee": null, "Sittings": [ { "NameEn": "Debate at second reading", "NameFr": "Débat à l’étape de la deuxième lecture", "Name": "Debate at second reading", "Number": "11", "Date": "2025-06-16T00:00:00", "AdditionalInformationEn": "", "AdditionalInformationFr": "", "AdditionalInformation": "", "IsPublished": false } ], "Decisions": [], "CommitteeMeetings": [], "SignificantEvents": [], "EndOfStageEvent": null, "StageEventCount": 1, "LastStageEventStartDateTime": "2025-06-16T10:25:00", "Speeches": null, "ContainsReferralToCommitteeEvent": false, "ContainsRecommittalOfBillEvent": false }, { "BillStageId": 60031, "BillStageNameEn": "Third reading", "BillStageNameFr": "Troisième lecture", "BillStageName": "Third reading", "ChamberOrganizationId": 0, "ParliamentNumber": 0, "SessionNumber": 0, "State": 1, "StateNameEn": "Not reached", "StateNameFr": "Non atteinte", "StateAsOfDate": null, "StateName": "Not reached", "Committee": null, "Sittings": [], "Decisions": [], "CommitteeMeetings": [], "SignificantEvents": [], "EndOfStageEvent": null, "StageEventCount": 0, "LastStageEventStartDateTime": null, "Speeches": null, "ContainsReferralToCommitteeEvent": false, "ContainsRecommittalOfBillEvent": false } ], "RoyalAssent": [], "HouseAdditionalInformation": [], "SenateAdditionalInformation": [], "InterChamberMessages": [] }, "Publications": [ { "PublicationId": 13559572, "PublicationTypeId": 80701, "PublicationTypeNameEn": "First Reading", "PublicationTypeNameFr": "Première lecture", "PublicationTypeName": "First Reading" } ], "HouseVoteDetails": [], "SenateVoteDetails": [], "HouseRulingAndStatements": null, "SenateRulingAndStatements": null, "WebReferences": [ { "BillDocumentId": 0, "TitleEn": "Council of Canadian Academies, Expert Panel Working Group on Advance Requests for MAID. The State of Knowledge on Advance Requests for Medical Assistance in Dying, 2018.", "TitleFr": "Conseil des académies canadiennes, Groupe de travail du comité d’experts sur les demandes anticipées d’AMM. L’état des connaissances sur les demandes anticipées d’aide médicale à mourir, 2018.", "Title": "Council of Canadian Academies, Expert Panel Working Group on Advance Requests for MAID. The State of Knowledge on Advance Requests for Medical Assistance in Dying, 2018.", "WebReferenceTypeId": 8, "WebReferenceTypeNameEn": "Related Links", "WebReferenceTypeNameFr": "Liens connexes", "WebReferenceTypeName": "Related Links", "UrlEn": "https://cca-reports.ca/wp-content/uploads/2019/02/The-State-of-Knowledge-on-Advance-Requests-for-Medical-Assistance-in-Dying.pdf", "UrlFr": "https://www.rapports-cac.ca/wp-content/uploads/2019/02/L%E2%80%99%C3%A9tat-des-connaissances-sur-les-demandes-anticip%C3%A9es-d%E2%80%99aide-m%C3%A9dicale-%C3%A0-mourir.pdf", "Url": "https://cca-reports.ca/wp-content/uploads/2019/02/The-State-of-Knowledge-on-Advance-Requests-for-Medical-Assistance-in-Dying.pdf" }, { "BillDocumentId": 0, "TitleEn": "House of Commons, Special Joint Committee on Medical Assistance in Dying. “Advance Requests”, chapter in Report of the Special Joint Committee on Medical Assistance in Dying (Second Report), 1st Session, 44th Parliament, February 2023.", "TitleFr": "Chambre des communes, Comité mixte spécial sur l’aide médicale à mourir. « Demandes anticipées », chapitre dans Rapport du Comité mixte spécial sur l’aide médicale à mourir (Deuxième Rapport), 1ère session, 44e Législature, février 2023.", "Title": "House of Commons, Special Joint Committee on Medical Assistance in Dying. “Advance Requests”, chapter in Report of the Special Joint Committee on Medical Assistance in Dying (Second Report), 1st Session, 44th Parliament, February 2023.", "WebReferenceTypeId": 8, "WebReferenceTypeNameEn": "Related Links", "WebReferenceTypeNameFr": "Liens connexes", "WebReferenceTypeName": "Related Links", "UrlEn": "https://www.parl.ca/Content/Committee/441/AMAD/Reports/RP12234766/amadrp02/amadrp02-e.pdf#page=82", "UrlFr": "https://www.parl.ca/Content/Committee/441/AMAD/Reports/RP12234766/amadrp02/amadrp02-f.pdf#page=91", "Url": "https://www.parl.ca/Content/Committee/441/AMAD/Reports/RP12234766/amadrp02/amadrp02-e.pdf#page=82" }, { "BillDocumentId": 0, "TitleEn": "Canadian Association of MAiD Assessors and Providers. Clinical Considerations for Advance Requests for MAiD, December 2024.", "TitleFr": "Association canadienne des évaluateurs et prestataires de l’AMM. Considérations cliniques pour les demandes anticipées d’AMM, décembre 2024.", "Title": "Canadian Association of MAiD Assessors and Providers. Clinical Considerations for Advance Requests for MAiD, December 2024.", "WebReferenceTypeId": 8, "WebReferenceTypeNameEn": "Related Links", "WebReferenceTypeNameFr": "Liens connexes", "WebReferenceTypeName": "Related Links", "UrlEn": "https://camapcanada.ca/wp-content/uploads/Clinical-Considerations-for-Advance-Requests-for-MAiD-FINAL-December-2024.pdf", "UrlFr": "https://camapcanada.ca/wp-content/uploads/Considerations-cliniques-pour-les-demandes-anticipees-dAMM-FINAL-December-2024-2.pdf", "Url": "https://camapcanada.ca/wp-content/uploads/Clinical-Considerations-for-Advance-Requests-for-MAiD-FINAL-December-2024.pdf" } ], "BibliographicNotices": [], "SenatePreStudyCommitteeDetails": null, "SimilarBills": null, "IsDroppedFromSenateOrderPaper": false, "IsSessionOngoing": true } ]- returns detailed information about a single bill and its progress through parliament, including decisions (votes) at each stage
- does not include bill text or amendment details
Bill Content - https://www.parl.ca/Content/Bills/451/Government/S-2/S-2_1/S-2_E.xml
Example data
<?xml version="1.0" encoding="UTF-8"?> <!--Arbortext, Inc., 1988-2010, v.4002--> <Bill bill-origin="senate" bill-type="govt-public" xml:lang="en"> <Identification> <BillNumber>S-2</BillNumber> <Parliament> <Session>1</Session> <Number>45</Number> <RegnalYear> <Year-s>3</Year-s> <Monarch>Charles III</Monarch> </RegnalYear> <Year-s>2025</Year-s> </Parliament> <LongTitle>An Act to amend the Indian Act (new registration entitlements)</LongTitle> <ShortTitle status="unofficial">An Act to amend the Indian Act (new registration entitlements)</ShortTitle> <RunningHead>An Act to amend the Indian Act (new registration entitlements)</RunningHead> <BillHistory> <Stages stage="first-reading-senate"> <Date> <YYYY>2025</YYYY> <MM>5</MM> <DD>29</DD> </Date> </Stages> </BillHistory> <BillSponsor>THE HONOURABLE SENATOR GOLD, P.C.</BillSponsor> <BillRefNumber date-time="2025-05-29">91228</BillRefNumber> </Identification> <Introduction> <Summary> <TitleText>SUMMARY</TitleText> <Provision format-ref="indent-0-0" language-align="yes" list-item="no"> <Text> This enactment amends the <XRefExternal reference-type="act">Indian Act</XRefExternal> to provide, among other things, new entitlements to registration in the Indian Register in response to the challenge of certain provisions of the Act under the <XRefExternal reference-type="act">Canadian Charter of Rights and Freedoms</XRefExternal> in <XRefExternal reference-type="other">Nicholas v. Canada (Attorney General)</XRefExternal> and that the persons who have become so entitled also have the right to have their names entered in a Band List maintained in the Department of Indigenous Services. </Text> </Provision> </Summary> <Enacts> <Provision format-ref="indent-0-0" language-align="yes" list-item="no"> <Text>His Majesty, by and with the advice and consent of the Senate and House of Commons of Canada, enacts as follows:</Text> </Provision> </Enacts> </Introduction> <Body> <Heading level="1"> <MarginalNote> <HistoricalNote>R.S., c. I-5</HistoricalNote> </MarginalNote> <TitleText>Indian Act</TitleText> </Heading> <Section type="amending"> <Label>1</Label> <Subsection type="amending"> <Label>(1)</Label> <Text> The definition <DefinedTermEn>mentally incompetent Indian</DefinedTermEn> in subsection 2(1) of the <XRefExternal reference-type="act">Indian Act</XRefExternal> is repealed. </Text> <ExplanatoryNote> <TitleText>Indian Act</TitleText> <Label> <Emphasis style="italic">Clause 1</Emphasis> : (1) </Label> <ExplanatoryText>Existing text of the definition:</ExplanatoryText> <ExistingText> <SectionPiece> <Definition> <Text> <DefinedTermEn>mentally incompetent Indian</DefinedTermEn> means an Indian who, pursuant to the laws of the province in which he resides, has been found to be mentally defective or incompetent for the purposes of any laws of that province providing for the administration of estates of mentally defective or incompetent persons; ( <DefinedTermFr>Indien mentalement incapable</DefinedTermFr> ) </Text> </Definition> </SectionPiece> </ExistingText> </ExplanatoryNote> </Subsection> <Subsection type="amending"> <Label>(2)</Label> <Text>Subsection 2(1) of the Act is amended by adding the following in alphabetical order:</Text> <AmendedText include-in-TableOfProvisions="no"> <SectionPiece> <Definition change="ins"> <Text> <DefinedTermEn>dependent person</DefinedTermEn> means an Indian who, under an Act of the province in which they reside, has been found to be unable to manage their estate by reason of an illness or impairment affecting their cognitive capacity; ( <DefinedTermFr>personne dépendante</DefinedTermFr> ) </Text> </Definition> </SectionPiece> </AmendedText> <ExplanatoryNote> <Label>(2)</Label> <ExplanatoryText>New.</ExplanatoryText> </ExplanatoryNote> </Subsection> </Section> <Section type="amending"> <MarginalNote> <HistoricalNote>R.S., c. 48 (4th Supp.), s. 1</HistoricalNote> </MarginalNote> <Label>2</Label> <Text>Section 4.1 of the Act is replaced by the following:</Text> <AmendedText include-in-TableOfProvisions="no"> <Section> <MarginalNote>Provisions that apply to all band members</MarginalNote> <Label>4.1</Label> <Text> A reference to an Indian in any of the following <Keep>provisions</Keep> shall be deemed to include a reference to any person whose name is entered in a Band List and who is entitled to have it entered therein: the definitions <DefinitionRef>band</DefinitionRef> , <DefinitionRef>Indian moneys</DefinitionRef> and <Ins> <DefinitionRef>dependent person</DefinitionRef> </Ins> in section 2, subsections 4(2) and (3) and 18(2), sections 20 and 22 to 25, subsections 31(1) and (3) and 35(4), sections 51, 52, 52.2 and 52.3, subsections 58(3) and 61(1), sections 63 and 65, subsections 66(2) and 70(1) and (4), section 71, paragraphs 73(g) and (h), subsection 74(4), section 84, paragraph 87(1)(a), section 88, subsection 89(1) and paragraph 107(b). </Text> </Section> </AmendedText> <ExplanatoryNote> <Label> <Emphasis style="italic">Clause 2</Emphasis> : </Label> <ExplanatoryText>Existing text of section 4.1:</ExplanatoryText> <ExistingText> <Section> <Label>4.1</Label> <Text> A reference to an Indian in any of the following provisions shall be deemed to include a reference to any person whose name is entered in a Band List and who is entitled to have it entered therein: the definitions <DefinitionRef>band</DefinitionRef> , <DefinitionRef>Indian moneys</DefinitionRef> and <DefinitionRef>mentally incompetent Indian</DefinitionRef> in section 2, subsections 4(2) and (3) and 18(2), sections 20 and 22 to 25, subsections 31(1) and (3) and 35(4), sections 51, 52, 52.2 and 52.3, subsections 58(3) and 61(1), sections 63 and 65, subsections 66(2) and 70(1) and (4), section 71, paragraphs 73(g) and (h), subsection 74(4), section 84, paragraph 87(1)(a), section 88, subsection 89(1) and paragraph 107(b). </Text> </Section> </ExistingText> </ExplanatoryNote> </Section> <Section type="amending"> <Label>3</Label> <Text>Section 5 of the Act is amended by adding the following after subsection (7):</Text> <AmendedText include-in-TableOfProvisions="no"> <Subsection change="ins"> <MarginalNote>Application for removal</MarginalNote> <Label>(8)</Label> <Text>A person who wishes to have their name removed from the Indian Register shall apply in writing to the Registrar, in which case the Registrar shall remove their name from the Indian Register and from the Band List maintained in the Department.</Text> </Subsection> </AmendedText> <ExplanatoryNote> <Label> <Emphasis style="italic">Clause 3</Emphasis> : </Label> <ExplanatoryText>New.</ExplanatoryText> </ExplanatoryNote> </Section> <Section type="amending"> <MarginalNote> <HistoricalNote>2017, c. 25, ss. 2(2) and 2.1(3)</HistoricalNote> </MarginalNote> <Label>4</Label> <Subsection type="amending"> <Label>(1)</Label> <Text>Paragraph 6(1)(a.1) of the Act is replaced by the following:</Text> <AmendedText include-in-TableOfProvisions="no"> <SectionPiece> <Paragraph> <Label>(a.1)</Label> <Text>the name of that person was omitted or deleted from the Indian Register, or from a Band List before September 4, 1951, under</Text> <Subparagraph> <Label> <Ins>(i)</Ins> </Label> <Text>subparagraph 12(1)(a)(iii) or (iv), paragraph 12(1)(b) or subsection 12(2), as each provision read immediately before April 17, 1985, or under any former provision of this Act relating to the same subject matter as any of those provisions,</Text> </Subparagraph> <Subparagraph change="ins"> <Label>(ii)</Label> <Text>section 13, as it read immediately before September 4, 1951, or under any former provision of this Act relating to the same subject matter as that section,</Text> </Subparagraph> <Subparagraph change="ins"> <Label>(iii)</Label> <Text>section 111, as it read immediately before July 1, 1920, or under any former provision of this Act relating to the same subject matter as that section, or</Text> </Subparagraph> <Subparagraph change="ins"> <Label>(iv)</Label> <Text>section 112, as it read immediately before April 17, 1985, or under any former provision of this Act relating to the same subject matter as that section;</Text> </Subparagraph> </Paragraph> </SectionPiece> </AmendedText> <ExplanatoryNote> <Label> <Emphasis style="italic">Clause 4</Emphasis> : (1) and (2) </Label> <ExplanatoryText>Relevant portion of subsection 6(1):</ExplanatoryText> <ExistingText> <Section> <Label>6</Label> <Subsection> <Label>(1)</Label> <Text>Subject to section 7, a person is entitled to be registered if</Text> <Paragraph> <Label>...</Label> <Text></Text> </Paragraph> <Paragraph> <Label>(a.1)</Label> <Text>the name of that person was omitted or deleted from the Indian Register, or from a band list before September 4, 1951, under subparagraph 12(1)(a)(iv), paragraph 12(1)(b) or subsection 12(2) or under subparagraph 12(1)(a)(iii) pursuant to an order made under subsection 109(2), as each provision read immediately before April 17, 1985, or under any former provision of this Act relating to the same subject matter as any of those provisions;</Text> </Paragraph> <Paragraph> <Label>...</Label> <Text></Text> </Paragraph> <Paragraph> <Label>(d)</Label> <Text>the name of that person was omitted or deleted from the Indian Register, or from a band list prior to September 4, 1951, under subparagraph 12(1)(a)(iii) pursuant to an order made under subsection 109(1), as each provision read immediately prior to April 17, 1985, or under any former provision of this Act relating to the same subject-matter as any of those provisions;</Text> </Paragraph> <Paragraph> <Label>(e)</Label> <Text>the name of that person was omitted or deleted from the Indian Register, or from a band list prior to September 4, 1951,</Text> <Subparagraph> <Label>(i)</Label> <Text>under section 13, as it read immediately prior to September 4, 1951, or under any former provision of this Act relating to the same subject-matter as that section, or</Text> </Subparagraph> <Subparagraph> <Label>(ii)</Label> <Text>under section 111, as it read immediately prior to July 1, 1920, or under any former provision of this Act relating to the same subject-matter as that section; or</Text> </Subparagraph> </Paragraph> </Subsection> </Section> </ExistingText> </ExplanatoryNote> </Subsection> <Subsection type="amending"> <MarginalNote> <HistoricalNote>R.S., c. 32 (1st Supp.), s. 4</HistoricalNote> </MarginalNote> <Label>(2)</Label> <Text>Subsection 6(1) of the Act is amended by adding “and” at the end of paragraph (b) and by repealing paragraphs (d) and (e).</Text> </Subsection> <Subsection type="amending"> <MarginalNote> <HistoricalNote>2017, c. 25, s. 2.1(7)</HistoricalNote> </MarginalNote> <Label>(3)</Label> <Text>Paragraph 6(3)(b) of the Act is replaced by the following:</Text> <AmendedText include-in-TableOfProvisions="no"> <SectionPiece> <Paragraph> <Label>(b)</Label> <Text>a person who is described in paragraph (1)(a.1) or (f) or subsection (2) and who was no longer living on April 17, 1985 is deemed to be entitled to be registered under that paragraph or subsection; and</Text> </Paragraph> </SectionPiece> </AmendedText> <ExplanatoryNote> <Label>(3)</Label> <ExplanatoryText>Relevant portion of subsection 6(3):</ExplanatoryText> <ExistingText> <Subsection> <Label>(3)</Label> <Text>For the purposes of paragraphs (1)(a.3) and (f) and subsection (2),</Text> <Paragraph> <Label>...</Label> <Text></Text> </Paragraph> <Paragraph> <Label>(b)</Label> <Text>a person who is described in paragraph (1)(a.1), (d), (e) or (f) or subsection (2) and who was no longer living on April 17, 1985 is deemed to be entitled to be registered under that paragraph or subsection; and</Text> </Paragraph> </Subsection> </ExistingText> </ExplanatoryNote> </Subsection> </Section> <Section type="amending"> <MarginalNote> <HistoricalNote>R.S., c. 32 (1st Supp.), s. 4</HistoricalNote> </MarginalNote> <Label>5</Label> <Subsection type="amending"> <Label>(1)</Label> <Text>Paragraph 11(2)(a) of the Act is repealed.</Text> <ExplanatoryNote> <Label> <Emphasis style="italic">Clause 5</Emphasis> : (1) </Label> <ExplanatoryText>Relevant portion of subsection 11(2):</ExplanatoryText> <ExistingText> <Subsection> <Label>(2)</Label> <Text>Commencing on the day that is two years after the day that an Act entitled An Act to amend the Indian Act, introduced in the House of Commons on February 28, 1985, is assented to, or on such earlier day as may be agreed to under section 13.1, where a band does not have control of its Band List under this Act, a person is entitled to have his name entered in a Band List maintained in the Department for the band</Text> <Paragraph> <Label>(a)</Label> <Text>if that person is entitled to be registered under paragraph 6(1)(d) or (e) and ceased to be a member of that band by reason of the circumstances set out in that paragraph; or</Text> </Paragraph> </Subsection> </ExistingText> </ExplanatoryNote> </Subsection> <Subsection type="amending"> <MarginalNote> <HistoricalNote>2017, c. 25, s. 3.1(2)</HistoricalNote> </MarginalNote> <Label>(2)</Label> <Text>Paragraph 11(3)(a) of the Act is replaced by the following:</Text> <AmendedText include-in-TableOfProvisions="no"> <SectionPiece> <Paragraph> <Label>(a)</Label> <Text>a person whose name was omitted or deleted from the Indian Register or a Band List in the circumstances set out in paragraph 6(1)(a.1) and who was no longer living on the first day on which the person would otherwise be entitled to have the person’s name entered in the Band List of the band of which the person ceased to be a member is deemed to be entitled to have the person’s name so entered;</Text> </Paragraph> </SectionPiece> </AmendedText> <ExplanatoryNote> <Label>(2)</Label> <ExplanatoryText>Relevant portion of subsection 11(3):</ExplanatoryText> <ExistingText> <Subsection> <Label>(3)</Label> <Text>For the purposes of paragraph (1)(d) and subsection (2),</Text> <Paragraph> <Label>(a)</Label> <Text>a person whose name was omitted or deleted from the Indian Register or a Band List in the circumstances set out in paragraph 6(1)(a.1), (d) or (e) and who was no longer living on the first day on which the person would otherwise be entitled to have the person’s name entered in the Band List of the band of which the person ceased to be a member is deemed to be entitled to have the person’s name so entered;</Text> </Paragraph> </Subsection> </ExistingText> </ExplanatoryNote> </Subsection> <Subsection type="amending"> <Label>(3)</Label> <Text>Section 11 of the Act is amended by adding the following after subsection (3.1):</Text> <AmendedText include-in-TableOfProvisions="no"> <Subsection change="ins"> <MarginalNote>Additional membership rules — married women</MarginalNote> <Label>(3.2)</Label> <Text>A person is entitled to have their name entered in a Band List that is maintained in the Department for a band if</Text> <Paragraph> <Label>(a)</Label> <Text>the person ceased to be a member of that band under section 14, as it read immediately before April 17, 1985, or under any former provision of this Act relating to the same subject matter as that section; or</Text> </Paragraph> <Paragraph> <Label>(b)</Label> <Text>the person is entitled to be registered and is a direct descendant of a person referred to in paragraph (a).</Text> </Paragraph> </Subsection> </AmendedText> <ExplanatoryNote> <Label>(3)</Label> <ExplanatoryText>New.</ExplanatoryText> </ExplanatoryNote> </Subsection> </Section> <Section type="amending"> <Label>6</Label> <Text>Section 51 of the Act and the heading before it are replaced by the following:</Text> <AmendedText include-in-TableOfProvisions="no"> <Heading level="1"> <TitleText> <Ins>Dependent Persons</Ins> </TitleText> </Heading> <Section> <MarginalNote>Powers of Minister generally</MarginalNote> <Label>51</Label> <Subsection> <Label>(1)</Label> <Text> Subject to this section, all jurisdiction and authority in relation to the <Ins>estate</Ins> of <Ins>a dependent person</Ins> is vested exclusively in the Minister. </Text> </Subsection> <Subsection> <MarginalNote>Particular powers</MarginalNote> <Label>(2)</Label> <Text>Without restricting the generality of subsection (1), the Minister may</Text> <Paragraph> <Label>(a)</Label> <Text> appoint <Ins>a person</Ins> to administer the <Ins>estate</Ins> of <Ins>a dependent person</Ins> ; </Text> </Paragraph> <Paragraph> <Label>(b)</Label> <Text> order that any property of a <Ins>dependent person</Ins> shall be sold, leased, alienated, mortgaged, disposed of or otherwise dealt with for the purpose of </Text> <Subparagraph> <Label>(i)</Label> <Text> paying <Ins>their</Ins> debts or engagements, </Text> </Subparagraph> <Subparagraph> <Label>(ii)</Label> <Text> discharging encumbrances on <Ins>their</Ins> property, </Text> </Subparagraph> <Subparagraph> <Label>(iii)</Label> <Text> paying debts or expenses incurred for <Ins>their</Ins> maintenance or otherwise for <Ins>their</Ins> benefit, or </Text> </Subparagraph> <Subparagraph> <Label>(iv)</Label> <Text>paying or providing for the expenses of future maintenance; and</Text> </Subparagraph> </Paragraph> <Paragraph> <Label>(c)</Label> <Text> make such orders and give such directions as <Ins>the Minister</Ins> considers necessary to secure the satisfactory management of the <Ins>estate</Ins> of <Ins>a</Ins> <Ins>dependent person</Ins> . </Text> </Paragraph> </Subsection> <Subsection> <MarginalNote>Property off reserve</MarginalNote> <Label>(3)</Label> <Text> The Minister may order that any property situated off a reserve and belonging to a <Ins>dependent person</Ins> shall be dealt with under the laws of the province in which the property is situated. </Text> </Subsection> </Section> </AmendedText> <ExplanatoryNote> <Label> <Emphasis style="italic">Clause 6</Emphasis> : </Label> <ExplanatoryText>Existing text of the heading and section 51:</ExplanatoryText> <ExistingText> <Heading level="1"> <TitleText>Mentally Incompetent Indians</TitleText> </Heading> <Section> <Label>51</Label> <Subsection> <Label>(1)</Label> <Text>Subject to this section, all jurisdiction and authority in relation to the property of mentally incompetent Indians is vested exclusively in the Minister.</Text> </Subsection> <Subsection> <Label>(2)</Label> <Text>Without restricting the generality of subsection (1), the Minister may</Text> <Paragraph> <Label>(a)</Label> <Text>appoint persons to administer the estates of mentally incompetent Indians;</Text> </Paragraph> <Paragraph> <Label>(b)</Label> <Text>order that any property of a mentally incompetent Indian shall be sold, leased, alienated, mortgaged, disposed of or otherwise dealt with for the purpose of</Text> <Subparagraph> <Label>(i)</Label> <Text>paying his debts or engagements,</Text> </Subparagraph> <Subparagraph> <Label>(ii)</Label> <Text>discharging encumbrances on his property,</Text> </Subparagraph> <Subparagraph> <Label>(iii)</Label> <Text>paying debts or expenses incurred for his maintenance or otherwise for his benefit, or</Text> </Subparagraph> <Subparagraph> <Label>(iv)</Label> <Text>paying or providing for the expenses of future maintenance; and</Text> </Subparagraph> </Paragraph> <Paragraph> <Label>(c)</Label> <Text>make such orders and give such directions as he considers necessary to secure the satisfactory management of the estates of mentally incompetent Indians.</Text> </Paragraph> </Subsection> <Subsection> <Label>(3)</Label> <Text>The Minister may order that any property situated off a reserve and belonging to a mentally incompetent Indian shall be dealt with under the laws of the province in which the property is situated.</Text> </Subsection> </Section> </ExistingText> </ExplanatoryNote> </Section> <Section type="amending"> <Label>7</Label> <Text>Subsections 64.1(1) and (2) of the Act are amended by replacing “6(1)(a.1), (d) or (e)” with “6(1)(a.1)”.</Text> </Section> <Heading level="1"> <TitleText>Related Provisions</TitleText> </Heading> <Section type="amending"> <MarginalNote>Same meaning</MarginalNote> <Label>8</Label> <Text> Words and expressions used in sections <XRefInternal>9</XRefInternal> to <XRefInternal>11</XRefInternal> have the same meaning as in the <XRefExternal reference-type="act">Indian Act</XRefExternal> . </Text> </Section> <Section type="amending"> <MarginalNote>Entitlements continued</MarginalNote> <Label>9</Label> <Text> For greater certainty, a person’s entitlement to be registered continues if their name or the name of one of their parents, grandparents or other ancestors is removed from the Indian Register under subsection 5(8) of the <XRefExternal reference-type="act">Indian Act</XRefExternal> , as enacted by section <XRefInternal>3</XRefInternal> . </Text> </Section> <Section type="amending"> <MarginalNote>No liability</MarginalNote> <Label>10</Label> <Text> For greater certainty, no person or body has a right to claim or receive any compensation, damages or indemnity from His Majesty in right of Canada, any employee or agent of His Majesty in right of Canada or a council of a band, for anything done or omitted to be done in good faith in the exercise of their powers or the performance of their duties only because of the removal of a person’s name or the name of one of their parents, grandparents or other ancestors under <Keep>subsection</Keep> 5(8) of the <XRefExternal reference-type="act">Indian Act</XRefExternal> , as enacted by section <XRefInternal>3</XRefInternal> . </Text> </Section> <Section type="amending"> <MarginalNote>No liability</MarginalNote> <Label>11</Label> <Text>For greater certainty, no person or body has a right to claim or receive any compensation, damages or indemnity from His Majesty in right of Canada, any employee or agent of His Majesty in right of Canada or a council of a band, for anything done or omitted to be done in good faith in the exercise of their powers or the performance of their duties only because a person was not registered, or did not have their name entered in a Band List, immediately before the day on which this section comes into force and the person or one of the person’s parents, grandparents or other ancestors is entitled</Text> <Paragraph type="amending"> <Label>(a)</Label> <Text>to be registered under</Text> <Subparagraph type="amending"> <Label>(i)</Label> <Text> paragraph 6(1)(a.1) of the <XRefExternal reference-type="act">Indian Act</XRefExternal> , as enacted by subsection <XRefInternal>4</XRefInternal> (1), or </Text> </Subparagraph> <Subparagraph type="amending"> <Label>(ii)</Label> <Text> paragraph 6(1)(a.3) of the <XRefExternal reference-type="act">Indian Act</XRefExternal> , as a result of the amendment to that paragraph 6(1)(a.1); or </Text> </Subparagraph> </Paragraph> <Paragraph type="amending"> <Label>(b)</Label> <Text> to have their name entered in a Band List under subsection 11(3.2) of the <XRefExternal reference-type="act">Indian Act</XRefExternal> , as enacted by subsection <XRefInternal>5</XRefInternal> (3). </Text> </Paragraph> </Section> </Body> </Bill>
- xml, not json (I can't see a json api for this)
- retrieves the text for a specific stage. e.g.
- 1st reading -> https://www.parl.ca/Content/Bills/451/Government/C-5/C-5_1/C-5_E.xml
- 2nd reading -> https://www.parl.ca/Content/Bills/451/Government/C-5/C-5_2/C-5_E.xml
- 3rd reading -> https://www.parl.ca/Content/Bills/451/Government/C-5/C-5_3/C-5_E.xml
- royal assent -> https://www.parl.ca/Content/Bills/451/Government/C-5/C-5_4/C-5_E.xml
- note, not all bills have available text. e.g. for S-1, 'The text of this bill is not available'
I can't find an API to list amendments, although it's possible to diff the bill content between 2nd and 3rd readings.
Ok, quick update on this. Here's my proposed approach:
Phase 1: Bill timelines
- Scrape bill summary data and store in new Bill model
- Expose bill summary data (including status changes for timeline) via
GET /bills/:idendpoint - Link bills to promises (AI ✨, note this will be direct association, not via 'evidences')
- Frontend: Render bill timeline in evidence view
Note, this will not include detailed info such as amendments etc, but will allow us to display bill progress within timelines as a first step.
Phase 2: Bill timelines with amendments
This would allow us to display more detailed updates on the evidence timeline. e.g. Amendments, vote breakdowns etc. Details TBD.
@xrendan I'll start on phase 1, but let me know if you're keen on a different approach and I can change course. 🙂
Metadata
Metadata
Assignees
Labels
No labels
We want to track relevant bills as they go through the legislative process. They should show up as evidence in the timeline.
This requires three things:
Creating a feed that scrapes bills, their text, amendments and their progress from LegisInfo (they have an api:
https://www.parl.ca/legisinfo/en/bills/json). Don't create Entries here, create new models to track bills specifically.Linking those bills to promises
Create another model called
BillMovementthat tracks the progress through parliament and it should also track amendments to bill at each stage. This is what should be shown in the evidence view on the app.We want bill tracking to be separate from entries so we can build other functionality with the raw bill data in the future.