Skip to content

Conversation

@arnoweiss
Copy link
Contributor

What this PR changes/adds

This PR narrows down the allowed data structure in the offer property of the ContractRequestMessage

Why it does that

A client has no way of knowing if a provider's ParticipantAgent requires a policy of just the id advertised in the catalog. That's why the Consumer must always give the full object anyway.

Further notes

How a Provider handles the message is outside the scope of the spec.

Linked Issue(s)

Closes #142

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@arnoweiss arnoweiss changed the title Restrict contract request message to object feat: Restrict contract request message to object Jun 11, 2025
@arnoweiss arnoweiss changed the title feat: Restrict contract request message to object feat: restrict contract request message to object Jun 11, 2025
@juliapampus juliapampus merged commit 5eb77ae into eclipse-dataspace-protocol-base:main Jun 15, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

restrict ContractRequestMessage to MessageOffer

3 participants