Apache Iceberg · JSON Structure

Rest Catalog Open Api Content File Structure

ContentFile schema from Apache Iceberg REST Catalog API

Type: object Properties: 10 Required: 7
ACIDAnalyticsApacheData LakeLakehouseOpen-SourceTable Format

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

Properties

content file-path file-format spec-id partition file-size-in-bytes record-count key-metadata split-offsets sort-order-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-content-file-structure.json",
  "name": "ContentFile",
  "description": "ContentFile schema from Apache Iceberg REST Catalog API",
  "properties": {
    "content": {
      "type": "string"
    },
    "file-path": {
      "type": "string"
    },
    "file-format": {
      "$ref": "#/components/schemas/FileFormat"
    },
    "spec-id": {
      "type": "integer"
    },
    "partition": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/PrimitiveTypeValue"
      },
      "description": "A list of partition field values ordered based on the fields of the partition spec specified by the `spec-id`",
      "example": [
        1,
        "bar"
      ]
    },
    "file-size-in-bytes": {
      "type": "int64",
      "description": "Total file size in bytes"
    },
    "record-count": {
      "type": "int64",
      "description": "Number of records in the file"
    },
    "key-metadata": {
      "allOf": [
        {
          "$ref": "#/components/schemas/BinaryTypeValue"
        }
      ],
      "description": "Encryption key metadata blob"
    },
    "split-offsets": {
      "type": "array",
      "items": {
        "type": "int64"
      },
      "description": "List of splittable offsets"
    },
    "sort-order-id": {
      "type": "integer"
    }
  },
  "required": [
    "spec-id",
    "partition",
    "content",
    "file-path",
    "file-format",
    "file-size-in-bytes",
    "record-count"
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/rest-catalog-open-api-content-file-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.