Apache Iceberg · Schema

ViewMetadata

ViewMetadata schema from Apache Iceberg REST Catalog API

ACIDAnalyticsApacheData LakeLakehouseOpen SourceTable Format

Properties

Name Type Description
view-uuid string
format-version integer
location string
current-version-id integer
versions array
version-log array
schemas array
properties object
View JSON Schema on GitHub

JSON Schema

rest-catalog-open-api-view-metadata-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-view-metadata-schema.json",
  "title": "ViewMetadata",
  "description": "ViewMetadata schema from Apache Iceberg REST Catalog API",
  "type": "object",
  "properties": {
    "view-uuid": {
      "type": "string"
    },
    "format-version": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1
    },
    "location": {
      "type": "string"
    },
    "current-version-id": {
      "type": "integer"
    },
    "versions": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ViewVersion"
      }
    },
    "version-log": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ViewHistoryEntry"
      }
    },
    "schemas": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Schema"
      }
    },
    "properties": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "view-uuid",
    "format-version",
    "location",
    "current-version-id",
    "versions",
    "version-log",
    "schemas"
  ]
}