Amazon Neptune · JSON Structure

Data Sparql Stream Output Structure

SparqlStreamOutput schema from Neptune

Type: object Properties: 5
DatabaseGraph DatabaseGremlinNeptuneProperty GraphRDFSPARQL

SparqlStreamOutput 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-sparql-stream-output-structure.json",
  "name": "SparqlStreamOutput",
  "description": "SparqlStreamOutput schema from Neptune",
  "type": "object",
  "properties": {
    "lastEventId": {
      "type": "object",
      "properties": {
        "commitNum": {
          "type": "int32"
        },
        "opNum": {
          "type": "int32"
        }
      }
    },
    "lastTrxTimestampInMillis": {
      "type": "int32"
    },
    "format": {
      "type": "string",
      "enum": [
        "NQUADS"
      ]
    },
    "records": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "commitTimestampInMillis": {
            "type": "int32"
          },
          "eventId": {
            "type": "object",
            "properties": {
              "commitNum": {
                "type": "int32"
              },
              "opNum": {
                "type": "int32"
              }
            }
          },
          "data": {
            "type": "object",
            "properties": {
              "stmt": {
                "type": "string",
                "description": "The N-Quads statement."
              }
            }
          },
          "op": {
            "type": "string",
            "enum": [
              "ADD",
              "REMOVE"
            ]
          },
          "isLastOp": {
            "type": "boolean"
          }
        }
      }
    },
    "totalRecords": {
      "type": "int32"
    }
  }
}