Skip to content

Legal API: Add Whitespace Validation in BE #30385

Closed

Description

@meawong

See detailed spreadsheet: https://docs.google.com/spreadsheets/d/1N5zs291nvPpHbGCxJS9jmxX3yoUyG_mi-906j-_TuHo/edit?gid=117926542#gid=117926542

New Validations:

  • Agm Location Change reason field is required & cannot contain leading/trailing whitespace
  • Voluntary Dissolution custodian of records -> email field -> cannot contain any whitespace
  • Voluntary Dissolution custodian of records -> if partyType === 'organization' -> organization Name field is required & cannot contain leading/trailing whitespace
  • For all filings, certifiedBy field -> if filled, and contains non-whitespace characters, then it cannot contain leading/trailing whitespace
  • For IA, Amalg., Cont. In, Alteration, Correction, if has nameTranslation -> name field is required & cannot contain leading/trailing whitespace

Updates to Existing Validations (ex. try IA)

  • Share series name and share class name are required & cannot contain leading/trailing whitespace
  • Parties -> Officer -> [name_field]
    • firstName is required & cannot contain leading/trailing whitespace
    • middleName if filled, and contains non-whitespace characters, then it cannot contain leading/trailing whitespace
    • lastName is required & cannot contain leading/trailing whitespace & cannot be longer than 30 char

Activity

  1. added
    Entities Team
    on Aug 26, 2025
  2. added theissue type on Aug 26, 2025
  3. changed the title [-]Add Whitespace Validation in BE[/-] [+]Legal API: Add Whitespace Validation in BE[/+] on Aug 26, 2025
  4. self-assigned this
    on Aug 27, 2025
  5. riyazuddinsyed commented on Sep 26, 2025

    @riyazuddinsyed
    Contributor

    Verified in dev.Woorking 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