oceanprotocol / ocean-node

Apache License 2.0
34 stars 11 forks source link

DDO: Event #526

Open alexcos20 opened 4 months ago

alexcos20 commented 4 months ago

We must move all root level objects added by Ocean-node into a single object

Since in #525 we introduce a new DDO root level key, let's move ddo.event there.

So, DDO will look like:

{

  "@context": [
    "https://w3id.org/did/v1"
  ],
  "id": "did:op:37f710f82f73afcb86b66a32182c2d620d2edd9eb00abb5ba5a36e943bc7cd74",
  "version": "4.1.0",
  .....
 "offchain": {
     "event: {
           ....
      }
  }
}
mihaisc commented 3 weeks ago

suggestion to replace offchain - indexed , indexedMetadata