Amazon Neptune · JSON Structure

Streams Sparql Stream Response Structure

SparqlStreamResponse schema from Neptune

Type: object Properties: 5
DatabaseGraph DatabaseGremlinNeptuneProperty GraphRDFSPARQL

SparqlStreamResponse 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 lastTrxTimestamp 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/streams-sparql-stream-response-structure.json",
  "name": "SparqlStreamResponse",
  "description": "SparqlStreamResponse 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": [
        "NQUADS"
      ],
      "description": "The serialization format (always NQUADS for RDF)."
    },
    "records": {
      "type": "array",
      "description": "The array of change-log stream records.",
      "items": {
        "$ref": "#/components/schemas/SparqlStreamRecord"
      }
    },
    "totalRecords": {
      "type": "int32",
      "description": "Total number of records in the response."
    }
  }
}