Amazon Neptune · JSON Structure

Data Propertygraph Stream Output Structure

PropertygraphStreamOutput schema from Neptune

Type: object Properties: 5
DatabaseGraph DatabaseGremlinNeptuneProperty GraphRDFSPARQL

PropertygraphStreamOutput 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

lastEventId lastTrxTimestampInMillis format records totalRecords

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/data-propertygraph-stream-output-structure.json",
  "name": "PropertygraphStreamOutput",
  "description": "PropertygraphStreamOutput schema from Neptune",
  "type": "object",
  "properties": {
    "lastEventId": {
      "type": "object",
      "properties": {
        "commitNum": {
          "type": "int32"
        },
        "opNum": {
          "type": "int32"
        }
      }
    },
    "lastTrxTimestampInMillis": {
      "type": "int32",
      "description": "Timestamp of the last transaction in milliseconds."
    },
    "format": {
      "type": "string",
      "enum": [
        "PG_JSON"
      ]
    },
    "records": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/PropertygraphStreamRecord"
      }
    },
    "totalRecords": {
      "type": "int32"
    }
  }
}