{% extends "base.html" %} {% block content %}

Contract {{ contract.id }} {{ contract.version }}

Back to versions

Download JSON Edit

Name
{{ contract.name }}
{% if contract.description and contract.description.usage %}
Description
{{ contract.description.usage }}
{% endif %} {% if contract.servers %}
Servers
    {% for s in contract.servers %}
  • {{ s.server }}{% if s.type %} ({{ s.type }}){% endif %}: {% if s.path %}{{ s.path }}{% elif s.dataset %}{{ s.dataset }}{% endif %}
  • {% endfor %}
{% endif %}
{% if datasets %}
Datasets
{% endif %}
{% for s in contract.schema %}
{{ s.name }}
{% for p in s.properties %} {% endfor %}
NameTypeRequired
{{ p.name }}{{ p.physicalType }}{{ 'yes' if p.required else 'no' }}
{% endfor %}
{% if expectations %} {% for name, expr in expectations.items() %} {% endfor %}
NamePredicate
{{ name }}{{ expr }}
{% else %}

No quality rules defined.

{% endif %}
{{ contract | tojson(indent=2) }}
{% endblock %}