3.4.3 Contract Negotiation
While a Connector Self-Description basically contains descriptive information about available data assets, these also include Usage Control information in form of a Contract Offer. A Contract Offer describes under what conditions the Data Provider is willing to make its data available to the Data Consumer. This can range from simple access restrictions to complex pre- and post-duties. See more details in Section 3.3.
In a (semi-)automated negotiation process performed by the Usage Control frameworks of the participating IDS Connectors, the Data Consumer and the Data Provider need to agree on a Data Usage Contract, respectively Contract Agreement. The following sequence diagrams visualize this process in more detail.
Basic Flow
Figure 3.4.3.1 shows the most simple version of the sequence that is at least necessary to reach a Contract Agreement. In advance, the Data Provider has attached a Contract Offer to a data offer. As described in Section 3.4.4.2, this is returned to the Data Consumer as part of the IDS Connector's Self-Description. However, the Data Consumer can submit a Contract Request at any time, even if no Contract Offer exists yet.
Please note, as this is a technology-independent message flow, appropriate responses were not considered. The illustrated processes can run synchronously as well as asynchronously, and can be cancelled at any time.
![](https://docs.internationaldataspaces.org/~gitbook/image?url=https%3A%2F%2F2925256252-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fy60I7mNJZmgcXztkslEa%252Fuploads%252Fgit-blob-1bccfafab1246fa7d501717de18f29b7b593949c%252Fpolicy-negotiation-sequence-1.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=68b22702&sv=1)
Figure 3.4.3.1: Simple Contract Negotiation
In Figure 3.4.3.1, the negotiation sequence is initiated by the Data Consumer's IDS Connector sending a Contract Request to the Data Provider. The content of this Contract Request can differ from the Contract Offer, or it can adopt it as it is. The meta-information in the contract is modified accordingly (e.g., the date, the term, or the signature). As soon as the Data Provider's IDS Connector receives the Contract Request, its validity is checked by means of syntax, content, and signature. As Figure 3.4.3.1 concentrates on the simple flow, it covers no counter Contract Offers. Thus, the Contract Request is either rejected or accepted.
In the case of a Contract Agreement, this is also signed by the Data Provider's IDS Connector and, for confirmation, the Data Consumer is informed about the Contract Agreement. Again, content and signature are validated. If this fails, the Data Consumer simply does not invoke any subsequent Data Operations referring to this Contract Agreement (see Section 3.4.4).
As soon as a Contract Agreement has been reached, this is instantiated and deployed inside both IDS Connectors. This means it needs to be persisted on both sides. This way, both IDS Connectors have all necessary information for later Policy Enforcement.
If, at any time during the sequence, a participant does not agree with the shared content, the Contract can be rejected. In the case of a Contract Rejection, the sequence is aborted. Connected systems or users are notified and previously saved Contract Agreements are revoked. A negotiation sequence is never reactivated, but a new one can be started at any time.
Clearing House
In addition, for separate trust or for regulation in some data spaces, the approval of a Contract Request or Offer may be extended by involving the Clearing House. After a successful Contract Request validation, the Data Provider signed and stored the Contract Agreement locally. Next, this is additionally sent to the Clearing House (as shown in Figure 3.4.3.2).
After receiving the Contract Agreement from the Data Provider, the Clearing House first checks the signature of both involved Connectors and then signs the Contract Agreement itself. The Provider Connector returns the triple signed Contract Agreement to the Data Consumer, that can finally check all signatures to be sure that the Contract Agreement contains the requested content.
![](https://docs.internationaldataspaces.org/~gitbook/image?url=https%3A%2F%2F2925256252-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fy60I7mNJZmgcXztkslEa%252Fuploads%252Fgit-blob-2a66a1d0983c1ece0797d8a86d45c5a65a2fc3a4%252Fpolicy-negotiation-sequence-4.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=d1976b31&sv=1)
Figure 3.4.3.2: Contract Agreement with Clearing House Involvement
Reversed Sequence
Figure 3.4.3.3 depicts the simple negotiation flow of Figure 3.4.3.1. In this case, however, the sequence is reversed and the Data Provider initiates the negotiation. Nevertheless, it should be noted that, since the Data Provider is the one who makes the data offer, it is always the one who signs the Contract Agreement last, and sends it to the Clearing House if this is involved (as described in the previous subsection).
![](https://docs.internationaldataspaces.org/~gitbook/image?url=https%3A%2F%2F2925256252-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fy60I7mNJZmgcXztkslEa%252Fuploads%252Fgit-blob-4e7576b2441713010f85f5d45cbab4f7e6348747%252Fpolicy-negotiation-sequence-2.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=ed3b2757&sv=1)
Figure 3.4.3.3: Contract Negotiation - Initiation by Data Provider
Counter Offers
Figure 3.4.3.4 illustrates a more complex negotiation flow that covers counter Contract Offers and external input. As soon as the Data Provider's IDS Connector receives a valid Contract Request, it may notify interested users or systems and provide an interface for input. Thus, the IDS Connector, if it does not already do so by default, can be extended by the functionality to automatically negotiate contracts within a certain range (e.g., using an AI service). Alternatively, a service or a user can interact and directly affect the negotiation by rejecting or agreeing to the received Contracts as well as proposing counter Contract Offers or Requests. Further steps take place as already described above: Incoming Contracts are validated and as soon as a Contract Agreement has been reached, it is persisted and enforced by both IDS Connectors. How this Policy Enforcement will be ensured is explained in Section 3.4.6.
![](https://docs.internationaldataspaces.org/~gitbook/image?url=https%3A%2F%2F2925256252-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fy60I7mNJZmgcXztkslEa%252Fuploads%252Fgit-blob-4b9c5d5aac527ad8c937434ce54bd41880d2014e%252Fpolicy-negotiation-sequence-3.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=994beb4c&sv=1)
Figure 3.4.3.4: Contract Negotiation - Counter Offers
Last updated