Skip to the content.

COVID Policy Modelling Model Connector How-To: Documenting your connector

In this section, you will complete the metadata and documentation for your connector. After completion, you should have the information required to integrate the connector with COVID-UI, and to support future development.

Contents

Assumptions

The main body of these instructions assume the following:

The instructions also contain additional notes to support any of the following:

Documenting your connector

  1. Edit meta.yml to describe what your model/connector supports. This records the metadata used in integration with the web-ui.

  2. Edit README.md to describe your connector for yourself and other developers.

  3. Commit and push the changes.

Next steps

Follow the steps for publishing your connector.

Additional steps for alternative approaches

The connector will use a custom schema

In your meta.yml you must specify which schema you use, e.g.

supportedSchemas:
  input: MyModelInput
  output: MyModelOutput

You should remove the supportedParameters and supportedRegions keys.

The connector will use a different shared schema

In your meta.yml you must specify which schema you use, e.g.

supportedSchemas:
  input: MinimalModelInput
  output: MinimalModelOutput

You should remove the supportedParameters and supportedRegions keys.