A contract is an agreement between services.
A contract can be created in the following diagrams:
Service-oriented diagram (see Service Oriented Diagram Basics)
In this example, the contract defines acceptable response times for the link between the business and application login services: