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

feat: introduce an agreement timestamp #82

Closed jimmarino closed 1 year ago

jimmarino commented 1 year ago

We need a way to anchor contract signing to a timestamp. This PR introduces a timestamp property for contract agreement messages. Extensible ODRL constraints can then reference the timestamp property to demarcate usage periods.

See, for example, https://github.com/Metaform/cx-recommendations/blob/main/doc/contract-in-force-policy/contract.in.force.policy.md

sebbader-sap commented 1 year ago

@jimmarino please note that I added a PropertyShape to the contract-agreement-message-shape.ttl file.

sebbader-sap commented 1 year ago

ah, and I just forgot that typed literals look a bit different in JSON-LD than one expects in JSON. So please also check my commits in the example and JSON schema file.