feature/schemafix - Added missing fields for RepresentativeIndividual - #354
feature/schemafix - Added missing fields for RepresentativeIndividual#354david-ruiz-cko wants to merge 2 commits into
Conversation
🟢 Risk Classification: LOWApproval route: AI Auto-Approval Classification reasons
Operational gates
Files analysed: 4 wall-e 2026.06.19-02 · policy |
🔬 Debug — why this classification?Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.
Kinds:
See issue #3 for the proposal to formalise this map as Appendix A of the standards doc. wall-e 2026.06.19-02 · debug |
There was a problem hiding this comment.
✅ Auto-approved — this PR meets all Low-risk criteria.
All checks passed, no unresolved comments, and the change classification is:
no_low_class_matchedprod_source_modified2.2.6_logical_extension:The PR adds new plain data-holding classes and properties to an existing model class within the same namespace, is non-destructive, introduces no new endpoints/auth/persistence/external integrations, and is a natural extension of the existing accounts schema.
wall-e 2026.06.19-02 · policy 376219bc71e6…
🟡 Risk Classification: MINORApproval route: AI Review + Human Approval Classification reasons
Operational gates
Files analysed: 8 wall-e 2026.06.19-02 · policy |
🔬 Debug — why this classification?Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.
Kinds:
See issue #3 for the proposal to formalise this map as Appendix A of the standards doc. wall-e 2026.06.19-02 · debug |
|



This pull request introduces support for new fields and types related to financial statements and individual representative information in the Accounts API v3.0. The main changes include adding models for citizenship, national ID types, and financial statements, updating the
RepresentativeIndividualandOnboardSubEntityDocumentsclasses to use these new models, and enhancing test coverage to reflect these updates.Accounts API v3.0 Model Additions and Updates:
Citizenshipclass to represent a representative's citizenship or legal status, and updatedRepresentativeIndividualto include thecitizenshipsarray andnational_id_typefields. [1] [2]NationalIdTypeclass as an enum for various types of national identification numbers.FinancialStatementsclass andFinancialStatementsTypeenum to model financial statements documents, and updatedOnboardSubEntityDocumentsto useFinancialStatementsinstead ofDocumentfor thefinancial_statementsfield. [1] [2] [3]Test Enhancements:
OnboardEntityRequestSerializationTestto use the newFinancialStatementsmodel in test data. [1] [2]RepresentativeIndividualSerializationTestto test serialization and deserialization of the newcitizenshipsandnational_id_typefields. [1] [2] [3]These changes ensure the codebase is aligned with the Accounts API v3.0 schema and improve test coverage for the new and updated models.