From 12b6d59cace155f72939a92c0d9a7fed3d4c9d0d Mon Sep 17 00:00:00 2001 From: ketaki-deodhar Date: Mon, 29 Jul 2024 14:33:46 -0700 Subject: [PATCH 01/10] 22212 - initial commit --- docs/business.yaml | 99 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) diff --git a/docs/business.yaml b/docs/business.yaml index 501fb7b9a..727fdf318 100644 --- a/docs/business.yaml +++ b/docs/business.yaml @@ -2936,6 +2936,105 @@ components: timestamp: '2022-04-19 15:59:55' reference: businessId: C1234567 + Continuation_In: + type: object + title: Continuation In Filing + description: Represents the filing for a foreign corporation applying to “continue in” to BC. To do so, authorization must have been received from the foreign jurisdiction. Authorization is typically in the form of a letter. The authorization must be sent to the registry as a precondition to this transaction. + required: + - continuationIn + properties: + continuationIn: + type: object + required: + - foreignJurisdiction + - authorization + - nameRequest + - offices + - parties + properties: + business: + $ref: '#/components/schemas/Business' + title: Provide identifier and/or taxId if already registered as extra provincial business. + foreignJurisdiction: + type: object + required: + - country + - identifier + - legalName + - incorporationDate + properties: + country: + $ref: '#/components/schemas/Foreign_jurisdiction/properties/country' + title: The jurisdiction country code. + region: + $ref: '#/components/schemas/Foreign_jurisdiction/properties/region' + title: The jurisdiction region code. + identifier: + type: string + title: Identifier of the business in the foreign jurisdiction. + legalName: + type: string + title: Legal name of the business in the foreign jurisdiction. + incorporationDate: + type: string + format: date + title: Incorporation date of the business in the foreign jurisdiction. + taxId: + type: string + title: The BN9 of this business + pattern: "^[0-9]{9}$" + affidavitFileKey: + type: string + title: The Identifier for affidavit file in file server + authorization: + type: object + required: + - files + - date + properties: + files: + type: array + minItems: 1 + items: + required: + - fileKey + - fileName + properties: + fileKey: + type: string + title: The Identifier for authorization file in file server + fileName: + type: string + title: The name of the file in file server + date: + type: string + format: date + title: Authorization date + expiryDate: + type: string + format: date + title: Authorization expiry date + # contactPoint: + # "$ref": https://bcrs.gov.bc.ca/.well_known/schemas/contactPoint + # nameRequest: + # "$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 + # recordsOffice: + # "$ref": https://bcrs.gov.bc.ca/.well_known/schemas/office + # required: + # - registeredOffice + # 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 + # courtOrder: + # "$ref": https://bcrs.gov.bc.ca/.well_known/schemas/court_order#/properties/courtOrder Consent_continuation_out: type: object title: Consent Continuation Out Filing From a405ceb7d72a17e448ce4a9d45e432cea35aba40 Mon Sep 17 00:00:00 2001 From: ketaki-deodhar Date: Mon, 29 Jul 2024 15:49:56 -0700 Subject: [PATCH 02/10] 22212 - update schema --- docs/business.yaml | 46 +++++++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/docs/business.yaml b/docs/business.yaml index 727fdf318..58667bc2c 100644 --- a/docs/business.yaml +++ b/docs/business.yaml @@ -3014,27 +3014,31 @@ components: type: string format: date title: Authorization expiry date - # contactPoint: - # "$ref": https://bcrs.gov.bc.ca/.well_known/schemas/contactPoint - # nameRequest: - # "$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 - # recordsOffice: - # "$ref": https://bcrs.gov.bc.ca/.well_known/schemas/office - # required: - # - registeredOffice - # 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 - # courtOrder: - # "$ref": https://bcrs.gov.bc.ca/.well_known/schemas/court_order#/properties/courtOrder + contactPoint: + $ref: '#/components/schemas/Contact_point' + nameRequest: + $ref: '#/components/schemas/Name_request' + nameTranslations: + $ref: '#/components/schemas/Name_translations' + offices: + type: object + description: 'Addresses related to the business. ' + properties: + registeredOffice: + $ref: '#/components/schemas/Office' + recordsOffice: + $ref: '#/components/schemas/Office' + required: + - registeredOffice + parties: + type: array + description: 'Persons having a role in the corporation eg: company officer.' + items: + $ref: '#/components/schemas/party' + shareStructure: + $ref: '#/components/schemas/Share_structure' + courtOrder: + $ref: '#/components/schemas/Court_order' Consent_continuation_out: type: object title: Consent Continuation Out Filing From ded5906230a7eff267c4e58d25a721d6612afe1e Mon Sep 17 00:00:00 2001 From: ketaki-deodhar Date: Tue, 30 Jul 2024 14:16:46 -0700 Subject: [PATCH 03/10] 22212 - add contnuation endpoint --- docs/business.yaml | 263 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 257 insertions(+), 6 deletions(-) diff --git a/docs/business.yaml b/docs/business.yaml index d73d74d61..9183ab1f6 100644 --- a/docs/business.yaml +++ b/docs/business.yaml @@ -2141,6 +2141,140 @@ paths: name: amalgamationApplication status: DRAFT submitter: mocked submitter + continuation-in-success-response: + summary: Continuation In Response + value: + filing: + continuationIn: + authorization: + date: '2024-07-01' + files: [] + contactPoint: + email: test@test.com + phone: 1234567890 + foreignJurisdiction: + country: US + identifier: TEST1234 + incorporationDate: '2024-06-01' + legalName: Test business + region: AL + nameRequest: + legalName: KD TEST CONT IN LTD. + legalType: C + nrNumber: NR 1234567 + nameTranslations: [] + offices: + recordsOffice: + deliveryAddress: + addressCity: Surrey + addressCountry: CA + addressRegion: BC + deliveryInstructions: + postalCode: V3S 7N3 + streetAddress: 5656 187 St + streetAddressAdditional: + mailingAddress: + addressCity: Surrey + addressCountry: CA + addressRegion: BC + deliveryInstructions: + postalCode: V3S 7N3 + streetAddress: 5656 187 St + streetAddressAdditional: + registeredOffice: + deliveryAddress: + addressCity: Surrey + addressCountry: CA + addressRegion: BC + deliveryInstructions: + postalCode: V3S 7N3 + streetAddress: 5656 187 St + streetAddressAdditional: + mailingAddress: + addressCity: Surrey + addressCountry: CA + addressRegion: BC + deliveryInstructions: + postalCode: V3S 7N3 + streetAddress: 5656 187 St + streetAddressAdditional: + parties: + - mailingAddress: + streetAddress: mailing_address - address line one + streetAddressAdditional: + addressCity: mailing_address city + addressCountry: CA + postalCode: H0H0H0 + addressRegion: BC + officer: + firstName: Joe + lastName: Swanson + middleName: P + email: joe@email.com + organizationName: + partyType: person + roles: + - appointmentDate: '2024-07-26' + roleType: Completing Party + - mailingAddress: + streetAddress: mailing_address - address line one + streetAddressAdditional: + addressCity: mailing_address city + addressCountry: CA + postalCode: H0H0H0 + addressRegion: BC + deliveryAddress: + streetAddress: mailing_address - address line one + streetAddressAdditional: + addressCity: mailing_address city + addressCountry: CA + postalCode: H0H0H0 + addressRegion: BC + officer: + firstName: Director + lastName: Swanson + middleName: P + email: joe@email.com + organizationName: + partyType: person + roles: + - appointmentDate: '2024-07-26' + roleType: Director + shareStructure: + shareClasses: + - name: Classic 1 Shares + priority: 0 + maxNumberOfShares: 0 + parValue: 0 + currency: string + hasMaximumShares: true + hasParValue: true + hasRightsOrRestrictions: true + series: + - name: string + priority: 0 + hasMaximumShares: true + hasRightsOrRestrictions: true + business: + identifier: TO12345678 + header: + accountId: 1234 + affectedFilings: [] + availableOnPaperOnly: false + certifiedBy: full name + colinIds: [] + comments: [] + date: 2024-07-25T19:54:02.949741+00:00 + deletionLocked: false + effectiveDate: 2024-07-25T19:54:02.949764+00:00 + email: no_one@never.get + filingId: 150338 + inColinOnly: false + isCorrected: false + isCorrectionPending: false + name: continuationIn + status: DRAFT + submitter: mocked submitter registration-sucess-response: summary: Registartion Response value: @@ -2222,13 +2356,18 @@ paths: content: application/json: examples: - registration-unauthorized-response: - summary: Registration - Not Authorized To Submit Response + amalgamation-unauthorized-response: + summary: Amalgamation - Not Authorized To Submit Response value: errorMessage: API backend third party service error. rootCause: message:You are not authorized to submit a filing for TgtPxoS4FF. - amalgamation-unauthorized-response: - summary: Amalgamation - Not Authorized To Submit Response + continuation-in-unauthorized-response: + summary: Continuation In - Not Authorized To Submit Response + value: + errorMessage: API backend third party service error. + rootCause: message:You are not authorized to submit a filing for TgtPxoS4FF. + registration-unauthorized-response: + summary: Registration - Not Authorized To Submit Response value: errorMessage: API backend third party service error. rootCause: message:You are not authorized to submit a filing for TgtPxoS4FF. @@ -2354,7 +2493,7 @@ paths: value: filing: header: - accountId: 3041 + accountId: 1234 certifiedBy: full name email: "no_one@never.get" date: '2024-07-26' @@ -2394,7 +2533,7 @@ paths: value: filing: header: - accountId: 3041 + accountId: 1234 certifiedBy: full name email: "no_one@never.get" date: '2024-07-26' @@ -2430,6 +2569,118 @@ paths: - appointmentDate: '2024-07-24' roleType: Completing Party type: vertical + continuation-in-request: + summary: Continuation In Request + value: + filing: + header: + accountId: 1234 + certifiedBy: full name + email: 'no_one@never.get' + date: '2024-07-26' + name: continuationIn + continuationIn: + authorization: + date: '2024-07-01' + files: [] + contactPoint: + email: test@test.com + phone: 1234567890 + foreignJurisdiction: + country: US + identifier: TEST1234 + incorporationDate: '2024-06-01' + legalName: Test business + region: AL + nameRequest: + nrNumber: NR 1234567 + legalName: TEST CONT IN LTD. + legalType: C + nameTranslations: [] + offices: + recordsOffice: + deliveryAddress: + streetAddress: delivery_address - address line one + addressCity: delivery_address city + addressCountry: Canada + postalCode: H0H0H0 + addressRegion: BC + mailingAddress: + streetAddress: mailing_address - address line one + addressCity: mailing_address city + addressCountry: Canada + postalCode: H0H0H0 + addressRegion: BC + registeredOffice: + deliveryAddress: + streetAddress: delivery_address - address line one + addressCity: delivery_address city + addressCountry: Canada + postalCode: H0H0H0 + addressRegion: BC + mailingAddress: + streetAddress: mailing_address - address line one + addressCity: mailing_address city + addressCountry: Canada + postalCode: H0H0H0 + addressRegion: BC + parties: + - mailingAddress: + streetAddress: mailing_address - address line one + streetAddressAdditional: + addressCity: mailing_address city + addressCountry: CA + postalCode: H0H0H0 + addressRegion: BC + officer: + firstName: Joe + lastName: Swanson + middleName: P + email: joe@email.com + organizationName: + partyType: person + roles: + - appointmentDate: '2024-07-26' + roleType: Completing Party + - mailingAddress: + streetAddress: mailing_address - address line one + streetAddressAdditional: + addressCity: mailing_address city + addressCountry: CA + postalCode: H0H0H0 + addressRegion: BC + deliveryAddress: + streetAddress: mailing_address - address line one + streetAddressAdditional: + addressCity: mailing_address city + addressCountry: CA + postalCode: H0H0H0 + addressRegion: BC + officer: + firstName: Director + lastName: Swanson + middleName: P + email: joe@email.com + organizationName: + partyType: person + roles: + - appointmentDate: '2024-07-26' + roleType: Director + shareStructure: + shareClasses: + - name: Classic 1 Shares + priority: 0 + maxNumberOfShares: 0 + parValue: 0 + currency: string + hasMaximumShares: true + hasParValue: true + hasRightsOrRestrictions: true + series: + - name: string + priority: 0 + hasMaximumShares: true + hasRightsOrRestrictions: true registration-request: summary: Registration Request value: From dccf6784524408994fc8e2b03f6ea5b68eb7cf06 Mon Sep 17 00:00:00 2001 From: ketaki-deodhar Date: Tue, 30 Jul 2024 15:10:06 -0700 Subject: [PATCH 04/10] 22212 - update to mack value --- docs/business.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/business.yaml b/docs/business.yaml index 9183ab1f6..90ebc2392 100644 --- a/docs/business.yaml +++ b/docs/business.yaml @@ -2159,7 +2159,7 @@ paths: legalName: Test business region: AL nameRequest: - legalName: KD TEST CONT IN LTD. + legalName: TEST CONT IN LTD. legalType: C nrNumber: NR 1234567 nameTranslations: [] From b9335113c4b1c9abc1bf7b21f727a97e84cfb056 Mon Sep 17 00:00:00 2001 From: ketaki-deodhar Date: Wed, 31 Jul 2024 10:07:03 -0700 Subject: [PATCH 05/10] 22212 - update schema name --- docs/oas/business.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/oas/business.yaml b/docs/oas/business.yaml index 2b668580b..d4919aab6 100644 --- a/docs/oas/business.yaml +++ b/docs/oas/business.yaml @@ -4414,7 +4414,7 @@ components: timestamp: '2022-04-19 15:59:55' reference: businessId: C1234567 - Continuation_In: + Continuation_in: type: object title: Continuation In Filing description: Represents the filing for a foreign corporation applying to “continue in” to BC. To do so, authorization must have been received from the foreign jurisdiction. Authorization is typically in the form of a letter. The authorization must be sent to the registry as a precondition to this transaction. From 9baf9d81f3b2ad63c118862c4e4fc7e58206cf73 Mon Sep 17 00:00:00 2001 From: ketaki-deodhar Date: Wed, 31 Jul 2024 15:06:45 -0700 Subject: [PATCH 06/10] 22212 - update with file upload example --- docs/oas/business.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/oas/business.yaml b/docs/oas/business.yaml index d4919aab6..e7f9258b4 100644 --- a/docs/oas/business.yaml +++ b/docs/oas/business.yaml @@ -2689,7 +2689,13 @@ paths: continuationIn: authorization: date: '2024-07-01' - files: [] + files: + - file: + lastModified: 1667594705083 + name: TestPDFfile.pdf + size: 83186 + fileKey: 0d41f3b2-f711-4733-88fd-8169646c7dbe.pdf + fileName: TestPDFfile.pdf contactPoint: email: test@test.com phone: 1234567890 @@ -3123,7 +3129,13 @@ paths: continuationIn: authorization: date: '2024-07-01' - files: [] + files: + - file: + lastModified: 1667594705083 + name: TestPDFfile.pdf + size: 83186 + fileKey: 0d41f3b2-f711-4733-88fd-8169646c7dbe.pdf + fileName: TestPDFfile.pdf contactPoint: email: test@test.com phone: 1234567890 From e012455c90bf9ddc50a253bb1b226cee38218464 Mon Sep 17 00:00:00 2001 From: ketaki-deodhar Date: Wed, 31 Jul 2024 16:00:24 -0700 Subject: [PATCH 07/10] 22212 - update with file upload response --- docs/oas/business.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/oas/business.yaml b/docs/oas/business.yaml index e7f9258b4..bdabccd4b 100644 --- a/docs/oas/business.yaml +++ b/docs/oas/business.yaml @@ -2690,11 +2690,7 @@ paths: authorization: date: '2024-07-01' files: - - file: - lastModified: 1667594705083 - name: TestPDFfile.pdf - size: 83186 - fileKey: 0d41f3b2-f711-4733-88fd-8169646c7dbe.pdf + - fileKey: 0d41f3b2-f711-4733-88fd-8169646c7dbe.pdf fileName: TestPDFfile.pdf contactPoint: email: test@test.com From 1711f2236c97f36889ce10ad7eff52222a83af21 Mon Sep 17 00:00:00 2001 From: ketaki-deodhar Date: Thu, 1 Aug 2024 10:11:20 -0700 Subject: [PATCH 08/10] 22212 - update date format --- docs/oas/business.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/oas/business.yaml b/docs/oas/business.yaml index bdabccd4b..16cf8b294 100644 --- a/docs/oas/business.yaml +++ b/docs/oas/business.yaml @@ -2807,9 +2807,9 @@ paths: certifiedBy: full name colinIds: [] comments: [] - date: 2024-07-25T19:54:02.949741+00:00 + date: '2024-07-25' deletionLocked: false - effectiveDate: 2024-07-25T19:54:02.949764+00:00 + effectiveDate: '2024-07-25' email: no_one@never.get filingId: 150338 inColinOnly: false From 709aa6fd57e8fe58928bc4a0e63252ee53e1d582 Mon Sep 17 00:00:00 2001 From: ketaki-deodhar Date: Thu, 1 Aug 2024 10:27:50 -0700 Subject: [PATCH 09/10] 22212 - update date format --- docs/oas/business.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/oas/business.yaml b/docs/oas/business.yaml index 16cf8b294..adb032e63 100644 --- a/docs/oas/business.yaml +++ b/docs/oas/business.yaml @@ -2809,7 +2809,7 @@ paths: comments: [] date: '2024-07-25' deletionLocked: false - effectiveDate: '2024-07-25' + effectiveDate: 2024-07-25T19:54:02.949764+00:00 email: no_one@never.get filingId: 150338 inColinOnly: false From 9a7dabaf77bb37aa6ebe88def9d46a626a4519da Mon Sep 17 00:00:00 2001 From: ketaki-deodhar Date: Thu, 1 Aug 2024 10:36:10 -0700 Subject: [PATCH 10/10] 22212 - update date format --- docs/oas/business.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/oas/business.yaml b/docs/oas/business.yaml index adb032e63..41788798b 100644 --- a/docs/oas/business.yaml +++ b/docs/oas/business.yaml @@ -2809,7 +2809,7 @@ paths: comments: [] date: '2024-07-25' deletionLocked: false - effectiveDate: 2024-07-25T19:54:02.949764+00:00 + effectiveDate: '2024-07-25T19:54:02.949764+00:00' email: no_one@never.get filingId: 150338 inColinOnly: false