Should RemoteMessages support properties map per default? #2730
juliapampus
started this conversation in
Ideas
Replies: 1 comment
-
Yes, we should support that since the DSpace protocol is built on JSON-LD and embraces its extensibility. This also means at the protocol layer, the message should be transformed into a JSON-LD structure using the JSON-P API and compaction performed before sending the serialized form on the wire. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, e.g., the
TransferRequestMessage
has a properties map to allow sending custom key-value-pairs via the old ids protocol.The dataspace protocol does not define extensible properties, so I would remove this map. However, with json-ld, it would be possible to provide this for any message type. For instance, if a dataspace would define its own profile of
dspace
, the EDC would automatically support it.Approach would be to move the properties to the interface:
The serialization output of
should be
not
Beta Was this translation helpful? Give feedback.
All reactions