Ballerina · Schema

Package

A package published to Ballerina Central.

IntegrationOrchestrationOpen SourceProgramming LanguagePackage RegistryDeveloper ToolsCode GenerationAgent Skills

Properties

Name Type Description
id integer Registry-assigned numeric package id.
organization string Owning organization
name string
version string
platform string Target platform of the published artifact, e.g. `java21` or `any`.
languageSpecificationVersion string Ballerina language specification the package was built against, e.g. `2024R1`.
isDeprecated boolean True when the maintainer has deprecated this package version.
deprecateMessage string Maintainer-supplied deprecation notice; empty when not deprecated.
URL string Central-relative path to the package page, e.g. `/ballerina/http/2.17.0`.
balaVersion string Version of the BALA archive format used.
balaURL string Download URL for the BALA archive.
digest string Content digest of the published archive.
summary string
readme string Full README markdown; omitted when `readme=false`.
template boolean True when the package is a project template.
licenses array
authors array
sourceCodeLocation string
keywords array
ballerinaVersion string
icon string
ownerUUID string
createdDate integer Publication time
pullCount integer Cumulative pulls of this package.
visibility string `public` for everything reachable anonymously.
modules array
balToolId string Set when the package ships a `bal` CLI tool.
graalvmCompatible string GraalVM native-image compatibility as declared/verified: e.g. `Yes`, `No`, `Unknown`.
View JSON Schema on GitHub

JSON Schema

central-api-package-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ballerina/refs/heads/main/json-schema/central-api-package-schema.json",
  "title": "Package",
  "description": "A package published to Ballerina Central.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Registry-assigned numeric package id."
    },
    "organization": {
      "type": "string",
      "description": "Owning organization",
      "e.g. `ballerina`.": null
    },
    "name": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "platform": {
      "type": "string",
      "description": "Target platform of the published artifact, e.g. `java21` or `any`."
    },
    "languageSpecificationVersion": {
      "type": "string",
      "description": "Ballerina language specification the package was built against, e.g. `2024R1`."
    },
    "isDeprecated": {
      "type": "boolean",
      "description": "True when the maintainer has deprecated this package version."
    },
    "deprecateMessage": {
      "type": "string",
      "description": "Maintainer-supplied deprecation notice; empty when not deprecated."
    },
    "URL": {
      "type": "string",
      "description": "Central-relative path to the package page, e.g. `/ballerina/http/2.17.0`."
    },
    "balaVersion": {
      "type": "string",
      "description": "Version of the BALA archive format used."
    },
    "balaURL": {
      "type": "string",
      "description": "Download URL for the BALA archive."
    },
    "digest": {
      "type": "string",
      "description": "Content digest of the published archive."
    },
    "summary": {
      "type": "string"
    },
    "readme": {
      "type": "string",
      "description": "Full README markdown; omitted when `readme=false`."
    },
    "template": {
      "type": "boolean",
      "description": "True when the package is a project template."
    },
    "licenses": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "authors": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sourceCodeLocation": {
      "type": "string"
    },
    "keywords": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "ballerinaVersion": {
      "type": "string"
    },
    "icon": {
      "type": "string"
    },
    "ownerUUID": {
      "type": "string"
    },
    "createdDate": {
      "type": "integer",
      "description": "Publication time",
      "epoch milliseconds.": null
    },
    "pullCount": {
      "type": "integer",
      "description": "Cumulative pulls of this package."
    },
    "visibility": {
      "type": "string",
      "description": "`public` for everything reachable anonymously."
    },
    "modules": {
      "type": "array",
      "items": {
        "$ref": "https://raw.githubusercontent.com/api-evangelist/ballerina/refs/heads/main/json-schema/central-api-module-schema.json"
      }
    },
    "balToolId": {
      "type": "string",
      "description": "Set when the package ships a `bal` CLI tool."
    },
    "graalvmCompatible": {
      "type": "string",
      "description": "GraalVM native-image compatibility as declared/verified: e.g. `Yes`, `No`, `Unknown`."
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/central-api-package"
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.