Skip to main content

Operations contract.

Operations metadata tells dashboards and support processes how a table should be operated. ContractForge records this information; notification delivery remains external.

Complete example

_metadata:
contract_version: 1.0.0

ownership:
business_owner: crm-analytics
technical_owner: data-engineering
steward: data-governance
support_group: data-platform
escalation_group: data-platform-oncall
operations:
criticality: high
expected_frequency: daily
freshness_sla_minutes: 180
alert_on_failure: true
alert_on_quality_fail: true
runbook_url: https://example.com/runbooks/s_customers
owners: [data-engineering]
groups: [data-platform, data-governance]
tags:
domain: crm
tier: curated

In bundle mode, the matching *.ingestion.yaml owns the target table. Keep target out of the operations file unless you intentionally want an explicit compatibility assertion.

Fields

FieldTypeDefaultUse
_metadataobjectFile metadata for audit and bundle checks.
targetobjectoptionalOptional compatibility check against the ingestion target.
ownership.business_ownerstring | nullnullBusiness owner or accountable business group.
ownership.technical_ownerstring | nullnullTechnical owner or engineering group.
ownership.stewardstring | nullnullData steward or governance owner.
ownership.support_groupstring | nullnullPrimary support group.
ownership.escalation_groupstring | nullnullEscalation group for incidents.
operations.criticalitylow | medium | high | criticalnullOperational criticality.
operations.expected_frequencyhourly | daily | weekly | monthly | ad_hocnullExpected run cadence.
operations.freshness_sla_minutesinteger | nullnullFreshness SLA in minutes.
operations.alert_on_failurebooleanfalseFlag for external failure alerting.
operations.alert_on_quality_failbooleanfalseFlag for external quality alerting.
operations.runbook_urlstring | nullnullRunbook URL.
operations.ownersstring | list[string][]Additional owner identifiers.
operations.groupsstring | list[string][]Groups associated with the table or data product.
operations.tagsobject[string,string]Operational tags for dashboards and cost grouping.
criticality, expected_frequency, freshness_sla_minutes, alert_on_failure, alert_on_quality_fail, runbook_url, owners, groups, tagssame as nestedsameFlat aliases accepted for compact files. The nested operations.* form is clearer.