Skip to content

Legal-API: Add Additional Validation to Prevent Unexpected Data in filing_json #30387

Closed

Description

@meawong

Analysis will be completed in #30386

Missing: Validate that only the expected party roleTypes are included (#30387)
List of Impacted Filings:

  1. Amalgamation Application
  • Completing Party
  • Director
  1. Change of Registration
  • Completing Party
  • Partner
  • Proprietor
  1. Continuation In
  • Completing Party
  • Director
  1. Conversion
  • Completing Party
  • Partner
  • Proprietor
  1. Correction
  • Completing Party
  • Partner
  • Proprietor
  1. Dissolution
  • Custodian
  • Liquidator
  • Completing Party
  1. Incorporation Application
  • Completing Party
  • Incorporator
  • Director
  1. Intent to Liquidate
  • Liquidator
  1. Registration
  • Completing Party
  • Partner
  • Proprietor

Full List of Role Types: "Completing Party", "Custodian", "Liquidator", "Director", "Incorporator", "Proprietor", "Partner", "Applicant", "Receiver", "Officer"

Activity

  1. added
    Entities Team
    on Aug 26, 2025
  2. added theissue type on Aug 26, 2025
  3. changed the title [-]Filer: Implement Solution to Protect Against Tampering of Filing_json[/-] [+]Filer: Prevent Additional or Unexpected Data in filing_json from being Processed[/+] on Oct 31, 2025
  4. changed the title [-]Filer: Prevent Additional or Unexpected Data in filing_json from being Processed[/-] [+]Legal-API: Add Additional Validation to Prevent Unexpected Data in filing_json[/+] on Nov 4, 2025
  5. meawong commented on Nov 25, 2025

    @meawong
    CollaboratorAuthor

    @gunanagar QA Note: Confirm that if a user submits a filing_json with a party that includes an unexpected roleType (see list above), that they receive a validation error message: "Invalid party role(s) provided: {list of unexpected roles}"

  6. riyazuddinsyed commented on Nov 28, 2025

    @riyazuddinsyed
    Contributor

    Verified in dev.Working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Entities Team

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions