{
  "$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-response-structure.json",
  "name": "PropertyGraphStreamResponse",
  "description": "PropertyGraphStreamResponse schema from Neptune",
  "type": "object",
  "properties": {
    "lastEventId": {
      "$ref": "#/components/schemas/StreamEventId"
    },
    "lastTrxTimestamp": {
      "type": "int32",
      "description": "Unix epoch timestamp in milliseconds of the last commit."
    },
    "format": {
      "type": "string",
      "enum": [
        "PG_JSON"
      ],
      "description": "The serialization format (always PG_JSON for property graph)."
    },
    "records": {
      "type": "array",
      "description": "The array of change-log stream records.",
      "items": {
        "$ref": "#/components/schemas/PropertyGraphStreamRecord"
      }
    },
    "totalRecords": {
      "type": "int32",
      "description": "Total number of records in the response."
    }
  }
}