Logo
NeoArc Studio

Interface Contract Block

Document API and service interface contracts with operations, data types, constraints, and SLAs. Define clear agreements between service providers and consumers.

The Interface Contract block documents agreements between service providers and consumers. It captures the contract name, integration type, operations, data types, constraints, and service level agreements.

When to Use

Block Properties

PropertyRequiredDescription
Contract NameYesName of the interface contract
Integration TypeNoType of integration: sync, async, or batch
ProviderNoService exposing the interface
ConsumerNoService using the interface
OperationsNoArray of operations with name, description, input, and output
Data TypesNoArray of shared data types used in the contract
ConstraintsNoArray of limitations and requirements
SLANoService level agreement terms

Operation Properties

PropertyRequiredDescription
nameYesOperation identifier
descriptionNoWhat the operation does
inputNoInput data type or parameters
outputNoOutput data type or response

Integration Type Values

Example: Synchronous REST API Contract

A standard REST API contract for order management.

Example: Asynchronous Message Contract

An async contract for payment processing.

Example: Batch Integration Contract

A batch file transfer contract for reporting.