This field uses the
Zish format.
{{ input_textarea('properties', contract.properties, 20, 80) }}
{% if contract.name == 'bank_holidays' %}
Example
{
"enabled": true,
"url": "https://www.gov.uk/bank-holidays/england-and-wales.ics"}
{% elif contract.name == 'bsuos' %}
Example
{
"enabled": true,
"discover_urls": true,
/* If discover_urls is true, then the importer goes to
https://www.nationalgrid.com/uk/electricity/charging-and-methodology/balancing-services-use-system-bsuos-charges
and finds the URLs for the latest data. This can be used in addition
to the 'urls' list. */
"urls": []
/* List of URLs that hold BSUoS data */
}
{% elif contract.name == 'tlms' %}
Example
{
"enabled": true,
"url": "https://downloads.elexonportal.co.uk/"}
/* Requires the 'elexonportal_scripting_key' to be set in the 'configuration'
non-core contract */
{% elif contract.name == 'configuration' %}
Example
{
"background_colour": "aquamarine",
"batch_reports": [
1
],
"ecoes": {
"password": "a",
"prefix": "https://ecoes2.co.uk/",
"user_name": "a"
},
"elexonportal_scripting_key": "xxx",
"site_links": [
{
"href": "https://maps.google.com/maps?q=",
"name": "Google Maps"
}
],
// Custom error message for forbidden pages
"forbidden_message": "I'm afraid you don't have permission to do this."
}
{% endif %}