{
  "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-add-snapshot-update-structure.json",
  "name": "AddSnapshotUpdate",
  "description": "AddSnapshotUpdate schema from Apache Iceberg REST Catalog API",
  "properties": {
    "action": {
      "type": "string",
      "const": "add-snapshot"
    },
    "snapshot": {
      "$ref": "#/components/schemas/Snapshot"
    }
  },
  "required": [
    "snapshot"
  ],
  "allOf": [
    {
      "$ref": "#/components/schemas/BaseUpdate"
    }
  ]
}