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
Is there a reason why on contract negotiation the states strictly related to consumer activities are marked with the CONSUMER_ prefix and the provider ones with PROVIDER_ while in the transfer process this convention is not used?
In fact TransferProcess REQUESTED is representing a consumer activity, while STARTED is representing a provider action.
I would propose to remove these prefix from the Contract Negotiation states where the part that triggered it, e.g.:
REQUESTED - (the consumer requested a negotiation)
OFFERED - (the provider offered a negotiation)
VERIFIED - (the consumer verified the negotiation)
FINALIZED - (the provider finalized the negotiation)
while the CONSUMER_AGREED and PROVIDER_AGREED are the only states that effectively need the prefix.
Looking at the specifications, for transfer process states are: https://github.com/International-Data-Spaces-Association/ids-specification/blob/3f9fc7c776bc9273f4df32b49c90c910df23b1fb/transfer/transfer.process.protocol.md?plain=1#L57-L63
While for contract negotiation are: https://github.com/International-Data-Spaces-Association/ids-specification/blob/3f9fc7c776bc9273f4df32b49c90c910df23b1fb/negotiation/contract.negotiation.protocol.md?plain=1#L21-L31
Is there a reason why on contract negotiation the states strictly related to consumer activities are marked with the
CONSUMER_
prefix and the provider ones withPROVIDER_
while in the transfer process this convention is not used? In fact TransferProcessREQUESTED
is representing a consumer activity, whileSTARTED
is representing a provider action.I would propose to remove these prefix from the Contract Negotiation states where the part that triggered it, e.g.:
while the
CONSUMER_AGREED
andPROVIDER_AGREED
are the only states that effectively need the prefix.