generated from bcgov/bcrs-template-ui
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8438 cooperative schema update #65
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2459714
8438 cooperative schema update
vysakh-menon-aot bfd6037
Merge branch 'master' of https://github.com/bcgov/business-schemas in…
vysakh-menon-aot 1bd4497
no message
vysakh-menon-aot 5e1c0a6
test and sample data
vysakh-menon-aot a5ec290
removing shared class required since its not available in coop
vysakh-menon-aot 7d2fe64
no message
vysakh-menon-aot f133f8b
no message
vysakh-menon-aot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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': { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use the FILING_HEADER, easier to keep current |
||
'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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we can start making the examples fit the same as the schema definition?
a value for _ cooperative_ that is then added to the base incorporation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you suggest to include cooperative in incorporation (example) itself?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the default incorporation (core) no.
I think we should split these out so that we end up with core, and then IA-, ben, ltd, coop, etc.