Apache Iceberg · JSON Structure

Rest Catalog Open Api Assert Ref Snapshot Id Structure

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.

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

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

Properties

type ref snapshot-id

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-assert-ref-snapshot-id-structure.json",
  "name": "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": "int64",
      "nullable": true
    }
  },
  "required": [
    "ref",
    "snapshot-id"
  ],
  "allOf": [
    {
      "$ref": "#/components/schemas/TableRequirement"
    }
  ]
}