Interface JsonDataProviderOptions

Hierarchy

  • JsonDataProviderOptions

Properties

dateField?: string

Name of the field containing valid ISO 8601 date-time values. Required if the JSON file contains timeseries data, else it should not be specified.

jsonData?: DataRow[]

JSON data to import in place of URL fetch, typically used for testing. If this is provided, the URL will be ignored.

regionDb: RegionDB

The regions that this JSON file contains data for. Used for validating the incoming data.

regionField: string

Name of field containing valid Region IDs.

url?: string

URL of the JSON file to import from.

Generated using TypeDoc