Ballerina · JSON Structure

Central Api Package Structure

A package published to Ballerina Central.

Type: object Properties: 28
IntegrationOrchestrationOpen SourceProgramming LanguagePackage RegistryDeveloper ToolsCode GenerationAgent Skills

Package is a JSON Structure definition published by Ballerina, describing 28 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id organization name version platform languageSpecificationVersion isDeprecated deprecateMessage URL balaVersion balaURL digest summary readme template licenses authors sourceCodeLocation keywords ballerinaVersion icon ownerUUID createdDate pullCount visibility modules balToolId graalvmCompatible

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ballerina/refs/heads/main/json-structure/central-api-package-structure.json",
  "name": "Package",
  "description": "A package published to Ballerina Central.",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32",
      "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": "int32",
      "description": "Publication time",
      "epoch milliseconds.": null
    },
    "pullCount": {
      "type": "int32",
      "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-structure/central-api-module-structure.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 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/central-api-package-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.