Apache Iceberg · JSON Structure

Rest Catalog Open Api Assert Current Schema Id Structure

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

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

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

Properties

type current-schema-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-current-schema-id-structure.json",
  "name": "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"
    }
  ]
}