Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titlecps-data-updated-event.json
linenumberstrue
{
  "schema": "urn:cps:org.onap.cps:data-updated-event-schema:1.0.0-SNAPSHOT",
  "id": "38aa6cc6-264d-4ede-b534-18f5c1f403ea",
  "source": "urn:cps:org.onap.cps",
  "type": "org.onap.cps.data-updated-event",
  "content": {
    "timestamp": "2020-12-01T00:00:00.000+0000",
    "coreReferences": {
      "dataspace": {
        "id": "123",
        "name": "my-dataspace"
      },
      "schemaSet": {
        "id": "456",
        "name": "my-schema-set"
      },
      "anchor": {
        "id": "789",
        "name": "my-anchor"
      }
    },
    "data": {
      "interface": {
        "name": "itf-1",
        "status": "up"
      }
    }
  }
}



To Do

  • (warning) Remove ids from event schema Core references. They should not be exposed. Names should be used for Core external references.