{# #}

Data Contract

{{ datacontract.id }}
Open Data Contract Standard {{ datacontract.apiVersion }} {% if datacontract.tags %}
{% for tag in datacontract.tags %} {{ tag }} {% endfor %}
{% endif %}

Fundamentals

Basic information about the data contract

{% if datacontract.name %}
Name
{{ datacontract.name }}
{% endif %} {% if datacontract.version %}
Version
{{ datacontract.version }}
{% endif %} {% if datacontract.status %}
Status
{{ datacontract.status }}
{% endif %} {% if datacontract.dataProduct %}
Data Product
{{ datacontract.dataProduct }}
{% endif %} {% if datacontract.tenant %}
Tenant
{{ datacontract.tenant }}
{% endif %} {% if datacontract.description %} {% if datacontract.description.purpose %}
Purpose
{{ datacontract.description.purpose }}
{% endif %} {% if datacontract.description.usage %}
Usage
{{ datacontract.description.usage }}
{% endif %} {% if datacontract.description.limitations %}
Limitations
{{ datacontract.description.limitations }}
{% endif %} {% endif %} {% if datacontract.contractCreatedTs %}
Contract Created
{{ datacontract.contractCreatedTs }}
{% endif %}

Entity Relationship Diagram

Visual representation of data model relationships

                    {{ mermaid_diagram }}
                  

Schema

The data schema and structure

{% for schema in datacontract.schema_ %}
{% for property in schema.properties %} {% endfor %} {% if schema.quality %} {% for quality in schema.quality %} {% endfor %} {% endif %}
{% if schema.name %} {{ schema.name }} {% endif %} {% if schema.physicalName and schema.physicalName != schema.name %} ({{ schema.physicalName }}) {% endif %} {{ schema.physicalType or schema.logicalType }}
{{ schema.description }}
{% if schema.dataGranularityDescription %}
Granularity: {{ schema.dataGranularityDescription }}
{% endif %}
Property Business Name Type Required Description
{{ property.name }}
{% if property.primaryKey %} Primary Key {% endif %} {% if property.partitioned %} Partitioned {% endif %} {% if property.criticalDataElement %} Critical {% endif %}
{{ property.businessName or "-" }}
{{ property.logicalType }}
{% if property.physicalType and property.physicalType != property.logicalType %}
{{ property.physicalType }}
{% endif %}
{% if property.required %} Yes {% else %} No {% endif %} {{ property.description or "-" }}
{{ quality.rule }}
{{ quality.description }}
{% if quality.dimension %} {{ quality.dimension }} {% endif %}
{% endfor %}
{% if datacontract.support %}

Support

Support channels and resources

    {% for support in datacontract.support %}
  • {{ support.channel }}

    {% if support.description %}

    {{ support.description }}

    {% endif %} {% if support.tool %} {{ support.tool }} {% endif %}
    {% if support.url %} {% endif %}
  • {% endfor %}
{% endif %} {% if datacontract.price %}

Pricing

Data contract pricing information

{{ datacontract.price.priceAmount }} {{ datacontract.price.priceCurrency }}
per {{ datacontract.price.priceUnit }}
{% endif %} {% if datacontract.team %}

Team

Team members and their roles

{% for member in datacontract.team %} {% endfor %}
Username Role Date In Date Out Comment
{{ member.username }} {{ member.role }} {{ member.dateIn or "-" }} {{ member.dateOut or "-" }} {{ member.comment or "-" }}
{% endif %} {% if datacontract.roles %}

Access Roles

Access roles and approval workflows

{% for role in datacontract.roles %} {% endfor %}
Role Access First Level Approver Second Level Approver
{{ role.role }} {{ role.access or "-" }} {{ role.firstLevelApprovers or "-" }} {{ role.secondLevelApprovers or "-" }}
{% endif %} {% if datacontract.slaProperties %}

Service Level Agreements

SLA properties and commitments

{% for sla in datacontract.slaProperties %} {% endfor %}
Property Value Unit Element Driver
{{ sla.property }} {{ sla.value }} {{ sla.unit or "-" }} {{ sla.element or "-" }} {{ sla.driver or "-" }}
{% endif %} {% if datacontract.servers %}

Servers

Infrastructure servers of the data contract

    {% for server in datacontract.servers %} {{ render_partial('partials/server.html', server_name = server.server, server = server) }} {% endfor %}
{% endif %} {% if datacontract.customProperties %}

Custom Properties

Additional custom properties and metadata

{% for prop in datacontract.customProperties %} {% endfor %}
Property Value
{{ prop.property }} {% if prop.value is iterable and prop.value is not string %} {% for item in prop.value %}{{ item }}{% if not loop.last %}, {% endif %}{% endfor %} {% else %} {{ prop.value }} {% endif %}
{% endif %}
Created at {{formatted_date}} with Data Contract CLI v{{datacontract_cli_version}}
{{datacontract_yaml}}