Apache Iceberg · JSON Structure

Rest Catalog Open Api Set Default Spec Update Structure

SetDefaultSpecUpdate schema from Apache Iceberg REST Catalog API

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

SetDefaultSpecUpdate 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

action spec-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-set-default-spec-update-structure.json",
  "name": "SetDefaultSpecUpdate",
  "description": "SetDefaultSpecUpdate schema from Apache Iceberg REST Catalog API",
  "properties": {
    "action": {
      "type": "string",
      "const": "set-default-spec"
    },
    "spec-id": {
      "type": "integer",
      "description": "Partition spec ID to set as the default, or -1 to set last added spec"
    }
  },
  "required": [
    "spec-id"
  ],
  "allOf": [
    {
      "$ref": "#/components/schemas/BaseUpdate"
    }
  ]
}