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.
8438 cooperative schema update (#65)
* 8438 cooperative schema update * removing shared class required since its not available in coop
- Loading branch information
1 parent
9a3cab5
commit 6105426
Showing
10 changed files
with
205 additions
and
38 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 |
---|---|---|
|
@@ -270,8 +270,8 @@ | |
} | ||
|
||
CONTACT_POINT = { | ||
'email': '[email protected]', | ||
'phone': '123-456-7890' | ||
'email': '[email protected]', | ||
'phone': '123-456-7890' | ||
} | ||
|
||
COMMENT_BUSINESS = { | ||
|
@@ -1000,6 +1000,87 @@ | |
} | ||
} | ||
|
||
COOP_INCORPORATION = { | ||
'nameRequest': { | ||
'legalType': 'CP' | ||
}, | ||
'nameTranslations': [ | ||
{'name': 'ABC Ltd.'}, | ||
{'name': 'Financière de l’Odet'}, | ||
{'name': 'Société Générale'} | ||
], | ||
'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', | ||
} | ||
} | ||
}, | ||
'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': 'Completing Party', | ||
'appointmentDate': '2018-01-01' | ||
|
||
}, | ||
{ | ||
'roleType': 'Director', | ||
'appointmentDate': '2018-01-01' | ||
|
||
} | ||
] | ||
} | ||
], | ||
'contactPoint': { | ||
'email': '[email protected]', | ||
'phone': '123-456-7890' | ||
}, | ||
'cooperative': { | ||
'cooperativeAssociationType': 'CP', | ||
'rulesFileKey': 'cooperative/fa00c6bf-eaad-4a07-a3d2-4786ecd6b83b.jpg', | ||
'rulesFileName': 'rule_file.jpg', | ||
'memorandomFileKey': 'cooperative/f722bf16-86be-430d-928d-5529853a3a2c.pdf', | ||
'memorandomFileName': 'memorandom_file.pdf' | ||
} | ||
} | ||
|
||
CORRECTION_INCORPORATION = { | ||
'filing': { | ||
'header': { | ||
|
@@ -1612,6 +1693,24 @@ | |
} | ||
} | ||
|
||
COOP_INCORPORATION_FILING_TEMPLATE = { | ||
'filing': { | ||
'header': { | ||
'name': 'incorporationApplication', | ||
'date': '2019-04-08', | ||
'certifiedBy': 'full name', | ||
'email': '[email protected]', | ||
'filingId': 1, | ||
'effectiveDate': '2019-04-15T00:00:00+00:00' | ||
}, | ||
'business': { | ||
'identifier': 'T1234567', | ||
'legalType': 'CP' | ||
}, | ||
'incorporationApplication': COOP_INCORPORATION | ||
} | ||
} | ||
|
||
ALTERATION_FILING_TEMPLATE = { | ||
'filing': { | ||
'header': { | ||
|
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,35 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://bcrs.gov.bc.ca/.well_known/schemas/cooperative", | ||
"type": "object", | ||
"title": "Cooperative Schema", | ||
"required": [ | ||
"cooperativeAssociationType", | ||
"rulesFileKey", | ||
"rulesFileName", | ||
"memorandomFileKey", | ||
"memorandomFileName" | ||
], | ||
"properties": { | ||
"cooperativeAssociationType": { | ||
"type": "string", | ||
"title": "The association type for cooperative filing" | ||
}, | ||
"rulesFileKey": { | ||
"type": "string", | ||
"title": "The Identifier for rules file in file server" | ||
}, | ||
"rulesFileName": { | ||
"type": "string", | ||
"title": "The file name while uploading" | ||
}, | ||
"memorandomFileKey": { | ||
"type": "string", | ||
"title": "The Identifier for memorandom file in file server" | ||
}, | ||
"memorandomFileName": { | ||
"type": "string", | ||
"title": "The file name while uploading" | ||
} | ||
} | ||
} |
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
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
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
Oops, something went wrong.