Apache Iceberg · Schema

AssertRefSnapshotId

The table branch or tag identified by the requirement's `ref` must reference the requirement's `snapshot-id`. The `snapshot-id` field is required in this object, but in the case of a `null` the ref must not already exist.

ACIDAnalyticsApacheData LakeLakehouseOpen SourceTable Format

Properties

Name Type Description
type string
ref string
snapshot-id integer
View JSON Schema on GitHub

JSON Schema

rest-catalog-open-api-assert-ref-snapshot-id-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-iceberg/refs/heads/main/json-schema/rest-catalog-open-api-assert-ref-snapshot-id-schema.json",
  "title": "AssertRefSnapshotId",
  "description": "The table branch or tag identified by the requirement's `ref` must reference the requirement's `snapshot-id`.\nThe `snapshot-id` field is required in this object, but in the case of a `null`\nthe ref must not already exist.\n",
  "properties": {
    "type": {
      "type": "string",
      "const": "assert-ref-snapshot-id"
    },
    "ref": {
      "type": "string"
    },
    "snapshot-id": {
      "type": "integer",
      "format": "int64",
      "nullable": true
    }
  },
  "required": [
    "ref",
    "snapshot-id"
  ],
  "allOf": [
    {
      "$ref": "#/components/schemas/TableRequirement"
    }
  ],
  "type": "object"
}