Amazon Kinesis · Schema

Record

A data record in an Amazon Kinesis data stream.

AnalyticsBig DataData ProcessingReal-TimeStreaming

Properties

Name Type Description
SequenceNumber string The unique identifier of the record in the shard.
ApproximateArrivalTimestamp string The approximate time the record was inserted.
Data string The data blob (base64-encoded).
PartitionKey string Identifies which shard the data record belongs to.
View JSON Schema on GitHub

JSON Schema

amazon-kinesis-record-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-kinesis/refs/heads/main/json-schema/amazon-kinesis-record-schema.json",
  "title": "Record",
  "description": "A data record in an Amazon Kinesis data stream.",
  "type": "object",
  "properties": {
    "SequenceNumber": {
      "type": "string",
      "description": "The unique identifier of the record in the shard.",
      "example": "seq-000000000000"
    },
    "ApproximateArrivalTimestamp": {
      "type": "string",
      "description": "The approximate time the record was inserted.",
      "format": "date-time"
    },
    "Data": {
      "type": "string",
      "description": "The data blob (base64-encoded)."
    },
    "PartitionKey": {
      "type": "string",
      "description": "Identifies which shard the data record belongs to.",
      "example": "partition-1"
    }
  }
}