API Contract

Kind: constraint

Layer: Contracts Core

Record: architecture:api-contract

Severity: mandatory

Scope: API, service boundary

Canonical: Ontology

A rule or precondition that each endpoint declares its request, response and error shapes in a versioned schema.

Listed in Architecture principles, after Contract-First Design and before Service Contract.

Requires

Reinforces

Enables

Conflicts with

In tension with

Tensions

Violated by

Refactored by

Severity

Category

Required by

Linked from