Apache BookKeeper · Schema
LedgerMetadata
Metadata for a single BookKeeper ledger.
ApacheDistributed SystemsLog StorageOpen-SourceStorageStreaming
Properties
| Name | Type | Description |
|---|---|---|
| ledgerId | integer | Unique identifier of the ledger. |
| ensembleSize | integer | Number of bookies in the ensemble. |
| writeQuorumSize | integer | Number of bookies to write to per entry. |
| ackQuorumSize | integer | Number of acks required before an entry is considered written. |
| state | string | State of the ledger (OPEN or CLOSED). |
| length | integer | Total byte length of the ledger. |
| lastEntryId | integer | ID of the last entry in the ledger. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/apache-bookkeeper/refs/heads/main/json-schema/bookkeeper-admin-ledger-metadata-schema.json",
"title": "LedgerMetadata",
"description": "Metadata for a single BookKeeper ledger.",
"type": "object",
"properties": {
"ledgerId": { "type": "integer", "format": "int64", "description": "Unique identifier of the ledger.", "example": 12345 },
"ensembleSize": { "type": "integer", "description": "Number of bookies in the ensemble.", "example": 3 },
"writeQuorumSize": { "type": "integer", "description": "Number of bookies to write to per entry.", "example": 2 },
"ackQuorumSize": { "type": "integer", "description": "Number of acks required before an entry is considered written.", "example": 2 },
"state": { "type": "string", "description": "State of the ledger (OPEN or CLOSED).", "enum": ["OPEN", "CLOSED"], "example": "CLOSED" },
"length": { "type": "integer", "format": "int64", "description": "Total byte length of the ledger.", "example": 1048576 },
"lastEntryId": { "type": "integer", "format": "int64", "description": "ID of the last entry in the ledger.", "example": 1024 }
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema 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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/bookkeeper-admin-ledger-metadata"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.