openapi: 3.0.1
info:
  title: businesses
  version: '2.0'
  description: |-
    The Business Registry is a centralized electronic register of all business in British Columbia. This encompasses all types of businesses authorized to do business by the Registrar. The Business API provides a secure means of integrating your business systems with the Registry.
    <br/>
    <br/>This API supports the following filings:

    | Filing | Supported Business Types |
    | :--- | :--- |
    | Incorporation Application | BC, BEN, CC, CP, ULC |
    | Amalgamation Regular | BC, BEN, C, CBEN, CC, CCC, CUL, ULC |
    | Amalgamation Short Form Horizontal | BC, BEN, C, CBEN, CC, CCC, CUL, ULC |
    | Amalgamation Short Form Vertical | BC, BEN, C, CBEN, CC, CCC, CUL, ULC |
    | Continuation In | C, CBEN, CCC, CUL |
    | Registration | GP, SP |
    | AGM Extension Information | BC, BEN, C, CBEN, CC, CCC, CUL, ULC |
    | AGM Location Change Information | BC, BEN, C, CBEN, CC, CCC, CUL, ULC |
    | Alteration | BC, BEN, C, CBEN, CC, CCC, CUL, ULC |
    | Annual Report | BC, BEN, C, CBEN, CC, CCC, CP, CUL, ULC |
    | Change of Address | BC, BEN, C, CBEN, CC, CCC, CP, CUL, ULC |
    | Change of Directors | BC, BEN, C, CBEN, CC, CCC, CP, CUL, ULC |
    | Change of Officers | BC, BEN, C, CBEN, CC, CCC, CP, CUL, ULC |
    | Change of Registration | GP, SP |
    | Consent Continuation Out | BC, BEN, C, CBEN, CC, CCC, CUL, ULC |
    | Dissolution | BC, BEN, C, CBEN, CC, CCC, CP, CUL, GP, SP, ULC |
    | Special Resolution | CP |

    All API requests must include a BC Registries issued API key (`x-apikey` header) and an Account ID (`Account-Id` header).

    **Creating a new business is a two-step call.** `POST /businesses?draft=true` creates a temporary identifier (for example `TO12345678`) and returns it with the draft filing id. Submit the completed filing with `PUT /businesses/{temporary identifier}/filings/{filingId}`. A `POST /businesses` without `draft=true` is rejected, because the identifier in the body cannot match the temporary identifier the API creates during the call.

    **Filing header rules for API users:**
    - `filing.business.identifier` must equal the identifier in the URL whenever a filing is submitted or validated (the temporary identifier for a new business). Only a `draft=true` save is exempt from this check.
    - `filing.header.authorizationReceived` must be `true` for corporation filings (BC, BEN, C, CBEN, CC, CCC, CUL, ULC) of these types: incorporation application, amalgamation application, continuation in, alteration, annual report, change of address, change of directors, consent continuation out, consent amalgamation out, continuation out, amalgamation out, AGM extension, AGM location change, voluntary dissolution, correction, restoration.
    - `filing.header.certifiedBy` is required for API users on incorporation application, amalgamation application and consent continuation out. For cooperatives, sole proprietorships and general partnerships it is required on annual report, change of address, change of directors, registration, change of registration, special resolution, voluntary dissolution and client corrections. It is recommended on every other filing, as the name of the person submitting it.
  contact:
    name: BC Registry
    email: admin@daxiom.com
    url: 'https://developer.bcregistry.daxiom.ca/'
  license:
    name: BSD-3-Clause
    url: 'https://opensource.org/license/bsd-3-clause'
servers:
  - url: 'https://sandbox.api.connect.gov.bc.ca/business/api/v2'
    description: Test
  - url: 'https://api.connect.gov.bc.ca/business/api/v2'
    description: Production
paths:
  '/businesses/{identifier}':
    parameters:
      - $ref: '#/components/parameters/identifier'
    get:
      summary: get_business
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Business'
            application/xml:
              schema:
                $ref: '#/components/schemas/Business'
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      operationId: get-business
      description: '<p>Retrieve a set of information about a business.</p> <p>Access to a business and its information is dependent on the user being linked to that business, the API will return a 401 response if the user does not have access to that business.</p><p>The API will also return a 404 response if the business cannot be found.</p>'
      parameters:
        - $ref: '#/components/parameters/accountId'
      tags:
        - business
  '/businesses/{identifier}/filings':
    parameters:
      - $ref: '#/components/parameters/identifier'
    get:
      summary: get filing ledger
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Ledger'
      operationId: get-businesses-identifier-filings
      description: Retrieve the list of filings recorded on a business entities ledger.
      tags:
        - business
      parameters:
        - $ref: '#/components/parameters/accountId'
    post:
      summary: submit new filing
      operationId: post-businesses-identifier-filings
      responses:
        '201':
          description: CREATED
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                agm-extension-success-response:
                  summary: AGM Extension Response
                  value:
                    filing:
                      agmExtension:
                        agmDueDate: '2026-06-20'
                        agmYear: '2024'
                        alreadyExtended: false
                        currentDate: '2024-07-10'
                        expireDateApprovedExt: '2026-06-20'
                        extReqForAgmYear: false
                        extensionDuration: 6
                        incorporationDate: '2024-06-20T17:31:58.000Z'
                        isEligible: true
                        isFirstAgm: true
                        isGoodStanding: true
                        isPrevExtension: false
                        prevAgmDate: null
                        prevExpiryDate: null
                        requestExpired: false
                        totalApprovedExt: 6
                        year: '2024'
                      business:
                        foundingDate: '2024-06-20T17:31:58.000+00:00'
                        identifier: BC0882365
                        legalName: 882365 B.C. LTD.
                        legalType: BC
                      header:
                        accountId: 1234
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: First Last
                        colinIds: []
                        comments: []
                        date: '2024-07-10T17:56:10.782107+00:00'
                        deletionLocked: false
                        effectiveDate: '2024-07-10T17:56:10.782138+00:00'
                        filingId: 149981
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        isPaymentActionRequired: false
                        name: agmExtension
                        paymentAccount: '12345'
                        paymentStatusCode: COMPLETED
                        paymentToken: '12345678'
                        status: PENDING
                        submitter: mocked submitter
                agm-location-change-success-response:
                  summary: AGM Location Change Response
                  value:
                    filing:
                      agmLocationChange:
                        agmLocation: Victoria, BC, Canada
                        reason: API Specs Tests
                        year: '2024'
                      business:
                        foundingDate: '2023-07-12T17:31:58.000+00:00'
                        identifier: BC0882365
                        legalName: 882365 B.C. LTD.
                        legalType: BC
                      header:
                        accountId: 1234
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: First Last
                        colinIds: []
                        comments: []
                        date: '2024-07-18T15:36:26.345331+00:00'
                        filingId: 150147
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        isPaymentActionRequired: false
                        name: agmLocationChange
                        paymentAccount: '12345'
                        paymentStatusCode: COMPLETED
                        paymentToken: '12345678'
                        status: PENDING
                        submitter: mocked submitter
                alteration-success-response:
                  summary: Alteration Response
                  value:
                    filing:
                      alteration:
                        business:
                          identifier: BC0883028
                          legalType: BEN
                        contactPoint:
                          email: no_one@never.get
                          phone: (111) 111-1111
                        nameRequest:
                          legalName: API SPEC'S NR CHANGE TEST (BEN) CORP.
                          legalType: BEN
                          nrNumber: NR 9684750
                        nameTranslations:
                          - name: API Specs Trans
                        shareStructure:
                        resolutionDates:
                          - date: '2024-07-12'
                        shareClasses:
                          - currency: CAD
                            hasMaximumShares: true
                            hasParValue: true
                            hasRightsOrRestrictions: true
                            maxNumberOfShares: 600
                            name: Class1 Shares
                            parValue: 10
                            priority: 1
                            series:
                              - name: Series1 Shares
                                priority: 1
                                hasMaximumShares: true
                                hasRightsOrRestrictions: true
                                maxNumberOfShares: 11
                                hasParValue: true
                                parValue: 10
                      business:
                        foundingDate: '2024-07-12T20:19:33.556441+00:00'
                        identifier: BC0883028
                        legalName: 0883028 B.C. LTD.
                        legalType: BC
                      header:
                        accountId: 1234
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: API Specs
                        colinIds: []
                        comments: []
                        date: '2024-07-16T19:55:40.497561+00:00'
                        deletionLocked: false
                        effectiveDate: '2024-07-16T19:55:40.497583+00:00'
                        filingId: 150107
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        isPaymentActionRequired: false
                        name: alteration
                        paymentAccount: '12345'
                        paymentStatusCode: COMPLETED
                        paymentToken: '12345678'
                        status: PENDING
                        submitter: mocked submitter
                annual-report-success-response:
                  summary: Annual Report Response
                  value:
                    filing:
                      annualReport:
                        annualReportDate: '2025-02-22'
                        directors:
                            appointmentDate: '2024-02-23'
                            cessationDate: null
                            deliveryAddress: 
                              addressCity: delivery_address city
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: ''
                              postalCode: H0H 0H0
                              streetAddress: delivery_address - address line one
                              streetAddressAdditional: ''
                            mailingAddress:
                              addressCity: mailing_address city
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: ''
                              postalCode: H0H 0H0
                              streetAddress: mailing_address - address line one
                              streetAddressAdditional: ''
                            officer:
                              email: api.specs@api.specs
                              firstName: firstName
                              lastName: lastName
                              partyType: person
                              middleInitial: ''
                              prevFirstName: ''
                              prevLastName: ''
                              prevMiddleInitial: ''
                        offices:
                          recordsOffice:
                            deliveryAddress: 
                              addressCity: delivery_address city
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: ''
                              postalCode: H0H 0H0
                              streetAddress: delivery_address - address line one
                              streetAddressAdditional: ''
                            mailingAddress:
                              addressCity: mailing_address city
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: ''
                              postalCode: H0H 0H0
                              streetAddress: mailing_address - address line one
                              streetAddressAdditional: ''
                          registeredOffice:
                            deliveryAddress: 
                              addressCity: delivery_address city
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: ''
                              postalCode: H0H 0H0
                              streetAddress: delivery_address - address line one
                              streetAddressAdditional: ''
                            mailingAddress:
                              addressCity: mailing_address city
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: ''
                              postalCode: H0H 0H0
                              streetAddress: mailing_address - address line one
                              streetAddressAdditional: ''
                      business:
                        foundingDate: '2024-02-21T23:13:48.000+00:00'
                        identifier: BC1234567
                        legalName: 1234567 B.C. LTD.
                        legalType: BEN
                      header:
                        accountId: 1234
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: First Last
                        colinIds: []
                        comments: []
                        date: '2025-03-21T16:22:13.256843+00:00'
                        deletionLocked: false
                        effectiveDate: '2025-03-21T07:00:00+00:00'
                        filingId: 1234567
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        isPaymentActionRequired: true
                        name: annualReport
                        paymentAccount: '12345'
                        paymentStatusCode: COMPLETED
                        paymentToken: '12345678'
                        status: PENDING
                        submitter: mocked submitter
                change-of-address-success-response:
                  summary: Change Of Address Response
                  value:
                    filing:
                      business:
                        legalType: BC
                        foundingDate: '2024-06-09T00:00:00+00:00'
                        identifier: BC0880343
                        legalName: KD TEST BAKING BC LIMITED
                      changeOfAddress:
                        legalType: BC
                        offices:
                          recordsOffice:
                            deliveryAddress:
                              actions: [
                                  addressChanged
                              ]
                              addressCity: RICHMOND
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions:
                              postalCode: V8N 4R7
                              streetAddress: TEST D 2
                              streetAddressAdditional: 
                            mailingAddress:
                              actions: [
                                  addressChanged
                              ]
                              addressCity: RICHMOND
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions:
                              postalCode: V8N 4R7
                              streetAddress: TEST M 2
                              streetAddressAdditional:
                          registeredOffice:
                            deliveryAddress:
                              actions: [
                                  addressChanged
                              ]
                              addressCity: RICHMOND
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions:
                              postalCode: V8N 4R7
                              streetAddress: TEST D 1
                              streetAddressAdditional:
                            mailingAddress:
                              actions: [
                                  addressChanged
                              ]
                              addressCity: RICHMOND
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions:
                              postalCode: V8N 4R7
                              streetAddress: TEST M 1
                              streetAddressAdditional:
                      header:
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: "full name"
                        colinIds: []
                        comments: []
                        date: '2024-07-17T23:14:58.831553+00:00'
                        deletionLocked: false
                        effectiveDate: '2024-07-18T07:00:00+00:00'
                        email: no_one@never.get
                        filingId: 150166
                        futureEffectiveDate: '2024-07-18T07:00:00+00:00'
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        isPaymentActionRequired: true
                        name: changeOfAddress
                        paymentStatusCode: CREATED
                        paymentToken: 12345
                        status: 'PENDING'
                        submitter: 'mocked submitter'
                change-of-directors-success-response:
                  summary: Change Of Directors Response
                  value:
                    filing:
                      business:
                        foundingDate: '2025-03-25T07:00:00.000+00:00'
                        identifier: BC1234567
                        legalName: 1234567 B.C. LTD.
                        legalType: BC
                      changeOfDirectors:
                        directors:
                        - officer:
                            firstName: NEW
                            lastName: DIRECTOR
                            middleInitial: ''
                            prevFirstName: ''
                            prevLastName: ''
                            prevMiddleInitial: ''
                          deliveryAddress:
                            streetAddress: delivery_address - address line one
                            streetAddressAdditional: ''
                            addressCity: delivery_address city
                            addressRegion: BC
                            deliveryInstructions: ''
                            postalCode: H0H 0H0
                            addressCountry: CA
                          mailingAddress:
                            streetAddress: mailing_address - address line one
                            streetAddressAdditional: ''
                            addressCity: mailing_address city
                            addressRegion: BC
                            deliveryInstructions: ''
                            postalCode: H0H 0H0
                            addressCountry: CA
                          appointmentDate: '2025-03-25'
                          cessationDate: null
                          actions:
                            - appointed
                        - officer:
                            firstName: UPDATED
                            lastName: DIRECTOR
                            middleInitial: ''
                            prevFirstName: 'PREVIOUS'
                            prevLastName: 'NAME'
                            prevMiddleInitial: ''
                          deliveryAddress:
                            addressCity: Vancouver
                            addressCountry: CA
                            addressRegion: BC
                            deliveryInstructions: ''
                            postalCode: H0H 0H0
                            streetAddress: 200 Changed Address
                            streetAddressAdditional: ''
                          mailingAddress:
                            addressCity: Vancouver
                            addressCountry: CA
                            addressRegion: BC
                            deliveryInstructions: ''
                            postalCode: H0H 0H0
                            streetAddress: 200 Changed Address
                            streetAddressAdditional: ''
                          appointmentDate: '2025-03-25'
                          cessationDate: null
                          actions:
                            - addressChanged
                            - nameChanged
                      header:
                        accountId: 1234
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: First Last
                        colinIds: []
                        comments: []
                        date: '2025-03-25T21:39:11.950027+00:00'
                        deletionLocked: false
                        effectiveDate: '2025-03-25T07:00:00+00:00'
                        filingId: 1234567
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        isPaymentActionRequired: true
                        name: changeOfDirectors
                        paymentAccount: '12345'
                        paymentStatusCode: COMPLETED
                        paymentToken: '12345678'
                        status: PENDING
                        submitter: mocked submitter
                change-of-officers-success-response:
                  summary: Change Of Officers Response
                  value:
                    filing:
                      business:
                        foundingDate: '2025-03-25T07:00:00.000+00:00'
                        identifier: BC1234567
                        legalName: 1234567 B.C. LTD.
                        legalType: BC
                      changeOfOfficers:
                        relationships:
                          - entity:
                              givenName: Johnathon
                              familyName: Smith
                              middleInitial: E
                              alternateName: John Smith
                            deliveryAddress:
                              streetAddress: 5-4761 Bay Street
                              addressCity: Victoria
                              addressRegion: BC
                              addressCountry: Canada
                              postalCode: V8R 2P1
                              deliveryInstructions: Our apartment is located at the back of the building.
                            mailingAddress:
                              streetAddress: 5-4761 Bay Street
                              addressCity: Victoria
                              addressRegion: BC
                              addressCountry: Canada
                              postalCode: V8R 2P1
                              deliveryInstructions: Our apartment is located at the back of the building.
                            roles:
                              - appointmentDate: '2018-08-24'
                                cessationDate: '2024-08-24'
                                roleType: Secretary
                                roleClass: OFFICER
                              - appointmentDate: '2024-08-24'
                                cessationDate: null
                                roleType: CEO
                                roleClass: OFFICER
                      header:
                        accountId: 1234
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: First Last
                        colinIds: []
                        comments: []
                        date: '2025-03-25T21:39:11.950027+00:00'
                        deletionLocked: false
                        effectiveDate: '2025-03-25T07:00:00+00:00'
                        filingId: 1234567
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        isPaymentActionRequired: true
                        name: changeOfOfficers
                        paymentAccount: '12345'
                        paymentStatusCode: COMPLETED
                        paymentToken: '12345678'
                        status: PENDING
                        submitter: mocked submitter
                consent-continuation-out-success-response:
                  summary: Consent Continuation Out Response
                  value:
                    filing:
                      business:
                        legalName: 1234567 B.C. LTD.
                        legalType: BC
                        identifier: BC1234567
                        foundingDate: '2025-03-25T15:34:57.844764+00:00'
                      consentContinuationOut:
                        foreignJurisdiction:
                          country: CA
                          region: SK
                        courtOrder:
                          fileNumber: '12345'
                          effectOfOrder: planOfArrangement
                      header:
                        accountId: 1234
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: "First Last"
                        colinIds: []
                        comments: []
                        date: '2025-03-25'
                        deletionLocked: false
                        effectiveDate: '2025-03-25T07:00:42.552434+00:00'
                        filingId: 1234567
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        isPaymentActionRequired: true
                        name: consentContinuationOut
                        paymentAccount: '12345'
                        paymentStatusCode: 'COMPLETED'
                        paymentToken: '12345678'
                        status: 'PENDING'
                        submitter: 'mocked submitter'
                notice-of-withdrawal-success-response:
                  summary: Notice of Withdrawal Response
                  value:
                    filing:
                      business:
                        foundingDate: '2023-07-12T17:31:58.000+00:00'
                        identifier: BC1234567
                        legalName: 1234567 B.C. LTD.
                        legalType: BC
                      header:
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: Sample Certified Person
                        colinIds: []
                        comments: []
                        date: '2024-12-18T00:10:47.042797+00:00'
                        email: api.specs@example.com
                        filingId: 654321
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        isPaymentActionRequired: false
                        name: noticeOfWithdrawal
                        paymentStatusCode: 'APPROVED'
                        paymentToken: '12345'
                        status: 'PENDING'
                        submitter: 'mocked submitter'
                      noticeOfWithdrawal:
                        filingId: 123456
                        hasTakenEffect: false
                        partOfPoa: false
                voluntary-dissolution-success-response:
                  summary: Voluntary Dissolution Response
                  value:
                    filing:
                      business:
                        foundingDate: '2025-03-25T17:31:58.000+00:00'
                        identifier: BC1234567
                        legalName: 1234567 B.C. LTD.
                        legalType: BC
                      dissolution:
                        courtOrder:
                          fileNumber: '12345'
                        dissolutionDate: '2025-03-25'
                        dissolutionType: voluntary
                        parties:
                          - party:
                              deliveryAddress:
                                addressCity: delivery_address city
                                addressCountry: CA
                                addressRegion: BC
                                deliveryInstructions: ''
                                postalCode: H0H 0H0
                                streetAddress: delivery_address - address line one
                              inheritMailingAddress: true
                              mailingAddress:
                                addressCity: mailing_address city
                                addressCountry: CA
                                addressRegion: BC
                                deliveryInstructions: ''
                                postalCode: H0H 0H0
                                streetAddress: mailing_address - address line one
                              officer:
                                email: api.specs@example.com
                                firstName: First
                                lastName: Last
                                middleInitial: ''
                                organizationName: ''
                                partyType: person
                              roles:
                                - appointmentDate: '2025-03-25'
                                  roleType: Custodian
                      header:
                        accountId: 1234
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: First Last
                        colinIds: []
                        comments: []
                        date: '2025-03-25T15:36:26.345331+00:00'
                        deletionLocked: false
                        effectiveDate: '2025-03-25T07:00:00.000+00:00'
                        filingId: 1234567
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        isPaymentActionRequired: true
                        name: dissolution
                        paymentAccount: '12345'
                        paymentStatusCode: COMPLETED
                        paymentToken: '12345678'
                        status: PENDING
                        submitter: mocked submitter
        '400':
          description: The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax, size too large, invalid request message framing, or deceptive request routing).
          content:
            application/json:
              examples:
                agm-extension-failed-invalid-total-approved-extension-response:
                  summary: AGM Extension - Invalid Total Approved Extension Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[error:Fail to grant extension.],filing:agmExtension:agmDueDate:2026-06-20,agmYear:2024,alreadyExtended:false,currentDate:2024-07-10,expireDateApprovedExt:2026-06-20,extReqForAgmYear:false,extensionDuration:6,incorporationDate:2024-06-20T17:31:58.000Z,isEligible:true,isFirstAgm:true,isGoodStanding:true,isPrevExtension:false,prevAgmDate:null,prevExpiryDate:null,requestExpired:false,totalApprovedExt:7,year:2024,business:foundingDate:2024-06-20T17:31:58.000+00:00,identifier:BC0882365,legalName:0882365 B.C. LTD.,legalType:BC,header:certifiedBy:APISpecs,date:2024-07-10,name:agmExtension
                alteration-failed-invalid-legal-type-change-response:
                  summary: Alteration - Invalid Legal Type Change Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[error:Your business type has not been updated to a BC Benefit Company, BC Unlimited Liability Company, BC Community Contribution Company, BC Limited Company or BC Cooperative Association.,path:/filing/alteration/business/legalType]
                alteration-failed-missing-business-legal-name-response:
                  summary: Alteration - Missing Business Legal Name Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[error:Alteration to Numbered Company can only be done for a Named Company.,path:/filing/business/legalName]
                alteration-failed-missing-business-response:
                  summary: Alteration - Missing Business Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[message:A valid business is required.]
                alteration-failed-missing-max-number-of-share-response:
                  summary: Alteration - Missing Max Number of Shares Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[error:Share class Common Shares must provide value for maximum number of shares,path:/filing/alteration/shareClasses/0/maxNumberOfShares/]
                alteration-failed-name-request-does-not-have-the-same-legal-name-response:
                  summary: Alteration - Name Request Does Not Have the Same Legal Name Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[error:Alteration of Name Request has a different legal name.,path:/filing/alteration/nameRequest/legalName]
                alteration-failed-name-request-does-not-have-the-same-legal-type-response:
                  summary: Alteration - Name Request Does Not Have the Same Legal Type Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[error:Name Request legal type is not same as the business legal type.,path:/filing/alteration/nameRequest/legalType]
                alteration-failed-name-request-is-not-approved-response:
                  summary: Alteration - Name Request Is Not Approved Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[error:Alteration of Name Request is not approved.,path:/filing/alteration/nameRequest/nrNumber,error:Alteration of Name Request has a different legal name.,path:/filing/alteration/nameRequest/legalName]
                change-of-directors-failed-invalid-address-country:
                  summary: Change Of Directors - Invalid Address Country
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[error:Address Country must resolve to a valid ISO-2 country.]
                change-of-directors-failed-invalid-effective-date-prior-to-most-recent-filing-response:
                  summary: Change Of Directors - Invalid Effective Date (Earlier Than Previous Change of Director Filing)
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[error:Effective date cannot be before another Change of Director filing.]
                change-of-directors-failed-invalid-future-effective-date:
                  summary: Change Of Directors - Invalid Future Effective Date
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[error:Filing cannot have a future effective date.]
                change-of-directors-failed-missing-business-response:
                  summary: Change Of Directors - Missing Business Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[message:A valid business is required.]
                consent-continuation-out-failed-bc-as-foreign-jurisdiction-region-response:
                  summary: Consent Continuation Out - BC Specified as Foreign Jurisdiction Region Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[error:Region should not be BC.,path:/filing/consentContinuationOut/foreignJurisdiction/region],filing:business:foundingDate:2024-07-08T15:34:57.844764+00:00,identifier:BC0882848,legalName:0882848 B.C. LTD.,legalType:BEN,consentContinuationOut:courtOrder:effectOfOrder:planOfArrangement,fileNumber:12345,foreignJurisdiction:country:CA,region:BC,header:availableOnPaperOnly:false,certifiedBy:Api specs,date:2024-07-10,documentOptionalEmail:Apispecs@email.com,email:Apispecs@gov.bc.ca,inColinOnly:false,name:consentContinuationOut
                consent-continuation-out-failed-invalid-foreign-jurisdiction-country-response:
                  summary: Consent Continuation Out - Invalid Foreign Jurisdiction Country Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[error:Invalid country.,path:/filing/consentContinuationOut/foreignJurisdiction/country],filing:business:foundingDate:2024-07-08T15:34:57.844764+00:00,identifier:BC0882848,legalName:0882848 B.C. LTD.,legalType:BEN,consentContinuationOut:courtOrder:effectOfOrder:planOfArrangement,fileNumber:12345,foreignJurisdiction:country:,header:availableOnPaperOnly:false,certifiedBy:Api specs,date:2024-07-10,documentOptionalEmail:Apispecs@email.com,email:Apispecs@gov.bc.ca,inColinOnly:false,name:consentContinuationOut
                consent-continuation-out-failed-invalid-foreign-jurisdiction-region-response:
                  summary: Consent Continuation Out - Invalid Foreign Jurisdiction Region Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[error:Invalid region.,path:/filing/consentContinuationOut/foreignJurisdiction/region],filing:business:foundingDate:2024-07-08T15:34:57.844764+00:00,identifier:BC0882848,legalName:0882848 B.C. LTD.,legalType:BEN,state:HISTORICAL,consentContinuationOut:courtOrder:effectOfOrder:planOfArrangement,fileNumber:12345,foreignJurisdiction:country:CA,region:,header:availableOnPaperOnly:false,certifiedBy:Api specs,date:2024-07-10,documentOptionalEmail:Apispecs@email.com,email:Apispecs@gov.bc.ca,inColinOnly:false,name:consentContinuationOut
                consent-continuation-out-failed-missing-required-field-response:
                  summary: Consent Continuation Out - Missing Required Field Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[message:A valid business is required.]
                consent-continuation-out-failed-invalid-jurisdiction-response:
                  summary: Consent Continuation Out - Same Unexpired Foreign Jurisdiction Exist Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[error:Can't have new consent for same jurisdiction if an unexpired one already exists,path:/filing/consentContinuationOut/foreignJurisdiction],filing:business:foundingDate:2024-07-08T15:34:57.844764+00:00,identifier:BC0882848,legalName:0882848 B.C. LTD.,legalType:BEN,consentContinuationOut:courtOrder:effectOfOrder:planOfArrangement,fileNumber:12345,foreignJurisdiction:country:CA,region:AB,header:availableOnPaperOnly:false,certifiedBy:Api specs,date:2024-07-10,documentOptionalEmail:Apispecs@email.com,email:Apispecs@gov.bc.ca,inColinOnly:false,name:consentContinuationOut
                notice-of-withdrawal-failed-withdrawn-filing-issues-response:
                  summary: Notice of Withdrawal - invalid withdrawn filing
                  value:
                    errors:
                      - error: Only filings with a future effective date can be withdrawn.
                      - error: Only paid filings with a future effective date can be withdrawn.
                voluntary-dissolution-failed-missing-filing-name-response:
                  summary: Voluntary Dissolution - Missing Filing Name Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: errors:[message:filing/header/name is a required property]
        '401':
          description: Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided. The user does not have valid authentication credentials for the target resource.
          content:
            application/json:
              examples:
                consent-continuation-out-unauthorized-response:
                  summary: Consent Continuation Out - Unauthorized Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: message:You are not authorized to submit a filing for BC1218840.
                notice-of-withdrawal-failed-not-staff-response:
                  summary: Notice of Withdrawal - Not a staff
                  value:
                    message: You are not authorized to submit a filing for BC1234567.
        '403':
          description: Forbidden - The user does not have valid role or permission for the target resource or a business rule does not allow updating of target resource.
          content:
            application/json:
              examples:
                edit-action-unauthorized-response:
                  summary: Edit Action - Unauthorized User
                  value:
                    message: You are not authorized to submit filings for BC1218840.
                business-rule-violation-response:
                  summary: Business Rule - Not Allowed to File.  e.g. a draft filing exists and subsequent filings cannot be filed until draft is updated or submitted and processed to completion.
                  value:
                    message: You are not allowed to submit this type of filing for BC1218840.
        '404':
          description: Cannot found, when a value cannot be found in the records
          content:
            application/json:
              examples:
                notice-of-withdrawal-failed-invalid-filing-id-response:
                  summary: Notice of Withdrawal - withdrawn filing cannot be found
                  value:
                    errors:
                      - error: The filing to be withdrawn cannot be found.
        '422':
          description: UNPROCESSABLE ENTITY, in many cases caused by missing one or more required field(s)
          content:
            application/json:
              examples:
                agm-extension-failed-missing-agm-year-response:
                   summary: AGM Extension - Missing agmYear Response
                   value:
                    errorMessage: API backend third party service error.
                    rootCause: "errors:<comma delimited list of potential validation errors by json path>"
                agm-extension-failed-missing-ext-req-for-agm-year-response:
                   summary: AGM Extension - Missing extReqForAgmYear Response
                   value:
                    errorMessage: API backend third party service error.
                    rootCause: "errors:<comma delimited list of potential validation errors by json path>"
                agm-extension-failed-missing-is-first-agm-response:
                   summary: AGM Extension - Missing isFirstAgm Response
                   value:
                    errorMessage: API backend third party service error.
                    rootCause: "errors:<comma delimited list of potential validation errors by json path>"
                agm-location-change-failed-missing-agm-location-response:
                  summary: 'AGM Location Change - Missing AGM Location Response'
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: "errors:<comma delimited list of potential validation errors by json path>"
                agm-location-change-failed-missing-reason-response:
                  summary: AGM Location Change - Missing Reason Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: "errors:<comma delimited list of potential validation errors by json path>"
                agm-location-change-failed-missing-year-response:
                  summary: AGM Location Change - Missing Year Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: "errors:<comma delimited list of potential validation errors by json path>"
                alteration-failed-missing-court-order-file-number-response:
                  summary: Alteration - Missing Court Order File Number Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: "errors:<comma delimited list of potential validation errors by json path>"
                annual-report-failed-missing-annual-report-date-response:
                  summary: Annual Report - Missing Annual Report Date Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: "errors:<comma delimited list of potential validation errors by json path>"
                annual-report-failed-missing-missing-directors-response:
                  summary: Annual Report - Missing Directors Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: "errors:<comma delimited list of potential validation errors by json path>"
                annual-report-failed-missing-offices-response:
                  summary: Annual Report - Missing Offices Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: "errors:<comma delimited list of potential validation errors by json path>"
                change-of-address-failed-missing-records-office-response:
                  summary: Change Of Address - Missing Records Office Address Response
                  value:
                    errorMessage: "API backend third party service error."
                consent-continuation-out-failed-invalid-court-order-response:
                  summary: Consent Continuation Out - Invalid Court Order Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: "errors:<comma delimited list of potential validation errors by json path>"
                voluntary-dissolution-failed-missing-dissolution-date-response:
                  summary: Voluntary Dissolution - Missing Dissolution Date Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: "errors:<comma delimited list of potential validation errors by json path>"
        '500':
          description: INTERNAL SERVER ERROR
          content:
            application/json:
              examples:
                voluntary-dissolution-failed-missing-disslution-type-response:
                  summary: Voluntary Dissolution - Missing Dissolution Type Response
                  value:
                    errorMessage: API backend third party service error.
                    rootCause: message:Internal server error
        '200':
          description: Validation only (only_validate=true). The filing was checked and not saved; any errors are listed in the body.
        '402':
          description: Payment required. The invoice could not be created with the pay service; details in the body.
        '409':
          description: Conflict. A filing was completed after this draft's base transaction; reload the draft before saving.
      description: This is used to submit all filing types that are used to maintain or change the state of the Registration of any business entity in the Registry to which the user has access to.
      tags:
        - business
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Filing'
            examples:
              agm-extension-request:
                summary: AGM Extension Request
                value:
                  filing:
                    header:
                      authorizationReceived: true
                      name: agmExtension
                      certifiedBy: First Last
                      date: '2024-07-21'
                      accountId: 1234
                    business:
                      foundingDate: '2024-06-20T17:31:58.000+00:00'
                      identifier: BC0882365
                      legalName: 882365 B.C. LTD.
                      legalType: BC
                    agmExtension:
                      year: '2024'
                      isFirstAgm: true
                      extReqForAgmYear: false
                      totalApprovedExt: 6
                      expireDateApprovedExt: '2026-06-20'
                      currentDate: '2024-07-21'
                      alreadyExtended: false
                      requestExpired: false
                      isGoodStanding: true
                      incorporationDate: '2024-06-20T17:31:58.000Z'
                      agmYear: '2024'
                      prevAgmDate: null
                      isPrevExtension: false
                      prevExpiryDate: null
                      extensionDuration: 6
                      agmDueDate: '2026-06-20'
                      isEligible: true
              agm-location-change-request:
                summary: AGM Location Change Request
                value:
                  filing:
                    header:
                      authorizationReceived: true
                      date: '2024-07-18'
                      name: agmLocationChange
                      certifiedBy: First Last
                      accountId: 1234
                    business:
                      foundingDate: '2023-07-12T17:31:58.000+00:00'
                      identifier: BC0882365
                      legalName: 882365 B.C. LTD.
                      legalType: BC
                    agmLocationChange:
                      year: '2024'
                      reason: API Specs Tests
                      agmLocation: Victoria, BC, Canada
              alteration-request:
                summary: Alteration Request
                value:
                  filing:
                    header:
                      authorizationReceived: true
                      name: alteration
                      certifiedBy: First Last
                      date: '2024-07-25'
                      accountId: 1234
                    business:
                      foundingDate: '2024-07-12T20:19:33.556441+00:00'
                      identifier: BC0883028
                      legalName: 0883028 B.C. LTD.
                      legalType: BC
                    alteration:
                      business:
                        identifier: BC0883028
                        legalType: BEN
                      nameRequest:
                        legalType: BEN
                        legalName: API SPEC'S NR CHANGE TEST (BEN) CORP.
                        nrNumber: NR 9684750
                      nameTranslations:
                        - name: API Specs Trans
                      contactPoint:
                        email: no_one@never.get
                        phone: '(111) 111-1111'
                      shareStructure:
                        resolutionDates:
                          - date: '2024-07-12'
                        shareClasses:
                          - currency: CAD
                            hasMaximumShares: true
                            hasParValue: true
                            hasRightsOrRestrictions: true
                            maxNumberOfShares: 600
                            name: Class1 Shares
                            parValue: 10
                            priority: 1
                            series:
                              - name: Series1 Shares
                                priority: 1
                                hasMaximumShares: true
                                hasRightsOrRestrictions: true
                                maxNumberOfShares: 11
                                hasParValue: true
                                parValue: 10
              annual-report-request:
                summary: Annual Report Request
                value:
                  filing:
                    header:
                      authorizationReceived: true
                      name: annualReport
                      certifiedBy: First Last
                      date: '2025-03-21'
                      accountId: 1234
                      effectiveDate: '2025-03-21T07:00:00+00:00'
                    business:
                      foundingDate: '2024-02-21T18:05:47.466120+00:00'
                      identifier: BC1234567
                      legalName: 1234567 B.C. LTD.
                      legalType: BEN
                    annualReport:
                      annualReportDate: '2025-02-22'
                      offices:
                        registeredOffice:
                          deliveryAddress: 
                            addressCity: delivery_address city
                            addressCountry: CA
                            addressRegion: BC
                            deliveryInstructions: ''
                            postalCode: H0H 0H0
                            streetAddress: delivery_address - address line one
                            streetAddressAdditional: ''
                          mailingAddress:
                            addressCity: mailing_address city
                            addressCountry: CA
                            addressRegion: BC
                            deliveryInstructions: ''
                            postalCode: H0H 0H0
                            streetAddress: mailing_address - address line one
                            streetAddressAdditional: ''
                        recordsOffice:
                          deliveryAddress: 
                            addressCity: delivery_address city
                            addressCountry: CA
                            addressRegion: BC
                            deliveryInstructions: ''
                            postalCode: H0H 0H0
                            streetAddress: delivery_address - address line one
                            streetAddressAdditional: ''
                          mailingAddress:
                            addressCity: mailing_address city
                            addressCountry: CA
                            addressRegion: BC
                            deliveryInstructions: ''
                            postalCode: H0H 0H0
                            streetAddress: mailing_address - address line one
                            streetAddressAdditional: ''
                      directors:
                        - officer:
                            email: api.specs@api.specs
                            firstName: First
                            lastName: Last
                            partyType: person
                            middleInitial: ''
                            prevFirstName: ''
                            prevLastName: ''
                            prevMiddleInitial: ''
                          appointmentDate: '2024-02-23'
                          cessationDate: null
                          deliveryAddress: 
                            addressCity: delivery_address city
                            addressCountry: CA
                            addressRegion: BC
                            deliveryInstructions: ''
                            postalCode: H0H 0H0
                            streetAddress: delivery_address - address line one
                            streetAddressAdditional: ''
                          mailingAddress:
                            addressCity: mailing_address city
                            addressCountry: CA
                            addressRegion: BC
                            deliveryInstructions: ''
                            postalCode: H0H 0H0
                            streetAddress: mailing_address - address line one
                            streetAddressAdditional: ''
              change-of-address-request:
                summary: Change Of Address
                value:
                    filing:
                      header:
                        authorizationReceived: true
                        name: changeOfAddress
                        certifiedBy: "full name"
                        email: "no_one@never.get"
                        date: '2024-07-23'
                      business:
                        legalType: BC
                        foundingDate: '2024-06-09T00:00:00+00:00'
                        identifier: BC0880343
                        legalName: KD TEST BAKING BC LIMITED
                      changeOfAddress:
                        legalType: BC
                        offices:
                          recordsOffice:
                            deliveryAddress:
                              actions: [
                                  addressChanged
                              ]
                              addressCity: RICHMOND
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: 
                              postalCode: V8N 4R7
                              streetAddress: TEST D 2
                              streetAddressAdditional: 
                            mailingAddress:
                              actions: [
                                  addressChanged
                              ]
                              addressCity: RICHMOND
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: 
                              postalCode: V8N 4R7
                              streetAddress: TEST M 2
                              streetAddressAdditional:
                          registeredOffice: 
                            deliveryAddress:
                              actions: [
                                  addressChanged
                              ]
                              addressCity: RICHMOND
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: 
                              postalCode: V8N 4R7
                              streetAddress: TEST D 1
                              streetAddressAdditional:
                            mailingAddress:
                              actions: [
                                  addressChanged
                              ]
                              addressCity: RICHMOND
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: 
                              postalCode: V8N 4R7
                              streetAddress: TEST M 1
                              streetAddressAdditional:
              change-of-directors-request:
                summary: Change Of Directors Request
                value:
                  filing:
                    header:
                      authorizationReceived: true
                      name: changeOfDirectors
                      certifiedBy: First Last
                      date: '2025-03-25'
                      effectiveDate: '2025-03-25T07:00:00+00:00'
                      accountId: 1234
                    business:
                      foundingDate: '2024-07-08T07:00:00.000+00:00'
                      identifier: BC1234567
                      legalName: 1234567 B.C. LTD.
                      legalType: BC
                    changeOfDirectors:
                      directors:
                        - officer:
                            firstName: NEW
                            lastName: DIRECTOR
                            middleInitial: ''
                            prevFirstName: ''
                            prevLastName: ''
                            prevMiddleInitial: ''
                          deliveryAddress:
                            streetAddress: delivery_address - address line one
                            streetAddressAdditional: ''
                            addressCity: delivery_address city
                            addressRegion: BC
                            deliveryInstructions: ''
                            postalCode: H0H 0H0
                            addressCountry: CA
                          mailingAddress:
                            streetAddress: mailing_address - address line one
                            streetAddressAdditional: ''
                            addressCity: mailing_address city
                            addressRegion: BC
                            deliveryInstructions: ''
                            postalCode: H0H 0H0
                            addressCountry: CA
                          appointmentDate: '2025-03-25'
                          cessationDate: null
                          actions:
                            - appointed
                        - officer:
                            firstName: UPDATED
                            lastName: DIRECTOR
                            middleInitial: ''
                            prevFirstName: 'PREVIOUS'
                            prevLastName: 'NAME'
                            prevMiddleInitial: ''
                          deliveryAddress:
                            addressCity: Vancouver
                            addressCountry: CA
                            addressRegion: BC
                            deliveryInstructions: ''
                            postalCode: H0H 0H0
                            streetAddress: 200 Changed Address
                            streetAddressAdditional: ''
                          mailingAddress:
                            addressCity: Vancouver
                            addressCountry: CA
                            addressRegion: BC
                            deliveryInstructions: ''
                            postalCode: H0H 0H0
                            streetAddress: 200 Changed Address
                            streetAddressAdditional: ''
                          appointmentDate: '2025-03-25'
                          cessationDate: null
                          actions:
                            - addressChanged
                            - nameChanged
              change-of-officers-request:
                summary: Change Of Officers Request
                value:
                  filing:
                    header:
                      authorizationReceived: true
                      name: changeOfOfficers
                      certifiedBy: First Last
                      date: '2025-03-25'
                      effectiveDate: '2025-03-25T07:00:00+00:00'
                      accountId: 1234
                    business:
                      foundingDate: '2024-07-08T07:00:00.000+00:00'
                      identifier: BC1234567
                      legalName: 1234567 B.C. LTD.
                      legalType: BC
                    changeOfOfficers:
                      relationships:
                        - entity:
                            givenName: Johnathon
                            familyName: Smith
                            middleInitial: E
                            alternateName: John Smith
                          deliveryAddress:
                            streetAddress: 5-4761 Bay Street
                            addressCity: Victoria
                            addressRegion: BC
                            addressCountry: Canada
                            postalCode: V8R 2P1
                            deliveryInstructions: Our apartment is located at the back of the building.
                          mailingAddress:
                            streetAddress: 5-4761 Bay Street
                            addressCity: Victoria
                            addressRegion: BC
                            addressCountry: Canada
                            postalCode: V8R 2P1
                            deliveryInstructions: Our apartment is located at the back of the building.
                          roles:
                            - appointmentDate: '2018-08-24'
                              cessationDate: '2024-08-24'
                              roleType: Secretary
                              roleClass: OFFICER
                            - appointmentDate: '2024-08-24'
                              cessationDate: null
                              roleType: CEO
                              roleClass: OFFICER
              consent-continuation-out-request:
                summary: Consent Continuation Out Request
                value:
                  filing:
                    header:
                      authorizationReceived: true
                      name: consentContinuationOut
                      date: '2025-03-25'
                      certifiedBy: "First Last"
                      accountId: 1234
                    business:
                      legalName: 1234567 B.C. LTD.
                      legalType: BC
                      identifier: BC1234567
                      foundingDate: '2025-03-25T15:34:57.844764+00:00'
                    consentContinuationOut:
                      foreignJurisdiction:
                        country: CA
                        region: SK
                      courtOrder:
                        fileNumber: '12345'
                        effectOfOrder: planOfArrangement
              notice-of-withdrawal-request:
                summary: Notice of Withdrawal Request (staff only)
                value:
                  filing:
                    header:
                      authorizationReceived: true
                      name: noticeOfWithdrawal
                      certifiedBy: Sample Certified Person
                      email: api.specs@example.com
                      date: '2024-12-18'
                      priority: false
                    business:
                      foundingDate: '2023-07-12T17:31:58.000+00:00'
                      identifier: BC1234567
                      legalName: 1234567 B.C. LTD.
                      legalType: BC
                    noticeOfWithdrawal:
                      filingId: 123456
              notice-of-withdrawal-with-options-request:
                summary: Notice of Withdrawal Request with Options (staff only)
                value:
                  filing:
                    header:
                      authorizationReceived: true
                      name: noticeOfWithdrawal
                      certifiedBy: Sample Certified Person
                      email: api.specs@example.com
                      date: '2024-12-18'
                      priority: false
                    business:
                      foundingDate: '2023-07-12T17:31:58.000+00:00'
                      identifier: BC1234567
                      legalName: 1234567 B.C. LTD.
                      legalType: BC
                    noticeOfWithdrawal:
                      filingId: 123456
                      courtOrder:
                        fileNumber: "A12345"
                        effectOfOrder: planOfArrangement
                      hasTakenEffect: false
                      partOfPoa: false
              voluntary-dissolution-request:
                summary: Voluntary Dissolution Request
                value:
                  filing:
                    header:
                      authorizationReceived: true
                      date: '2025-03-25'
                      name: dissolution
                      certifiedBy: First Last
                      accountId: 1234
                    business:
                      foundingDate: '2023-07-12T17:31:58.000+00:00'
                      identifier: BC1234567
                      legalName: 1234567 B.C. LTD.
                      legalType: BC
                    dissolution:
                      dissolutionDate: '2025-03-25'
                      dissolutionType: voluntary
                      parties:
                        - officer:
                            firstName: First
                            lastName: Last
                            middleInitial: ''
                            partyType: person
                            email: no_one@never.get
                          mailingAddress:
                            streetAddress: 123 Main St
                            streetAddressAdditional: ''
                            addressCity: Victoria
                            addressRegion: BC
                            postalCode: V8W 1E5
                            addressCountry: CA
                          deliveryAddress:
                            streetAddress: 123 Main St
                            streetAddressAdditional: ''
                            addressCity: Victoria
                            addressRegion: BC
                            postalCode: V8W 1E5
                            addressCountry: CA
                          roles:
                          - roleType: Custodian
                            appointmentDate: '2025-03-25'
                      courtOrder:
                        fileNumber: '12345'
              change-of-registration-request:
                summary: Change of Registration Request (Sole Proprietorship)
                value:
                  filing:
                    header:
                      name: changeOfRegistration
                      date: '2026-11-12'
                      certifiedBy: First Last
                      accountId: 1234
                    business:
                      identifier: FM1234567
                      legalType: SP
                    changeOfRegistration:
                      business:
                        identifier: FM1234567
                        naics:
                          naicsCode: '919110'
                          naicsDescription: International and other extra-territorial public administration
                      offices:
                        businessOffice:
                          mailingAddress:
                            id: 1
                            streetAddress: 456 Updated Street
                            streetAddressAdditional: ''
                            addressCity: Victoria
                            addressCountry: CA
                            postalCode: V8V 2V2
                            addressRegion: BC
                          deliveryAddress:
                            id: 2
                            streetAddress: 456 Updated Street
                            streetAddressAdditional: ''
                            addressCity: Victoria
                            addressCountry: CA
                            postalCode: V8V 2V2
                            addressRegion: BC
                      contactPoint:
                        email: no_one@never.get
                        phone: (250) 123-4567
                      parties:
                      - officer:
                          id: 1
                          firstName: First
                          lastName: Last
                          partyType: person
                          email: no_one@never.get
                        mailingAddress:
                          streetAddress: 123 Main St
                          addressCity: Victoria
                          addressRegion: BC
                          postalCode: V8W 1E5
                          addressCountry: CA
                        roles:
                        - roleType: Proprietor
                          appointmentDate: '2026-01-01'
                      - officer:
                          firstName: First
                          lastName: Last
                          partyType: person
                          email: no_one@never.get
                        mailingAddress:
                          streetAddress: 123 Main St
                          addressCity: Victoria
                          addressRegion: BC
                          postalCode: V8W 1E5
                          addressCountry: CA
                        roles:
                        - roleType: Completing Party
                          appointmentDate: '2026-01-01'
              special-resolution-request:
                summary: Special Resolution Request (Cooperative)
                value:
                  filing:
                    header:
                      name: specialResolution
                      date: '2026-11-12'
                      certifiedBy: First Last
                      accountId: 1234
                    business:
                      identifier: CP1234567
                      legalType: CP
                    alteration:
                      business:
                        identifier: CP1234567
                        legalType: CP
                      contactPoint:
                        email: no_one@never.get
                        phone: (250) 123-4567
                      rulesInResolution: true
                      memorandumInResolution: true
                    specialResolution:
                      resolution: Be it resolved that the rules of the association are amended as attached.
                      resolutionDate: '2025-06-15'
                      signingDate: '2025-06-15'
                      signatory:
                        givenName: Jane
                        familyName: Doe
                        additionalName: ''
              voluntary-dissolution-firm-request:
                summary: Voluntary Dissolution Request (Sole Proprietorship or General Partnership)
                value:
                  filing:
                    header:
                      name: dissolution
                      date: '2026-11-12'
                      certifiedBy: First Last
                      accountId: 1234
                    business:
                      identifier: FM1234567
                      legalType: SP
                    dissolution:
                      dissolutionType: voluntary
                      dissolutionDate: '2026-11-12'
                      parties:
                      - officer:
                          firstName: Jane
                          lastName: Doe
                          middleInitial: ''
                          partyType: person
                          email: no_one@never.get
                        mailingAddress:
                          streetAddress: 123 Main Street
                          streetAddressAdditional: ''
                          addressCity: Victoria
                          addressCountry: CA
                          postalCode: V8V 1V1
                          addressRegion: BC
                        deliveryAddress:
                          streetAddress: 123 Main Street
                          streetAddressAdditional: ''
                          addressCity: Victoria
                          addressCountry: CA
                          postalCode: V8V 1V1
                          addressRegion: BC
                        roles:
                        - roleType: Completing Party
                          appointmentDate: '2026-11-12'
      parameters:
        - schema:
            type: boolean
          in: query
          name: draft
          description: This parameter is used to save a filing in Draft form which can be retrieved at a later time.
        - schema:
            type: boolean
          in: query
          name: only_validate
          description: This parameter is used to submit a filing for validation only, no entity will be created. Use this to confirm that a filing is fully complete and correct prior to submission.
        - $ref: '#/components/parameters/accountId'
  '/businesses/{identifier}/filings/{filingId}':
    description: 'Retrieve, update or delete a single filing'
    parameters:
      - $ref: '#/components/parameters/identifier'
      - $ref: '#/components/parameters/filingId'
    get:
      summary: get a filing
      tags:
        - business
      operationId: get-businesses-identifier-filings-filingId
      description: Retrieve one filing (draft, pending or completed) with its status, payment details and links to its comments and documents. For a new business use the temporary identifier returned by `POST /businesses?draft=true`.
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Filing_response'
              examples:
                agm-location-change-completed:
                  summary: Completed AGM Location Change
                  value:
                    commentsCount: 0
                    commentsLink: https://api.connect.gov.bc.ca/business/api/v2/businesses/BC1234567/filings/112233/comments
                    displayLedger: true
                    documentsLink: https://api.connect.gov.bc.ca/business/api/v2/businesses/BC1234567/filings/112233/documents
                    filedByStaff: false
                    isFutureEffective: false
                    filing:
                      agmLocationChange:
                        agmLocation:
                          city: Toronto
                          country: CA
                          region: 'ON'
                        reason: Members relocated
                        year: '2026'
                      business:
                        identifier: BC1234567
                        legalName: 1234567 B.C. LTD.
                        legalType: BC
                        foundingDate: '2026-10-23T16:47:49+00:00'
                      header:
                        name: agmLocationChange
                        date: '2026-11-10'
                        filingId: 112233
                        status: COMPLETED
                        certifiedBy: First Last
                        effectiveDate: '2026-11-10T18:02:11+00:00'
                        paymentToken: '0'
                        submitter: api-user@example.com
                        availableOnPaperOnly: false
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
        - $ref: '#/components/parameters/accountId'
    delete:
      summary: delete a draft filing
      tags:
        - business
      operationId: delete-businesses-identifier-filings-filingId
      description: Delete a filing that is still a draft. Submitted filings cannot be deleted. Staff can delete any draft, but a client cannot delete a draft that staff started. For a new business that was never submitted, deleting the draft also removes the temporary business.
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
              examples:
                deleted:
                  value:
                    message: Filing deleted.
        '401':
          description: Unauthorized
        '403':
          description: Forbidden. The filing is not a draft.
        '404':
          description: Not Found
      parameters:
        - $ref: '#/components/parameters/accountId'
    put:
      summary: updating filings
      tags:
        - business
      operationId: put-businesses-identifier-filings-filingId
      description: Update a filing or a filing draft
      responses:
        '202':
          description: ACCEPTED
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                continuation-in-after-approved-response:
                  summary: Complete Continuation In After Approved Response
                  value:
                    filing:
                      business:
                        identifier: TO12345678
                        legalType: C
                      continuationIn:
                        authorization:
                          files:
                            - fileKey: 123456-mock-value-1234.pdf
                              fileName: Example_PDF.pdf
                        contactPoint:
                          email: test@test.com
                          phone: '(250) 123-4567'
                        foreignJurisdiction:
                          country: US
                          identifier: TEST1234
                          incorporationDate: '2024-05-01'
                          legalName: Test business
                          region: CA
                        isApproved: true
                        nameRequest:
                          legalName: TEST CONT IN LTD.
                          nrNumber: NR 1234567
                          legalType: C
                        nameTranslations: []
                        offices:
                          recordsOffice:
                            deliveryAddress: 
                              addressCity: delivery_address city
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: ""
                              postalCode: H0H 0H0
                              streetAddress: delivery_address - address line one
                              streetAddressAdditional: ""
                            mailingAddress:
                              addressCity: mailing_address city
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: ""
                              postalCode: H0H 0H0
                              streetAddress: mailing_address - address line one
                              streetAddressAdditional: ""
                          registeredOffice:
                            deliveryAddress: 
                              addressCity: delivery_address city
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: ""
                              postalCode: H0H 0H0
                              streetAddress: delivery_address - address line one
                              streetAddressAdditional: ""
                            mailingAddress:
                              addressCity: mailing_address city
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: ""
                              postalCode: H0H 0H0
                              streetAddress: mailing_address - address line one
                              streetAddressAdditional: ""
                        parties:
                        - roles:
                          - roleType: Completing Party
                            appointmentDate: '2025-03-21'
                          - roleType: Director
                            appointmentDate: '2025-03-21'
                          officer:
                            firstName: First
                            lastName: Last
                            middleInitial: ""
                            organizationName: ""
                            partyType: "person"
                            email: "apiSpec@example.com"
                          mailingAddress: 
                            addressCity: mailing_address city
                            addressCountry: CA
                            addressRegion: BC
                            postalCode: H0H 0H0
                            streetAddress: mailing_address - address line one
                            streetAddressAdditional: ""
                          deliveryAddress:
                              addressCity: delivery_address city
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: H0H 0H0
                              streetAddress: delivery_address - address line one
                              streetAddressAdditional: ""
                      shareStructure:
                        shareClasses:
                          - name: Sample Shares
                            priority: 1
                            hasMaximumShares: false
                            maxNumberOfShares: null
                            hasParValue: false
                            parValue: null
                            currency: null
                            hasRightsOrRestrictions: false
                            series: []
                      header:
                        accountId: 1234
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: First Last
                        colinIds: []
                        comments: []
                        date: '2025-03-21T17:36:49.462409+00:00'
                        deletionLocked: false
                        effectiveDate: '2025-03-21T17:36:49.462451+00:00'
                        filingId: 1234567
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        isPaymentActionRequired: false
                        name: continuationIn
                        paymentAccount: '12345'
                        paymentStatusCode: COMPLETED
                        paymentToken: '1234567'
                        status: PENDING
                        submitter: mock submitter
        '200':
          description: Validation only (only_validate=true). The filing was checked and not saved; any errors are listed in the body.
        '400':
          description: Bad request. Malformed body, filing/business/identifier not matching the path, or validation errors listed in the body.
        '401':
          description: Unauthorized. No valid token, or the account is not affiliated with the business.
        '402':
          description: Payment required. The invoice could not be created with the pay service; details in the body.
        '403':
          description: Forbidden. The filing type is not allowed for this business in its current state, or a client is changing a draft that staff started.
        '404':
          description: Not found. The business or the filing does not exist.
        '409':
          description: Conflict. A filing was completed after this draft's base transaction; reload the draft before saving.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Filing'
            examples:
              continuation-in-after-approved-request:
                summary: Complete Continuation In After Approved Request
                value:
                  filing:
                    header:
                      authorizationReceived: true
                      accountId: 1234
                      certifiedBy: First Last
                      date: '2025-03-21'
                      name: continuationIn
                    business:
                      identifier: TO12345678
                    continuationIn:
                        authorization:
                          files:
                            - fileKey: 123456-mock-value-1234.pdf
                              fileName: Example_PDF.pdf
                        contactPoint:
                          email: test@test.com
                          phone: '(250) 123-4567'
                        foreignJurisdiction:
                          country: US
                          identifier: TEST1234
                          incorporationDate: '2024-05-01'
                          legalName: Test business
                          region: CA
                        nameRequest:
                          legalName: TEST CONT IN LTD.
                          nrNumber: NR 1234567
                          legalType: C
                        nameTranslations: []
                        offices:
                          recordsOffice:
                            deliveryAddress: 
                              addressCity: delivery_address city
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: ""
                              postalCode: H0H 0H0
                              streetAddress: delivery_address - address line one
                              streetAddressAdditional: ""
                            mailingAddress:
                              addressCity: mailing_address city
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: ""
                              postalCode: H0H 0H0
                              streetAddress: mailing_address - address line one
                              streetAddressAdditional: ""
                          registeredOffice:
                            deliveryAddress: 
                              addressCity: delivery_address city
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: ""
                              postalCode: H0H 0H0
                              streetAddress: delivery_address - address line one
                              streetAddressAdditional: ""
                            mailingAddress:
                              addressCity: mailing_address city
                              addressCountry: CA
                              addressRegion: BC
                              deliveryInstructions: ""
                              postalCode: H0H 0H0
                              streetAddress: mailing_address - address line one
                              streetAddressAdditional: ""
                        parties:
                        - roles:
                          - roleType: Completing Party
                            appointmentDate: '2025-03-21'
                          - roleType: Director
                            appointmentDate: '2025-03-21'
                          officer:
                            firstName: First
                            lastName: Last
                            middleInitial: ""
                            organizationName: ""
                            partyType: "person"
                            email: "apiSpec@example.com"
                          mailingAddress: 
                            addressCity: mailing_address city
                            addressCountry: CA
                            addressRegion: BC
                            postalCode: H0H 0H0
                            streetAddress: mailing_address - address line one
                            streetAddressAdditional: ""
                          deliveryAddress:
                              addressCity: delivery_address city
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: H0H 0H0
                              streetAddress: delivery_address - address line one
                              streetAddressAdditional: ""
                        shareStructure:
                          shareClasses:
                            - name: Sample Shares
                              priority: 1
                              hasMaximumShares: false
                              maxNumberOfShares: null
                              hasParValue: false
                              parValue: null
                              currency: null
                              hasRightsOrRestrictions: false
                              series: []
      parameters:
        - schema:
            type: boolean
          in: query
          name: draft
          description: Save the changes as a draft without submitting the filing.
        - schema:
            type: boolean
          in: query
          name: only_validate
          description: Validate the filing body without submitting it. Use this to confirm a draft is complete and correct before the final PUT.
        - $ref: '#/components/parameters/accountId'
  '/businesses/{identifier}/filings/{filingId}/documents':
    parameters:
      - $ref: '#/components/parameters/identifier'
      - $ref: '#/components/parameters/filingId'
    get:
      summary: filing documents list
      tags:
        - business
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Filing_documents'
      operationId: get-businesses-identifier-filings-filingId-documents
      description: Returns the list of documents available for a filing.
      parameters:
        - $ref: '#/components/parameters/accountId'
  '/businesses/{identifier}/addresses':
    parameters:
      - $ref: '#/components/parameters/identifier'
    get:
      summary: get business addresses
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Office'
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      operationId: get-businesses-identifier-addresses
      description: Returns the current addresses for the businesses. The number of addresses will depend on the requirements of the legal type of the business entity.
      tags:
        - business
      parameters:
        - $ref: '#/components/parameters/accountId'
  '/businesses/{identifier}/filings/{filingId}/documents/{documentName}':
    parameters:
      - $ref: '#/components/parameters/identifier'
      - $ref: '#/components/parameters/filingId'
      - $ref: '#/components/parameters/documentName'
    get:
      summary: filing document
      tags:
        - business
      responses:
        '200':
          description: Created
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/pdf:
              schema:
                type: string
                format: byte
                description: PDF Document
                readOnly: true
            application/json:
              schema:
                type: object
                properties: {}
      operationId: get-businesses-identifier-filings-filingId-document
      description: Return the requested document.
      parameters:
        - schema:
            type: string
            default: application/pdf
            enum:
              - application/pdf
              - application/json
          in: header
          description: The mimetype of the object
          name: Content-type
        - $ref: '#/components/parameters/accountId'
  '/businesses/{identifier}/documents/{documentName}':
    parameters:
      - name: identifier
        in: path
        required: true
        description: The unique identifier for the business or organization.
        schema:
          type: string
          example: BC0882365
      - schema:
          type: string
          enum:
            - summary
            - cogs
            - cstat
            - lseal
        name: documentName
        in: path
        required: true
        description: The name of the document being requested
    get:
      summary: business document
      tags:
        - business
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/pdf:
              schema:
                type: string
                format: byte
                description: PDF Document
                readOnly: true
            application/json:
              schema:
                x-examples:
                  example-1:
                    alterations: []
                    amalgamatedEntities: []
                    business:
                      adminFreeze: false
                      arMaxDate: '2022-08-05'
                      arMinDate: '2022-12-15'
                      associationType: null
                      complianceWarnings: []
                      coopType: Not Available
                      dissolutionDate: '2022-01-11T20:03:33.857887+00:00'
                      fiscalYearEndDate: '2021-12-15'
                      foundingDate: '2021-12-15T19:54:10.809174+00:00'
                      goodStanding: false
                      hasCorrections: false
                      hasRestrictions: false
                      identifier: BC0870884
                      lastAddressChangeDate: '2021-12-15'
                      lastAnnualGeneralMeetingDate: ''
                      lastAnnualReportDate: ''
                      lastDirectorChangeDate: '2021-12-15'
                      lastLedgerTimestamp: '2021-12-15T19:54:33.898570+00:00'
                      lastModified: '2021-12-15T19:54:33.898532+00:00'
                      legalName: 0870884 B.C. LTD.
                      legalType: BEN
                      naicsCode: null
                      naicsDescription: null
                      naicsKey: null
                      nextAnnualReport: '2022-12-15T08:00:00+00:00'
                      state: HISTORICAL
                      stateFiling: 'https://LEGAL_API_BASE_URL/api/v1/businesses/BC0870884/filings/113730'
                      warnings: []
                    entityAct: Business Corporations Act
                    entityDescription: BC Benefit Company
                    liquidation: {}
                    listOfTranslations:
                      - id: '319'
                        name: TEST TRANSLATION A
                        type: TRANSLATION
                      - id: '320'
                        name: TEST TRANSLATION B
                        type: TRANSLATION
                    nameChanges:
                      - filingDateTime: '2021-12-28T21:40:16.696239+00:00'
                        fromLegalName: LM LOGISTICS INC.
                        toLegalName: 0870884 B.C. LTD.
                      - filingDateTime: '2021-12-23T00:34:34.520725+00:00'
                        fromLegalName: 0870884 B.C. LTD.
                        toLegalName: LM LOGISTICS INC.
                    offices:
                      recordsOffice:
                        deliveryAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          id: 2317157
                          postalCode: V8Z 5C5
                          streetAddress: 3950 Helen Rd
                          streetAddressAdditional: ''
                        mailingAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          id: 2317156
                          postalCode: V8Z 5C5
                          streetAddress: 3950 Helen Rd
                          streetAddressAdditional: ''
                      registeredOffice:
                        deliveryAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          id: 2317159
                          postalCode: V8Z 5C5
                          streetAddress: 3950 Helen Rd
                          streetAddressAdditional: ''
                        mailingAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          id: 2317158
                          postalCode: V8Z 5C5
                          streetAddress: 3950 Helen Rd
                          streetAddressAdditional: ''
                    parties:
                      - deliveryAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          id: 2334722
                          postalCode: V8Z 5C5
                          streetAddress: 3950 Helen Rd
                          streetAddressAdditional: ''
                        mailingAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          id: 2334723
                          postalCode: V8Z 5C5
                          streetAddress: 3950 Helen Rd
                          streetAddressAdditional: ''
                        officer:
                          email: null
                          firstName: LEKSHMI
                          id: 474411
                          lastName: MALLIKA
                          partyType: person
                        roles:
                          - appointmentDate: '2022-01-11'
                            cessationDate: null
                            roleType: Custodian
                      - deliveryAddress:
                          addressCity: AB1
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: null
                          id: 2317160
                          postalCode: V8X 5J8
                          streetAddress: '#400A - 4000 SEYMOUR PLACE'
                          streetAddressAdditional: PENTHOUSE
                        mailingAddress:
                          addressCity: AB1
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: null
                          id: 2317161
                          postalCode: V8X 5J8
                          streetAddress: '#400A - 4000 SEYMOUR PLACE'
                          streetAddressAdditional: PENTHOUSE
                        officer:
                          email: null
                          firstName: BCREGTEST DALIA
                          id: 468575
                          lastName: ONE
                          partyType: person
                        roles:
                          - appointmentDate: '2021-12-15'
                            cessationDate: null
                            roleType: Completing Party
                          - appointmentDate: '2021-12-15'
                            cessationDate: null
                            roleType: Incorporator
                          - appointmentDate: '2021-12-15'
                            cessationDate: null
                            roleType: Director
                      - deliveryAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: null
                          id: 2317162
                          postalCode: V8Z 5C5
                          streetAddress: 3948 Helen Rd
                          streetAddressAdditional: ''
                        mailingAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: null
                          id: 2317163
                          postalCode: V8Z 5C5
                          streetAddress: 3948 Helen Rd
                          streetAddressAdditional: ''
                        officer:
                          email: null
                          firstName: LEKSHMI
                          id: 468576
                          lastName: GOKUL
                          partyType: person
                        roles:
                          - appointmentDate: '2021-12-15'
                            cessationDate: null
                            roleType: Director
                    registrarInfo:
                      endDate: null
                      name: T.K. SPARKS
                      startDate: '2022-06-01T00:00:00'
                      title: Registrar of Companies
                    reportDateTime: '2022-08-05T18:30:42.147556+00:00'
                    reportType: summary
                    stateFilings:
                      - effectiveDateTime: '2022-01-11T20:03:51.343818+00:00'
                        filingDateTime: '2022-01-11T20:03:33.857807+00:00'
                        filingName: Voluntary Dissolution
                type: object
                properties:
                  alterations:
                    type: array
                    items:
                      type: object
                      properties:
                        filingDateTime:
                          type: string
                          format: date-time
                        fromLegalType:
                          type: string
                        toLegalType:
                          type: string
                  amalgamatedEntities:
                    type: array
                    items:
                      type: object
                      properties:
                        identifier:
                          type: string
                        name:
                          type: string
                      required:
                        - identifier
                        - name
                  business:
                    $ref: '#/components/schemas/Business'
                  entityAct:
                    type: string
                  entityDescription:
                    type: string
                  liquidation:
                    type: object
                    properties:
                      filingDateTime:
                        type: string
                        format: date-time
                  listOfTranslations:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        type:
                          type: string
                          enum:
                            - DBA
                            - TRANSLATION
                      required:
                        - name
                        - type
                  nameChanges:
                    type: array
                    items:
                      type: object
                      properties:
                        filingDateTime:
                          type: string
                          format: date-time
                        fromLegalName:
                          type: string
                        toLegalName:
                          type: string
                      required:
                        - filingDateTime
                        - fromLegalName
                        - toLegalName
                  offices:
                    oneOf:
                      - properties:
                          recordsOffice:
                            $ref: '#/components/schemas/Office'
                          registeredOffice:
                            $ref: '#/components/schemas/Office'
                        required:
                          - registeredOffice
                      - properties:
                          businessOffice:
                            $ref: '#/components/schemas/Office'
                        required:
                          - businessOffice
                    type: object
                  parties:
                    type: array
                    items:
                      $ref: '#/components/schemas/party'
                  registrarInfo:
                    type: object
                    required:
                      - startDate
                      - name
                    properties:
                      startDate:
                        type: string
                        format: date-time
                        example: '2022-06-01T00:00:00'
                      endDate:
                        type: string
                        format: date-time
                        example: '2022-06-01T00:00:00'
                        nullable: true
                      name:
                        type: string
                      title:
                        type: string
                        example: Registrar of Companies
                  reportDateTime:
                    type: string
                    format: date-time
                    example: '2022-08-05T19:50:04.960880+00:00'
                  reportType:
                    type: string
                    enum:
                      - summary
                      - cogs
                      - cstat
                      - lseal
                  stateFilings:
                    type: array
                    items:
                      type: object
                      properties:
                        effectiveDateTime:
                          type: string
                          format: date-time
                        filingDateTime:
                          type: string
                          format: date-time
                        filingName:
                          type: string
                          example: Voluntary Dissolution
                required:
                  - business
                  - entityAct
                  - entityDescription
                  - registrarInfo
                  - reportDateTime
                  - reportType
              examples:
                summary-json:
                  value:
                    alterations: []
                    amalgamatedEntities: []
                    business:
                      adminFreeze: false
                      arMaxDate: '2022-08-05'
                      arMinDate: '2022-12-15'
                      associationType: null
                      complianceWarnings: []
                      coopType: Not Available
                      dissolutionDate: '2022-01-11T20:03:33.857887+00:00'
                      fiscalYearEndDate: '2021-12-15'
                      foundingDate: '2021-12-15T19:54:10.809174+00:00'
                      goodStanding: false
                      hasCorrections: false
                      hasRestrictions: false
                      identifier: BC0870884
                      lastAddressChangeDate: '2021-12-15'
                      lastAnnualGeneralMeetingDate: ''
                      lastAnnualReportDate: ''
                      lastDirectorChangeDate: '2021-12-15'
                      lastLedgerTimestamp: '2021-12-15T19:54:33.898570+00:00'
                      lastModified: '2021-12-15T19:54:33.898532+00:00'
                      legalName: 0870884 B.C. LTD.
                      legalType: BEN
                      naicsCode: null
                      naicsDescription: null
                      naicsKey: null
                      nextAnnualReport: '2022-12-15T08:00:00+00:00'
                      state: HISTORICAL
                      stateFiling: 'https://LEGAL_API_BASE_URL/api/v1/businesses/BC0870884/filings/113730'
                      warnings: []
                    entityAct: Business Corporations Act
                    entityDescription: BC Benefit Company
                    liquidation: {}
                    listOfTranslations:
                      - id: '319'
                        name: TEST TRANSLATION A
                        type: TRANSLATION
                      - id: '320'
                        name: TEST TRANSLATION B
                        type: TRANSLATION
                    nameChanges:
                      - filingDateTime: '2021-12-28T21:40:16.696239+00:00'
                        fromLegalName: LM LOGISTICS INC.
                        toLegalName: 0870884 B.C. LTD.
                      - filingDateTime: '2021-12-23T00:34:34.520725+00:00'
                        fromLegalName: 0870884 B.C. LTD.
                        toLegalName: LM LOGISTICS INC.
                    offices:
                      recordsOffice:
                        deliveryAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          id: 2317157
                          postalCode: V8Z 5C5
                          streetAddress: 3950 Helen Rd
                          streetAddressAdditional: ''
                        mailingAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          id: 2317156
                          postalCode: V8Z 5C5
                          streetAddress: 3950 Helen Rd
                          streetAddressAdditional: ''
                      registeredOffice:
                        deliveryAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          id: 2317159
                          postalCode: V8Z 5C5
                          streetAddress: 3950 Helen Rd
                          streetAddressAdditional: ''
                        mailingAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          id: 2317158
                          postalCode: V8Z 5C5
                          streetAddress: 3950 Helen Rd
                          streetAddressAdditional: ''
                    parties:
                      - deliveryAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          id: 2334722
                          postalCode: V8Z 5C5
                          streetAddress: 3950 Helen Rd
                          streetAddressAdditional: ''
                        mailingAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          id: 2334723
                          postalCode: V8Z 5C5
                          streetAddress: 3950 Helen Rd
                          streetAddressAdditional: ''
                        officer:
                          email: null
                          firstName: LEKSHMI
                          id: 474411
                          lastName: MALLIKA
                          partyType: person
                        roles:
                          - appointmentDate: '2022-01-11'
                            cessationDate: null
                            roleType: Custodian
                      - deliveryAddress:
                          addressCity: AB1
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: null
                          id: 2317160
                          postalCode: V8X 5J8
                          streetAddress: '#400A - 4000 SEYMOUR PLACE'
                          streetAddressAdditional: PENTHOUSE
                        mailingAddress:
                          addressCity: AB1
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: null
                          id: 2317161
                          postalCode: V8X 5J8
                          streetAddress: '#400A - 4000 SEYMOUR PLACE'
                          streetAddressAdditional: PENTHOUSE
                        officer:
                          email: null
                          firstName: BCREGTEST DALIA
                          id: 468575
                          lastName: ONE
                          partyType: person
                        roles:
                          - appointmentDate: '2021-12-15'
                            cessationDate: null
                            roleType: Completing Party
                          - appointmentDate: '2021-12-15'
                            cessationDate: null
                            roleType: Incorporator
                          - appointmentDate: '2021-12-15'
                            cessationDate: null
                            roleType: Director
                      - deliveryAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: null
                          id: 2317162
                          postalCode: V8Z 5C5
                          streetAddress: 3948 Helen Rd
                          streetAddressAdditional: ''
                        mailingAddress:
                          addressCity: Victoria
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: null
                          id: 2317163
                          postalCode: V8Z 5C5
                          streetAddress: 3948 Helen Rd
                          streetAddressAdditional: ''
                        officer:
                          email: null
                          firstName: LEKSHMI
                          id: 468576
                          lastName: GOKUL
                          partyType: person
                        roles:
                          - appointmentDate: '2021-12-15'
                            cessationDate: null
                            roleType: Director
                    registrarInfo:
                      endDate: null
                      name: T.K. SPARKS
                      startDate: '2022-06-01T00:00:00'
                      title: Registrar of Companies
                    reportDateTime: '2022-08-05T18:30:42.147556+00:00'
                    reportType: summary
                    stateFilings:
                      - effectiveDateTime: '2022-01-11T20:03:51.343818+00:00'
                        filingDateTime: '2022-01-11T20:03:33.857807+00:00'
                        filingName: Voluntary Dissolution
                cogs-json:
                  value:
                    business:
                      adminFreeze: false
                      arMaxDate: '2022-08-05'
                      arMinDate: '2022-09-15'
                      associationType: null
                      complianceWarnings: []
                      coopType: Not Available
                      fiscalYearEndDate: '2021-09-15'
                      foundingDate: '2021-09-15T16:00:14.432669+00:00'
                      goodStanding: true
                      hasCorrections: false
                      hasRestrictions: false
                      identifier: BC0870737
                      lastAddressChangeDate: '2021-09-15'
                      lastAnnualGeneralMeetingDate: ''
                      lastAnnualReportDate: ''
                      lastDirectorChangeDate: '2021-09-15'
                      lastLedgerTimestamp: '2021-09-15T16:01:39.303977+00:00'
                      lastModified: '2021-09-15T16:01:39.303957+00:00'
                      legalName: TEST CONSUMED STATE 2 LTD.
                      legalType: BEN
                      naicsCode: null
                      naicsDescription: null
                      naicsKey: null
                      nextAnnualReport: '2022-09-15T07:00:00+00:00'
                      state: ACTIVE
                      warnings: []
                    entityAct: Business Corporations Act
                    entityDescription: BC Benefit Company
                    registrarInfo:
                      endDate: null
                      name: T.K. SPARKS
                      startDate: '2022-06-01T00:00:00'
                      title: Registrar of Companies
                    reportDateTime: '2022-08-05T16:49:06.231324+00:00'
                    reportType: cogs
                cstat-json:
                  value:
                    business:
                      adminFreeze: false
                      arMaxDate: '2022-08-05'
                      arMinDate: '2022-09-14'
                      associationType: null
                      complianceWarnings: []
                      coopType: Not Available
                      fiscalYearEndDate: '2021-09-14'
                      foundingDate: '2019-09-14T17:17:45.348163+00:00'
                      goodStanding: true
                      hasCorrections: false
                      hasRestrictions: false
                      identifier: BC0870731
                      lastAddressChangeDate: '2021-09-14'
                      lastAnnualGeneralMeetingDate: ''
                      lastAnnualReportDate: '2021-09-14'
                      lastDirectorChangeDate: '2021-09-22'
                      lastLedgerTimestamp: '2021-09-14T17:18:01.298719+00:00'
                      lastModified: '2021-09-14T17:18:01.298697+00:00'
                      legalName: TESTING CONV CORP.
                      legalType: BEN
                      naicsCode: null
                      naicsDescription: null
                      naicsKey: null
                      nextAnnualReport: '2022-09-14T07:00:00+00:00'
                      state: ACTIVE
                      warnings: []
                    entityAct: Business Corporations Act
                    entityDescription: BC Benefit Company
                    registrarInfo:
                      endDate: null
                      name: T.K. SPARKS
                      startDate: '2022-06-01T00:00:00'
                      title: Registrar of Companies
                    reportDateTime: '2022-08-05T19:49:15.643657+00:00'
                    reportType: cstat
                lseal-json:
                  value:
                    business:
                      adminFreeze: false
                      arMaxDate: '2022-01-23'
                      arMinDate: '2021-11-24'
                      associationType: null
                      complianceWarnings: []
                      coopType: Not Available
                      fiscalYearEndDate: '2020-11-24'
                      foundingDate: '2020-11-24T18:23:53.498863+00:00'
                      goodStanding: false
                      hasCorrections: false
                      hasRestrictions: false
                      identifier: BC1230038
                      lastAddressChangeDate: '2020-11-24'
                      lastAnnualGeneralMeetingDate: ''
                      lastAnnualReportDate: ''
                      lastDirectorChangeDate: '2020-11-24'
                      lastLedgerTimestamp: '2020-11-24T18:24:27.179623+00:00'
                      lastModified: '2020-11-24T18:24:27.179616+00:00'
                      legalName: 1230038 B.C. LTD.
                      legalType: BEN
                      naicsCode: null
                      naicsDescription: null
                      naicsKey: null
                      nextAnnualReport: '2021-11-24T08:00:00+00:00'
                      state: ACTIVE
                      warnings: []
                    entityAct: Business Corporations Act
                    entityDescription: BC Benefit Company
                    offices:
                      recordsOffice:
                        deliveryAddress:
                          addressCity: Montréal
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          id: 38012
                          postalCode: H4E 1G8
                          streetAddress: 4-1900 Av De l'Église
                          streetAddressAdditional: ''
                        mailingAddress:
                          addressCity: Montréal
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          postalCode: H4E 1G8
                          streetAddress: 4-1900 Av De l'Église
                          streetAddressAdditional: ''
                      registeredOffice:
                        deliveryAddress:
                          addressCity: Montréal
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          postalCode: H4E 1G8
                          streetAddress: 4-1900 Av De l'Église
                          streetAddressAdditional: ''
                        mailingAddress:
                          addressCity: Montréal
                          addressCountry: Canada
                          addressCountryDescription: Canada
                          addressRegion: BC
                          deliveryInstructions: ''
                          postalCode: H4E 1G8
                          streetAddress: 4-1900 Av De l'Église
                          streetAddressAdditional: ''
                    registrarInfo:
                      endDate: null
                      name: T.K. SPARKS
                      startDate: '2022-06-01T00:00:00'
                      title: Registrar of Companies
                    reportDateTime: '2022-08-05T19:50:04.960880+00:00'
                    reportType: lseal
                    stateFilings: []
      operationId: get-businesses-identifier-document-documentName
      description: Retrieves a specific document for the specified business.
      parameters:
        - schema:
            type: string
            enum:
              - application/pdf
              - application/json
          in: header
          name: Accept
          description: The accept mimetype of the object
        - $ref: '#/components/parameters/accountId'
  /businesses:
    post:
      summary: start a new business filing (draft)
      operationId: post-business
      tags:
        - business
      responses:
        '201':
          description: 'Created '
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                type: object
                properties: {}
              examples:
                amalgamation-regular-success-response:
                  summary: Amalgamation Regular Response
                  value:
                    filing: 
                      amalgamationApplication:
                        amalgamatingBusinesses:
                          - identifier: BC0883189
                            role: amalgamating
                          - identifier: BC0883230
                            role: amalgamating
                        contactPoint: 
                          email: no_one@never.get
                          phone: (555) 555-5555
                        courtApproval: false
                        nameRequest: 
                            legalType: BC
                        offices: 
                          recordsOffice:
                            deliveryAddress: 
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                            mailingAddress: 
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                          registeredOffice: 
                            deliveryAddress: 
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                            mailingAddress: 
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                        parties:
                          - mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            officer:
                              firstName: First
                              lastName: Last
                              partyType: person
                              middleInitial: ''
                              organizationName: ''
                            roles:
                              - appointmentDate: '2024-07-24'
                                roleType: Completing Party
                          - mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            officer:
                              firstName: First
                              lastName: Director
                              middleInitial: ''
                              organizationName: ''
                              partyType: person
                            roles:
                              - appointmentDate: '2024-07-24'
                                roleType: Director
                        shareStructure: 
                          shareClasses:
                            - name: Classic 1 Shares
                              priority: 1
                              maxNumberOfShares: null
                              parValue: null
                              currency: null
                              hasMaximumShares: false
                              hasParValue: false
                              hasRightsOrRestrictions: false
                              series: []
                        type: regular
                      business: 
                        identifier: TO12345678
                      header: 
                        accountId: 1234
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: First Last
                        colinIds: []
                        comments: []
                        date: 2024-07-25T19:54:02.949741+00:00
                        deletionLocked: false
                        effectiveDate: 2024-07-25T19:54:02.949764+00:00
                        filingId: 150338
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        isPaymentActionRequired: false
                        name: amalgamationApplication
                        paymentAccount: '12345'
                        paymentStatusCode: COMPLETED
                        paymentToken: '12345678'
                        status: PENDING
                        submitter: mocked submitter
                amalgamation-short-form-horizontal-success-response:
                  summary: Amalgamation Short Form Horizontal Response
                  value:
                    filing: 
                      amalgamationApplication:
                        amalgamatingBusinesses:
                          - identifier: BC0883189
                            role: primary
                          - identifier: BC0883230
                            role: amalgamating
                        contactPoint: 
                          email: no_one@never.get
                          phone: (555) 555-5555
                        courtApproval: false
                        nameRequest: 
                            legalType: BC
                        offices:
                          recordsOffice:
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                            mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                          registeredOffice:
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                            mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                        parties:
                          - mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            officer:
                              firstName: First
                              lastName: Last
                              partyType: person
                              middleInitial: ''
                              organizationName: ''
                            roles:
                              - appointmentDate: '2024-07-24'
                                roleType: Completing Party
                          - mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            officer:
                              firstName: First
                              lastName: Director
                              middleInitial: ''
                              organizationName: ''
                              partyType: person
                            roles:
                              - appointmentDate: '2024-07-24'
                                roleType: Director
                        shareStructure:
                          shareClasses:
                            - name: Classic 1 Shares
                              priority: 1
                              maxNumberOfShares: null
                              parValue: null
                              currency: null
                              hasMaximumShares: false
                              hasParValue: false
                              hasRightsOrRestrictions: false
                              series: []
                        type: horizontal
                      business: 
                        identifier: TO12345678
                      header: 
                        accountId: 1234
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: First Last
                        colinIds: []
                        comments: []
                        date: 2024-07-25T19:54:02.949741+00:00
                        deletionLocked: false
                        effectiveDate: 2024-07-25T19:54:02.949764+00:00
                        filingId: 150338
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        isPaymentActionRequired: false
                        name: amalgamationApplication
                        paymentAccount: '12345'
                        paymentStatusCode: COMPLETED
                        paymentToken: '12345678'
                        status: PENDING
                        submitter: mocked submitter
                amalgamation-short-form-vertical-success-response:
                  summary: Amalgamation Short Form Vertical Response
                  value:
                    filing:
                      amalgamationApplication:
                        amalgamatingBusinesses:
                          - identifier: BC0883189
                            role: holding
                          - identifier: BC0883230
                            role: amalgamating
                        contactPoint: 
                          email: no_one@never.get
                          phone: (555) 555-5555
                        courtApproval: false
                        nameRequest: 
                            legalType: BC
                        offices:
                          recordsOffice:
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                            mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                          registeredOffice:
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                            mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                        parties:
                          - mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            officer:
                              firstName: First
                              lastName: Last
                              partyType: person
                              middleInitial: ''
                              organizationName: ''
                            roles:
                              - appointmentDate: '2024-07-24'
                                roleType: Completing Party
                          - mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            officer:
                              firstName: First
                              lastName: Director
                              middleInitial: ''
                              organizationName: ''
                              partyType: person
                            roles:
                              - appointmentDate: '2024-07-24'
                                roleType: Director
                        shareStructure:
                          shareClasses:
                            - name: Classic 1 Shares
                              priority: 1
                              maxNumberOfShares: null
                              parValue: null
                              currency: null
                              hasMaximumShares: false
                              hasParValue: false
                              hasRightsOrRestrictions: false
                              series: []
                        type: vertical
                      business: 
                        identifier: TO12345678
                      header: 
                        accountId: 1234
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: First Last
                        colinIds: []
                        comments: []
                        date: 2024-07-25T19:54:02.949741+00:00
                        deletionLocked: false
                        effectiveDate: 2024-07-25T19:54:02.949764+00:00
                        filingId: 150338
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        isPaymentActionRequired: false
                        name: amalgamationApplication
                        paymentAccount: '12345'
                        paymentStatusCode: COMPLETED
                        paymentToken: '12345678'
                        status: PENDING
                        submitter: mocked submitter
                continuation-in-success-response:
                  summary: Continuation In - To Be Approved Response
                  value:
                    filing:
                      continuationIn: 
                        authorization: 
                            files: 
                              - fileKey: 123456-mock-value-1234.pdf.pdf
                                fileName: Example_PDF.pdf
                        contactPoint: 
                            email: test@test.com
                            phone: '(250) 123-4567'
                        foreignJurisdiction: 
                            country: US
                            identifier: TEST1234
                            incorporationDate: '2024-06-01'
                            legalName: Test business
                            region: CA
                        nameRequest: 
                            legalName: TEST CONT IN LTD.
                            legalType: C
                            nrNumber: NR 1234567
                      business: 
                        identifier: TO12345678
                      header:
                        accountId: 1234
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: First Last
                        colinIds: []
                        comments: []
                        date: '2025-03-21T19:54:02.949764+00:00'
                        deletionLocked: false
                        effectiveDate: '2025-03-21T19:54:02.949764+00:00'
                        filingId: 1234567
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        name: continuationIn
                        status: AWAITING_REVIEW
                        submitter: mocked submitter
                incorporation-application-success-response:
                  summary: Incorporation Application Response  
                  value:
                    filing:
                      business:
                        identifier: T12345678  
                      header:
                        accountId: 1234
                        affectedFilings: []
                        availableOnPaperOnly: false
                        certifiedBy: First Last
                        colinIds: []
                        comments: []
                        date: '2025-03-20T21:29:35.662445+00:00'
                        deletionLocked: false
                        effectiveDate: '2025-03-20T16:17:57.191129+00:00'
                        filingId: 123456
                        inColinOnly: false
                        isCorrected: false
                        isCorrectionPending: false
                        isPaymentActionRequired: false
                        name: incorporationApplication
                        paymentAccount: '12345'
                        paymentStatusCode: COMPLETED
                        paymentToken: '12345678'
                        status: PENDING
                        submitter: mocked submitter
                      incorporationApplication:
                        contactPoint:
                          email: no_one@never.get
                          phone: '(250) 123-4567'
                        nameRequest:
                          legalType: BEN
                        nameTranslations: []
                        offices:
                          recordsOffice:
                            deliveryAddress:
                              addressCity: delivery_address city
                              addressCountry: CA
                              addressRegion: BC 
                              postalCode: H0H 0H0
                              streetAddress: delivery_address - address line one
                            mailingAddress:
                              addressCity: mailing_address city
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: H0H 0H0 
                              streetAddress: mailing_address - address line one
                          registeredOffice:
                            deliveryAddress:
                              addressCity: delivery_address city
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: H0H 0H0
                              streetAddress: delivery_address - address line one
                            mailingAddress:
                              addressCity: mailing_address city
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: H0H 0H0
                              streetAddress: mailing_address - address line one
                        parties:
                        - roles:
                          - roleType: Completing Party
                            appointmentDate: '2025-03-20'
                          - roleType: Incorporator
                            appointmentDate: '2025-03-20'
                          - roleType: Director
                            appointmentDate: '2025-03-20'
                          officer:
                            firstName: First
                            lastName: Last
                            middleInitial: ""
                            organizationName: ""
                            partyType: "person"
                            email: "apiSpec@example.com"
                          mailingAddress: 
                            addressCity: mailing_address city
                            addressCountry: CA
                            addressRegion: BC
                            postalCode: H0H 0H0
                            streetAddress: mailing_address - address line one
                            streetAddressAdditional: ""
                          deliveryAddress:
                              addressCity: delivery_address city
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: H0H 0H0
                              streetAddress: delivery_address - address line one
                              streetAddressAdditional: ""
                      shareStructure:
                        shareClasses:
                          - name: Sample Shares
                            priority: 1
                            hasMaximumShares: false
                            maxNumberOfShares: null
                            hasParValue: false
                            parValue: null
                            currency: null
                            hasRightsOrRestrictions: false
                            series: []
                registration-sucess-response:
                  summary: Registration Response
                  value:
                    filing:
                      business:
                        identifier: T12345678
                      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: amalgamationApplication
                        status: DRAFT
                        submitter: mocked submitter
                      registration: 
                        business: 
                          identifier: TO12345678
                          naics:
                            naicsCode: '919110'
                            naicsDescription: International and other extra-territorial public administration
                        businessType: SP
                        offices: 
                          businessOffice: 
                            deliveryAddress: 
                              streetAddress: delivery_address - address line one
                              addressCity: delivery_address city
                              addressCountry: Canada
                              postalCode: H0H 0H0
                              addressRegion: BC
                            mailingAddress: 
                              streetAddress: mailing_address - address line one
                              addressCity: mailing_address city
                              addressCountry: Canada
                              postalCode: H0H 0H0
                              addressRegion: BC
                        contactPoint: 
                          email: no_one@never.get
                        startDate: '2024-07-26'
                        nameRequest: 
                          nrNumber: NR 8332083
                          legalName: KD API SPEC SP
                          legalType: SP
                        parties:
                          - mailingAddress: 
                              streetAddress: mailing_address - address line one
                              streetAddressAdditional: 
                              addressCity: mailing_address city
                              addressCountry: CA
                              postalCode: H0H 0H0
                              addressRegion: BC
                            deliveryAddress: 
                              streetAddress: delivery_address - address line one
                              streetAddressAdditional: 
                              addressCity: delivery_address city
                              addressCountry: CA
                              postalCode: H0H 0H0
                              addressRegion: BC
                            officer: 
                              firstName: Joe
                              lastName: Swanson
                              middleInitial: P
                              email: joe@email.com
                              organizationName: ''
                              partyType: person
                            roles:
                              - appointmentDate: '2024-07-26'
                                roleType: Completing Party
                              - appointmentDate: '2024-07-26'
                                roleType: Proprietor
        '401':
          description: Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided. The user does not have valid authentication credentials for the target resource.
          content:
            application/json:
              examples:
                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.
                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.
                incorporation-unauthorized-response:
                  summary: Incorporation - 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.
        '200':
          description: Validation only (only_validate=true). The filing was checked and not saved; any errors are listed in the body.
        '400':
          description: Bad request. Malformed body, filing/business/identifier not matching the path, or validation errors listed in the body.
        '402':
          description: Payment required. The invoice could not be created with the pay service; details in the body.
        '403':
          description: Forbidden. The filing type is not allowed for this business in its current state, or a client is changing a draft that staff started.
        '503':
          description: Service unavailable. The temporary business or its account affiliation could not be created; try again later.
      description: |-
        Use this endpoint to start a new business. It supports these filings: Incorporation Application, Amalgamation (Regular, Short Form Horizontal and Short Form Vertical), Continuation In and Registration (Sole Proprietorship, General Partnership).

        Always call it with `draft=true`. The API creates a temporary business identifier (for example `TO12345678`), saves the body as a draft and returns both the temporary identifier (`filing.business.identifier`) and the draft `filing.header.filingId`. Then submit with `PUT /businesses/{temporary identifier}/filings/{filingId}` using the same body with `filing.business.identifier` set to the temporary identifier. `PUT ...?only_validate=true` validates the body without submitting it, and `DELETE /businesses/{temporary identifier}/filings/{filingId}` removes an unwanted draft.

        A `POST /businesses` without `draft=true` is rejected with 400, because the identifier in the body cannot match the temporary identifier the API creates during the call.
      requestBody:
        content:
          application/json:
            schema:
                $ref: '#/components/schemas/Filing'
            examples:
              amalgamation-regular-request:
                summary: Amalgamation Regular Request
                value:
                  filing:
                    header:
                      authorizationReceived: true
                      accountId: 1234
                      certifiedBy: First Last
                      date: '2024-07-26'
                      name: amalgamationApplication
                    business:
                      identifier: TO12345678
                    amalgamationApplication:
                      amalgamatingBusinesses:
                        - identifier: BC0883189
                          role: amalgamating
                        - identifier: BC0883230
                          role: amalgamating
                      contactPoint: 
                        email: no_one@never.get
                        phone: (555) 555-5555
                      courtApproval: false
                      nameRequest: 
                          legalType: BC
                      offices: 
                        recordsOffice: 
                          deliveryAddress: 
                            addressCity: Victoria
                            addressCountry: CA
                            addressRegion: BC
                            postalCode: V8Z 5C5
                            streetAddress: Test rd
                            streetAddressAdditional: ''
                          mailingAddress: 
                            addressCity: Victoria
                            addressCountry: CA
                            addressRegion: BC
                            postalCode: V8Z 5C5
                            streetAddress: Test rd
                            streetAddressAdditional: ''
                        registeredOffice: 
                          deliveryAddress: 
                            addressCity: Victoria
                            addressCountry: CA
                            addressRegion: BC
                            postalCode: V8Z 5C5
                            streetAddress: Test rd
                            streetAddressAdditional: ''
                          mailingAddress: 
                            addressCity: Victoria
                            addressCountry: CA
                            addressRegion: BC
                            postalCode: V8Z 5C5
                            streetAddress: Test rd
                            streetAddressAdditional: ''
                      parties:
                        - mailingAddress:
                            addressCity: Victoria
                            addressCountry: CA
                            addressRegion: BC
                            postalCode: V8Z 5C5
                            streetAddress: 3950 Helen Rd
                            streetAddressAdditional: ''
                          deliveryAddress:
                            addressCity: Victoria
                            addressCountry: CA
                            addressRegion: BC
                            postalCode: V8Z 5C5
                            streetAddress: 3950 Helen Rd
                            streetAddressAdditional: ''
                          officer:
                            firstName: First
                            lastName: Last
                            middleInitial: ''
                            organizationName: ''
                            partyType: person
                          roles:
                            - appointmentDate: '2024-07-24'
                              roleType: Completing Party
                        - mailingAddress:
                            addressCity: Victoria
                            addressCountry: CA
                            addressRegion: BC
                            postalCode: V8Z 5C5
                            streetAddress: 3950 Helen Rd
                            streetAddressAdditional: ''
                          deliveryAddress:
                            addressCity: Victoria
                            addressCountry: CA
                            addressRegion: BC
                            postalCode: V8Z 5C5
                            streetAddress: 3950 Helen Rd
                            streetAddressAdditional: ''
                          officer:
                            firstName: First
                            lastName: Director
                            middleInitial: ''
                            organizationName: ''
                            partyType: person
                          roles:
                            - appointmentDate: '2024-07-24'
                              roleType: Director
                      shareStructure: 
                        shareClasses:
                          - name: Classic 1 Shares
                            priority: 1
                            maxNumberOfShares: null
                            parValue: null
                            currency: null
                            hasMaximumShares: false
                            hasParValue: false
                            hasRightsOrRestrictions: false
                            series: []
                      type: regular
              amalgamation-short-form-horizontal-request:
                  summary: Amalgamation Short Form Horizontal Request
                  value:
                    filing:
                      header:
                        authorizationReceived: true
                        accountId: 1234
                        certifiedBy: First Last
                        date: '2024-07-26'
                        name: amalgamationApplication
                      business:
                        identifier: TO12345678
                      amalgamationApplication:
                        amalgamatingBusinesses:
                          - identifier: BC0883189
                            role: primary
                          - identifier: BC0883230
                            role: amalgamating
                        contactPoint: 
                          email: no_one@never.get
                          phone: (555) 555-5555
                        courtApproval: false
                        nameRequest: 
                            legalType: BC
                        offices:
                          recordsOffice:
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                            mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                          registeredOffice:
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                            mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                        parties:
                          - mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            officer:
                              firstName: First
                              lastName: Last
                              middleInitial: ''
                              organizationName: ''
                              partyType: person
                            roles:
                              - appointmentDate: '2024-07-24'
                                roleType: Completing Party
                          - mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            officer:
                              firstName: First
                              lastName: Director
                              middleInitial: ''
                              organizationName: ''
                              partyType: person
                            roles:
                            - appointmentDate: '2024-07-24'
                              roleType: Director
                        shareStructure:
                          shareClasses:
                            - name: Classic 1 Shares
                              priority: 1
                              maxNumberOfShares: null
                              parValue: null
                              currency: null
                              hasMaximumShares: false
                              hasParValue: false
                              hasRightsOrRestrictions: false
                              series: []
                        type: horizontal
              amalgamation-short-form-vertical-request:
                summary: Amalgamation Short Form Vertical Request
                value:
                  filing:
                    header:
                      authorizationReceived: true
                      accountId: 1234
                      certifiedBy: First Last
                      date: '2024-07-26'
                      name: amalgamationApplication
                    business:
                      identifier: TO12345678
                    amalgamationApplication:
                      amalgamatingBusinesses:
                        - identifier: BC0883189
                          role: holding
                        - identifier: BC0883230
                          role: amalgamating
                      contactPoint: 
                        email: no_one@never.get
                        phone: (555) 555-5555
                      courtApproval: false
                      nameRequest: 
                          legalType: BC
                      offices:
                          recordsOffice:
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                            mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                          registeredOffice:
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                            mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: Test rd
                              streetAddressAdditional: ''
                      parties:
                          - mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            officer:
                              firstName: First
                              lastName: Last
                              middleInitial: ''
                              organizationName: ''
                              partyType: person
                            roles:
                              - appointmentDate: '2024-07-24'
                                roleType: Completing Party
                          - mailingAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            deliveryAddress:
                              addressCity: Victoria
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: V8Z 5C5
                              streetAddress: 3950 Helen Rd
                              streetAddressAdditional: ''
                            officer:
                              firstName: First
                              lastName: Director
                              middleInitial: ''
                              organizationName: ''
                              partyType: person
                            roles:
                            - appointmentDate: '2024-07-24'
                              roleType: Director
                      shareStructure:
                          shareClasses:
                            - name: Classic 1 Shares
                              priority: 1
                              maxNumberOfShares: null
                              parValue: null
                              currency: null
                              hasMaximumShares: false
                              hasParValue: false
                              hasRightsOrRestrictions: false
                              series: []
                      type: vertical
              continuation-in-request:
                summary: Continuation In - To Be Approved Request
                value:
                  filing:
                    header: 
                      authorizationReceived: true
                      accountId: 1234
                      certifiedBy: First Last
                      date: '2025-03-21'
                      name: continuationIn
                    business:
                      identifier: TO12345678
                    continuationIn:
                      authorization: 
                          files: 
                              - fileKey: 123456-mock-value-1234.pdf
                                fileName: Example_PDF.pdf
                      contactPoint: 
                          email: test@test.com
                          phone: '(250) 123-4567'
                      foreignJurisdiction: 
                          country: US
                          identifier: TEST1234
                          incorporationDate: '2024-06-01'
                          legalName: Test business
                          region: CA
                      nameRequest: 
                          nrNumber: NR 1234567
                          legalName: TEST CONT IN LTD.
                          legalType: C
              incorporation-application-request:
                summary: Incorporation Application Request
                value:
                  filing:
                    header:
                      authorizationReceived: true
                      certifiedBy: First Last
                      name: incorporationApplication
                      date: '2025-03-20'
                      accountId: 1234
                    business:
                      identifier: TO12345678
                    incorporationApplication:
                      nameRequest:
                        legalType: BEN
                      offices:
                        registeredOffice:
                          deliveryAddress:
                            streetAddress: delivery_address - address line one
                            addressCity: delivery_address city
                            addressCountry: CA
                            postalCode: H0H 0H0
                            addressRegion: BC
                          mailingAddress:
                            streetAddress: mailing_address - address line one
                            addressCity: mailing_address city
                            addressCountry: CA
                            postalCode: H0H 0H0
                            addressRegion: BC
                        recordsOffice:
                          deliveryAddress:
                            streetAddress: delivery_address - address line one
                            addressCity: delivery_address city
                            addressCountry: CA
                            postalCode: H0H 0H0
                            addressRegion: BC
                          mailingAddress:
                            streetAddress: mailing_address - address line one
                            addressCity: mailing_address city
                            addressCountry: CA
                            postalCode: H0H 0H0
                            addressRegion: BC
                      contactPoint:
                        email: no_one@never.get
                        phone: '(250) 123-4567'
                      parties:
                        - roles:
                          - roleType: Completing Party
                            appointmentDate: '2025-03-20'
                          - roleType: Incorporator
                            appointmentDate: '2025-03-20'
                          - roleType: Director
                            appointmentDate: '2025-03-20'
                          officer:
                            firstName: First
                            lastName: Last
                            middleInitial: ""
                            organizationName: ""
                            partyType: "person"
                            email: "apiSpec@example.com"
                          mailingAddress: 
                            addressCity: mailing_address city
                            addressCountry: CA
                            addressRegion: BC
                            postalCode: H0H 0H0
                            streetAddress: mailing_address - address line one
                            streetAddressAdditional: ""
                          deliveryAddress:
                              addressCity: delivery_address city
                              addressCountry: CA
                              addressRegion: BC
                              postalCode: H0H 0H0
                              streetAddress: delivery_address - address line one
                              streetAddressAdditional: ""
                      shareStructure:
                        shareClasses:
                          - name: Sample Shares
                            priority: 1
                            hasMaximumShares: false
                            maxNumberOfShares: null
                            hasParValue: false
                            parValue: null
                            currency: null
                            hasRightsOrRestrictions: false
                            series: []
                      incorporationAgreement:
                        agreementType: sample
              registration-request:
                summary: Registration Request
                value:
                  filing:
                    header:
                      accountId: 1234
                      certifiedBy: full name
                      email: "no_one@never.get"
                      date: '2024-07-26'
                      name: registration
                    business:
                      identifier: TO12345678
                      legalType: SP
                    registration: 
                      business: 
                        identifier: TO12345678
                        naics:
                          naicsCode: '919110'
                          naicsDescription: International and other extra-territorial public administration
                      businessType: SP
                      offices: 
                        businessOffice: 
                          deliveryAddress: 
                            streetAddress: delivery_address - address line one
                            addressCity: delivery_address city
                            addressCountry: Canada
                            postalCode: H0H 0H0
                            addressRegion: BC
                          mailingAddress: 
                            streetAddress: mailing_address - address line one
                            addressCity: mailing_address city
                            addressCountry: Canada
                            postalCode: H0H 0H0
                            addressRegion: BC
                      contactPoint: 
                        email: no_one@never.get
                      startDate: '2024-07-26'
                      nameRequest: 
                        nrNumber: NR 8332083
                        legalName: KD API SPEC SP
                        legalType: SP
                      parties:
                        - mailingAddress: 
                            streetAddress: mailing_address - address line one
                            streetAddressAdditional: 
                            addressCity: mailing_address city
                            addressCountry: CA
                            postalCode: H0H 0H0
                            addressRegion: BC
                          deliveryAddress: 
                            streetAddress: delivery_address - address line one
                            streetAddressAdditional: 
                            addressCity: delivery_address city
                            addressCountry: CA
                            postalCode: H0H 0H0
                            addressRegion: BC
                          officer: 
                            firstName: Joe
                            lastName: Swanson
                            middleInitial: P
                            email: joe@email.com
                            organizationName: ''
                            partyType: person
                          roles:
                            - appointmentDate: '2024-07-26'
                              roleType: Completing Party
                            - appointmentDate: '2024-07-26'
                              roleType: Proprietor
      parameters:
        - schema:
            type: boolean
          in: query
          name: draft
          description: Save the filing as a draft under a new temporary business identifier. Required for API users; see the endpoint description for the two-step flow.
        - schema:
            type: boolean
          in: query
          description: 'This parameter is used to submit a filing for validation only, no entity will be created. Use this to confirm that a filing is fully complete and correct prior to submission.'
          name: only_validate
        - $ref: '#/components/parameters/accountId'
    parameters: []
  '/businesses/{identifier}/parties':
    parameters:
      - schema:
          type: string
        description: business identifier is the registration or incorporation number of the business.
        name: identifier
        in: path
        required: true
    get:
      summary: get_all_parties
      tags:
        - business
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/party'
      operationId: get-businesses-identifier-parties
      description: Get all parties (Incorporator, Completing Party and Directors) associated with a business.
      parameters:
        - $ref: '#/components/parameters/accountId'
  '/businesses/{identifier}/directors':
    parameters:
      - $ref: '#/components/parameters/identifier'
    get:
      summary: get business directors
      tags:
        - business
      operationId: get-businesses-identifier-directors
      description: |-
        Returns the current directors of the business with their delivery and mailing addresses. Short form amalgamations must copy the primary or holding business's directors from this response.
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Directors_response'
              examples:
                example-1:
                  value:
                    directors:
                    - appointmentDate: '2026-10-23'
                      cessationDate: null
                      deliveryAddress:
                        addressCity: Victoria
                        addressCountry: CA
                        addressRegion: BC
                        deliveryInstructions: ''
                        id: 1001
                        postalCode: V8W 1E5
                        streetAddress: 500 Fort St
                        streetAddressAdditional: ''
                      mailingAddress:
                        addressCity: Victoria
                        addressCountry: CA
                        addressRegion: BC
                        deliveryInstructions: ''
                        id: 1002
                        postalCode: V8W 1E5
                        streetAddress: 500 Fort St
                        streetAddressAdditional: ''
                      officer:
                        firstName: First
                        lastName: Last
                        middleInitial: ''
                        partyType: person
                      role: director
                      id: 501
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
        - $ref: '#/components/parameters/accountId'
  '/businesses/{identifier}/share-classes':
    parameters:
      - $ref: '#/components/parameters/identifier'
    get:
      summary: get business share classes
      tags:
        - business
      operationId: get-businesses-identifier-share-classes
      description: |-
        Returns the current share structure of the business. Short form amalgamations must copy the primary or holding business's share classes from this response.
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Share_classes_response'
              examples:
                example-1:
                  value:
                    shareClasses:
                    - currency: null
                      hasMaximumShares: true
                      hasParValue: false
                      hasRightsOrRestrictions: false
                      id: 301
                      maxNumberOfShares: 10000
                      name: Common Shares
                      parValue: null
                      priority: 1
                      series: []
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
        - $ref: '#/components/parameters/accountId'
  '/businesses/{identifier}/resolutions':
    parameters:
      - $ref: '#/components/parameters/identifier'
    get:
      summary: get business resolutions
      tags:
        - business
      operationId: get-businesses-identifier-resolutions
      description: |-
        Returns the resolutions recorded on the business (for example share structure resolution dates and special resolutions). Short form amalgamations must copy the primary or holding business's resolution dates from this response.
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Resolutions_response'
              examples:
                example-1:
                  value:
                    resolutions:
                    - id: 701
                      type: SPECIAL
                      date: '2026-03-15'
                      subType: memorandum
                      signingDate: '2026-03-16'
                      signatory:
                        givenName: First
                        familyName: Last
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
        - $ref: '#/components/parameters/accountId'
  '/businesses/{identifier}/aliases':
    parameters:
      - $ref: '#/components/parameters/identifier'
    get:
      summary: get business name translations
      tags:
        - business
      operationId: get-businesses-identifier-aliases
      description: |-
        Returns the name translations (aliases) recorded on the business.
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Aliases_response'
              examples:
                example-1:
                  value:
                    aliases:
                    - id: '801'
                      name: NOM FRANÇAIS LTÉE
                      type: TRANSLATION
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
        - $ref: '#/components/parameters/accountId'
  '/businesses/{identifier}/tasks':
    parameters:
      - $ref: '#/components/parameters/identifier'
    get:
      summary: get business tasks
      tags:
        - business
      operationId: get-businesses-identifier-tasks
      description: |-
        Returns the to-do list for the business: draft, pending and future-effective filings, and outstanding annual reports. An empty list means nothing is outstanding; an identifier that does not exist also returns an empty list rather than 404. While a draft or pending filing is outstanding, most other filing types cannot be started.
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tasks_response'
              examples:
                example-1:
                  value:
                    tasks:
                    - enabled: true
                      order: 1
                      task:
                        todo:
                          header:
                            name: annualReport
                            ARFilingYear: 2026
                            status: NEW
                            arMinDate: '2026-10-23'
                            arMaxDate: '2026-12-22'
                          business:
                            identifier: BC1234567
                            legalName: 1234567 B.C. LTD.
                            legalType: BC
        '401':
          description: Unauthorized
      parameters:
        - $ref: '#/components/parameters/accountId'
  '/businesses/{identifier}/comments':
    parameters:
      - $ref: '#/components/parameters/identifier'
    get:
      summary: get business comments
      tags:
        - business
      operationId: get-businesses-identifier-comments
      description: |-
        Returns the comments staff have recorded on the business.
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Comments_response'
              examples:
                example-1:
                  value:
                    comments:
                    - comment:
                        id: 901
                        comment: Address confirmed with the business owner.
                        commentType: STAFF
                        submitterDisplayName: BC Registries Staff
                        businessId: 123
                        filingId: null
                        timestamp: '2026-11-10T18:02:11+00:00'
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
        - $ref: '#/components/parameters/accountId'
  '/businesses/{identifier}/filings/{filingId}/comments':
    parameters:
      - $ref: '#/components/parameters/identifier'
      - $ref: '#/components/parameters/filingId'
    get:
      summary: get filing comments
      tags:
        - business
      operationId: get-businesses-identifier-filings-filingId-comments
      description: |-
        Returns the comments recorded on one filing.
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Comments_response'
              examples:
                example-1:
                  value:
                    comments:
                    - comment:
                        id: 902
                        comment: Filing reviewed.
                        commentType: STAFF
                        submitterDisplayName: BC Registries Staff
                        businessId: 123
                        filingId: 112233
                        timestamp: '2026-11-10T18:02:11+00:00'
        '401':
          description: Unauthorized
        '404':
          description: Not Found
      parameters:
        - $ref: '#/components/parameters/accountId'
  '/documents/client/{filingType}/{entityType}/{documentType}':
    post:
      tags:
        - document
      summary: Save a new document.
      description: <p>Upload a document for the first time. Information associated with the document may be submitted as any of the following request parameters<ul><li>businessIdentifier</li><li>filingDate</li><li>filename</li><li>filingId</li></ul>The response JSON key value is the unique identifier for the document.</p>
      operationId: post-document
      parameters:
        - schema:
            type: string
          description: API filing type that the client submitted document belongs to.
          name: filingType
          in: path
          required: true
        - schema:
            type: string
          description: API business entity type that the client submitted document belongs to.
          name: entityType
          in: path
          required: true
        - schema:
            type: string
          description: API document type for the client submitted document.
          name: documentType
          in: path
          required: true
        - $ref: '#/components/parameters/accountId'
        - $ref: '#/components/parameters/contentType'
        - schema:
            type: string
          description: The identifier of an entity such as a BC Company. Optionally submitted if available.
          name: businessIdentifer
          in: query
          required: false
          example: BC0799342
        - schema:
            type: string
          description: The document file name. Optionally submitted if available.
          name: filename
          in: query
          required: false
        - schema:
            type: integer
          description: The unique API filing id. Optionally submitted if available.
          name: filingId
          in: query
          required: false
      requestBody:
        content:
          application/pdf:
            schema:
              type: string
              format: binary
      responses:
        '201':
          description: Created
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Document_summary'
              examples:
                /documents/client/specialResolution/CP/coop_rules/post:
                  summary: Save a new document response.
                  value:
                    key: 'COOP-DS0000101951'
                    documentServiceId: 'DS0000101951'
                    consumerFilename: ''
                    consumerDocumentId: '0100000683'
                    consumerIdentifer: 'CP02345678'
                    consumerReferenceId: ''
                    documentType: COOP
                    documentTypeDescription: Cooperative Rules
                    documentClass: COOP
                    createDateTime: '2024-08-01T22:58:45+00:00'
                    documentURL: 'https://storage.googleapis.com/business_documents/2024/08/03/corr-0100001000.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=ppr-dev-sa%40eogruh-dev.iam.gserviceaccount.com%2F20240717%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20240717T222117Z&X-Goog-Expires=604800&X-Goog-SignedHeaders=host&X-Goog-Signature=382451ed1016bdc123083a58aa2358a713628e86d3730d43301e3b7d0e088dc1762ac6be3d56fe07193c02be82aab0c9b05fef52f4919292df470ffc3298442d4e6eda90a94b7fa564d2661f43eeec33a65f72314e9a1376e89adf1fc0b5f932cd72b30c921a44eac68cac82fdd5583474de5076715ac6738918f758f2c4abb71413efeb348604baf811cd14ecb005f6977270726094a1ee0d1060f786450f6b1ef7f1251c39376b4d80f438056b6b1bed57cd0b44d4616300ae031cbfc7703b61592b2519a2d01688bafd4d24ee83fecd0a425daf50c8319d94c4a8862fde89eca86a2dd974d01e5a7b7f7343cddefb70a1d1d61d27e1bb53b400d039e08cb2'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
  '/documents/client/{documentKey}':
    patch:
      tags:
        - document
      summary: Update information associated with an existing client document.
      description: '<p>Update document record properties for an existing document identified by a document key.</p>'
      operationId: patch-document
      parameters:
        - $ref: '#/components/parameters/accountId'
        - $ref: '#/components/parameters/documentKey'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Document_update'
            examples:
              business-example:
                summary: Update a business document request.
                value:
                  businessIdentifer: BC1500943
                  filingId: 19140001
                  filingDate: '2024-08-04T23:02:02+00:00'
      responses:
        '200':
          description: OK
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Document_response'
              examples:
                /documents/client/CORP-DS0100001003/patch:
                  summary: Update a business document response.
                  value:
                    message: 'Document record CORP-DS0100001003 updated successfully.'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
    put:
      tags:
        - document
      summary: Add or replace an existing document.
      description: <p>Add or replace the existing document record specified by the document key with the payload document.</p>
      operationId: put-document
      parameters:
        - $ref: '#/components/parameters/accountId'
        - $ref: '#/components/parameters/contentType'
        - $ref: '#/components/parameters/documentKey'
      requestBody:
        content:
          application/pdf:
            schema:
              type: string
              format: binary
      responses:
        '201':
          description: Created
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Document_response'
              examples:
                /documents/client/CORP-DS0100001003/patch:
                  summary: Replace a business document response.
                  value:
                    message: 'Document CORP-DS0100001003 replaced successfully.'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
    delete:
      tags:
        - document
      summary: Permanently delete an existing document.
      description: '<p>Permanently delete from document storage the existing document associated record specified by the document key. If no document exists (previously deleted or never uploaded), a 400 status code is returned.</p>'
      operationId: delete-document
      parameters:
        - $ref: '#/components/parameters/accountId'
        - $ref: '#/components/parameters/documentKey'
      responses:
        '200':
          description: Ok
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Document_response'
              examples:
                /documents/client/CORP-DS0100001003/patch:
                  summary: Delete a business document response.
                  value:
                    message: 'Document CORP-DS0100001003 deleted successfully.'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
    get:
      tags:
        - document
      summary: Retrieve an existing document.
      description: '<p>Retrieve from document storage the existing document specified by the document key. If no document exists (previously deleted or never uploaded), a 400 status code is returned.</p>'
      operationId: get-document
      parameters:
        - $ref: '#/components/parameters/accountId'
        - $ref: '#/components/parameters/contentType'
        - $ref: '#/components/parameters/documentKey'
      responses:
        '200':
          description: Ok
          headers:
            Access-Control-Allow-Origin:
              $ref: '#/components/headers/AccessControlAllowOrigin'
            Access-Control-Allow-Methods:
              $ref: '#/components/headers/AccessControlAllowMethods'
            Access-Control-Allow-Headers:
              $ref: '#/components/headers/AccessControlAllowHeaders'
            Access-Control-Max-Age:
              $ref: '#/components/headers/AccessControlMaxAge'
          content:
            application/pdf:
              schema:
                type: string
                format: binary
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    Address:
      type: object
      title: Address Schema
      description: 'Standard address format: apartment, unit, or street address number and street name. City, province or territory code, country, postal code and instructions for delivery.'
      properties:
        streetAddress:
          type: string
          maxLength: 50
          description: 'Address line 1: appt no, house no, building name, street name/number.'
          example: 5-4761 Bay Street
        streetAddressAdditional:
          type: string
          maxLength: 50
          description: 'Address line 2: extra address details added to line 1.'
        addressCity:
          type: string
          maxLength: 40
          example: Victoria
          description: 'City, town, municipality.'
        addressRegion:
          type: string
          maxLength: 2
          example: 'BC'
          description: '2 char code for province, state, territory or district.'
        addressCountry:
          type: string
          example: Canada
          description: 'Country name or abbreviation eg: USA.'
        postalCode:
          type: string
          maxLength: 15
          example: V8R 2P1
          description: 'Postal, Pin, Zip, or letters/digits representing po stcode.'
        deliveryInstructions:
          type: string
          maxLength: 80
          example: '"Our apartment is located at the back of the building."'
          description: 'Specific instructions for the freight forwarder or carrier'
      required:
        - streetAddress
        - addressCity
        - addressCountry
        - postalCode
      x-examples:
        Example 1:
          streetAddress: 5-4761 Bay Street
          streetAddressAdditional: Student Residence
          addressCity: Victoria
          addressRegion: 'BC for British Columbia'
          addressCountry: Canada
          postalCode: V8R 2P1
          deliveryInstructions: 'Our apartment is located at the back of the building.'
    Agm_extension:
      type: object
      title: AGM Extension Information Schema
      description: Notice of AGM(Annual General Meeting) date extension allows companies to request an extension to the deadline for holding an Annual General Meeting (AGM). The longest extension granted at one time is six months.
      properties:
        agmExtension:
          type: object
          required:
            - year
            - isFirstAgm
            - extReqForAgmYear
          properties:
            year:
              type: string
              description: The year for which the AGM extension is being requested. This year cannot be before the company's incorporation date or in the future.
              example: '2024'
            isFirstAgm:
              type: boolean
              description: Indicates if this is the company''s very first AGM since incorporation.
              example: true
            extReqForAgmYear:
              type: boolean
              description: Indicates if an extension has already been requested for this AGM year. False for the first extension request of the year, true for subsequent requests within the same AGM year.
              example: false
            prevAgmRefDate:
              type: string
              format: date
              description: Point of reference from which companies have 15 months to either file an AGM or request an extension. For the first AGM (when isFirstAgm is true), this is not required. Required when isFirstAgm is false.
              example: '2023-06-01'
            expireDateCurrExt:
              type: string
              format: date
              description: Date of expiration for current extension, if applicable. Required when requesting an additional extension (when extReqForAgmYear is true).
              example: '2024-04-10'
            totalApprovedExt:
              type: integer
              description: Total duration of extension approved, measured in months.
              example: 6
            extensionDuration:
              type: integer
              description: Duration of the current extension request in months. Maximum is 6 months per request.
              example: 6
            expireDateApprovedExt:
              type: string
              format: date
              description: Expiration date for approved extension.
              example: '2024-07-10'
    Agm_location_change:
      type: object
      title: AGM Location Change Information Schema
      description: 'Notice of AGM(Annual General Meeting) location change allows changing of the company''s AGM location. Requires the information of the AGM year, reason of change and the new location.'
      properties:
        agmLocationChange:
          type: object
          required:
            - year
            - reason
            - agmLocation
          properties:
            year:
              type: string
              description: Year of the AGM, Must be on or after incorporation year and cannot be future year.
            reason:
              type: string
              maxLength: 2000
            agmLocation:
              type: string
              maxLength: 400
    Agreement_type:
      type: object
      title: Incorporation Agreement Type
      description: 'Agreement to adopt articles of incorpoation. '
      x-examples:
        Example 1: {}
      x-extension-1: null
      properties:
        agreementType:
          type: string
          enum:
            - sample
            - custom
          example: sample
          description: 'Example: Sample and custom'
      required:
        - agreementType
    Alteration:
      type: object
      title: Alteration Filing
      description: 'Notice of Alteration allows alteration of information on the company''s notice of articles, except changes to the company''s directors or the registered or records office addresses.'
      properties:
        alteration:
          type: object
          required:
            - business
            - contactPoint
          properties:
            business:
              $ref: '#/components/schemas/Business'
            contactPoint:
              $ref: '#/components/schemas/Contact_point'
            provisionsRemoved:
              type: boolean
              title: Has Pre-existing company provisions?
              description: Removal of the pre-existing company provisions Yes/No.
            nameRequest:
              $ref: '#/components/schemas/Name_request'
            nameTranslations:
              type: array
              description: 'Add, delete or change any translation of a company’s name.'
              items:
                type: string
                example: A translation of company name does not include company names that are specified in an English and/or French form.
            shareStructure:
              type: object
              description: 'Refers to the kinds, classes and special rights and restrictions of shares that a company is authorized to issue.  '
              properties:
                resolutionDates:
                  type: array
                  description: 'Dates the share structure resolutions were adopted. Each entry is an object with a `date` field. '
                  items:
                    type: object
                    required:
                      - date
                    properties:
                      id:
                        type: integer
                        description: Id of an existing resolution date, returned by the API.
                      date:
                        type: string
                        format: date
                shareClasses:
                  type: array
                  description: 'example: Class A shares.'
                  items:
                    $ref: '#/components/schemas/Share_structure'
            courtOrder:
              $ref: '#/components/schemas/Court_order'
      required:
        - alteration
      x-examples:
        Example 1:
          alteration:
            business:
              lastLedgerTimestamp: '2020-11-24T18:24:27.179623+00:00'
              fiscalYearEndDate: '2020-11-24'
              dissolutionDate: '2020-11-24T18:23:53.498863+00:00'
              foundingDate: '2020-11-24T18:23:53.498863+00:00'
              identifier: 'BC1234567 is an identifier for a corporation '
              legalName: '1234567 B.C. Ltd. is a legal name for a corporation '
              state: ACTIVE
              legalType: 'GP: General Partnership'
              taxId: BN123456789
              goodStanding: true
              adminFreeze: true
              naics:
                naicsCode: 32621 is the code for 'Tires Manufacturing' description
                naicsDescription: '''Tires Manufacturing'' is the description for code 32621'
              natureOfBusiness: '***This field has been replaced by the NAICS code and NAICS description***'
              complianceWarnings:
                - code: INVALID_LEGAL_STRUCTURE_DIRECTORS
                  message: A minimum of 3 directors is required
                  filing: 'https://LEGAL-API-HOST/api/v2/businesses/IDENTIFIER/filings/FILING_ID'
            contactPoint:
              email: abc.def@gov.bc.ca
              phone: string
              extension: 1234
            provisionsRemoved: true
            nameRequest:
              nrNumber: NR 0119436
              legalType: B.C. Company
              legalName: ABC Inc.
              requestType: BC Company Change of Name
              status: Expired
              expires: '2019-08-24T14:15:22Z'
              consent: Consent to use name
              submittedBy: John Smith
              address:
                streetAddress: 5-4761 Bay Street
                streetAddressAdditional: Student Residences
                addressCity: Victoria
                addressRegion: 'BC for British Columbia '
                addressCountry: Canada
                postalCode: V8R 2P1
                deliveryInstructions: '"Our apartment is located at the back of the building."'
            nameTranslations:
              - A translation of company name does not include company names that are specified in an English and/or French form.
            shareStructure:
              resolutionDates:
                - date: '2019-08-24'
              shareClasses:
                - resolutionDates:
                    - date: '2019-08-24'
                  shareClasses:
                    - name: Redeemable Shares
                      priority: 0
                      maxNumberOfShares: 100
                      parValue: 50
                      currency: CAD
                      hasMaximumShares: true
                      hasParValue: true
                      hasRightsOrRestrictions: true
                      series:
                        - name: Redeemable Preference Shares
                          priority: 0
                          hasMaximumShares: true
                          hasRightsOrRestrictions: true
            courtOrder:
              courtOrder:
                fileNumber: L041638
                orderDate: '2019-08-24T14:15:22Z'
                effectOfOrder: The Company will cease operations
                orderDetails: The Company is ordered to dissolve
    Amalgamation_application:
      type: object
      title: Amalgamation Application Filing
      description: 'Amalgamation_application'
      properties:
        amalgamationApplication:
          type: object
          required:
            - type
            - amalgamatingBusinesses
            - nameRequest
            - parties
            - contactPoint
            - courtApproval
          properties:
            type:
              type: string
              title: The type of Amalgamation
              enum:
                - regular
                - vertical
                - horizontal
            amalgamatingBusinesses:
              type: array
              items:
                required:
                - role
                - identifier
                properties:
                  role:
                    type: string
                    enum:
                      - amalgamating
                      - holding
                      - primary
                  identifier:
                    type: string
                  foreignJurisdiction:
                    $ref: '#/components/schemas/Foreign_jurisdiction'
                  legalName:
                    type: string
            nameRequest:
              $ref: '#/components/schemas/Name_request'
            nameTranslations:
              $ref: '#/components/schemas/Name_translations'
            contactPoint:
              $ref: '#/components/schemas/Contact_point'
            parties:
              type: array
              items:
                $ref: '#/components/schemas/party'
            courtOrder:
              $ref: '#/components/schemas/Court_order'
            courtApproval:
              title: Amalgamation statement
              type: boolean
            offices:
              type: object
              required:
                - registeredOffice
                - recordsOffice
              description: 'Addresses related to the business.'
              properties:
                registeredOffice:
                  $ref: '#/components/schemas/Office'
                recordsOffice:
                  $ref: '#/components/schemas/Office'
            shareStructure:
              $ref: '#/components/schemas/Share_structure'
      required:
        - amalgamationApplication
    Annual_report:
      type: object
      title: Annual Report Filing
      description: |
        To file any change or confirm the information shown in the Corporate Register. Must be filed within two months of the anniversary date of incorporation.

        **Note:** Officers are not required as part of the annual report filing.
      properties:
        annualReport:
          type: object
          description: To file any change or confirm the information shown in the Corporate Register. Must be filed within two months of the anniversary date of incorporation.
          required:
            - annualReportDate
            - directors
            - offices
          properties:
            annualGeneralMeetingDate:
              type: string
              format: date
              description: 'Date the AGM (annual general meeting) took place.'
            annualReportDate:
              type: string
              format: date
              description: 'Fiscal Year covered in the annual report.'
            directors:
              type: array
              description: |
                Individual who is a member of the board of directors of the company as a result of having been elected or appointed to that position.
                
                **Note:** Directors are required to be submitted in the filing but are not used to update any director information.  
                They are only there for review purposes.
              items:
                type: object
                properties:
                  officer:
                    type: object
                    description: Personal information about the director.
                    required:
                      - firstName
                      - lastName
                    properties:
                      firstName:
                        type: string
                        maxLength: 30
                        description: First name of the director/officer.
                      lastName:
                        type: string
                        maxLength: 30
                        description: Last name of the director/officer.
                      middleInitial:
                        type: string
                        maxLength: 30
                        description: The middle name initial of the director/officer.
                      prevFirstName:
                        title: 'previous first name, in the case of a legal name change in a filing'
                        type: string
                        maxLength: 30
                        description: Previous first name of director/officer if changed.
                      prevLastName:
                        title: 'previous last name, in the case of a legal name change in a filing'
                        type: string
                        maxLength: 30
                        description: Previous last name of director/officer if changed.
                      prevMiddleInitial:
                        title: 'previous middle name, in the case of a legal name change in a filing'
                        type: string
                        maxLength: 30
                        description: Previous middle name initial if changed.
                  deliveryAddress:
                    $ref: '#/components/schemas/Address'
                  mailingAddress:
                    $ref: '#/components/schemas/Address'
                  title:
                    type: string
                    example: Chief Executive Officer
                    description: Position in a corporation occupied by a director/officer.
                  appointmentDate:
                    type: string
                    format: date
                    description: Date the director or officer has started in the role.
                  cessationDate:
                    type: string
                    format: date
                    example: '2024-07-23'
                    description: Date the director or officer has been terminated in the role.
                required:
                  - officer
                  - deliveryAddress
                  - mailingAddress
                  - appointmentDate
                  - cessationDate
            offices:
              type: object
              required:
                - registeredOffice
                - recordsOffice
              description: |
                Addresses related to the business.
                
                **Note:** Offices are required to be submitted in the filing but are not used to update any office information.  
                They are only there for review purposes.
              properties:
                registeredOffice:
                  $ref: '#/components/schemas/Office'
                recordsOffice:
                  $ref: '#/components/schemas/Office'
      required:
        - annualReport
      x-examples:
        Example 1:
          annualReport:
            annualGeneralMeetingDate: '2019-08-24'
            annualReportDate: '2019-08-24'
            directors:
              - officer:
                  firstName: Mary
                  lastName: Smith
                  middleInitial: A
                  prevFirstName: Anna
                  prevLastName: White
                  prevMiddleInitial: B
                deliveryAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: Samuel Building
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our apartment is located at the back of the building."'
                mailingAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: Samuel Building
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our apartment is located at the back of the building."'
                title: Chief Executive Officer
                appointmentDate: '2019-05-20'
                cessationDate: '2019-08-10'
            offices:
              officeType: 'Head office '
              mailingAddress:
                streetAddress: 5-4999 Fort Street
                streetAddressAdditional: string
                addressCity: Victoria
                addressRegion: 'BC for British Columbia '
                addressCountry: Canada
                postalCode: V8R 2P1
                deliveryInstructions: '"Our local is located at the back of the building."'
              deliveryAddress:
                streetAddress: 5-4761 Bay Street
                streetAddressAdditional: Community Center A
                addressCity: Victoria
                addressRegion: 'BC for British Columbia '
                addressCountry: Canada
                postalCode: V8R 2P1
                deliveryInstructions: '"Our local is located at the back of the building."'
    Business:
      type: object
      title: Businesses Schema
      x-examples:
        example-1:
          lastLedgerTimestamp: '2020-11-24T18:24:27.179623+00:00'
          fiscalYearEndDate: '2020-11-24'
          dissolutionDate: '2020-11-24T18:23:53.498863+00:00'
          foundingDate: '2020-11-24T18:23:53.498863+00:00'
          identifier: BC1234567
          legalName: E.P. CHARLTON & CO. LIMITED
          legalType: BEN
          taxId: BN123456789
          state: ACTIVE
          goodStanding: true
          adminFreeze: true
          natureOfBusiness: This field has been replaced by the NAICS code and NAICS description
          naics:
            naicsCode: 32621 is the code for 'Tires Manufacturing' description
            naicsDescription: '''Tires Manufacturing'' is the description for code 32621'
          complianceWarnings:
            - code: INVALID_LEGAL_STRUCTURE_DIRECTORS
              message: A minimum of 3 directors is required.
              filing: 'https://LEGAL-API-HOST/api/v2/businesses/IDENTIFIER/filings/FILING_ID'
          alternateNames:
            - name: 'Name Translation 1'
              startDate: '2021-11-28'
              type: 'TRANSLATION'
            - name: 'Name Translation 2'
              startDate: '2023-01-25'
              type: 'TRANSLATION'
            - entityType: 'SP'
              identifier: 'FM1111111'
              name: 'Some DBA Name'
              registeredDate: '2021-03-16T21:36:07.009977+00:00'
              startDate: '2021-03-10'
              type: 'DBA'
            - entityType: 'SP'
              identifier: 'FM2222222'
              name: 'Another DBA Name'
              registeredDate: '2022-04-16T21:36:07.009977+00:00'
              startDate: '2022-04-10'
              type: 'DBA'
      description: 'Organization or business entity.'
      properties:
        lastLedgerTimestamp:
          type: string
          format: date-time
          example: '2020-11-24T18:24:27.179623+00:00'
          description: Recorded date/time of a company's filing.
        fiscalYearEndDate:
          type: string
          format: date
          example: '2020-11-24'
          description: The fiscal year end is the date on which a company finishes a 12-month business cycle.
        dissolutionDate:
          type: string
          format: date-time
          example: '2020-11-24T18:23:53.498863+00:00'
          description: Date the business has ceased operations.
        foundingDate:
          type: string
          format: date-time
          example: '2020-11-24T18:23:53.498863+00:00'
          description: 'The date written on the company''s certificate of Incorporation, Amalgamation, Continuation In or Registration.'
        identifier:
          type: string
          example: 'BC1234567 is an identifier for a corporation '
          pattern: '^[A-Z]{1,3}[0-9]{7}|T[A-Za-z0-9]{9}$'
          description: 'Unique code(letters & numbers) to identify a business, issued by the provincial or federal registry.'
        legalName:
          type: string
          description: Registered name of the business.
          example: '1234567 B.C. Ltd. is a legal name for a corporation '
        state:
          type: string
          enum:
            - ACTIVE
            - HISTORICAL
          description: Indicates if the company is operational(active) or not.
        legalType:
          type: string
          enum:
            - A
            - B
            - BC   
            - BEN
            - CBEN
            - C
            - CC
            - CCC
            - CEM
            - CP
            - CS
            - CUL
            - EPR
            - FI
            - FOR
            - GP
            - LIC
            - LIB
            - LL
            - LLC
            - LP
            - MF
            - PA
            - PAR
            - PFS
            - QA
            - QB
            - QC
            - QD
            - QE
            - REG
            - RLY
            - S
            - SB
            - SP
            - T
            - TMY
            - ULC
            - UQA
            - UQB
            - UQC
            - UQD
            - UQE
            - XCP
            - XL
            - XP
            - XS
          example: 'GP'
          description: 'Type of business eg: BC corporation (B), Continued in corporation (C), Sole proprietor(SP), General Partnership(GP).'
        taxId:
          type: string
          pattern: '^[0-9]{9}[A-Z]{2}[0-9]{4}$|^[0-9]{9}$'
          example: '123456789BC0001'
          description: 'Company unique business number assigned by CRA: BN9 or BN15. '
        goodStanding:
          type: boolean
          description: The business is up to date with required filings, e.g. Annual Report.
        adminFreeze:
          type: boolean
          description: 'The business has been placed in a Frozen state by the Registry which will prevent any further filings from being made  '
        naics:
          $ref: '#/components/schemas/Naics'
        natureOfBusiness:
          type: string
          maxLength: 1000
          minLength: 0
          example: '*** Not used, has been replaced by NAICS code and description***'
          description: '*** Not used, has been replaced by NAICS code and description***'
        complianceWarnings:
          type: array
          description: Changed for 'Warning' instead of 'compliance warning’
          items:
            type: object
            properties:
              code:
                type: string
                description: 'eg: INVALID_LEGAL_STRUCTURE_DIRECTORS'
                example: INVALID_LEGAL_STRUCTURE_DIRECTORS
              message:
                type: string
                description: 'Text describing reason for warning: ''A minimum of 3 directors is required.'''
                example: '''A minimum of 3 directors is required.'''
              filing:
                type: string
                description: Filing link related to the warning.
                example: '''https://LEGAL-API-HOST/api/v2/businesses/IDENTIFIER/filings/FILING_ID'''
        alternateNames:
          type: array
          description: The alternate name of the business. Only applicable for Sole Proprietorship(SP) and General Partnership(GP). Only applicable for Sole Proprietorship(SP) and General Partnership(GP).
          items:
            type: object
            properties:
              entityType:
                type: string
                enum:
                  - SP
                  - GP
                example: 'SP'
                description: 'Type of business eg: Sole Proprietorship(SP), Partnership(GP).'
              identifier:
                type: string
                example: 'FM1234567'
                pattern: '^[A-Z]{1,3}[0-9]{7}|T[A-Za-z0-9]{9}$'
                description: 'Unique code(letters & numbers) to identify a business, issued by the provincial or federal registry.'
              name:
                type: string
                description: The alternate name of the business.
                default: ''
                example: operating name of FM1234567
                pattern: '^(.*)$'
              registeredDate:
                type: string
                format: date-time
                description: The timestamp of the registered date.
                example: '2021-01-01T00:00:00+00:00'
              startDate:
                type: string
                format: date
                description: The start date of the alternate name
                example: '2021-01-01'
              endDate:
                type: string
                format: date
                description: The end date of the alternate name (reserved for future use)
                nullable: true
                example: '2024-07-15'
              type:
                type: string
                description: The type of the alternate name
                enum:
                  - DBA
                  - TRANSLATION
        warnings:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
                title: Warning code
                example: 'INVALID_LEGAL_STRUCTURE_DIRECTORS' 
              message:
                type: string
                title: Warning message
                example: 'A minimum of 3 directors is required'
              warningType:
                type: string
                title: Warning message
                example: 'MISSING_REQUIRED_BUSINESS_INFO'
              filing: 
                type: string
                title: The link to the filing that resulted in the non-compliance.
      required:
        - identifier
    Change_of_address:
      title: Change of Address Filing
      type: object
      description: 'Change of an address used by the business, could be different types of address eg: delivery address.  '
      properties:
        changeOfAddress:
          type: object
          description: 'Change of an address used by the business, could be different types of address eg: delivery address.  '
          properties:
            legalType:
              type: string
              example: BC
              description: 'The legal type of the business.   '
            offices:
              type: object
              description: 'Offices related to the business.   '
              properties:  
                registeredOffice:
                  $ref: '#/components/schemas/Office'
                recordsOffice:
                  $ref: '#/components/schemas/Office'
              required:
                - registeredOffice        
          required:
            - legalType
            - offices        
      x-examples:
        Example 1:
          changeOfAddress:
            legalType: BC
            offices:
              registeredOffice:
                officeType: 'Head office '
                mailingAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: Building A
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our unit is located at the back of the building."'
                deliveryAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: Building A
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our unit is located at the back of the building."'
              recordsOffice:
                officeType: Head office
                mailingAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: Buillding A
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our unit is located at the back of the building."'
                deliveryAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: Building A
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our unit is located at the back of the building."'
    Change_of_directors:
      type: object
      title: Change of Directors Filing
      description: Filing to add, remove, or update information regarding company directors.
      properties:
        changeOfDirectors:
          type: object
          description: This section contains all the changes you want to make to your company's directors.
          required:
            - directors
          properties:
            directors:
              type: array
              items:
                allOf:
                  - $ref: '#/components/schemas/Director'
                  - type: object
                    properties:
                      actions:
                        type: array
                        title: List of actions taken on a director
                        description: Select one or more actions that apply to this director
                        items:
                          type: string
                          enum:
                            - appointed
                            - ceased
                            - nameChanged
                            - addressChanged
                        example: ["appointed"]
                    required:
                      - actions
      required:
        - changeOfDirectors
      x-examples:
        Example 1:
          changeOfDirectors:
            directors:
              - officer:
                  firstName: John
                  lastName: Smith
                  middleInitial: A
                deliveryAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: Building A
                  addressCity: Victoria
                  addressRegion: BC
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: "Our unit is located at the back of the building."
                mailingAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: string
                  addressCity: Victoria
                  addressRegion: BC
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: "Our unit is located at the back of the building."
                title: Chief Executive Officer
                appointmentDate: '2019-08-24'
                cessationDate: null
                actions:
                  - appointed
    Change_of_name:
      type: object
      title: Change of Entity Name
      description: Change of legal name filing.
      properties:
        changeOfName:
          anyOf:
            - $ref: '#/components/schemas/Name_request'
            - type: object
              properties:
                legalName:
                  type: string
                  description: Name that appears on the formation document of the business.
          description: Change the legal name of a business.
      required:
        - changeOfName
      x-examples:
        Example 1:
          changeOfName:
            nrNumber: NR 0119436
            legalType: BC Corporation
            legalName: ABC Inc.
            requestType: Benefit Company Inc.
            status: Expired
            expires: '2019-08-24T14:15:22Z'
            consent: 'NAME: Consent to use name'
            submittedBy: John Smith
            address:
              streetAddress: 5-4761 Bay Street
              streetAddressAdditional: Building C
              addressCity: Victoria
              addressRegion: 'BC for British Columbia '
              addressCountry: Canada
              postalCode: V8R 2P1
              deliveryInstructions: '"Our unit is located at the back of the building."'
    Change_of_officers:
      title: Change of Officers Filing
      description: 'Filing to add, remove, or update information regarding company officers.'
      type: object
      required:
        - changeOfOfficers
      properties:
        changeOfOfficers:
          type: object
          description: "This section contains all the changes you want to make to your company's officers."
          properties:
            relationships:
              $ref: '#/components/schemas/Relationship/properties/relationships'
      x-examples:
        Example 1:
          changeOfOfficers:
            relationships:
              - entity:
                  givenName: Johnathon
                  familyName: Smith
                  middleInitial: E
                  alternateName: John Smith
                deliveryAddress:
                  streetAddress: 5-4761 Bay Street
                  addressCity: Victoria
                  addressRegion: BC
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: Our apartment is located at the back of the building.
                mailingAddress:
                  streetAddress: 5-4761 Bay Street
                  addressCity: Victoria
                  addressRegion: BC
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: Our apartment is located at the back of the building.
                roles:
                  - appointmentDate: '2018-08-24'
                    cessationDate: '2024-08-24'
                    roleType: Secretary
                    roleClass: OFFICER
                  - appointmentDate: '2024-08-24'
                    cessationDate: null
                    roleType: CEO
                    roleClass: OFFICER
    Change_of_registration:
      type: object
      description: 'Filing to alter the information of a business that uses a registration, such as Sole Proprietor or General Partnership.'
      title: Change of Registration Filing
      properties:
        changeOfRegistration:
          type: object
          properties:
            business:
              $ref: '#/components/schemas/Business'
            offices:
              type: object
              description: 'Addresses used by the business eg: office address.'
              properties:
                businessOffice:
                  $ref: '#/components/schemas/Office'
            contactPoint:
              $ref: '#/components/schemas/Contact_point'
            nameRequest:
              $ref: '#/components/schemas/Name_request'
            parties:
              type: array
              items:
                $ref: '#/components/schemas/party'
      x-examples:
        Example 1:
          changeOfRegistration:
            business:
              lastLedgerTimestamp: '2020-11-24T18:24:27.179623+00:00'
              fiscalYearEndDate: '2020-11-24'
              dissolutionDate: '2020-11-24T18:23:53.498863+00:00'
              foundingDate: '2020-11-24T18:23:53.498863+00:00'
              identifier: 'BC1234567 is an identifier for a corporation '
              legalName: '1234567 B.C. Ltd. is a legal name for a corporation '
              state: ACTIVE
              legalType: 'GP: General Partnership'
              taxId: BN123456789
              goodStanding: true
              adminFreeze: true
              naics:
                naicsCode: 32621 is the code for 'Tires Manufacturing' description.'
                naicsDescription: '''Tires Manufacturing'' is the description for code 32621.'
              natureOfBusiness: This field has been replaced by the NAICS code and NAICS description
              complianceWarnings:
                - code: string
                  message: string
                  filing: string
            offices:
              businessOffice:
                officeType: 'Head office '
                mailingAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: Building A
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our unit is located at the back of the building."'
                deliveryAddress:
                  streetAddress: 5-4999 Bay Street
                  streetAddressAdditional: Building B
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our unit is located at the front of the building."'
            contactPoint:
              email: abc.def@gov.bc.ca
              phone: (555) 555-5555
              extension: 1234
            nameRequest:
              nrNumber: NR 0119436
              legalType: B.C. Company
              legalName: ABC Inc.
              requestType: Benefit Company Inc.
              status: Expired
              expires: '2019-08-24T14:15:22Z'
              consent: 'Name: Consent to use name'
              submittedBy: John Smith
              address:
                streetAddress: 5-4761 Bay Street
                streetAddressAdditional: Building A
                addressCity: Victoria
                addressRegion: 'BC for British Columbia '
                addressCountry: Canada
                postalCode: V8R 2P1
                deliveryInstructions: '"Our unit is located at the back of the building."'
            parties:
              - party:
                  roles:
                    - appointmentDate: '2019-08-24'
                      cessationDate: '2019-08-24'
                      roleType: Officer
                  officer:
                    givenName: John
                    familyName: Smith
                    additionalName: Adam
                    middleInitial: A
                    email: abc.def@gov.bc.ca
                  deliveryAddress:
                    streetAddress: 5-4761 Bay Street
                    streetAddressAdditional: Building A
                    addressCity: Victoria
                    addressRegion: 'BC for British Columbia '
                    addressCountry: Canada
                    postalCode: V8R 2P1
                    deliveryInstructions: '"Our unit is located at the back of the building."'
                  mailingAddress:
                    streetAddress: 5-4761 Bay Street
                    streetAddressAdditional: Building A
                    addressCity: Victoria
                    addressRegion: 'BC for British Columbia '
                    addressCountry: Canada
                    postalCode: V8R 2P1
                    deliveryInstructions: '"Our unit apartment is located at the back of the building."'
                  title: Chief Executive Officer
    Comment:
      type: object
      description: 'Extra detail or note to post regarding the filing. '
      properties:
        comment:
          type: string
          maxLength: 4096
          description: 'Extra detail or note to post regarding the filing.  '
          example: '''BC Registry contacted the business owner by email on March 12'' '
        submitterDisplayName:
          type: string
          description: 'Display the name of the person making the filing.  '
        timestamp:
          type: string
          format: date-time
          example: '2022-04-19 15:59:55'
          description: Date and time the comment has been posted.
        reference:
          oneOf:
            - properties:
                businessId:
                  type: string
                  example: C1234567
                  description: 'Business Identifier-Business Number. '
            - properties:
                filingId:
                  type: string
                  description: Filing referred to in comment.
          description: 'What busineess and filing the comment is for. '
          type: object
      title: ''
      x-examples:
        Example 1:
          comment: '''BC Registry contacted the business owner by email on March 12'''
          submitterDisplayName: John Smith
          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, user must first submit a Continuation Authorization and have it approved by BC Registries before filing a Continuation Application. Authorization is typically in the form of a letter. The authorization must be reviewed and approved prior to complete filing. Once the authorization is approved by registries staff, user can continue with submitting continuation In filing.
      required:
        - continuationIn
      properties:
        continuationIn:
          type: object
          required:
          - foreignJurisdiction
          - authorization
          - nameRequest
          - contactPoint
          - offices
          - parties
          - shareStructure
          properties:
            isApproved:
              type: boolean
              title: Continuation In Authorization has been approved.
            business:
              $ref: '#/components/schemas/Business'
            foreignJurisdiction:
              type: object
              required:
              - country
              - identifier
              - legalName
              - incorporationDate
              properties:
                country:
                  $ref: '#/components/schemas/Foreign_jurisdiction/properties/country'
                region:
                  $ref: '#/components/schemas/Foreign_jurisdiction/properties/region'
                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
              properties:
                files:
                  type: array
                  minItems: 1
                  maxItems: 5
                  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: '#/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
              - recordsOffice
            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
      description: Represents the filing for a company's consent to continue out of British Columbia to another jurisdiction. This filing is required when a BC company wants to move its registration to a different province or country. This consent is valid for six months from the date of authorization. If the continuation is not completed within this period, a new consent may be required.
      required:
            - foreignJurisdiction
      properties:
            foreignJurisdiction:
              $ref: '#/components/schemas/Foreign_jurisdiction'
            courtOrder:
              $ref: '#/components/schemas/Court_order'
      x-examples:
        Example 1:
          consentContinuationOut:
            foreignJurisdiction:
              country: "CA"
              region: "ON"
            courtOrder:
              fileNumber: "A1234"
              effectOfOrder: "planOfArrangement"
    Contact_point:
      type: object
      title: Business Contact Point Schema
      description: Contact information to use for the business.
      x-examples:
        Example 1:
          email: abc.def@gov.bc.ca
          phone: (555) 555-5555
          extension: 1234
      properties:
        email:
          type: string
          format: email
          description: email address to be used to contact the business.
          example: abc.def@gov.bc.ca
        phone:
          type: string
          format: phone
          example: (250) 234-4433
          description: 'Phone number to be used to contact the business eg: (250) 234-4433, maximum 10 digits'
        extension:
          type: number
          example: 123
          description: 'Extension number of the business contact phone number (555) 555-5555, maximum 5 digits'
      required:
        - email
    Conversion:
      type: object
      title: Conversion Filing
      description: 'Filing to change the business type of an organization eg: convert from a Member-Funded Society to a BC Company.'
      x-examples:
        Example 1:
          conversion:
            nameRequest:
              nrNumber: NR 0119436
              legalType: BC Corporation
              legalName: ABC Inc.
              requestType: BC Benefit Company Change of Name
              status: COMPLETED
              expires: '2019-08-24T14:15:22Z'
              consent: 'NAME: Consent to use name'
              submittedBy: John Smith
              address:
                streetAddress: 5-4761 Bay Street
                streetAddressAdditional: Building A
                addressCity: Victoria
                addressRegion: 'BC for British Columbia '
                addressCountry: Canada
                postalCode: V8R 2P1
                deliveryInstructions: '"Our unit is located at the back of the building."'
            offices:
              registeredOffice:
                streetAddress: 5-4761 Bay Street
                streetAddressAdditional: Building A
                addressCity: Victoria
                addressRegion: 'BC for British Columbia '
                addressCountry: Canada
                postalCode: V8R 2P1
                deliveryInstructions: '"Our unit is located at the back of the building."'
              recordsOffice:
                streetAddress: 5-4761 Bay Street
                streetAddressAdditional: Building A
                addressCity: Victoria
                addressRegion: 'BC for British Columbia '
                addressCountry: Canada
                postalCode: V8R 2P1
                deliveryInstructions: '"Our unit is located at the back of the building."'
            parties:
              - party:
                  roles:
                    - appointmentDate: '2019-08-24'
                      cessationDate: '2019-08-24'
                      roleType: Completing Party
                  officer:
                    givenName: John
                    familyName: Lane
                    additionalName: Adam
                    middleInitial: A
                    email: abc.def@gov.bc.ca
                  deliveryAddress:
                    streetAddress: 5-4761 Bay Street
                    streetAddressAdditional: Building A
                    addressCity: Victoria
                    addressRegion: 'BC for British Columbia '
                    addressCountry: Canada
                    postalCode: V8R 2P1
                    deliveryInstructions: '"Our unit is located at the back of the building."'
                  mailingAddress:
                    streetAddress: 5-4761 Bay Street
                    streetAddressAdditional: Building A
                    addressCity: Victoria
                    addressRegion: 'BC for British Columbia '
                    addressCountry: Canada
                    postalCode: V8R 2P1
                    deliveryInstructions: '"Our unit is located at the back of the building."'
                  title: Chief Executive Officer
            shareStructure:
              resolutionDates:
                - date: '2019-08-24'
              shareClasses:
                - name: Common A
                  priority: 3
                  maxNumberOfShares: 100
                  parValue: 50
                  currency: CAD
                  hasMaximumShares: true
                  hasParValue: true
                  hasRightsOrRestrictions: true
                  series:
                    - name: CLASS A
                      priority: 3
                      hasMaximumShares: true
                      hasRightsOrRestrictions: true
            contactPoint:
              email: abc.def@gov.bc.ca
              phone: string
              extension: 1234
            incorporationAgreement:
              agreementType: '"The Company has as its articles the following articles."'
      properties:
        conversion:
          type: object
          title: Conversion Filing
          description: 'Filing to change the business type of an organization eg: convert from a Member-Funded Society to a BC Company'
          required:
            - nameRequest
            - offices
            - parties
            - shareStructure
            - contactPoint
          properties:
            nameRequest:
              $ref: '#/components/schemas/Name_request'
            offices:
              type: object
              description: A registered office is the statutory address of a registered business entity.
              properties:
                registeredOffice:
                  $ref: '#/components/schemas/Address'
                recordsOffice:
                  $ref: '#/components/schemas/Address'
            parties:
              type: array
              description: 'Director(s) and filing applicant information of business to convert. '
              items:
                $ref: '#/components/schemas/party'
            shareStructure:
              $ref: '#/components/schemas/Share_structure'
            contactPoint:
              $ref: '#/components/schemas/Contact_point'
            incorporationAgreement:
              $ref: '#/components/schemas/Agreement_type'
      required:
        - conversion
    Cooperative:
      type: object
      title: Cooperative Schema
      description: Owned and controlled business from which benefits are derived and distributed equitably on the basis of use or as a business owned and controlled by the people who use its services.
      x-examples:
        Example 1:
          cooperativeAssociationType: CP
          rulesFileKey: cooperative/f722bf16-86be-430d-928d-5529853a3a2c.pdf
          rulesFileName: Field not used
          memorandumFileKey: cooperative/f722bf16-86be-430d-928d-5529853a3a2c.pdf
          memorandumFileName: Field not used
      properties:
        cooperativeAssociationType:
          type: string
          title: The association type for cooperative filing
          enum:
            - CP
            - HC
            - CSC
          example: 'CP'
          description: 'Defines cooperatives by type of membership eg: Financial Cooperatives.'
        rulesFileKey:
          type: string
          title: The Identifier for rules file in file server
          example: cooperative/f722bf16-86be-430d-928d-5529853a3a2c.pdf
          description: 'Unique code identifying the memorendum of the cooperative eg: "cooperative/f722bf16-86be-430d-928d-5529853a3a2c.pdf"'
        rulesFileName:
          type: string
          title: The file name while uploading
          description: '***Item not used***'
          example: '***Item not used***'
        memorandumFileKey:
          type: string
          title: The Identifier for memorandum file in file server
          example: cooperative/f722bf16-86be-430d-928d-5529853a3a2c.pdf
          description: 'Unique code identifying the memorendum of the cooperative eg: "cooperative/f722bf16-86be-430d-928d-5529853a3a2c.pdf"'
        memorandumFileName:
          type: string
          title: The file name while uploading
          description: '***Item not used***'
          example: '***Item not used***'
      required:
        - cooperativeAssociationType
        - rulesFileKey
        - rulesFileName
        - memorandumFileKey
        - memorandumFileName
    Correction:
      type: object
      title: Correction Filing
      description: '***Item not used*** Update of business information to fix/correct erroneous information. '
      properties:
        correction:
          type: object
          required:
            - correctedFilingId
            - correctedFilingType
            - comment
          properties:
            correctedFilingId:
              type: integer
              title: The id of the filing being corrected.
              description: 'Identification of filing that needs correction. '
            correctedFilingType:
              type: string
              title: The type of the main filing being corrected.
              enum:
                - annualReport
                - changeOfDirectors
                - changeOfAddress
                - dissolution
                - specialResolution
                - changeOfName
                - incorporationApplication
                - amalgamationApplication
                - dissolved
                - amendedAGM
                - restoration
                - amendedAnnualReport
                - amendedChangeOfDirectors
                - appointReceiver
                - continuedOut
                - correction
              description: 'Type of filing that needs correction. '
            comment:
              type: string
              description: 'Comment on what is corrected and why. '
            correctedFilingDate:
              type: string
              format: date
              title: The submission date of the final version of the filing being corrected.
              description: 'The date the correction is filed. '
            diff:
              type: array
              description: What will be changed in the correction filing.
              items:
                $ref: '#/components/schemas/Diff'
      required:
        - correction
    Court_order:
      type: object
      title: Court Order Information Schema
      description: Order issued by the Provincial Court Registry.
      properties:
        courtOrder:
          type: object
          required:
            - fileNumber
          properties:
            fileNumber:
              type: string
              minLength: 5
              maxLength: 20
              description: The court assigns each court order a unique file number up to 20 characters in length.
            orderDate:
              type: string
              description: The date and time that the court order has been issued.
              format: date-time
              example: '1970-01-01T00:00:00+00:00'
            effectOfOrder:
              type: string
              minLength: 0
              maxLength: 500
              description: Textual description of the effect of the order on the legal entity.
            orderDetails:
              type: string
              minLength: 0
              maxLength: 2000
              description: A brief note to explain the purpose of the Court Order.
            fileKey:
              type: string
              title: The Identifier for court order file in file server
      required:
        - courtOrder
      x-examples:
        Example 1:
          courtOrder:
            fileNumber: L041638
            orderDate: '2019-08-24T14:15:22Z'
            effectOfOrder: The Company will cease operations
            orderDetails: The Company is ordered to dissolve
    Diff:
      title: Differences filed in a correction
      anyOf:
        - properties:
            '':
              type: string
              description: Description of the changes in correction filing.
      properties:
        diff:
          type: array
          items:
            type: object
            required:
              - oldValue
              - newValue
              - path
            properties:
              oldValue:
                title: Original Value
              newValue:
                title: Corrected Value
              path:
                type: string
                title: Path of the property in json
      description: '***Item not used*** What will be changed in the correction filing.'
      type: object
    Director:
      title: Director Schema
      type: object
      description: Represents a single director of a company, including personal information and appointment details.
      properties:
        officer:
          type: object
          description: Personal information about the director.
          properties:
            firstName:
              type: string
              maxLength: 30
              description: First name of the director/officer.
              example: "Jane"
            lastName:
              type: string
              maxLength: 30
              description: Last name of the director/officer.
              example: "Doe"
            middleInitial:
              type: string
              maxLength: 30
              description: The middle name initial of the director/officer.
              example: "A"
            prevFirstName:
              type: string
              maxLength: 30
              description: previous first name, in the case of a legal name change in a filing
              example: "Janet"
            prevLastName:
              type: string
              maxLength: 30
              description: previous last name, in the case of a legal name change in a filing
              example: "Smith"
            prevMiddleInitial:
              type: string
              maxLength: 30
              description: previous middle name, in the case of a legal name change in a filing
              example: "B"
          required:
            - firstName
            - lastName
        deliveryAddress:
          allOf:
            - $ref: '#/components/schemas/Address'
          description: 'Standard address format: apartment, unit, or street address number and street name. City, province or territory code, country, postal code and instructions for delivery. Required for Change of Directors filing and Annual Report filing.'
        mailingAddress:
          allOf:
            - $ref: '#/components/schemas/Address'
          description: 'Standard address format: apartment, unit, or street address number and street name. City, province or territory code, country, postal code and instructions for delivery. Required for Change of Directors filing and Annual Report filing.'
        title:
          type: string
          description: 'Official title or position of the director in the company.'
          example: "Chief Financial Officer"
        appointmentDate:
          type: string
          format: date
          description: 'The date when the director started their role. Format: YYYY-MM-DD'
          example: "2023-06-15"
        cessationDate:
          type: string
          format: date
          nullable: true
          description: 'The date when the director ended their role. Format: YYYY-MM-DD'
      required:
        - officer
        - deliveryAddress
        - appointmentDate
        - cessationDate
    Dissolution:
      title: Dissolution Filing
      type: object
      description: 'Application for a company dissolution. '
      x-examples:
        Example 1:
          dissolution:
            dissolutionDate: '2019-08-24'
            dissolutionType: administrative
            dissolutionStatementType: The company has made adequate provision for the payment of each of its liabilities
            hasLiabilities: true
            parties:
              - party:
                  roles:
                    - appointmentDate: '2019-08-24'
                      cessationDate: '2019-08-24'
                      roleType: Director
                  officer:
                    givenName: John
                    familyName: Smith
                    additionalName: Adam
                    middleInitial: A
                    email: abc.def@gov.bc.ca
                  deliveryAddress:
                    streetAddress: 5-4761 Bay Street
                    streetAddressAdditional: Building A
                    addressCity: Victoria
                    addressRegion: 'BC for British Columbia '
                    addressCountry: Canada
                    postalCode: V8R 2P1
                    deliveryInstructions: '"Our unit is located at the back of the building."'
                  mailingAddress:
                    streetAddress: 2-111 Fort Street
                    streetAddressAdditional: Building ABC
                    addressCity: Victoria
                    addressRegion: 'BC for British Columbia '
                    addressCountry: Canada
                    postalCode: V8R 2P1
                    deliveryInstructions: '"Our unit is located at the front of the building."'
                  title: Chief Executive Officer
            courtOrder:
              courtOrder:
                fileNumber: L041638
                orderDate: '2019-08-24T14:15:22Z'
                effectOfOrder: The Company will cease operations
                orderDetails: The Company is ordered to dissolve
            affidavitFileKey: 011e332d-1b8e-4218-8710-ad8ac1fbc592.pdf
            affidavitFileName: Field not used
      properties:
        dissolution:
          type: object
          description: 'Application for a company dissolution '
          required:
            - dissolutionDate
            - dissolutionType
          properties:
            dissolutionDate:
              type: string
              format: date
              description: 'The dissolution is to take effect at 12:01a.m. Pacific Time on being a date that is not more than ten days after the date of the filing of the application.'
            dissolutionType:
              type: string
              title: 'The Type of Dissolution, such as Administrative, Voluntary, etc.'
              enum:
                - administrative
                - involuntary
                - voluntary
                - voluntaryLiquidation
                - courtOrderedLiquidation
              description: 'Type of dissolution stated in the filing eg: Court ordered liquidation.'
            dissolutionStatementType:
              type: string
              example: The company has made adequate provision for the payment of each of its liabilities
              description: Statement to describe the company’s liabilities
            hasLiabilities:
              title: The dissolved company has outstanding liabilities.
              type: boolean
              description: 'Whether the company has liability or not: Yes/No.'
            parties:
              type: array
              description: >
                Persons associated with the dissolution filing eg: custodian.
                This field is required for voluntary dissolution filings.
                Allowed party roles depend on the business type:
                  - Corporations must include exactly one custodian
                  - Cooperative Associations must include either one custodian or one liquidator
                  - Sole Proprietorships and General Partnerships must include a completing party
              items:
                $ref: '#/components/schemas/party'
            courtOrder:
              $ref: '#/components/schemas/Court_order'
            affidavitFileKey:
              type: string
              title: The Identifier for affidavit file in file server
              description: Unique identifier for the dissolution filing affidavit.
            affidavitFileName:
              type: string
              title: The file name while uploading
              description: '***Item not used***'
              example: '***Item not used***'
      required:
        - dissolution
    Document_update:
      title: Document_update
      type: object
      description: '<p>For PATCH requests, holds information to update for a document identified by documentKey.</p>'
      properties:
        businessIdentifer:
          type: string
          description: The identifier of an entity such as a BC Company to be associated with the stored document.
          example: BC1500943
        filingDate:
          type: string
          format: date-time
          description: 'The fiing date or date and time associated with the document. If a date is submitted, the time value is set to 12 PM in the local time zone.'
          example: '2024-07-30T19:00:00+00:00'
        filename:
          type: string
          description: The file name associated with the stored document.
          example: coop_rules_2026.pdf
        filingId:
          type: integer
          description: The unique identifier for the API filing to be associated with the stored document.
          example: 19140001
      x-examples:
        filer-example:
          businessIdentifer: BC1500943
          filename: coop_rules_2026.pdf
          filingId: 19140001
          filingDate: '2024-08-04'
    Document_response:
      type: object
      properties:
        message:
          type: string
          description: Message indicating the status of the request.
      description: Object to hold an API document request response.
      required:
        - message
      x-examples:
        example-1:
          message: 'Document {document_key} deleted successfully.'
    Document_summary:
      title: Document_summary
      type: object
      description: <p>Holds information about a single document. For all documents the unique identifier is the key.</p>
      properties:
        key:
          type: string
          description: 'Generated by the API, the business API unique identifier of the document.'
        documentServiceId:
          type: string
          description: 'Generated by the DRS, the DRS unique identifier of the document.'
        consumerDocumentId:
          type: string
          description: >-
            The identifier of one or more documents associated with the consumer
            application entity. Optionally submitted with either a POST or a PATCH
            request, if not available the response returns the documentServiceId as
            this value.
          example: '80164321'
        consumerIdentifer:
          type: string
          description: >-
            The identifier of an entity such as a BC Company or a manufactured home
            in the consumer application. Optionally submitted with POST or PATCH
            requests.
          example: 'BC1094361'
        consumerFilename:
          type: string
          description: >-
            The consumer application full filename of the document for display and
            downloading. Not included if consumerFilenames is present.
          example: coop_rules_2026.pdf
        documentType:
          type: string
          description: The DRS document type.
        documentTypeDescription:
          type: string
          description: >-
            A description of the document type, generated by the system and returned
            in the response.
        documentClass:
          type: string
          description: The DRS document class.
        createDateTime:
          type: string
          format: date-time
          description: >-
            Generated by the system, the date and time the document is
            saved/uploaded.
          example: '2024-08-30T00:28:24+00:00'
        consumerFilingDateTime:
          type: string
          format: date-time
          description: >-
            Provided by the consumer as a request parameter, the date and time the
            of the consumer application registration/filing associated with the
            document. If only a date is submitted, the time value is set to 12 PM in
            the local time zone.
          example: '2024-07-30T16:28:24+00:00'
        documentURL:
          type: string
          description: A time limited link to download the document from storage.
        description:
          type: string
          description: A free text description of the document or set of documents.
          example: A description of the document.
        consumerReferenceId:
          type: string
          description: >-
            The business filing ID as the DRS unique identifier for the consumer application
            transaction/filing/registration that is associated with a document
            record.
          example: '19140001'
      required:
        - key
        - documentServiceId
        - documentType
        - documentClass
        - createDateTime
      x-examples:
        mhr-example:
          documentServiceId: '0100001003'
          consumerFilename: Transport Permit.pdf
          consumerDocumentId: '20164321'
          consumerIdentifer: '094361'
          documentType: TRAN
          documentTypeDescription: MHR miscellaneous documents
          documentClass: MHR
          createDateTime: '2024-08-03T22:58:45+00:00'
          consumerFilingDateTime: '2024-08-03T19:00:00+00:00'
          documentURL: >-
            https://storage.googleapis.com/mhr_documents/2024/08/03/corr-0100001003.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=ppr-dev-sa%40eogruh-dev.iam.gserviceaccount.com%2F20240717%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20240717T222117Z&X-Goog-Expires=604800&X-Goog-SignedHeaders=host&X-Goog-Signature=382451ed1016bdc123083a58aa2358a713628e86d3730d43301e3b7d0e088dc1762ac6be3d56fe07193c02be82aab0c9b05fef52f4919292df470ffc3298442d4e6eda90a94b7fa564d2661f43eeec33a65f72314e9a1376e89adf1fc0b5f932cd72b30c921a44eac68cac82fdd5583474de5076715ac6738918f758f2c4abb71413efeb348604baf811cd14ecb005f6977270726094a1ee0d1060f786450f6b1ef7f1251c39376b4d80f438056b6b1bed57cd0b44d4616300ae031cbfc7703b61592b2519a2d01688bafd4d24ee83fecd0a425daf50c8319d94c4a8862fde89eca86a2dd974d01e5a7b7f7343cddefb70a1d1d61d27e1bb53b400d039e08cb2
          scanningInformation:
            scanDateTime: '2024-05-08'
            accessionNumber: 91-0584-1234
            batchId: '1254'
            pageCount: 3
            author: John Smith
    Error_response:
      type: object
      properties:
        message:
          type: string
          description: Message identifying the source of the error.
      description: Object to hold an API request error.
      required:
        - message
      x-examples:
        error-example-1:
          message: 'Error creating document record.'
    filing_header:
      type: object
      description: 'Information identifying the filing. '
      x-examples:
        Example 1:
          header:
            name: alteration
            availableOnPaperOnly: true
            inColinOnly: true
            date: '2019-08-24'
            certifiedBy: John Smith
            email: John.Smith@gmail.ca
            filingId: 1234
            effectiveDate: '2019-08-24T14:15:22Z'
            paymentToken: string value
            submitter: John Smith
            status: DRAFT
            affectedFilings: '[1234,4856]'
            isCorrected: true
            isCorrectionPending: true
            comments:
              - comment: '''BC Registry contacted the business owner by email on March 12'' '
                submitterDisplayName: John Smith
                timestamp: '2022-04-19 15:59:55'
                reference:
                  businessId: C1234567
            waiveFees: true
            priority: true
            routingSlipNumber: '123456789'
            folioNumber: '1332'
            datNumber: C234567890
            bcolAccountNumber: '910207'
            sbcAccount: 82763
            paymentAccount: '180670'
            paymentMethod: ONLINE_BANKING
            isPaymentActionRequired: true
          '': string
      properties:
        name:
          type: string
          title: The type of the main filing.
          enum:
            - adminFreeze
            - alteration
            - agmExtension
            - agmLocationChange
            - amalgamationApplication
            - amendedAGM
            - amendedAnnualReport
            - amendedChangeOfDirectors
            - annualReport
            - appointReceiver
            - changeOfAddress
            - changeOfDirectors
            - changeOfName
            - changeOfOfficers
            - changeOfRegistration
            - consentContinuationOut
            - continuationIn
            - continuationOut
            - continuedOut
            - conversion
            - correction
            - courtOrder
            - dissolution
            - dissolved
            - incorporationApplication
            - noticeOfWithdrawal
            - putBackOn
            - registration
            - restoration
            - specialResolution
            - transition
            - registrarsNotation
            - registrarsOrder
          description: 'Filing name. '
        availableOnPaperOnly:
          type: boolean
          description: 'If filing results(outputs) available only on paper: Yes/No. '
        inColinOnly:
          type: boolean
          description: 'Filing information stored in COLIN only: Yes/No.'
        date:
          type: string
          format: date
          title: The submission date of the final version of the filing.
          description: 'Date of the filing. '
        certifiedBy:
          type: string
          description: |-
            Name of the person certifying the filing.

            **Note:** Required for API users on incorporation application, amalgamation application and consent continuation out. For cooperatives, sole proprietorships and general partnerships, required on annual report, change of address, change of directors, registration, change of registration, special resolution, voluntary dissolution and client corrections. Recommended on every other filing.
        authorizationReceived:
          type: boolean
          description: |-
            Indicates the client has authorized the filing submission.

            **Note:** Required and must be `true` for corporation filings of these types: incorporation application, amalgamation application, continuation in, alteration, annual report, change of address, change of directors, consent continuation out, consent amalgamation out, continuation out, amalgamation out, AGM extension, AGM location change, voluntary dissolution, correction, restoration.
        email:
          type: string
          format: email
          description: email contact for the filing.
        filingId:
          type: integer
          title: The id of the filing.
          default: 0
          description: 'Filing identifier eg: 1234. '
          example: 1234
        effectiveDate:
          type: string
          format: date-time
          title: The date and time a filing should become valid and applied.
          description: Date and time the filing is taking effect. Required for Annual Report and Change of Directors filing. For Annual report, this is a required field and should be the Annual report date.
        paymentToken:
          type: string
          title: A valid payment token for this filing against this business.
          description: 'Replaces sensitive payment information with a unique identifier, received back from SBC_PAY'
        submitter:
          type: string
          title: Account name of the person submitting this filing.
          description: 'Person/applicant submitting the filing. '
        status:
          type: string
          title: The status of this filing.
          enum:
            - DRAFT
            - PENDING
            - COMPLETED
            - ERROR
          description: 'Status of the filing eg: ''draft''. '
          example: 'DRAFT'
        affectedFilings:
          type: array
          title: List of affected filings (ids) from this filing.
          description: 'Filings related to the header eg: [1234,4856].'
          items:
            type: integer
            example: 1234
        isCorrected:
          type: boolean
          title: Has this filing been corrected?
          description: 'If filing has been corrected: Yes/No.'
        isCorrectionPending:
          type: boolean
          title: Is a correction pending for this filing?
          description: 'If filing correction are in pending status: Yes/No.'
        comments:
          type: array
          title: List of filing comments.
          description: 'Notes about filing. '
          items:
            $ref: '#/components/schemas/Comment'
        waiveFees:
          type: boolean
          description: 'Are fees being waived for the filing: Yes/No.'
        priority:
          type: boolean
          description: 'Is it a priority filing: Yes/No. '
        routingSlipNumber:
          type: string
          title: A valid routing slip number in case of a staff filing.
          maxLength: 9
          pattern: '^\d{9}$'
          description: If filing paid with cash or cheque there will be a routing slip of 9 digits.
        folioNumber:
          type: string
          title: A folio number used for payment tracking purposes.
          maxLength: 50
          description: 'Reference number to help keep track of transactions eg: used in BCOL. '
          example: '1332'
        datNumber:
          type: string
          title: A dat number used for payment tracking purposes.
          maxLength: 10
          pattern: '^[A-Z]{1}[0-9]{7,9}$'
          description: Payment identifier (9 digits) for FAS payments.
          example: C234567890
        bcolAccountNumber:
          type: string
          title: BCOL account number.
          maxLength: 6
          pattern: ^(.*)$
          example: '910207'
          description: 'BCOL account number to be debited if paying with a BCOL account eg: 910207.'
        sbcAccount:
          type: integer
          title: authorization system account number.
          description: 'SBC_AUTH account number. '
          example: 416
        paymentAccount:
          type: string
          title: payment org account identifier.
          maxLength: 30
          pattern: ^(.*)$
          description: 'Payment identifier from where the payment will be debited. '
          example: '180670'
        paymentMethod:
          type: string
          title: payment method.
          enum:
            - ONLINE_BANKING
            - CC
            - DIRECT_PAY
            - DRAWDOWN
            - INTERNAL
          description: 'Method of payment used to pay for filing, possible values are: ONLINE_BANKING,CC,DIRECT_PAY,DRAWDOWN,INTERNAL.'
          example: 'CC'
        isPaymentActionRequired:
          type: boolean
          title: flag for payment redirect.
          description: Further action required to finalize the payment.
        '':
          type: string
          x-stoplight:
            id: 7nl2sc9w8mtqr
          description: Header name.
      required:
        - name
        - date
        - certifiedBy
    Filing:
      type: object
      title: Registry Filing Envelope
      x-examples:
        example-1:
          header:
            header:
              name: alteration
              availableOnPaperOnly: true
              inColinOnly: true
              date: '2019-08-24'
              certifiedBy: string
              email: user@example.com
              filingId: 0
              effectiveDate: '2019-08-24T14:15:22Z'
              paymentToken: string
              submitter: string
              status: DRAFT
              affectedFilings:
                - 0
              isCorrected: true
              isCorrectionPending: true
              comments:
                - comment: string
                  submitterDisplayName: string
                  timestamp: '2019-08-24T14:15:22Z'
                  reference:
                    businessId: string
              waiveFees: true
              priority: true
              routingSlipNumber: string
              folioNumber: string
              datNumber: string
              bcolAccountNumber: string
              sbcAccount: 0
              paymentAccount: string
              paymentMethod: ONLINE_BANKING
              isPaymentActionRequired: true
          business:
            business:
              lastLedgerTimestamp: '2019-08-24T14:15:22Z'
              dissolutionDate: '2019-08-24'
              fiscalYearEndDate: '2019-08-24'
              foundingDate: '2019-08-24T14:15:22Z'
              identifier: string
              legalName: string
              legalType: BC
              taxId: string
              state: ACTIVE
              stateFiling: string
              goodStanding: true
              adminFreeze: true
              complianceWarnings:
                - code: string
                  message: string
                  filing: string
              naics:
                naicsCode: string
                naicsDescription: string
              natureOfBusiness: string
          filing:
            incorporationApplication:
              contactPoint:
                email: user@example.com
                phone: string
                extension: 0
              cooperative:
                cooperativeAssociationType: CP
                rulesFileKey: string
                rulesFileName: string
                memorandumFileKey: string
                memorandumFileName: string
              incorporationAgreement:
                agreementType: sample
              nameRequest:
                nrNumber: string
                legalName: string
                legalType: string
                requestType: string
                status: string
                expires: '2019-08-24T14:15:22Z'
                consent: string
                submittedBy: string
                address:
                  streetAddress: string
                  streetAddressAdditional: string
                  addressCity: string
                  addressCountry: string
                  addressRegion: st
                  postalCode: string
                  deliveryInstructions: string
              nameTranslations:
                - id: string
                  name: string
              offices:
                registeredOffice:
                  officeType: string
                  mailingAddress:
                    streetAddress: string
                    streetAddressAdditional: string
                    addressCity: string
                    addressCountry: string
                    addressRegion: st
                    postalCode: string
                    deliveryInstructions: string
                  deliveryAddress:
                    streetAddress: string
                    streetAddressAdditional: string
                    addressCity: string
                    addressCountry: string
                    addressRegion: st
                    postalCode: string
                    deliveryInstructions: string
                recordsOffice:
                  officeType: string
                  mailingAddress:
                    streetAddress: string
                    streetAddressAdditional: string
                    addressCity: string
                    addressCountry: string
                    addressRegion: st
                    postalCode: string
                    deliveryInstructions: string
                  deliveryAddress:
                    streetAddress: string
                    streetAddressAdditional: string
                    addressCity: string
                    addressCountry: string
                    addressRegion: st
                    postalCode: string
                    deliveryInstructions: string
              parties:
                - party:
                    roles:
                      - appointmentDate: '2019-08-24'
                        cessationDate: '2019-08-24'
                        roleType: Completing Party
                    officer:
                      givenName: string
                      familyName: string
                      additionalName: string
                      middleInitial: string
                      email: user@example.com
                    deliveryAddress:
                      streetAddress: string
                      streetAddressAdditional: string
                      addressCity: string
                      addressCountry: string
                      addressRegion: st
                      postalCode: string
                      deliveryInstructions: string
                    mailingAddress:
                      streetAddress: string
                      streetAddressAdditional: string
                      addressCity: string
                      addressCountry: string
                      addressRegion: st
                      postalCode: string
                      deliveryInstructions: string
                    title: string
              shareStructure:
                resolutionDates:
                  - date: '2019-08-24'
                shareClasses:
                  - name: string
                    priority: 0
                    maxNumberOfShares: 0
                    parValue: 0
                    currency: string
                    hasMaximumShares: true
                    hasParValue: true
                    hasRightsOrRestrictions: true
                    series:
                      - name: string
                        priority: 0
                        maxNumberOfShares: 0
                        hasMaximumShares: true
                        hasRightsOrRestrictions: true
      description: Submitting updates related to a business or incorporating/registering a new business.
      properties:
        filing:
          properties:
            header:
              $ref: '#/components/schemas/filing_header'
            business:
              $ref: '#/components/schemas/Business'
            filing:
              oneOf:
                - oneOf:
                    - $ref: '#/components/schemas/Incorporation_application'
                    - $ref: '#/components/schemas/Registration'
                - anyOf:
                    - $ref: '#/components/schemas/Agm_extension'
                    - $ref: '#/components/schemas/Agm_location_change'
                    - $ref: '#/components/schemas/Alteration'
                    - $ref: '#/components/schemas/Amalgamation_application'
                    - $ref: '#/components/schemas/Annual_report'
                    - $ref: '#/components/schemas/Change_of_address'
                    - $ref: '#/components/schemas/Change_of_directors'
                    - $ref: '#/components/schemas/Change_of_name'
                    - $ref: '#/components/schemas/Change_of_officers'
                    - $ref: '#/components/schemas/Change_of_registration'
                    - $ref: '#/components/schemas/Consent_continuation_out'
                    - $ref: '#/components/schemas/Continuation_in'
                    - $ref: '#/components/schemas/Conversion'
                    - $ref: '#/components/schemas/Court_order'
                    - $ref: '#/components/schemas/Correction'
                    - $ref: '#/components/schemas/Dissolution'
                    - $ref: '#/components/schemas/Incorporation_application'
                    - $ref: '#/components/schemas/Notice_of_withdrawal'
                    - $ref: '#/components/schemas/Registrars_notation'
                    - $ref: '#/components/schemas/Registrars_order'
                    - $ref: '#/components/schemas/Registration'
                    - $ref: '#/components/schemas/Restoration'
                    - $ref: '#/components/schemas/Special_resolution'
                    - $ref: '#/components/schemas/Transition'
                    - $ref: '#/components/schemas/Unmanaged'
          description: Submitting updates related to a business or incorporating/registering a new business.
      required:
        - filing
    Foreign_jurisdiction:
      type: object
      title: Foreign Jurisdiction Schema
      description: Represents the foreign jurisdiction for business operations.
      required:
        - country
      properties:
        country:
          type: string
          description: The country code of the foreign jurisdiction (ISO 3166-1 alpha-2 code).
          minLength: 2
          maxLength: 2
          example: "CA"
        region:
          description: The specific region (province/state) within Canada or USA. For other countries, this field can be null.
          oneOf:
            - type: string
              description: Canadian provinces and territories.
              enum:
                - "AB"
                - "BC"
                - "MB"
                - "NB"
                - "NL"
                - "NS"
                - "NT"
                - "NU"
                - "ON"
                - "PE"
                - "QC"
                - "SK"
                - "YT"
                - "FEDERAL"
              example: "ON"
            - type: string
              description: US states and territories.
              enum:
                - "AK"
                - "AL"
                - "AR"
                - "AS"
                - "AZ"
                - "CA"
                - "CO"
                - "CT"
                - "DC"
                - "DE"
                - "FL"
                - "GA"
                - "GU"
                - "HI"
                - "IA"
                - "ID"
                - "IL"
                - "IN"
                - "KS"
                - "KY"
                - "LA"
                - "MA"
                - "MD"
                - "ME"
                - "MI"
                - "MN"
                - "MO"
                - "MP"
                - "MS"
                - "MT"
                - "NC"
                - "ND"
                - "NE"
                - "NH"
                - "NJ"
                - "NM"
                - "NV"
                - "NY"
                - "OH"
                - "OK"
                - "OR"
                - "PA"
                - "PR"
                - "RI"
                - "SC"
                - "SD"
                - "TN"
                - "TX"
                - "UM"
                - "UT"
                - "VA"
                - "VI"
                - "VT"
                - "WA"
                - "WI"
                - "WV"
                - "WY"
              example: "WA"
      x-examples:
        Example 1:
          foreignJurisdiction:
            country: "CA"
            region: "QC"
    Incorporation_application:
      title: Incorporation Application Filing
      type: object
      description: Filing of Articles of Incorporation. The incorporation is to take effect at the time that the application is filed with the registrar.
      x-examples:
        Example 1:
          incorporationApplication:
            contactPoint:
              email: abc.def@gov.bc.ca
              phone: (250) 213-3412
              extension: 1234
            cooperative:
              cooperativeAssociationType: Worker Cooperative
              rulesFileKey: string
              rulesFileName: string
              memorandumFileKey: string
              memorandumFileName: string
            incorporationAgreement:
              agreementType: Sample or custom
            nameRequest:
              nrNumber: string
              legalType: string
              legalName: string
              requestType: Benefit Company Inc.
              status: Expired
              expires: '2019-08-24T14:15:22Z'
              consent: string
              submittedBy: string
              address:
                streetAddress: 5-4761 Bay Street
                streetAddressAdditional: string
                addressCity: Victoria
                addressRegion: 'BC for British Columbia '
                addressCountry: Canada
                postalCode: V8R 2P1
                deliveryInstructions: '"Our apartment is located at the back of the building."'
            nameTranslations:
              - id: string
                name: string
            offices:
              registeredOffice:
                officeType: 'Head office '
                mailingAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: string
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our apartment is located at the back of the building."'
                deliveryAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: string
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our apartment is located at the back of the building."'
              recordsOffice:
                officeType: 'Head office '
                mailingAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: string
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our apartment is located at the back of the building."'
                deliveryAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: string
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our apartment is located at the back of the building."'
            parties:
              - party:
                  roles:
                    - appointmentDate: '2019-08-24'
                      cessationDate: '2019-08-24'
                      roleType: Completing Party
                  officer:
                    givenName: string
                    familyName: string
                    additionalName: string
                    middleInitial: string
                    email: abc.def@gov.bc.ca
                  deliveryAddress:
                    streetAddress: 5-4761 Bay Street
                    streetAddressAdditional: string
                    addressCity: Victoria
                    addressRegion: 'BC for British Columbia '
                    addressCountry: Canada
                    postalCode: V8R 2P1
                    deliveryInstructions: '"Our apartment is located at the back of the building."'
                  mailingAddress:
                    streetAddress: 5-4761 Bay Street
                    streetAddressAdditional: string
                    addressCity: Victoria
                    addressRegion: 'BC for British Columbia '
                    addressCountry: Canada
                    postalCode: V8R 2P1
                    deliveryInstructions: '"Our apartment is located at the back of the building."'
                  title: Chief Executive Officer
            shareStructure:
              resolutionDates:
                - date: '2019-08-24'
              shareClasses:
                - name: string
                  priority: 0
                  maxNumberOfShares: 0
                  parValue: 0
                  currency: string
                  hasMaximumShares: true
                  hasParValue: true
                  hasRightsOrRestrictions: true
                  series:
                    - name: string
                      priority: 0
                      hasMaximumShares: true
                      hasRightsOrRestrictions: true
      properties:
        incorporationApplication:
          type: object
          description: Filing of Articles of Incorporation. The incorporation is to take effect at the time that the application is filed with the registrar.
          required:
            - contactPoint
            - nameRequest
            - offices
            - parties
          properties:
            contactPoint:
              $ref: '#/components/schemas/Contact_point'
            cooperative:
              $ref: '#/components/schemas/Cooperative'
            incorporationAgreement:
              $ref: '#/components/schemas/Agreement_type'
            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
              - recordsOffice
            parties:
              type: array
              description: 'Persons having a role in the corporation eg: company director.'
              items:
                $ref: '#/components/schemas/party'
            shareStructure:
              $ref: '#/components/schemas/Share_structure'
            courtOrder:
              $ref: '#/components/schemas/Court_order'
      required:
        - incorporationApplication
    Filing_documents:
      type: object
      description: 'Documents submitted (uploaded) with filing.  '
      x-examples:
        Example 1:
          documents:
            certificate: 'https://legal-api-dev.apps.silver.devops.gov.bc.ca/api/v2/businesses/BC0871331/filings/143690/documents/certificate'
            legalFilings:
              - incorporationApplication: 'https://legal-api-dev.apps.silver.devops.gov.bc.ca/api/v2/businesses/BC0871331/filings/143690/documents/incorporationApplication'
            noticeOfArticles: 'https://legal-api-dev.apps.silver.devops.gov.bc.ca/api/v2/businesses/BC0871331/filings/143690/documents/noticeOfArticles'
            receipt: 'https://legal-api-dev.apps.silver.devops.gov.bc.ca/api/v2/businesses/BC0871331/filings/143690/documents/receipt'
      properties:
        documents:
          type: object
          description: Documents submitted (uploaded) with filing.
          properties:
            legalFilings:
              type: array
              description: 'Filings required by law. '
              items:
                type: object
                properties:
                  legalFilingNameKey:
                    type: string
                    format: uri
                    description: 'Name of legal filing. '
                    example: 'http://example.com'
            receipt:
              type: string
              description: 'Confirmation of filing and payment completion.  '
    Ledger:
      type: array
      x-examples:
        example-1:
          availableOnPaperOnly: false
          businessIdentifier: CP0000840
          commentsCount: 3
          commentsLink: 'https://legal-api-dev.apps.silver.devops.gov.bc.ca/api/v2/businesses/CP0000840/filings/112962/comments'
          data:
            applicationDate: '2021-10-19T07:00:00+00:00'
            legalFilings:
              - changeOfAddress
          displayName: Address Change
          documentsLink: 'https://legal-api-dev.apps.silver.devops.gov.bc.ca/api/v2/businesses/CP0000840/filings/112962/documents'
          effectiveDate: 'Tue, 19 Oct 2021 07:00:00 GMT'
          filingId: 112962
          filingLink: 'https://legal-api-dev.apps.silver.devops.gov.bc.ca/api/v2/businesses/CP0000840/filings/112962'
          isFutureEffective: false
          name: changeOfAddress
          paymentStatusCode: COMPLETED
          status: COMPLETED
          submittedDate: 'Wed, 20 Oct 2021 17:55:05 GMT'
          submitter: Registry Staff
      items:
        $ref: '#/components/schemas/Ledger_item'
      description: 'The ledger is the record of all filings that have been performed on or in association with a business entity.'
    Ledger_item:
      type: object
      description: 'Set of information recorded by the Registry in relation to an individual filing on a business entity''s ledger.'
      x-examples:
        Example 1:
          availableOnPaperOnly: true
          businessIdentifier: BC1234567
          commentsCount: 1
          commentsLink: 'http://example.com'
          data:
            applicationDate: '2019-08-24T14:15:22Z'
            legalFilings:
              - alteration
          documentsLink: 'http://example.com'
          displayName: Alteration info doc
          effectiveDate: '2019-08-24T14:15:22Z'
          filingId: 112962
          filingLink: 'https://legal-api-dev.apps.silver.devops.gov.bc.ca/api/v2/businesses/CP0000840/filings/112962'
          name: changeOfAddress
          isFutureEffective: true
          paymentStatusCode: CREATED
          status: COMPLETED
          submittedDate: 'Wed, 20 Oct 2021 17:55:05 GMT'
          submitter: Registry Staff
      properties:
        availableOnPaperOnly:
          type: boolean
          description: Yes if information only accessible on paper. This typically relates to very old filings that pre-date online Registry systems.
        businessIdentifier:
          type: string
          minLength: 1
          description: 'Business identifier eg: BC123456 or business number (BN9) BN123456789. '
        commentsCount:
          type: number
          description: 'Number of comments/notes posted for the ledger item. '
        commentsLink:
          type: string
          minLength: 1
          format: uri
          description: URL related to comments for further details.
        data:
          type: object
          required:
            - applicationDate
            - legalFilings
          properties:
            applicationDate:
              type: string
              format: date-time
              minLength: 1
              description: Date the filing was performed.
            legalFilings:
              type: array
              description: This field identifies filings that corporations are required to submit under the BC Corporations Act.
              items:
                type: string
                enum:
                  - alteration
                  - annualReport
                  - amalgamationApplication
                  - appointReceiver
                  - changeOfDirectors
                  - changeOfAddress
                  - changeOfName
                  - changeOfRegistration
                  - continuedOut
                  - conversion
                  - correction
                  - courtOrder
                  - dissolution
                  - dissolved
                  - incorporationApplication
                  - registration
                  - restoration
                  - specialResolution
                  - transition
                  - registrarsNotation
                  - registrarsOrder
        documentsLink:
          type: string
          minLength: 1
          format: uri
          description: 'Link for documents related to filing.'
        displayName:
          type: string
          minLength: 1
          description: This field represents the name to be displayed for the ledger item associated with the filing record.
        effectiveDate:
          type: string
          minLength: 1
          format: date-time
          description: Date filing was to be effective.
        filingId:
          type: number
          description: 'Unique Identifier of the filing.'
        filingLink:
          type: string
          minLength: 1
          format: uri
          description: 'Link related to filing.'
        name:
          type: string
          minLength: 1
          description: 'Name of the filing to which the record relates.'
        isFutureEffective:
          type: boolean
          description: Identify if filing was submitted with a future effective date (yes/no).
        paymentDate:
          type: string
          minLength: 1
          format: date-time
          description: 'Date the payment was made for the filing (legacy filings may not have a value).'
        paymentStatusCode:
          type: string
          minLength: 1
          description: 'Code indicating the state of the payment for the filing eg: Completed.'
          example: Completed
        status:
          type: string
          minLength: 1
          description: 'Text describing the state of the filing.'
        submittedDate:
          type: string
          minLength: 1
          description: 'Date the filing was submitted.'
        submitter:
          type: string
          minLength: 1
          description: 'Name of the user who performed the filing.'
      required:
        - availableOnPaperOnly
        - businessIdentifier
        - commentsCount
        - commentsLink
        - data
        - documentsLink
        - displayName
        - effectiveDate
        - filingId
        - filingLink
        - name
        - isFutureEffective
        - paymentStatusCode
        - status
        - submittedDate
        - submitter
    Naics:
      type: object
      title: NAICS Schema
      description: '<p>NAICS is an abbreviation for The North American Industry Classification System and is a standard used to classify business activities.</p><p>NAICS information is not required or collected for all types of business entities.</p>'
      properties:
        naicsCode:
          type: string
          pattern: '^[0-9]{5,9}$'
          description: 'Six digits unique identifier assigned to a business activity.  '
          example: '32621'
        naicsDescription:
          type: string
          example: 32621 is the code for 'Tires Manufacturing' description
          description: 'Description of the business activity linked to the NAICS code.  '
      x-examples:
        Example 1:
          naicsCode: 32621 is the code for description 'Tires Manufacturing'
          naicsDescription: '''Tires Manufacturing'' is the description for code 32621'
    Name_request:
      type: object
      title: Name Request Schema
      description: 'Filing requesting approval for a business name.  '
      properties:
        nrNumber:
          type: string
          maxLength: 10
          example: NR 1234567
          description: 'Unique number identifying the request. '
        legalType:
          type: string
          description: 'Type of business requesting name approval eg: Benefit Company.'
        legalName:
          type: string
          description: 'Legal name requested for approval. '
        requestType:
          type: string
          title: The type of Name Request
          example: Benefit Company Inc.
          description: 'Representing the type of business and type of change eg: BC Benefit Company Change of Name.'
        status:
          type: string
          description: 'Status of the request eg: completed.'
          example: 'Expired '
        expires:
          type: string
          format: date-time
          example: '1970-01-01T00:00:00+00:00'
          description: Date and time the request will be in 'expired' status.
        consent:
          type: string
          description: Authorization to use the requested name.
        submittedBy:
          type: string
          description: 'Name of the person submitting the request. '
        address:
          $ref: '#/components/schemas/Address'
      required:
        - legalType
      x-examples:
        Example 1:
          nrNumber: NR 0119514
          legalType: B.C. Company
          legalName: JOHN SMITH COMPANY (LIMITED)
          requestType: B.C. Company - Incorporation/Amalgamation
          status: Completed
          expires: '2019-08-24T14:15:22Z'
          consent: 'NAME: consent to use name'
          submittedBy: Registry Staff
          address:
            streetAddress: 5-4761 Bay Street
            streetAddressAdditional: Building A
            addressCity: Victoria
            addressRegion: 'BC for British Columbia '
            addressCountry: Canada
            postalCode: V8R 2P1
            deliveryInstructions: '"Our apartment is located at the back of the building."'
    Name_translations:
      type: array
      title: Name Translations Schema
      description: 'Used when business name is to be translated.'
      x-examples:
        Example 1:
          - id: '1234'
            name: Compagnie ABC
      items:
        type: object
        properties:
          id:
            type: string
            description: 'Name unique identifier eg: 1234.'
            example: '1234'
          name:
            type: string
            maxLength: 50
            title: Name Translation
            pattern: '^[ A-Za-zÀ-ÿ_@./#’&+-]*$'
            description: 'Text indicating name translation to be used.'
          type:
            type: string
            title: The type of translation
            enum:
              - TRANSLATION
              - DBA
        required:
          - name
    Notice_of_withdrawal:
      type: object
      title: Notice of Withdrawal Filing
      description: Filing to withdraw future effective filings.
      required:
        - noticeOfWithdrawal
      properties:
        noticeOfWithdrawal:
          type: object
          description: This section contains all the information to withdraw a future effective filing.
          required:
            - filingId
          properties:
            filingId:
              type: integer
              title: ID for the future effective filing
            courtOrder:
              $ref: '#/components/schemas/Court_order'
            hasTakenEffect:
              type: boolean
              title: One of the terms of arrangement for the FED filing have taken effect
            partOfPoa:
              type: boolean
              title: FED filing is part of a Plan of Arrangement
      x-examples:
        Example 1:
          noticeOfWithdrawal:
            filingId: 123456
    Office:
      title: Office Schema
      type: object
      description: 'Addresses related to the business.'
      required:
        - mailingAddress
        - deliveryAddress
      properties:
        officeType:
          type: string
          example: 'Head office'
          description: 'Type of office eg: registered office.'
        mailingAddress:
          $ref: '#/components/schemas/Address'
        deliveryAddress:
          $ref: '#/components/schemas/Address'
      x-examples:
        Example 1:
          officeType: Head office
          mailingAddress:
            streetAddress: 5-4761 Bay Street
            streetAddressAdditional: Building A
            addressCity: Victoria
            addressRegion: 'BC for British Columbia'
            addressCountry: Canada
            postalCode: V8R 2P1
            deliveryInstructions: 'Our apartment is located at the back of the building.'
          deliveryAddress:
            streetAddress: 5-4761 Bay Street
            streetAddressAdditional: Building A
            addressCity: Victoria
            addressRegion: 'BC for British Columbia'
            addressCountry: Canada
            postalCode: V8R 2P1
            deliveryInstructions: 'Our apartment is located at the back of the building.'
    party:
      type: object
      title: party
      description: 'Represent a person and its role in relation to a business.'
      properties:
        party:
          type: object
          description: 'Represent a person and its role in relation to a business.'
          properties:
            roles:
              type: array
              description: 'Role of the person in relation to the business eg: director'
              items:
                $ref: '#/components/schemas/partyRole'
            officer:
              oneOf:
                - $ref: '#/components/schemas/Person'
                - $ref: '#/components/schemas/Business'
              description: Officer is a key management executive of the business
            deliveryAddress:
              allOf:
                - $ref: '#/components/schemas/Address'
              description: 'Required when the role type is Director or Custodian.'
            mailingAddress:
              $ref: '#/components/schemas/Address'
            title:
              type: string
              example: Chief Executive Officer
              description: 'Title of the party in relation to the business eg: Chief Executive Officer'
          required:
            - roles
            - officer
            - mailingAddress
      x-examples:
        Example 1:
          party:
            roles:
              - appointmentDate: '2019-08-24'
                cessationDate: '2019-08-24'
                roleType: Officer
            officer:
              givenName: John
              familyName: Smith
              additionalName: Adam
              middleInitial: A
              email: abc.def@gov.bc.ca
            deliveryAddress:
              streetAddress: 5-4761 Bay Street
              streetAddressAdditional: Building A
              addressCity: Victoria
              addressRegion: 'BC for British Columbia'
              addressCountry: Canada
              postalCode: V8R 2P1
              deliveryInstructions: 'Our apartment is located at the back of the building.'
            mailingAddress:
              streetAddress: 5-4761 Bay Street
              streetAddressAdditional: Building A
              addressCity: Victoria
              addressRegion: 'BC for British Columbia'
              addressCountry: Canada
              postalCode: V8R 2P1
              deliveryInstructions: 'Our apartment is located at the back of the building.'
            title: Chief Executive Officer
    partyRole:
      type: object
      description: 'Role of the person in relation to the business eg: director.'
      properties:
        appointmentDate:
          type: string
          format: date
          description: Date the person has been appointed to the role.
        cessationDate:
          type: string
          format: date
          description: Date the person's role has been terminated.
        roleType:
          type: string
          enum:
            - Completing Party
            - Custodian
            - Liquidator
            - Director
            - Incorporator
            - Proprietor
            - Partner
            - Applicant
          description: 'The role a person occupies in the business eg: officer.'
      x-examples:
        Example 1:
          appointmentDate: '2019-08-24'
          cessationDate: '2019-08-24'
          roleType: Director
      required:
        - roleType
        - appointmentDate
    Person:
      type: object
      title: Person Schema
      description: 'An individual that is currently or had previously occupied a role in relation to a business.'
      properties:
        firstName:
          type: string
          maxLength: 30
          description: 'First name of the individual. Used in corporations filings.'
        givenName:
          type: string
          maxLength: 30
          description: First name of the individual.
        familyName:
          type: string
          maxLength: 30
          description: Last name or surname of the individual.
        lastName:
          type: string
          maxLength: 30
          description: 'Last name or surname of the individual. Used in corporations filings.'
        additionalName:
          type: string
          title: 'An additional name for a Person, can be used for a middle name.'
          maxLength: 30
          description: 'Other name used by the individual.'
        middleInitial:
          type: string
          maxLength: 30
          description: Initial of the individual's middle name.
        alternateName:
          type: string
          maxLength: 90
          description: 'An alternative name for a Person (e.g., preferred name).'
        fullName:
          type: string
          maxLength: 90
          description: The full name of the individual.
        email:
          type: string
          format: email
          example: abc.def@gov.bc.ca
          description: email address of the individual for contact information. Required for corporation voluntary dissolution filings.
      x-examples:
        Example 1:
          givenName: John
          familyName: Smith
          additionalName: Adam
          middleInitial: A
          email: abc.def@gov.bc.ca
    Registrars_notation:
      title: Registrars Notation Information Schema
      type: object
      description: ' Notation regarding a registrar order.'
      properties:
        registrarsNotation:
          type: object
          required:
            - orderDetails
          properties:
            fileNumber:
              type: string
              minLength: 0
              maxLength: 20
              description: The court assigns each court order a unique file number up to 20 characters in length.
            orderDate:
              type: string
              description: The date and time of the order.
              format: date-time
            effectOfOrder:
              type: string
              minLength: 0
              maxLength: 500
              default: planOfArrangement
              description: The effect that the order has on the business.
            orderDetails:
              type: string
              minLength: 1
              maxLength: 2000
              description: A brief note to explain the purpose of the order.
      required:
        - registrarsNotation
      x-examples:
        Example 1:
          registrarsNotation:
            fileNumber: A1234
            orderDate: '2019-08-24T14:15:22Z'
            effectOfOrder: planOfArrangement
            orderDetails: Court order to process with liquidation of assets
    Registrars_order:
      type: object
      title: Registrars Order Information Schema
      properties:
        registrarsOrder:
          type: object
          required:
            - orderDetails
          description: 'Order issued by the registrar eg: update an AGM date.'
          properties:
            fileNumber:
              type: string
              minLength: 0
              maxLength: 20
              description: Number identifying the registrar order.
            orderDate:
              type: string
              description: The date and time of the order.
              format: date-time
            effectOfOrder:
              type: string
              minLength: 0
              maxLength: 500
              description: The effect the order will have on the business.
            orderDetails:
              type: string
              minLength: 1
              maxLength: 2000
              description: A brief note to explain the purpose of the Order.
      required:
        - registrarsOrder
      description: 'Order issued by the registrar eg: update an AGM date.'
      x-examples:
        Example 1:
          registrarsOrder:
            fileNumber: A1234
            orderDate: '2019-08-24T14:15:22Z'
            effectOfOrder: Company will be dissolved
            orderDetails: Order to proceed with company dissolution
    Relationship:
      type: object
      title: The Relationship Schema
      description: Represents the relationship between an individual and a business.
      x-examples:
        Example 1:
          relationships:
            - entity:
                givenName: Johnathon
                familyName: Smith
                middleInitial: E
                alternateName: John Smith
              deliveryAddress:
                streetAddress: 5-4761 Bay Street
                addressCity: Victoria
                addressRegion: BC
                addressCountry: Canada
                postalCode: V8R 2P1
                deliveryInstructions: Our apartment is located at the back of the building.
              mailingAddress:
                streetAddress: 5-4761 Bay Street
                addressCity: Victoria
                addressRegion: BC
                addressCountry: Canada
                postalCode: V8R 2P1
                deliveryInstructions: Our apartment is located at the back of the building.
              roles:
                - appointmentDate: '2018-08-24'
                  cessationDate: '2024-08-24'
                  roleType: Secretary
                  roleClass: OFFICER
                - appointmentDate: '2024-08-24'
                  cessationDate: null
                  roleType: CEO
                  roleClass: OFFICER
      required:
        - relationships
      properties:
        relationships:
          type: array
          minItems: 1
          items:
            type: object
            required:
              - entity
              - deliveryAddress
              - roles
            properties:
              entity:
                allOf:
                  - $ref: '#/components/schemas/Person'
                  - required:
                      - familyName
              deliveryAddress:
                $ref: '#/components/schemas/Address'
              mailingAddress:
                $ref: '#/components/schemas/Address'
              roles:
                type: array
                minItems: 1
                items:
                  type: object
                  required:
                    - appointmentDate
                    - roleType
                    - roleClass
                  properties:
                    identifier:
                      type: string
                      maxLength: 36
                      description: '***Item not used***'
                    appointmentDate:
                      type: string
                      format: date
                      description: Date the person has been appointed to the role.
                    cessationDate:
                      type: string
                      format: date
                      description: Date the person's role has been terminated.
                    roleType:
                      description: 'Role of the person in relation to the business eg: President.'
                      enum:
                        - CEO
                        - CFO
                        - President
                        - Vice President
                        - Chair
                        - Treasurer
                        - Secretary
                        - Assistant Secretary
                        - Other
                    roleClass:
                      description: Class or category of the roleType
                      enum:
                        - ATTORNEY
                        - AGENT
                        - DIRECTOR
                        - OFFICER
    Restoration:
      title: Restoration Filing
      type: object
      description: 'Filing to request a company to be restored eg: after dissolution a company can apply for full or limited restoration.'
      properties:
        restoration:
          type: object
          required:
            - date
            - type
          properties:
            date:
              type: string
              format: date
              description: Date the restoration request is filed.
            type:
              type: string
              title: 'The Type of Restoration, such as Full Restoration, Limited Restoration, etc.'
              enum:
                - fullRestoration
                - limitedRestoration
              description: 'Type of restoration requested eg: limited, full.'
            expiry:
              title: The date the limited restoration is ends.
              type: string
              format: date
              description: 'The date until which the restoration will be in effect: usually for limited restoration.  '
      required:
        - restoration
      x-examples:
        Example 1:
          restoration:
            date: '2019-08-24'
            type: limitedRestoration
            expiry: '2020-02-20'
    Registration:
      title: Registration Filing
      type: object
      description: 'Filing to register a business eg: sole proprietorship, general partnership.'
      properties:
        registration:
          type: object
          required:
            - offices
            - contactPoint
            - startDate
            - nameRequest
            - parties
          description: 'Filing to register a business eg: sole proprietorship, general partnership.'
          properties:
            business:
              $ref: '#/components/schemas/Business'
            offices:
              type: object
              description: 'Addresses related to the business eg: records office mailing address.'
              properties:
                businessOffice:
                  $ref: '#/components/schemas/Office'
            businessType:
              type: string
              title: The business type of Sole Proprietorship (Doing Business As) Registration.
              enum:
                - SP
                - DBA
              description: 'Type of business to register eg: general partnership.'
            contactPoint:
              $ref: '#/components/schemas/Contact_point'
            startDate:
              type: string
              format: date
              description: 'The date the business operations start. '
            nameRequest:
              $ref: '#/components/schemas/Name_request'
            parties:
              type: array
              description: The persons related to the business and their role.
              items:
                $ref: '#/components/schemas/party'
            courtOrder:
              $ref: '#/components/schemas/Court_order'
      required:
        - registration
      x-examples:
        Example 1:
          registration:
            business:
              lastLedgerTimestamp: '2020-11-24T18:24:27.179623+00:00'
              fiscalYearEndDate: '2020-11-24'
              dissolutionDate: '2020-11-24T18:23:53.498863+00:00'
              foundingDate: '2020-11-24T18:23:53.498863+00:00'
              identifier: 'BC1234567 is an identifier for a corporation '
              legalName: '1234567 B.C. Ltd. is a legal name for a corporation '
              state: ACTIVE
              legalType: 'GP: General Partnership'
              taxId: BN123456789
              goodStanding: true
              adminFreeze: true
              naics:
                naicsCode: 32621 is the code for 'Tires Manufacturing' description
                naicsDescription: 32621 is the code for 'Tires Manufacturing' description
              natureOfBusiness: string
              complianceWarnings:
                - code: INVALID_LEGAL_STRUCTURE_DIRECTORS
                  message: INVALID_LEGAL_STRUCTURE_DIRECTORS
                  filing: '''https://LEGAL-API-HOST/api/v2/businesses/IDENTIFIER/filings/FILING_ID'''
            offices:
              businessOffice:
                officeType: 'Head office '
                mailingAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: Building A
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our unit is located at the back of the building."'
                deliveryAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: Building A
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our unit is located at the back of the building."'
            businessType: SP
            contactPoint:
              email: abc.def@gov.bc.ca
              phone: (555) 555-5555
              extension: 1234
            startDate: '2019-08-24'
            nameRequest:
              nrNumber: string
              legalType: string
              legalName: string
              requestType: Benefit Company Inc.
              status: 'Expired '
              expires: '2019-08-24T14:15:22Z'
              consent: string
              submittedBy: string
              address:
                streetAddress: 5-4761 Bay Street
                streetAddressAdditional: string
                addressCity: Victoria
                addressRegion: 'BC for British Columbia '
                addressCountry: Canada
                postalCode: V8R 2P1
                deliveryInstructions: '"Our apartment is located at the back of the building."'
            parties:
              - party:
                  roles:
                    - appointmentDate: '2019-08-24'
                      cessationDate: '2019-08-24'
                      roleType: Completing Party
                  officer:
                    givenName: string
                    familyName: string
                    additionalName: string
                    middleInitial: string
                    email: abc.def@gov.bc.ca
                  deliveryAddress:
                    streetAddress: 5-4761 Bay Street
                    streetAddressAdditional: string
                    addressCity: Victoria
                    addressRegion: 'BC for British Columbia '
                    addressCountry: Canada
                    postalCode: V8R 2P1
                    deliveryInstructions: '"Our apartment is located at the back of the building."'
                  mailingAddress:
                    streetAddress: 5-4761 Bay Street
                    streetAddressAdditional: string
                    addressCity: Victoria
                    addressRegion: 'BC for British Columbia '
                    addressCountry: Canada
                    postalCode: V8R 2P1
                    deliveryInstructions: '"Our apartment is located at the back of the building."'
                  title: Chief Executive Officer
            courtOrder:
              courtOrder:
                fileNumber: string
                orderDate: '2019-08-24T14:15:22Z'
                effectOfOrder: string
                orderDetails: string
    shareSeries:
      type: object
      description: Describe share structure of a company.
      properties:
        name:
          type: string
          title: The name of the share series.
          description: 'Type of shares eg: general shares.'
        priority:
          type: integer
          title: 'The display order that indicates priority. '
          description: Priority related to share type or class.
        hasMaximumShares:
          type: boolean
          title: Has maximum number of shares?
          description: If there is a maximum number of shares that the company can issue to the investors Yes/No.
        hasRightsOrRestrictions:
          type: boolean
          title: Has special rights or restrictions?
          description: 'If there are conditions to be met before the shares can be sold. '
      required:
        - name
        - priority
        - hasMaximumShares
        - hasRightsOrRestrictions
      title: ''
      x-examples:
        Example 1:
          name: convertible shares
          priority: 100
          hasMaximumShares: true
          hasRightsOrRestrictions: true
    shareClass:
      type: object
      description: 'Designation that describes the different types of shares the company can issue, typically designated by letters of the alphabet, such as A or B. '
      x-examples:
        Example 1:
          name: Redeemable Shares
          priority: 2
          maxNumberOfShares: 100
          parValue: 50
          currency: CAD
          hasMaximumShares: true
          hasParValue: true
          hasRightsOrRestrictions: true
          series:
            - name: Redeemable Preference Shares
              priority: 2
              hasMaximumShares: true
              hasRightsOrRestrictions: true
      properties:
        name:
          type: string
          title: The name of the share class.
          description: 'Type of shares eg: general shares.'
        priority:
          type: integer
          title: 'The display order of the shares that indicates priority. '
          description: 'The display order that indicates priority eg: 2. With value 2, the share class will be displayed the second, after share class with priority 1. '
          example: 2
        maxNumberOfShares:
          type: number
          nullable: true
          title: 'Maximum number of shares in the class. '
          description: 'The maximum number of shares that a corporation can issue to the investors called authorized shares. If hasMaximumShares is false, set this field to null.'
        parValue:
          type: number
          nullable: true
          title: 'Initial value of each share. '
          description: 'The value of a single common share as set by a corporation''s charter. If hasParValue is false, set this field to null.'
        currency:
          type: string
          nullable: true
          description: The currency in which the Share is traded on the Exchange.
        hasMaximumShares:
          type: boolean
          title: Has maximum number of shares?
          description: 'If there is a maximum number of shares that the company can issue to the investors Yes/No.   '
        hasParValue:
          type: boolean
          title: Has initial value of each share?
          description: If company has Par Value defined in charter Yes/No.
        hasRightsOrRestrictions:
          type: boolean
          title: Has special rights or restrictions?
          description: 'If there are conditions to be met before the shares can be sold. '
        series:
          type: array
          description: A subdivision of a class of shares. If a corporation's articles permit shares of a class to be issued in one or more series.
          items:
            $ref: '#/components/schemas/shareSeries'
      required:
        - name
        - priority
        - maxNumberOfShares
        - parValue
        - currency
        - hasMaximumShares
        - hasParValue
        - hasRightsOrRestrictions
    Special_resolution:
      type: object
      title: Special Resolution Filing
      description: 'Special resolutions are needed for certain changes as defined in the Corporations Act eg: decisions to change the company''s name. '
      properties:
        specialResolution:
          type: object
          description: 'Special resolutions are needed for certain changes as defined in the Corporations Act eg: decisions to change the company''s name. '
          required:
            - resolution
          properties:
            meetingDate:
              type: string
              format: date
              description: 'Date of the meeting when the special resolution was adopted.   '
              example: '2023-01-20'
            resolution:
              type: string
              maxLength: 1000
              description: 'Description of the change that was adopted eg:  amendments to memorandum and articles of association.'
            resolutionDate:
              type: string
              format: date
              description: Date the resolution is to take effect.
            signingDate:
              type: string
              format: date
              description: 'The date the resolution was authorized.  '
            signatory:
              $ref: '#/components/schemas/Person'
      required:
        - specialResolution
      x-examples:
        Example 1:
          specialResolution:
            meetingDate: '2023-01-20'
            resolution: Issuance of preferred shares
            resolutionDate: '2019-08-24'
            signingDate: '2019-08-24'
            signatory:
              givenName: John
              familyName: Smith
              additionalName: Adam
              middleInitial: A
              taxId: BN123456789
              email: abc.def@gov.bc.ca
    Share_structure:
      type: object
      title: Share Structure Schema
      description: 'The type, series, and classes of shares that the company has been authorized. '
      properties:
        resolutionDates:
          type: array
          description: 'The dates the share structure of the company was adopted. Each entry is an object with a `date` field. '
          items:
            type: object
            required:
              - date
            properties:
              id:
                type: integer
                description: Id of an existing resolution date, returned by the API.
              date:
                type: string
                format: date
        shareClasses:
          type: array
          description: 'Designation that describes the different types of shares the company can issue, typically designated by letters of the alphabet, such as A or B. '
          items:
            $ref: '#/components/schemas/shareClass'
      required:
        - shareClasses
      x-examples:
        Example 1:
          resolutionDates:
            - date: '2019-08-24'
          shareClasses:
            - name: Redeemable shares
              priority: 2
              maxNumberOfShares: 100
              parValue: 50
              currency: CAD
              hasMaximumShares: true
              hasParValue: true
              hasRightsOrRestrictions: true
              series:
                - name: Redeemable shares class A
                  priority: 2
                  hasMaximumShares: true
                  hasRightsOrRestrictions: true
    Aliases_response:
      type: object
      title: Name translations
      properties:
        aliases:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
                description: The translated name.
              type:
                type: string
                example: TRANSLATION
    Comments_response:
      type: object
      title: Comments
      properties:
        comments:
          type: array
          items:
            type: object
            properties:
              comment:
                type: object
                properties:
                  id:
                    type: integer
                  comment:
                    type: string
                  commentType:
                    type: string
                    example: STAFF
                  submitterDisplayName:
                    type: string
                  businessId:
                    type: integer
                    nullable: true
                  filingId:
                    type: integer
                    nullable: true
                  timestamp:
                    type: string
                    format: date-time
    Directors_response:
      type: object
      title: Directors
      properties:
        directors:
          type: array
          items:
            $ref: '#/components/schemas/Director'
    Filing_response:
      type: object
      title: Single filing
      description: One filing as returned by GET /businesses/{identifier}/filings/{filingId}. The `filing` object has the same shape as the submitted body plus the server-side header fields (filingId, status, effectiveDate, paymentToken, submitter).
      properties:
        filing:
          type: object
          properties:
            header:
              $ref: '#/components/schemas/filing_header'
            business:
              $ref: '#/components/schemas/Business'
          additionalProperties: true
        commentsCount:
          type: integer
        commentsLink:
          type: string
          format: uri
        documentsLink:
          type: string
          format: uri
        displayLedger:
          type: boolean
        filedByStaff:
          type: boolean
        isFutureEffective:
          type: boolean
    Resolutions_response:
      type: object
      title: Resolutions
      properties:
        resolutions:
          type: array
          items:
            type: object
            required:
            - id
            - type
            - date
            properties:
              id:
                type: integer
              type:
                type: string
                description: ORDINARY or SPECIAL.
              date:
                type: string
                format: date
              subType:
                type: string
              resolution:
                type: string
              signingDate:
                type: string
                format: date
              signatory:
                type: object
                properties:
                  givenName:
                    type: string
                  familyName:
                    type: string
                  additionalName:
                    type: string
    Share_classes_response:
      type: object
      title: Share classes
      properties:
        shareClasses:
          type: array
          items:
            $ref: '#/components/schemas/shareClass'
    Tasks_response:
      type: object
      title: Tasks
      properties:
        tasks:
          type: array
          items:
            type: object
            properties:
              enabled:
                type: boolean
                description: False when an earlier task must be completed first.
              order:
                type: integer
              task:
                type: object
                description: Either a `todo` (an outstanding annual report or name request) or a `filing` (a draft, pending or future effective filing in the same shape as GET filing).
                properties:
                  todo:
                    type: object
                    additionalProperties: true
                  filing:
                    type: object
                    additionalProperties: true
    Transition:
      type: object
      title: Transition Filing
      description: Companies must file a Transition Application to update certain information that is on file with BC Registry.
      properties:
        transition:
          type: object
          description: Companies must file a Transition Application to update certain information that is on file with BC Registry.
          required:
            - offices
            - parties
            - shareStructure
            - hasProvisions
          properties:
            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'
            parties:
              type: array
              description: 'Persons having a role in the company transition. '
              items:
                $ref: '#/components/schemas/party'
            shareStructure:
              $ref: '#/components/schemas/Share_structure'
            hasProvisions:
              type: boolean
              title: Has Pre-existing company provisions?
              description: If the company has funds set aside to cover specific anticipated future expenses or other financial impacts Yes/No.
            contactPoint:
              $ref: '#/components/schemas/Contact_point'
      required:
        - transition
      x-examples:
        Example 1:
          transition:
            nameTranslations:
              - id: string
                name: string
            offices:
              registeredOffice:
                officeType: Head office
                mailingAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: Building A
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our unit is located at the back of the building."'
                deliveryAddress:
                  streetAddress: 5-4761 Bay Street
                  streetAddressAdditional: Building A
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our unit is located at the back of the building."'
              recordsOffice:
                officeType: Records Office
                mailingAddress:
                  streetAddress: 2-3342 Fort Street
                  streetAddressAdditional: Building C
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Our office is located at the back of the building."'
                deliveryAddress:
                  streetAddress: 311-1112 View Street
                  streetAddressAdditional: 3rd floor
                  addressCity: Victoria
                  addressRegion: 'BC for British Columbia '
                  addressCountry: Canada
                  postalCode: V8R 2P1
                  deliveryInstructions: '"Reception is on 2nd floor."'
            parties:
              - party:
                  roles:
                    - appointmentDate: '2019-08-24'
                      cessationDate: '2021-06-14'
                      roleType: Officer
                  officer:
                    givenName: Mary
                    familyName: Williams
                    additionalName: Lucy
                    middleInitial: L
                    email: abc.def@gov.bc.ca
                  deliveryAddress:
                    streetAddress: 5-111 Bay Street
                    streetAddressAdditional: Building B
                    addressCity: Victoria
                    addressRegion: 'BC for British Columbia '
                    addressCountry: Canada
                    postalCode: V8R 2P1
                    deliveryInstructions: '"Our unit is located at the back of the building."'
                  mailingAddress:
                    streetAddress: 5-4761 Bay Street
                    streetAddressAdditional: string
                    addressCity: Victoria
                    addressRegion: 'BC for British Columbia '
                    addressCountry: Canada
                    postalCode: V8R 2P1
                    deliveryInstructions: '"Our unit is located in front of the building."'
                  title: Chief Executive Officer
            shareStructure:
              resolutionDates:
                - date: '2019-08-24'
              shareClasses:
                - name: string
                  priority: 0
                  maxNumberOfShares: 0
                  parValue: 0
                  currency: string
                  hasMaximumShares: true
                  hasParValue: true
                  hasRightsOrRestrictions: true
                  series:
                    - name: string
                      priority: 0
                      hasMaximumShares: true
                      hasRightsOrRestrictions: true
            hasProvisions: true
            contactPoint:
              email: abc.def@gov.bc.ca
              phone: string
              extension: 1234
    Unmanaged:
      title: Unmanaged Filing
      required:
        - unmanaged
      type: object
      properties:
        unManaged:
          type: object
          required:
            - displayName
          properties:
            displayName:
              type: string
              title: Display name of the filing.
      description: '***Item not used*** '
  securitySchemes:
    api_key:
      type: apiKey
      description: API Gateway assigned API key for a user with the Business Registry API privilege. Required for all requests.
      name: x-apikey
      in: header
  headers:
    AccessControlAllowOrigin:
      schema:
        type: string
        description: Access-Control-Allow-Origin
        x-examples:
          notify_1:
            value: ''
    AccessControlAllowMethods:
      schema:
        type: string
        description: Access-Control-Allow-Methods
        x-examples:
          notify_1:
            value: 'GET, PUT, POST, PATCH'
    AccessControlAllowHeaders:
      schema:
        type: string
        description: Access-Control-Allow-Headers
        x-examples:
          notify_1:
            value: 'content-type, accept, x-apikey, authorization'
    AccessControlMaxAge:
      schema:
        type: integer
        description: Access-Control-Max-Age
        x-examples:
          notify_1:
            value: 362880
  responses:
    BadRequest:
      description: 'The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax, size too large, invalid request message framing, or deceptive request routing).'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error_response'
          examples:
            example-1:
              value:
                message: Bad request message.
    Unauthorized:
      description: 'Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided. The user does not have valid authentication credentials for the target resource.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error_response'
          examples:
            example-1:
              value:
                message: Unauthorized message.
    NotFound:
      description: The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error_response'
          examples:
            example-1:
              value:
                message: Not found message.
    InternalServerError:
      description: 'A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error_response'
          examples:
            example-1:
              value:
                message: Default message.
  parameters:
    accountId:
      name: Account-Id
      in: header
      description: Identifier for the user that is performing the requested action.
      required: true
      schema:
        type: string
      example: '1234567'
    identifier:
      name: identifier
      in: path
      required: true
      description: The unique identifier for the business or organization.
      schema:
        type: string
    filingId:
      name: filingId
      in: path
      required: true
      description: The unique id of the filing
      schema:
        type: string
    documentName:
      name: documentName
      in: path
      required: true
      description: The name of the legalName of the document.
      schema:
        type: string
    documentKey:
      name: documentKey
      in: path
      description: 'The unique identifier of an existing client document, returned in a successful POST response when the document is first stored. If an invalid id is submitted with a GET/PATCH/PUT then the response is a [404] status code.'
      required: true
      schema:
        type: string
      example: CORP-DS0100001023
    contentType:
      name: Content-Type
      in: header
      description: Specifies the format of the submitted document/file data.
      required: false
      schema:
        type: string
tags:
  - name: business
    description: business services
  - name: document
    description: document services
security:
  - api_key: []
