International-Data-Spaces-Association / ids-specification

The Dataspace Protocol is a set of specifications designed to facilitate interoperable data sharing between entities governed by usage control and based on Web technologies. These specifications define the schemas and protocols required for entities to publish data, negotiate Agreements, and access data in a data space
https://docs.internationaldataspaces.org/dataspace-protocol/
Apache License 2.0
30 stars 14 forks source link

Split `ContractNegotiationEventMessage` #65

Open ndr-brt opened 1 year ago

ndr-brt commented 1 year ago

In the contract negotiation specs there's a message that's used for two different scopes: https://github.com/International-Data-Spaces-Association/ids-specification/blob/3f9fc7c776bc9273f4df32b49c90c910df23b1fb/negotiation/contract.negotiation.protocol.md?plain=1#L151-L179

Why not splitting it into two more self-explaining messages like: ControlNegotiationFinalizeMessage (sent by the provider to the consumer) ControlNegotiationAcceptMessage (sent by the consumer to the provider)

ndr-brt commented 1 year ago

More than a "split" this was a proposal to have two different messages with the specific eventType set, this would avoid misunderstandings and make the specification cleaner. They would keep the same schema so no duplication needed.