---
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."
---

# <i class="fal fa-handshake" aria-hidden="true"></i> What is a Contract?

><i class="fal fa-square-plus" aria-hidden="true"></i> Get started now: How to [Add or manage Contract][] user guide.

A <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> **Contract** represents one end of a communication chain and is, by definition, a member of a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [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.

## <i class="fal fa-filter" aria-hidden="true"></i> 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.

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>You should know about the <a href="https://en.wikipedia.org/wiki/Service-oriented_architecture">SOA</a><sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> architecture to maximize the usage of the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://docs.nodinite.com/repository-model/overview/">Repository Model</a>.</p></div>
</aside>

<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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> **Contract** is similar to a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Repository Model][], a **Contract** can have any number of [Custom Metadata][] fields assigned.

## Custom Fields

As with all the entities of the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Repository Model][], a **Contract** can have any number of [Custom Fields][] assigned.

## Resources

<sup><span class="nodinite-new-badge">New 6.1</span></sup>

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.*  

## <i class="fal fa-newspaper" aria-hidden="true"></i> Read the Articles about a Contract

<sup><span class="nodinite-new-badge">New 7.12</span></sup> The <i class="fal fa-newspaper" aria-hidden="true"></i> 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 <i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i> 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].

## <i class="fal fa-pen" aria-hidden="true"></i> Change, tag, or delete Contracts

<sup><span class="nodinite-new-badge">New 7.12</span></sup>

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). <sup><span class="nodinite-new-badge">New 7.12</span></sup> **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**.*  

___

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-handshake" aria-hidden="true"></i> [Add or manage Contract][]  
* <i class="fal fa-puzzle-piece" aria-hidden="true"></i> [Integrations][]  
* <i class="fal fa-cube" aria-hidden="true"></i> [Systems][]  
* <i class="fal fa-gear" aria-hidden="true"></i> [Services][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

<i class="fal fa-sitemap" aria-hidden="true"></i> [Repository Model][]  
<i class="fal fa-handshake" aria-hidden="true"></i> [UseContracts][]  
<i class="fal fa-hashtag" aria-hidden="true"></i> [What is a Tag?][Tag]  

[3]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/Contract/ContractWithResourceInLandscape.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/Contract/Contracts_WithSelected.png
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/Contract/Contracts_WhatIsAContract.gif
[6]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/Contract/Contracts_AddResource.gif

[Add or manage Contract]:https://docs.nodinite.com/getting-started/repository/contracts/add-or-manage-contract/
[Articles]:https://docs.nodinite.com/repository-model/knowledge-base-articles/overview/
[Custom Fields]:https://docs.nodinite.com/repository-model/custom-fields/overview/
[Custom Metadata]:https://docs.nodinite.com/repository-model/custom-metadata/overview/
[Endpoints]:https://docs.nodinite.com/repository-model/endpoints/overview/
[Integration Landscape]:https://docs.nodinite.com/getting-started/repository/integrations/integration-landscape/
[Integrations]:https://docs.nodinite.com/repository-model/integrations/overview/
[Manage Tags]:https://docs.nodinite.com/administration/customize/tags/features/what-is-a-tag/#fa-hashtag-manage-tags
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Monitoring]:https://docs.nodinite.com/monitoring/
[Read without leaving the page]:https://docs.nodinite.com/repository-model/knowledge-base-articles/features/reading-articles/#read-without-leaving-the-page
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Services]:https://docs.nodinite.com/repository-model/services/overview/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Systems]:https://docs.nodinite.com/repository-model/systems/overview/
[Systems - Permanently delete]:https://docs.nodinite.com/administration/repository/systems/overview/#fa-trash-xmark-permanently-delete-systems
[Tag]:https://docs.nodinite.com/administration/customize/tags/features/what-is-a-tag/
[UseContracts]:https://docs.nodinite.com/administration/settings/system-parameters/usecontracts/