Repository navigation
Description
Goal:
Evaluate the technical feasibility of grouping low-volume filings (approx. 30), based on their data structures and implementation patterns, to determine if a shared backend and reusable front-end components can be used effectively.
The goal is faster implementation and/or a more streamlined process for users.
List of filings:
Scope:
• In scope for this task: Schema analysis, grouping logic, backend architecture assessment, reusability of components, and preliminary prototyping (if feasible).
• Out of scope for this task: UX/UI review, interested parties’ input, legal/business requirements.
Objectives:
- Analyze technical similarities across ~30 low-volume filings.
- Determine grouping feasibility based on shared data schema, validation rules, and backend logic.
- Identify opportunities for reusable backend services and frontend components.
- Build a lightweight POC using 2–3 filings to validate the grouped approach (optional, if valuable).
Questions to answer:
• Are there sufficient common schema patterns across filings?
• Can we design shared validation rules and data mapping?
• Is the backend extensible to support grouped filings?
• Can front-end components be generalized without excessive complexity?
• Are technical edge cases manageable within a shared structure?
• Will grouping save significant time compared to individual builds?
• Will this reduce long-term complexity or increase it?
Considerations:
• Avoid unnecessary complexity;
• Right balance between flexibility and maintainability;
• UI should clearly distinguish filings while maintaining consistency;
• Ensure grouped UIs or APIs don’t slow down with too many filings;
• Some filings may have edge-case rules, this should be taken in consideration
Deliverables:
• Assessment of backend architecture options: Shared logic vs. modular individual logic.
• Assessment of frontend logic
• Estimates
• Recommendation on grouped vs. separate implementation
• Proposed filing groupings based on data and logic similarities.
• Optional : POC with shared backend and/or UI structure for 2–3 similar filings.
• Identified risks and technical edge cases
Timebox:
• 1–2 weeks for initial spike (analysis + POC)
Activity
OlgaPotiagalova commentedon Oct 8, 2025
The preliminary discussion with the team concluded that grouping on the back-end is not recommended.
@vysakh-menon-aot, @argush3, could you please elaborate on the recommendation against back-end grouping — including any challenges, trade-offs, or other considerations?
OlgaPotiagalova commentedon Oct 8, 2025
@thorwolpert , Melissa had advised that you are already looking into it. Could you please review and provide your recommendation and guidance. Thank you
severinbeauvais commentedon Oct 8, 2025
Severin's working notes -- ignore these and see Analysis below
"We shouldn't do this" is a valid response but needs an explanation.
"We shouldn't do this now" is a valid response but needs an explanation.
Outstanding questions
Analysis
Data model considerations
We already have liquidation flag, liquidator, directors, officers, receiver, types, ...
Some BE work is already done by Kevin, Ketaki, Megan...
Should we combine related filings and use sub-types to distinguish them?
Can we create an "invalid address" (eliminated address) record, which is missing city and postal code, or will this break things?
-> AC and VM suggest that all filings should be kept separate in BE (API + Filer).
Schemas
Can we have common/shared schemas? Probably. We can use validation in the API for specific things if needed (eg, cannot add liquidator to a cease filing).
How will these changes affect data migration?
Data sync
Do the data changes need to be synced back to COLIN?
How will these changes affect data migration?
Upload paper filings instead of processing?OUT OF SCOPEConsider but do not invetigate auto-parsing via AI (Google Form Parser). (As a replacement for UI forms.) What would need to be developed?
What do we recommend? Should we try this or not? What criteria should we use to decide?
The only thing I want to say here is that using AI to convert a paper form to a filing might replace the UI but does not replace the BE processing that needs to be done.
Would it make sense to simply upload paper-based filings (and thus not update the business' data)?Would this satisfy the reason that some of these filings exist (eg, to remove Records Office address)?What about data that needs to be shared to 3rd parties, if we don't update the data?Will the business summary be out of date if we don't update some data?We do something that I think is similar with Court Order filings: we upload a statement and/or document but we don't change the business state. Instead, we show an alert that "this business has a court order", and the reader of the ledger needs to find that court order filing to read the details.UI design and development
UI development for these filings was initially planned for "after xpro filings",
Some Jupyter notebooks already exist.
FUTURE: AI could interpret paper forms and produce filing JSON, thus bypassing the UI.
Can we combine related filings into a single UI page? Yes. We do that already for some staff filings. It will increase complexity (and may require special UI/UX design). As for long-term maintenance, it may be better with a "combined" page. These considerations probably cancel out (net neutral result).
Legislation concerns
Other ideas
I think it might make sense to work on several of these filings concurrently (instead of sequentially or combining them), to leverage their similarities (components, schema, validations, db updates).
OlgaPotiagalova commentedon Oct 8, 2025
There are two Liquidation filings that make business historical. They should be synchronized to COLIN. No synchronization is needed for the rest of the filings
OlgaPotiagalova commentedon Oct 8, 2025
To contain the scope and maintain focus, please exclude uploading paper filings instead of processing from this assessment. We will create a separate spike ticket if needed.
severinbeauvais commentedon Oct 20, 2025
Analysis
Introduction
Dylan's "Unloved Filings" spreadsheet separates the subject filings logically into the following categories according to the data they change.
Therefore, there may be opportunities to group the implementation of some filings for faster implementation and/or a better process for users.
There is a functional separation between the back-end and the front-end code so I look at each separately, below.
Back-end (API, other services and schema) Analysis
This has been discussed with Argus and Vysakh and the strong preference was to keep the filings separate, since they all do something different, regardless that the data fields may be the same. Keeping the filings separate would also fit in best with the existing API and Filer architecture.
It may be possible to have a common schema (or sub-schemas) for similar filings. This probably won't save much time since all possibilities need to be accounted for, either in a single schema or separate schemas. It's probably a bit more complex to have a common schema for separate filings, but using sub-schemas (for common data objects such as a person or address) will most certainly be beneficial and they may already exist.
Implementing related filings concurrently or consecutively may save some time due to familiarity and similar code changes.
For more info, see #27919.
Front-end (UI) Analysis
Option 1: Jupyter Notebook
A Jupyter Notebook can be created for each filing. (I believe some already exist.)
Advantages:
Disadvantages:
Estimate: 1 day per filing (times 30 filings)
Option 2: separate filings
A page could be created for each filing required.
Advantages:
Disadvantages:
Estimate: 1 week per filing (times 30 filings)
Option 3: multi-filing
Several related filings could be combined into a single page that configures itself according to what the user selects (eg, enter some info OR change some info OR correct some info).
Advantages:
Disadvantages:
Estimate: 5 weeks per combined filing (times 5 or more groups)
Option 4: poly-filing
Several related filings could be combined into a single page that provides all options at once for entering/changing/correcting info and which submits the correct filing type(s) according to any changes made.
This is similar to the future View and Change Business Information page (ie, Alteration) where we would also support office address changes and director changes, and in the background, several filings (Alteration, COA, COD) would be submitted and processed.
Advantages:
Disadvantages:
Estimate: 5-6 weeks per combined filing (times 5 or more groups)
Assessment and Recommendations
There is a strong technical preference for keeping the filings separate in the BE.
Although there is some difference in implementation effort for the FE (UI) options, I believe it should be decided according to:
Should we implement grouped filings in the UI or not? If all filings were the same priority/frequency, some grouping makes sense. But some filings are rare (or never used) so it may be best to spend minimum effort to support those.
I recommend the following approach:
In summary, I am not recommending a particular FE (UI) approach because it depends on a lot of things and all options are feasible. However, I do recommend steps 1 and 2 above and deferring any further decisions on UI approach until later.
Deliverables
No deliverable are available at this time.
OlgaPotiagalova commentedon Oct 31, 2025
Summary of the analysis and estimates transferred to the RAID ticket https://app.zenhub.com/workspaces/raid--work-space-617c3d4cef313f001d715a7c/issues/gh/bcgov-registries/raid/724