Skip to content

Commit

Permalink
fix-3
Browse files Browse the repository at this point in the history
Signed-off-by: Hongjing Chen <[email protected]>
  • Loading branch information
chenhongjing committed Dec 5, 2023
1 parent c2795e5 commit 4cc46e5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
7 changes: 5 additions & 2 deletions src/registry_schemas/example_data/schema_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,18 @@
},
{
'role': 'amalgamating',
'legalName': 'Foreign Co.',
'foreignLegalName': 'Foreign Co.',
'foreignJurisdiction': FOREIGN_JURISDICTION,
'corpNumber': '123456'
'foreignCorpNumber': '123456'
}
],
'nameRequest':{
'legalType': 'BC',
'legalName': 'Resulting Business Name'
},
'nameTranslations': [
{'name': 'ABCD Ltd.'}
],
'offices': {
'registeredOffice': {
'deliveryAddress': {
Expand Down
11 changes: 7 additions & 4 deletions src/registry_schemas/schemas/amalgamation.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"required": [
"role",
"foreignJurisdiction",
"legalName",
"corpNumber"
"foreignLegalName",
"foreignCorpNumber"
]
}
],
Expand All @@ -60,15 +60,18 @@
"foreignJurisdiction": {
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/foreign_jurisdiction"
},
"legalName": { "type": "string" },
"corpNumber": { "type": "string" }
"foreignLegalName": { "type": "string" },
"foreignCorpNumber": { "type": "string" }
}
}
},
"nameRequest": {
"title": "The resulting business name and type",
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/name_request"
},
"nameTranslations": {
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/name_translations"
},
"offices": {
"registeredOffice": {
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/office"
Expand Down

0 comments on commit 4cc46e5

Please sign in to comment.