generated from bcgov/bcrs-template-ui
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Schema changes - Transition filing (#47)
- Loading branch information
Lekshmi
authored
Oct 21, 2020
1 parent
d16370c
commit 5e78850
Showing
7 changed files
with
422 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1314,6 +1314,154 @@ | |
} | ||
} | ||
|
||
TRANSITION = { | ||
'nameTranslations': {'new': ['ABC Ltd.', 'Financière de l’Odet', 'Société Générale']}, | ||
'hasProvisions': False, | ||
'offices': { | ||
'registeredOffice': { | ||
'deliveryAddress': { | ||
'streetAddress': 'delivery_address - address line one', | ||
'addressCity': 'delivery_address city', | ||
'addressCountry': 'CA', | ||
'postalCode': 'H0H0H0', | ||
'addressRegion': 'BC' | ||
}, | ||
'mailingAddress': { | ||
'streetAddress': 'mailing_address - address line one', | ||
'addressCity': 'mailing_address city', | ||
'addressCountry': 'CA', | ||
'postalCode': 'H0H0H0', | ||
'addressRegion': 'BC', | ||
} | ||
}, | ||
'recordsOffice': { | ||
'deliveryAddress': { | ||
'streetAddress': 'delivery_address - address line one', | ||
'addressCity': 'delivery_address city', | ||
'addressCountry': 'CA', | ||
'postalCode': 'H0H0H0', | ||
'addressRegion': 'BC' | ||
}, | ||
'mailingAddress': { | ||
'streetAddress': 'mailing_address - address line one', | ||
'addressCity': 'mailing_address city', | ||
'addressCountry': 'CA', | ||
'postalCode': 'H0H0H0', | ||
'addressRegion': 'BC', | ||
} | ||
} | ||
}, | ||
'parties': [ | ||
{ | ||
'officer': { | ||
'id': 1, | ||
'firstName': 'Joe', | ||
'lastName': 'Swanson', | ||
'middleName': 'P', | ||
'email': '[email protected]', | ||
'orgName': '', | ||
'partyType': 'person' | ||
}, | ||
'mailingAddress': { | ||
'streetAddress': 'mailing_address - address line one', | ||
'streetAddressAdditional': '', | ||
'addressCity': 'mailing_address city', | ||
'addressCountry': 'CA', | ||
'postalCode': 'H0H0H0', | ||
'addressRegion': 'BC' | ||
}, | ||
'deliveryAddress': { | ||
'streetAddress': 'delivery_address - address line one', | ||
'streetAddressAdditional': '', | ||
'addressCity': 'delivery_address city', | ||
'addressCountry': 'CA', | ||
'postalCode': 'H0H0H0', | ||
'addressRegion': 'BC' | ||
}, | ||
'roles': [ | ||
{ | ||
'roleType': 'Director', | ||
'appointmentDate': '2018-01-01' | ||
|
||
} | ||
] | ||
}, | ||
{ | ||
'officer': { | ||
'id': 2, | ||
'firstName': '', | ||
'lastName': '', | ||
'middleName': '', | ||
'orgName': 'Xyz Inc.', | ||
'partyType': 'org' | ||
}, | ||
'mailingAddress': { | ||
'streetAddress': 'mailing_address - address line one', | ||
'streetAddressAdditional': '', | ||
'addressCity': 'mailing_address city', | ||
'addressCountry': 'CA', | ||
'postalCode': 'H0H0H0', | ||
'addressRegion': 'BC' | ||
}, | ||
'roles': [ | ||
{ | ||
'roleType': 'Director', | ||
'appointmentDate': '2018-01-01' | ||
} | ||
] | ||
} | ||
], | ||
'shareStructure': { | ||
'resolutionDates': ['2020-05-23', '2020-06-01'], | ||
'shareClasses': [ | ||
{ | ||
'id': 1, | ||
'name': 'Share Class 1', | ||
'priority': 1, | ||
'hasMaximumShares': True, | ||
'maxNumberOfShares': 100, | ||
'hasParValue': True, | ||
'parValue': 10, | ||
'currency': 'CAD', | ||
'hasRightsOrRestrictions': False, | ||
'series': [ | ||
{ | ||
'id': 1, | ||
'name': 'Share Series 1', | ||
'priority': 1, | ||
'hasMaximumShares': True, | ||
'maxNumberOfShares': 50, | ||
'hasRightsOrRestrictions': False, | ||
}, | ||
{ | ||
'id': 2, | ||
'name': 'Share Series 2', | ||
'priority': 2, | ||
'hasMaximumShares': True, | ||
'maxNumberOfShares': 100, | ||
'hasRightsOrRestrictions': False, | ||
} | ||
] | ||
}, | ||
{ | ||
'id': 2, | ||
'name': 'Share Class 2', | ||
'priority': 1, | ||
'hasMaximumShares': False, | ||
'maxNumberOfShares': None, | ||
'hasParValue': False, | ||
'parValue': None, | ||
'currency': None, | ||
'hasRightsOrRestrictions': True, | ||
'series': [] | ||
}, | ||
] | ||
}, | ||
'contactPoint': { | ||
'email': '[email protected]', | ||
'phone': '123-456-7890' | ||
} | ||
} | ||
|
||
FILING_TEMPLATE = { | ||
'filing': { | ||
|
@@ -1394,6 +1542,25 @@ | |
} | ||
} | ||
|
||
TRANSITION_FILING_TEMPLATE = { | ||
'filing': { | ||
'header': { | ||
'name': 'transition', | ||
'date': '2020-10-19', | ||
'certifiedBy': 'full name', | ||
'email': '[email protected]', | ||
'filingId': 1 | ||
}, | ||
'business': { | ||
'foundingDate': '2018-01-01T00:00:00+00:00', | ||
'identifier': 'BC1234567', | ||
'lastLedgerTimestamp': '2019-04-15T20:05:49.068272+00:00', | ||
'legalName': 'legal name - BC1234567', | ||
'legalType': 'BC' | ||
}, | ||
'transition': TRANSITION | ||
} | ||
} | ||
|
||
STUB_FILING = { | ||
} | ||
|
@@ -1419,7 +1586,8 @@ | |
('continuedOut', STUB_FILING), | ||
('changeOfDirectors', CHANGE_OF_DIRECTORS_MAILING), # bcorp-specific version of filing | ||
('alteration', ALTERATION), | ||
('conversion', CONVERSION) | ||
('conversion', CONVERSION), | ||
('transition', TRANSITION) | ||
] | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://bcrs.gov.bc.ca/.well_known/schemas/transition", | ||
"required": [ | ||
"nameTranslations", | ||
"offices", | ||
"parties", | ||
"shareStructure", | ||
"hasProvisions" | ||
], | ||
"type": "object", | ||
"title": "Transition Filing", | ||
"properties": { | ||
"nameTranslations": { | ||
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/name_translations" | ||
}, | ||
"offices": { | ||
"registeredOffice": { | ||
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/office" | ||
}, | ||
"recordsOffice": { | ||
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/office" | ||
}, | ||
"required": ["registeredOffice", "recordsOffice"] | ||
}, | ||
"parties": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/parties#/definitions/party" | ||
} | ||
}, | ||
"shareStructure": { | ||
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/share_structure" | ||
}, | ||
"hasProvisions": { | ||
"type": "boolean", | ||
"title": "Has Pre-existing company provisions?" | ||
}, | ||
"contactPoint": { | ||
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/contactPoint" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,5 +42,6 @@ | |
('alteration.json'), | ||
('name_translations.json'), | ||
('conversion.json'), | ||
('transition.json'), | ||
('diff.json') | ||
] |
Oops, something went wrong.