Apache Iceberg · JSON Structure

Rest Catalog Open Api Snapshot Reference Structure

SnapshotReference schema from Apache Iceberg REST Catalog API

Type: object Properties: 5 Required: 2
ACIDAnalyticsApacheData LakeLakehouseOpen SourceTable Format

SnapshotReference is a JSON Structure definition published by Apache Iceberg, describing 5 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

type snapshot-id max-ref-age-ms max-snapshot-age-ms min-snapshots-to-keep

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "type": "object",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-iceberg/refs/heads/main/json-structure/rest-catalog-open-api-snapshot-reference-structure.json",
  "name": "SnapshotReference",
  "description": "SnapshotReference schema from Apache Iceberg REST Catalog API",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "tag",
        "branch"
      ]
    },
    "snapshot-id": {
      "type": "int64"
    },
    "max-ref-age-ms": {
      "type": "int64"
    },
    "max-snapshot-age-ms": {
      "type": "int64"
    },
    "min-snapshots-to-keep": {
      "type": "integer"
    }
  },
  "required": [
    "type",
    "snapshot-id"
  ]
}