"@context": "https://schema.org/extensions",
"title": "{% autoescape "js" %}Updated Environment: {{environment.application.name}} {{environment.category.name}}{% endautoescape %}",
"text": "{% autoescape "js" %}
<h2>What was changed?</h2>
{% for change in environmentChanges %}
{% if change.toString is not null %}
{% set newValue = change.toString %}
{% if change.fromString is not null %}
{% set value = newValue + " (was " + change.fromString + ")" %}
<td>{{change.field}}</td><td>{{value}}</td>
<tr><td>URL:</td><td>{% if environment.url is not null %}<a target=\"_blank\" href=\"{{environment.url}}\">{{environment.url}}</a>{% else %}-{% endif %}</td></tr>
<tr><td>Status:</td><td>{% if environment.status is not null %}{{environment.status.name}}{% else %}-{% endif %}</td></tr>
<tr><td>Deployed:</td><td>{% if environment.deployment is not null %}{{environment.deployment.versionName}}{% else %}-{% endif %}</td></tr>
{% for attribute in environment.attributes %}<tr><td>{{attribute.key}}:</td><td>{{attribute.value}}</td></tr>{% endfor %}