Canada Open Data & Sovereign Preset (Open Government)
Connect your BlockNote documents directly to Canadian federal registries and official open datasets:
/canlaw (Justice Laws Canada)
Query Department of Justice Canada for consolidated federal statutes and regulations (e.g. PIPEDA, Access to Information Act).
/corporation-ca (Corporations Canada)
Search federal corporate records, Business Numbers (BN9), and official director registries.
/parliament-ca (House of Commons & LEGISinfo)
Track Canadian bills (C-*), votes, Hansard committee debates, and Member of Parliament profiles.
/statcan (Statistics Canada / StatCan)
Access key economic indicators, Consumer Price Index (CPI), and national census statistics via StatCan WDS API.
/opencanada (Open Government Canada)
Search thousands of official open datasets from open.canada.ca via the CKAN Action API.
/canadabuys (Federal Procurement)
Search Canadian federal public tenders, contract awards, and standing offers from CanadaBuys.
/grant-ca (Grants & Contributions)
Proactively disclosed federal grants and financial contribution agreements across ministries.
/geonames-ca (GeoNames Canada)
Authoritative Canadian Geographical Names Database (CGNDB) from Natural Resources Canada (RNCan).
🏛️ Federation Architecture (Canada)
The Canadian preset connects your local django-lasuite-sources proxy directly to the Canadian Government's open data initiatives, ensuring GDPR and PIPEDA compliance through direct backend-to-backend communication without third-party trackers.
💻 Provider Implementation (Django)
Here is a reference implementation of the Canadian federal law connector (JusticeLawsProvider), mapping the Canadian Department of Justice's XML/JSON structure into the unified SourceSearchResult DTO, using the internal self._fetch() wrapper to ensure Anti-SSRF protection.
Code
🧩 Display Formats
When inserting a Canadian legal act via /canlaw or a company via /corporation-ca, Slasher dynamically adapts the output to 3 display formats:
- 📢 Callout: Full legislative text extraction with an official border color.
- 🗂️ Card: 3-column metadata grid displaying Business Number (BN9), incorporation date, and jurisdiction.
- 🔗 Inline: A compact, clickable pill embedded in the text flow.