{
  "openapi": "3.0.1",
  "info": {
    "title": "BusinessInformation",
    "version": "v1"
  },
  "paths": {
    "/BusinessInformation/FindBusinessesSimple.json": {
      "post": {
        "tags": [
          "BusinessInformation"
        ],
        "summary": "Finds possible matches for a company",
        "requestBody": {
          "description": "The details of the company to find",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FindBusinessesSimpleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FindBusinessesSimpleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FindBusinessesSimpleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessDetailsOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessDetailsOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessDetailsOutput"
                }
              }
            }
          }
        }
      }
    },
    "/BusinessInformation/FindBusinesses.json": {
      "post": {
        "tags": [
          "BusinessInformation"
        ],
        "summary": "Finds possible matches for a company",
        "requestBody": {
          "description": "The details of the company to find",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FindBusinessesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FindBusinessesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FindBusinessesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessDetailsOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessDetailsOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessDetailsOutput"
                }
              }
            }
          }
        }
      }
    },
    "/BusinessInformation/SearchBusinesses.json": {
      "post": {
        "tags": [
          "BusinessInformation"
        ],
        "summary": "Searches for companies by name, postcode, or company number using a single search parameter",
        "requestBody": {
          "description": "The search criteria",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchBusinessesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchBusinessesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SearchBusinessesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessDetailsOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessDetailsOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessDetailsOutput"
                }
              }
            }
          }
        }
      }
    },
    "/BusinessInformation/CreditCheckSimple.json": {
      "post": {
        "tags": [
          "BusinessInformation"
        ],
        "summary": "Gets credit limit information for a company",
        "requestBody": {
          "description": "The details of the company to get the credit rating and limit for",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreditCheckSimpleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreditCheckSimpleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreditCheckSimpleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessCreditCheckOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessCreditCheckOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessCreditCheckOutput"
                }
              }
            }
          }
        }
      }
    },
    "/BusinessInformation/CreditCheck.json": {
      "post": {
        "tags": [
          "BusinessInformation"
        ],
        "summary": "Gets credit limit information for a company",
        "requestBody": {
          "description": "The details of the company to get the credit rating and limit for",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreditCheckRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreditCheckRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreditCheckRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessCreditCheckOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessCreditCheckOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessCreditCheckOutput"
                }
              }
            }
          }
        }
      }
    },
    "/BusinessInformation/GetBusinessFinancialsSimple.json": {
      "post": {
        "tags": [
          "BusinessInformation"
        ],
        "summary": "Gets full financial information for a company",
        "requestBody": {
          "description": "The details of the company to get the financial information for",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetBusinessFinancialsSimpleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetBusinessFinancialsSimpleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetBusinessFinancialsSimpleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessFinancialsOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessFinancialsOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessFinancialsOutput"
                }
              }
            }
          }
        }
      }
    },
    "/BusinessInformation/GetBusinessFinancials.json": {
      "post": {
        "tags": [
          "BusinessInformation"
        ],
        "summary": "Gets full financial information for a company, including latest accounts, shareholders, directors, credit rating and score, group structure information and more.",
        "requestBody": {
          "description": "The details of the company to get the financial information for",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetBusinessFinancialsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetBusinessFinancialsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetBusinessFinancialsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessFinancialsOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessFinancialsOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessFinancialsOutput"
                }
              }
            }
          }
        }
      }
    },
    "/BusinessInformation/GetBusinessFinancialsXmlSimple.json": {
      "post": {
        "tags": [
          "BusinessInformation"
        ],
        "summary": "Gets full financial information for a company",
        "requestBody": {
          "description": "The details of the company to get the financial information for",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetBusinessFinancialsXmlSimpleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetBusinessFinancialsXmlSimpleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetBusinessFinancialsXmlSimpleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessFinancialsXmlOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessFinancialsXmlOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessFinancialsXmlOutput"
                }
              }
            }
          }
        }
      }
    },
    "/BusinessInformation/GetBusinessFinancialsXml.json": {
      "post": {
        "tags": [
          "BusinessInformation"
        ],
        "summary": "Gets full financial information for a company",
        "requestBody": {
          "description": "The details of the company to get the financial information for",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetBusinessFinancialsXmlRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetBusinessFinancialsXmlRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetBusinessFinancialsXmlRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessFinancialsXmlOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessFinancialsXmlOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessFinancialsXmlOutput"
                }
              }
            }
          }
        }
      }
    },
    "/BusinessInformation/GetAvailableImageReportsSimple.json": {
      "post": {
        "tags": [
          "BusinessInformation"
        ],
        "summary": "Gets a list of scanned documents that are available for a company",
        "requestBody": {
          "description": "The details of the company to get the scanned documents for",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAvailableImageReportsSimpleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAvailableImageReportsSimpleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetAvailableImageReportsSimpleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ImageReportListOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageReportListOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageReportListOutput"
                }
              }
            }
          }
        }
      }
    },
    "/BusinessInformation/GetAvailableImageReports.json": {
      "post": {
        "tags": [
          "BusinessInformation"
        ],
        "summary": "Gets a list of scanned documents that are available for a company",
        "requestBody": {
          "description": "The details of the company to get the scanned documents for",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAvailableImageReportsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAvailableImageReportsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetAvailableImageReportsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ImageReportListOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageReportListOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageReportListOutput"
                }
              }
            }
          }
        }
      }
    },
    "/BusinessInformation/GetImageReportSimple.json": {
      "post": {
        "tags": [
          "BusinessInformation"
        ],
        "summary": "Gets the content of a scanned document",
        "requestBody": {
          "description": "The details of the scanned document to get the content of",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetImageReportSimpleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetImageReportSimpleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetImageReportSimpleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ImageReportOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageReportOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageReportOutput"
                }
              }
            }
          }
        }
      }
    },
    "/BusinessInformation/GetImageReport.json": {
      "post": {
        "tags": [
          "BusinessInformation"
        ],
        "summary": "Gets the content of a scanned document",
        "requestBody": {
          "description": "The details of the scanned document to get the content of",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetImageReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetImageReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetImageReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ImageReportOutput"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageReportOutput"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageReportOutput"
                }
              }
            }
          }
        }
      }
    },
    "/BusinessInformation/BusinessSummaryAssistant.json": {
      "post": {
        "tags": [
          "BusinessInformation"
        ],
        "summary": "Gets a summary of a company from an AI assistant",
        "requestBody": {
          "description": "The company number to get the business summary for",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessSummaryAssistantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessSummaryAssistantRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessSummaryAssistantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessSummaryAssistantResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessSummaryAssistantResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessSummaryAssistantResult"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Address": {
        "type": "object",
        "properties": {
          "Lines": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BalanceSheet": {
        "type": "object",
        "properties": {
          "TangibleAssets": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "IntangibleAssets": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "FixedAssets": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "CurrentAssets": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "TradeDebtors": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Stock": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Cash": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "OtherCurrentAssets": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "IncreaseInCash": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "MiscellaneousCurrentAssets": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "TotalAssets": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "CurrentLiabilities": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "TradeCreditors": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Overdraft": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "OtherShortTermFinance": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "MiscellaneousCurrentLiabilities": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "OtherLongTermFinance": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "LongTermLiabilities": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "OverdraftLongTermLiabilities": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Liabilities": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "NetAssets": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "WorkingCapital": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BaseInformation": {
        "type": "object",
        "properties": {
          "Number": {
            "type": "string",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Telephone": {
            "type": "string",
            "nullable": true
          },
          "Website": {
            "type": "string",
            "nullable": true
          },
          "Address": {
            "$ref": "#/components/schemas/FormattedAddress"
          },
          "SicCode": {
            "type": "string",
            "nullable": true
          },
          "SicDescription": {
            "type": "string",
            "nullable": true
          },
          "CompanyType": {
            "type": "string",
            "nullable": true
          },
          "AccountsType": {
            "type": "string",
            "nullable": true
          },
          "AnnualReturnDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "IncorporationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "AccountsFilingDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "LatestAccountsDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "CompanyStatus": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BusinessCreditCheckOutput": {
        "type": "object",
        "properties": {
          "Status": {
            "$ref": "#/components/schemas/Status"
          },
          "CreditRating": {
            "type": "integer",
            "format": "int32"
          },
          "CreditLimit": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "BusinessDetails": {
        "type": "object",
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Address": {
            "$ref": "#/components/schemas/FormattedAddress"
          },
          "CompanyNumber": {
            "type": "string",
            "nullable": true
          },
          "LastAccountsFiled": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "TradingAddress": {
            "$ref": "#/components/schemas/FormattedAddress"
          }
        },
        "additionalProperties": false
      },
      "BusinessDetailsOutput": {
        "type": "object",
        "properties": {
          "Status": {
            "$ref": "#/components/schemas/Status"
          },
          "Businesses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BusinessDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BusinessFinancialsOutput": {
        "type": "object",
        "properties": {
          "Status": {
            "$ref": "#/components/schemas/Status"
          },
          "Report": {
            "$ref": "#/components/schemas/CompanyInformation"
          }
        },
        "additionalProperties": false
      },
      "BusinessFinancialsXmlOutput": {
        "type": "object",
        "properties": {
          "Status": {
            "$ref": "#/components/schemas/Status"
          },
          "ReportXml": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BusinessInformationOptions": {
        "type": "object",
        "properties": {
          "Country": {
            "type": "string",
            "description": "ISO 2-character code for the country to search in. Default is GB.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BusinessSummaryAssistantRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "The username to authenticate with",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "The password to authenticate with",
            "nullable": true
          },
          "companyNumber": {
            "type": "string",
            "description": "Company registration number to search for",
            "nullable": true
          },
          "businessDetails": {
            "type": "string",
            "nullable": true
          },
          "lastRefreshed": {
            "type": "string",
            "nullable": true
          },
          "options": {
            "type": "object",
            "description": "Any custom options to control how the details should be validated. See the API documentation website for a list of currently supported option.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BusinessSummaryAssistantResult": {
        "type": "object",
        "properties": {
          "Status": {
            "$ref": "#/components/schemas/Status"
          },
          "Summary": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "Thread": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CapitalReserves": {
        "type": "object",
        "properties": {
          "PaidUpEquity": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ProfitLossReserve": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "SundryReserves": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "RevaluationReserve": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Reserves": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "NetWorth": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ShareholderFunds": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CcjSummary": {
        "type": "object",
        "properties": {
          "Value": {
            "type": "number",
            "format": "double"
          },
          "Number": {
            "type": "integer",
            "format": "int32"
          },
          "FromDate": {
            "type": "string",
            "format": "date-time"
          },
          "ToDate": {
            "type": "string",
            "format": "date-time"
          },
          "NumberOfWrits": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CompanyInformation": {
        "type": "object",
        "properties": {
          "BaseInformation": {
            "$ref": "#/components/schemas/BaseInformation"
          },
          "Ratings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Rating"
            },
            "nullable": true
          },
          "Limits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Limit"
            },
            "nullable": true
          },
          "PreviousNames": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PreviousName"
            },
            "nullable": true
          },
          "RecordOfPayments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecordOfPayment"
            },
            "nullable": true
          },
          "CcjSummary": {
            "$ref": "#/components/schemas/CcjSummary"
          },
          "StatusHistory": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/StatusHistory"
            },
            "nullable": true
          },
          "Financials": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FinancialDetails"
            },
            "nullable": true
          },
          "Directors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Director"
            },
            "nullable": true
          },
          "TradingAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TradingAddress"
            },
            "nullable": true
          },
          "Mortgages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Mortgage"
            },
            "nullable": true
          },
          "MortgageSummary": {
            "$ref": "#/components/schemas/MortgageSummary"
          },
          "Shareholders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Shareholder"
            },
            "nullable": true
          },
          "ShareholderSummary": {
            "$ref": "#/components/schemas/ShareholderSummary"
          },
          "GroupStructure": {
            "$ref": "#/components/schemas/GroupCompany"
          },
          "EstimatedInformation": {
            "$ref": "#/components/schemas/EstimatedInformation"
          }
        },
        "additionalProperties": false
      },
      "CreditCheckRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "The username to authenticate with",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "The password to authenticate with",
            "nullable": true
          },
          "number": {
            "type": "string",
            "description": "Company registration number",
            "nullable": true
          },
          "options": {
            "$ref": "#/components/schemas/BusinessInformationOptions"
          }
        },
        "additionalProperties": false
      },
      "CreditCheckSimpleRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "The username to authenticate with",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "The password to authenticate with",
            "nullable": true
          },
          "number": {
            "type": "string",
            "description": "Company registration number",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Data": {
        "type": "object",
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Director": {
        "type": "object",
        "properties": {
          "Name": {
            "$ref": "#/components/schemas/Name"
          },
          "Address": {
            "$ref": "#/components/schemas/FormattedAddress"
          },
          "BirthDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "Nationality": {
            "type": "string",
            "nullable": true
          },
          "Honours": {
            "type": "string",
            "nullable": true
          },
          "Directorships": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Directorship"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Directorship": {
        "type": "object",
        "properties": {
          "CompanyNumber": {
            "type": "string",
            "nullable": true
          },
          "CompanyName": {
            "type": "string",
            "nullable": true
          },
          "CompanyStatus": {
            "type": "string",
            "nullable": true
          },
          "Function": {
            "type": "string",
            "nullable": true
          },
          "AppointedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstimatedInformation": {
        "type": "object",
        "properties": {
          "Employees": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Turnover": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FinancialDetails": {
        "type": "object",
        "properties": {
          "Period": {
            "$ref": "#/components/schemas/Period"
          },
          "ProfitAndLoss": {
            "$ref": "#/components/schemas/ProfitAndLoss"
          },
          "BalanceSheet": {
            "$ref": "#/components/schemas/BalanceSheet"
          },
          "CapitalReserves": {
            "$ref": "#/components/schemas/CapitalReserves"
          },
          "Miscellaneous": {
            "$ref": "#/components/schemas/Miscellaneous"
          },
          "Ratios": {
            "$ref": "#/components/schemas/Ratios"
          }
        },
        "additionalProperties": false
      },
      "FindBusinessesOptions": {
        "type": "object",
        "properties": {
          "Country": {
            "type": "string",
            "description": "ISO 2-character code for the country to search in. Default is GB.",
            "nullable": true
          },
          "MaxResults": {
            "type": "integer",
            "description": "Maximum number of results to return. Default is 100.",
            "format": "int32"
          },
          "IncludeNonLtd": {
            "type": "boolean",
            "description": "Whether to include non-limited companies in the search. Default is false."
          },
          "ActiveOnly": {
            "type": "boolean",
            "description": "Whether to only include active companies in the search. Default is false."
          },
          "CleanAddresses": {
            "type": "boolean",
            "description": "Whether to return original addresses (false) or cleansed addresses (true). Default is true."
          }
        },
        "additionalProperties": false
      },
      "FindBusinessesRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "The username to authenticate with",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "The password to authenticate with",
            "nullable": true
          },
          "number": {
            "type": "string",
            "description": "Company registration number to search for",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Company name to search for",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "Company address to search for",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "description": "Postcode to search for",
            "nullable": true
          },
          "telno": {
            "type": "string",
            "description": "Telephone number to search for",
            "nullable": true
          },
          "options": {
            "$ref": "#/components/schemas/FindBusinessesOptions"
          }
        },
        "additionalProperties": false
      },
      "FindBusinessesSimpleRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "The username to authenticate with",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "The password to authenticate with",
            "nullable": true
          },
          "number": {
            "type": "string",
            "description": "Company registration number to search for",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "Company name to search for",
            "nullable": true
          },
          "address": {
            "type": "string",
            "description": "Company address to search for",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "description": "Postcode to search for",
            "nullable": true
          },
          "telno": {
            "type": "string",
            "description": "Telephone number to search for",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FormattedAddress": {
        "type": "object",
        "properties": {
          "Address": {
            "$ref": "#/components/schemas/Address"
          },
          "RawAddress": {
            "$ref": "#/components/schemas/RawPAFAddress"
          }
        },
        "additionalProperties": false
      },
      "GetAvailableImageReportsRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "The username to authenticate with",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "The password to authenticate with",
            "nullable": true
          },
          "number": {
            "type": "string",
            "description": "Company registration number",
            "nullable": true
          },
          "options": {
            "$ref": "#/components/schemas/BusinessInformationOptions"
          }
        },
        "additionalProperties": false
      },
      "GetAvailableImageReportsSimpleRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "The username to authenticate with",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "The password to authenticate with",
            "nullable": true
          },
          "number": {
            "type": "string",
            "description": "Company registration number",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetBusinessFinancialsRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "The username to authenticate with",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "The password to authenticate with",
            "nullable": true
          },
          "number": {
            "type": "string",
            "description": "Company registration number",
            "nullable": true
          },
          "options": {
            "$ref": "#/components/schemas/BusinessInformationOptions"
          }
        },
        "additionalProperties": false
      },
      "GetBusinessFinancialsSimpleRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "The username to authenticate with",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "The password to authenticate with",
            "nullable": true
          },
          "number": {
            "type": "string",
            "description": "Company registration number",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetBusinessFinancialsXmlRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "The username to authenticate with",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "The password to authenticate with",
            "nullable": true
          },
          "number": {
            "type": "string",
            "description": "Company registration number",
            "nullable": true
          },
          "options": {
            "type": "object",
            "description": "Any custom options to control how the details should be validated. See the API documentation website for a list of currently supported option.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetBusinessFinancialsXmlSimpleRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "The username to authenticate with",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "The password to authenticate with",
            "nullable": true
          },
          "number": {
            "type": "string",
            "description": "Company registration number",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetImageReportRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "The username to authenticate with",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "The password to authenticate with",
            "nullable": true
          },
          "number": {
            "type": "string",
            "description": "Company registration number",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "description": "Company name",
            "nullable": true
          },
          "identifer": {
            "type": "string",
            "description": "Unique identifier of the image report to retrieve",
            "nullable": true
          },
          "options": {
            "$ref": "#/components/schemas/BusinessInformationOptions"
          }
        },
        "additionalProperties": false
      },
      "GetImageReportSimpleRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "The username to authenticate with",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "The password to authenticate with",
            "nullable": true
          },
          "number": {
            "type": "string",
            "description": "Company registration number",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "description": "Company name",
            "nullable": true
          },
          "identifer": {
            "type": "string",
            "description": "Unique identifier of the image report to retrieve",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GroupCompany": {
        "type": "object",
        "properties": {
          "CompanyName": {
            "type": "string",
            "nullable": true
          },
          "CompanyNumber": {
            "type": "string",
            "nullable": true
          },
          "LatestAnnualAccounts": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "Rating": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Limit": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "OwnedCompanies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupCompany"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImageReportDetails": {
        "type": "object",
        "properties": {
          "Identifier": {
            "type": "string",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "MimeType": {
            "type": "string",
            "nullable": true
          },
          "Date": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "ImageReportListOutput": {
        "type": "object",
        "properties": {
          "Status": {
            "$ref": "#/components/schemas/Status"
          },
          "Reports": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImageReportDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImageReportOutput": {
        "type": "object",
        "properties": {
          "Status": {
            "$ref": "#/components/schemas/Status"
          },
          "Url": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Limit": {
        "type": "object",
        "properties": {
          "Date": {
            "type": "string",
            "format": "date-time"
          },
          "MonthlyLimit": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "Miscellaneous": {
        "type": "object",
        "properties": {
          "NetCashFlowFromOperations": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "NetCashFlowBeforeFinancing": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "NetCashFlowFromFinancing": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ContingentLiability": {
            "type": "boolean",
            "nullable": true
          },
          "CapitalEmployed": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Employees": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Auditors": {
            "type": "string",
            "nullable": true
          },
          "AuditQualification": {
            "type": "string",
            "nullable": true
          },
          "Bankers": {
            "type": "string",
            "nullable": true
          },
          "BankBranchCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Mortgage": {
        "type": "object",
        "properties": {
          "MortgageType": {
            "type": "string",
            "nullable": true
          },
          "CreatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "RegisteredDate": {
            "type": "string",
            "format": "date-time"
          },
          "SatisfiedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "Status": {
            "type": "string",
            "nullable": true
          },
          "EntitledPersons": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "AmountSecured": {
            "type": "string",
            "nullable": true
          },
          "Details": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MortgageSummary": {
        "type": "object",
        "properties": {
          "Outstanding": {
            "type": "integer",
            "format": "int32"
          },
          "Satisfied": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Name": {
        "type": "object",
        "properties": {
          "Title": {
            "type": "string",
            "nullable": true
          },
          "Forename": {
            "type": "string",
            "nullable": true
          },
          "MiddleName": {
            "type": "string",
            "nullable": true
          },
          "Surname": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Option": {
        "type": "object",
        "properties": {
          "Name": {
            "type": "string",
            "description": "The name of the option. For an option to have any effect, the name must be one that the service expects.\r\nAny other options that are supplied should be ignored",
            "nullable": true
          },
          "Value": {
            "type": "string",
            "description": "The value for the option. Although this is supplied as a string, it may be converted to other formats. If\r\nthe string is not in the expected format an error may be thrown.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents an option that the caller can use to control how a request is executed"
      },
      "Period": {
        "type": "object",
        "properties": {
          "FromDate": {
            "type": "string",
            "format": "date-time"
          },
          "ToDate": {
            "type": "string",
            "format": "date-time"
          },
          "Months": {
            "type": "integer",
            "format": "int32"
          },
          "Currency": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Position": {
        "type": "object",
        "properties": {
          "Easting": {
            "type": "integer",
            "format": "int32"
          },
          "Northing": {
            "type": "integer",
            "format": "int32"
          },
          "GridReference": {
            "type": "string",
            "nullable": true
          },
          "Longitude": {
            "type": "number",
            "format": "double"
          },
          "Latitude": {
            "type": "number",
            "format": "double"
          },
          "CountyCode": {
            "type": "string",
            "nullable": true
          },
          "County": {
            "type": "string",
            "nullable": true
          },
          "DistrictCode": {
            "type": "string",
            "nullable": true
          },
          "District": {
            "type": "string",
            "nullable": true
          },
          "WardCode": {
            "type": "string",
            "nullable": true
          },
          "Ward": {
            "type": "string",
            "nullable": true
          },
          "Country": {
            "type": "string",
            "nullable": true
          },
          "Constituency": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PreviousName": {
        "type": "object",
        "properties": {
          "Date": {
            "type": "string",
            "format": "date-time"
          },
          "Name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProfitAndLoss": {
        "type": "object",
        "properties": {
          "ConsolidatedAccounts": {
            "type": "boolean"
          },
          "Turnover": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Export": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "CostOfSales": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "GrossProfit": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "DirectorsEmoluments": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "OperatingProfits": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Depreciation": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "AuditFees": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "InterestPayments": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "PreTax": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Taxation": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "PostTax": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "DividendsPayable": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "RetainedProfits": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "WagesSalaries": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Rating": {
        "type": "object",
        "properties": {
          "Date": {
            "type": "string",
            "format": "date-time"
          },
          "Score": {
            "type": "integer",
            "format": "int32"
          },
          "Description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Ratios": {
        "type": "object",
        "properties": {
          "PreTaxMargin": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "NetWorkingCapital": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "GearingRatio": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Equity": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "CreditorDays": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "DebtorDays": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "Liquidity": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ReturnOnCapitalEmployed": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ReturnOnAssetsEmployed": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "CurrentRatio": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "TotalDebtRatio": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "StockTurnoverRatio": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ReturnOnNetAssetsEmployed": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "CurrentDebtRatio": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RawPAFAddress": {
        "type": "object",
        "properties": {
          "Organisation": {
            "type": "string",
            "nullable": true
          },
          "Department": {
            "type": "string",
            "nullable": true
          },
          "AddressKey": {
            "type": "integer",
            "format": "int32"
          },
          "OrganisationKey": {
            "type": "integer",
            "format": "int32"
          },
          "PostcodeType": {
            "type": "string",
            "nullable": true
          },
          "BuildingNumber": {
            "type": "integer",
            "format": "int32"
          },
          "SubBuildingName": {
            "type": "string",
            "nullable": true
          },
          "BuildingName": {
            "type": "string",
            "nullable": true
          },
          "DependentThoroughfareName": {
            "type": "string",
            "nullable": true
          },
          "DependentThoroughfareDesc": {
            "type": "string",
            "nullable": true
          },
          "ThoroughfareName": {
            "type": "string",
            "nullable": true
          },
          "ThoroughfareDesc": {
            "type": "string",
            "nullable": true
          },
          "DoubleDependentLocality": {
            "type": "string",
            "nullable": true
          },
          "DependentLocality": {
            "type": "string",
            "nullable": true
          },
          "Locality": {
            "type": "string",
            "nullable": true
          },
          "Postcode": {
            "type": "string",
            "nullable": true
          },
          "Dps": {
            "type": "string",
            "nullable": true
          },
          "PoBox": {
            "type": "string",
            "nullable": true
          },
          "PostalCounty": {
            "type": "string",
            "nullable": true
          },
          "TraditionalCounty": {
            "type": "string",
            "nullable": true
          },
          "AdministrativeCounty": {
            "type": "string",
            "nullable": true
          },
          "CountryISO2": {
            "type": "string",
            "nullable": true
          },
          "UniqueReference": {
            "type": "string",
            "nullable": true
          },
          "Location": {
            "$ref": "#/components/schemas/Position"
          },
          "AdditionalData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Data"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RecordOfPayment": {
        "type": "object",
        "properties": {
          "CaseNumber": {
            "type": "string",
            "nullable": true
          },
          "Date": {
            "type": "string",
            "format": "date-time"
          },
          "PaidDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "Court": {
            "type": "string",
            "nullable": true
          },
          "Status": {
            "type": "string",
            "nullable": true
          },
          "Amount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "IncomingRecordDetails": {
            "type": "string",
            "nullable": true
          },
          "Exact": {
            "type": "boolean"
          },
          "CcjType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SearchBusinessesRequest": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "The username to authenticate with",
            "nullable": true
          },
          "password": {
            "type": "string",
            "description": "The password to authenticate with",
            "nullable": true
          },
          "search": {
            "type": "string",
            "description": "Search term to find companies by name, postcode, or company number",
            "nullable": true
          },
          "options": {
            "$ref": "#/components/schemas/FindBusinessesOptions"
          }
        },
        "additionalProperties": false
      },
      "Shareholder": {
        "type": "object",
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Shares": {
            "type": "string",
            "nullable": true
          },
          "Currency": {
            "type": "string",
            "nullable": true
          },
          "Title": {
            "type": "string",
            "nullable": true
          },
          "Forename": {
            "type": "string",
            "nullable": true
          },
          "MiddleName": {
            "type": "string",
            "nullable": true
          },
          "Surname": {
            "type": "string",
            "nullable": true
          },
          "NameSuffix": {
            "type": "string",
            "nullable": true
          },
          "NumberOfShares": {
            "type": "string",
            "nullable": true
          },
          "Class": {
            "type": "string",
            "nullable": true
          },
          "Value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ShareholderSummary": {
        "type": "object",
        "properties": {
          "ShareCapital": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "Status": {
        "type": "object",
        "properties": {
          "Success": {
            "type": "boolean"
          },
          "ErrorMessage": {
            "type": "string",
            "nullable": true
          },
          "CreditsRemaining": {
            "type": "number",
            "format": "float"
          }
        },
        "additionalProperties": false
      },
      "StatusHistory": {
        "type": "object",
        "properties": {
          "Date": {
            "type": "string",
            "format": "date-time"
          },
          "Text": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TradingAddress": {
        "type": "object",
        "properties": {
          "Address": {
            "$ref": "#/components/schemas/FormattedAddress"
          },
          "Telephone": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "UserPass": {
        "type": "http",
        "scheme": "basic"
      },
      "ApiKey": {
        "type": "apiKey",
        "name": "key",
        "in": "query"
      },
      "JWT": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "UserPass": [ ],
      "ApiKey": [ ],
      "JWT": [ ]
    }
  ]
}