---
title: What is a Contract – Nodinite Repository Model
description: "What a Nodinite Contract is: the Service, Message Type, and Endpoint one end of a communication chain uses. Find Contracts, read one, and link monitoring Resources to it."
---

# :fa-handshake: What is a Contract?

>:fa-square-plus: Get started now: How to [Add or manage Contract][] user guide.

A :Nodinite: **Contract** represents one end of a communication chain and is, by definition, a member of a :Nodinite: [System][Systems]. It ties a [Service][Services] to the [Message Types][] and [Endpoints][] it uses, through its **Transport Contract**.

![Open the Contract Contoso ERP: Orders from its Service and follow it to its Message Type, animated walkthrough (7.12)][5]  
*Animated walkthrough: from a Service to its Contract, and from the Contract to the Message Type it carries.*  

1. Open the Service *Contoso ERP Order Intake*. Its **Contracts** card lists the Contract *Contoso ERP: Orders*.
2. Open the Contract. The header shows the System *Contoso ERP* and the Service *Contoso ERP Order Intake*.
3. The **Transport Contract** card names the Message Type and the Endpoint, *Contoso Orders to ERP*. The **Resources** card shows the [Resource][Resources] that monitors it.
4. Click the Message Type to open it.

## :fa-filter: Find Contracts

Open **Repository** > **Contracts** to list every Contract, or **Administration** > **Repo Management** > **Contracts** to manage them. A Contract also opens from the **Contracts** card of its Service, as in the walkthrough above.

>[!TIP]
>You should know about the [SOA](https://en.wikipedia.org/wiki/Service-oriented_architecture)<sup>:fa-arrow-up-right-from-square:</sup> architecture to maximize the usage of the :Nodinite: [Repository Model][].

<div class="mermaid">
    graph LR
    subgraph "Contract"
        roSystem(fal:fa-dice-d6 System)
        roContract(fal:fa-handshake Contract)
        roService(fal:fa-gear Service)
        roContract -.-> | 0..1 | roService
        roTCS(fal:fa-dot-circle TransportContracts)
        roMessageType(fal:fa-file MessageTypes)
        roEndpoint(fal:fa-sign-in Endpoints)
        roContract --> | 1..1 | roSystem  
        roContract  -.-> | 0..* | roTCS  
        roTCS -.-> | 0..* | roMessageType  
        roTCS-.-> | 0..* | roEndpoint  
        roContract -.-> | 0..* | roCF(fal:fa-paint-roller Custom Fields)  
        roContract -.-> | 0..* | roR(fal:fa-lightbulb-on Resources)  
    end
</div>

*A Contract belongs to one [System][Systems] and to at most one [Service][Services]. Its Transport Contracts name the [Message Types][] and [Endpoints][], and [Custom Fields][] and [Resources][] can be added to it.*

A :Nodinite: **Contract** is similar to a :Nodinite: [Service][Services]. The differences are:

* A **Contract** is connected with at most one [Service][Services]; the Service is optional.
* A **Contract** belongs to the [Integrations][] of its Service: its page lists all of them, for example *INT001: Orders* and *INT1001: Contoso Orders to ERP*.
* A **Contract** can not be connected with other **Contracts**.
* A Transport Contract without Message Types and Endpoints shows an **Incomplete** badge.
* The [System Parameter][System Parameters] [UseContracts][] must be set to `true`; otherwise, the **Contracts** feature is disabled.

## Custom Metadata

As with all the entities of the :Nodinite: [Repository Model][], a **Contract** can have any number of [Custom Metadata][] fields assigned.

## Custom Fields

As with all the entities of the :Nodinite: [Repository Model][], a **Contract** can have any number of [Custom Fields][] assigned.

## Resources

:new6.1:

The System Administrator can add one or more [Resources][] from [Monitoring][] and assign them to the Contract. The Contract then shows the most severe Monitoring State of its Resources in the [Integration Landscape][].

![Add the Resource INT001: Receive Order from Service Bus to the Contract Contoso ERP: Orders, animated walkthrough (7.12)][6]  
*Animated walkthrough: link a monitored Resource to a Contract.*  

1. **Edit** the Contract, and click **Edit** on the **Resources** card.
2. Filter on the Resource, here *INT001: Receive Order from Service Bus*, and tick it.
3. Click **Confirm and close**, then **Save**. The Resource is listed on the Contract.

![Contract Contoso ERP: Orders in the Integration Landscape with the Connection Error state of its Resource, next to its Service with OK (7.12)][3]  
*In the Landscape, the Contract carries the state of its Resource: here **Connection Error**, while its Service is OK.*  

## :fa-newspaper: Read the Articles about a Contract

:new7.12: The :fa-newspaper: button on a row counts the [Articles][] that document the Contract. Click it to read an Article in a reader dialog without leaving the list, or click the :fa-arrow-up-right-from-square: icon next to a title to open it in a new tab instead. See [Read an Article without leaving the page][Read without leaving the page].

## :fa-pen: Change, tag, or delete Contracts

:new7.12:

To change one Contract, see [Add or manage Contract][]. If your [Role][Roles] allows it, tick Contracts in the list and open **With Selected**: **Manage Tags** sets [Tags][Tag] on every selected Contract (see [Manage Tags][] for the dialog), and **Delete (n)** deletes them. **Restore (n)** and, for Administrators, **Permanently Delete (n)** count the deleted Contracts in the selection (check **Include deleted** first). :new7.12: **Permanently Delete** opens the same impact dialog as for Systems; see [Permanently delete Systems][Systems - Permanently delete].

![With Selected menu on the Contracts list with Manage Tags and Delete (2) for two selected Contracts (7.12)][4]  
*Two Contracts ticked, so **With Selected** offers **Delete (2)** next to **Manage Tags**.*  

___

## :fa-hand-point-right: Next Steps

* :fa-handshake: [Add or manage Contract][]  
* :fa-puzzle-piece: [Integrations][]  
* :fa-cube: [Systems][]  
* :fa-gear: [Services][]  

## :fa-link-horizontal: Related Topics

:fa-sitemap: [Repository Model][]  
:fa-handshake: [UseContracts][]  
:fa-hashtag: [What is a Tag?][Tag]  

[3]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Contract/ContractWithResourceInLandscape.png
[4]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Contract/Contracts_WithSelected.png
[5]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Contract/Contracts_WhatIsAContract.gif
[6]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Contract/Contracts_AddResource.gif

[Add or manage Contract]:{ndr}/Getting%20Started/4.%20Repository/Contracts/Add%20or%20manage%20Contract.md
[Articles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Overview.md
[Custom Fields]:{ndr}/Repository%20Model/Custom%20Fields/Overview.md
[Custom Metadata]:{ndr}/Repository%20Model/Custom%20Metadata/Overview.md
[Endpoints]:{ndr}/Repository%20Model/Endpoints/Overview.md
[Integration Landscape]:{ndr}/Getting%20Started/4.%20Repository/Integrations/Integration%20Landscape.md
[Integrations]:{ndr}/Repository%20Model/Integrations/Overview.md
[Manage Tags]:{ndr}/Administration/4.%20Customize/5.%20Tags/Features/What%20is%20a%20Tag.md#fa-hashtag-manage-tags
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Monitoring]:nodiniteDoc:/Monitoring
[Read without leaving the page]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Reading%20Articles.md#read-without-leaving-the-page
[Repository Model]:{ndr}/Repository%20Model/Overview.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Services]:{ndr}/Repository%20Model/Services/Overview.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[Systems]:{ndr}/Repository%20Model/Systems/Overview.md
[Systems - Permanently delete]:{ndr}/Administration/7.%20Repository/Systems/Overview.md#fa-trash-xmark-permanently-delete-systems
[Tag]:{ndr}/Administration/4.%20Customize/5.%20Tags/Features/What%20is%20a%20Tag.md
[UseContracts]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/UseContracts.md