Purple
All templates

Define an interface contract

Provide the feature, system, and result callers need to get an interface contract with validation rules, worked examples, and a list of decisions that still need an owner.

Standard · EN

## Task
Design an interface contract for [feature] in [system].

## Results
For each input, specify its type, whether it is required, and what makes it valid. Describe what the interface returns on success and how it reports a validation failure or version conflict to the caller. Finish with a list of decisions that still need an owner before implementation. Phrase each as a question the owner can resolve.

## Context
Callers need [result].

## Constraints
Distinguish proposed behavior from requirements already established for the system. Keep the examples consistent with the contract.

## Examples
Give three short worked examples. For a successful call, show the input and returned value. For empty input, show what the caller supplies and how the interface responds. For a version conflict, show which versions conflict and what the caller receives.

## Steps

## Sources