Amazon Neptune · JSON Structure

Streams Property Graph Stream Record Structure

PropertyGraphStreamRecord schema from Neptune

Type: object Properties: 5
DatabaseGraph DatabaseGremlinNeptuneProperty GraphRDFSPARQL

PropertyGraphStreamRecord is a JSON Structure definition published by Amazon Neptune, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

commitTimestamp eventId data op isLastOp

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-neptune/refs/heads/main/json-structure/streams-property-graph-stream-record-structure.json",
  "name": "PropertyGraphStreamRecord",
  "description": "PropertyGraphStreamRecord schema from Neptune",
  "type": "object",
  "properties": {
    "commitTimestamp": {
      "type": "int32",
      "description": "Unix epoch timestamp in milliseconds of the transaction commit."
    },
    "eventId": {
      "$ref": "#/components/schemas/StreamEventId"
    },
    "data": {
      "$ref": "#/components/schemas/PropertyGraphData"
    },
    "op": {
      "type": "string",
      "enum": [
        "ADD",
        "REMOVE"
      ],
      "description": "The operation type (ADD or REMOVE)."
    },
    "isLastOp": {
      "type": "boolean",
      "description": "True only if this is the last operation in the transaction."
    }
  }
}