Apache Iceberg · Schema

AssertCurrentSchemaId

The table's current schema id must match the requirement's `current-schema-id`

ACIDAnalyticsApacheData LakeLakehouseOpen SourceTable Format

Properties

Name Type Description
type string
current-schema-id integer
View JSON Schema on GitHub

JSON Schema

rest-catalog-open-api-assert-current-schema-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-current-schema-id-schema.json",
  "title": "AssertCurrentSchemaId",
  "description": "The table's current schema id must match the requirement's `current-schema-id`",
  "properties": {
    "type": {
      "type": "string",
      "const": "assert-current-schema-id"
    },
    "current-schema-id": {
      "type": "integer"
    }
  },
  "required": [
    "current-schema-id"
  ],
  "allOf": [
    {
      "$ref": "#/components/schemas/TableRequirement"
    }
  ],
  "type": "object"
}