Ballerina · JSON Structure

Central Api Package Structure

Package schema from Ballerina Central API

Type: object Properties: 13
IntegrationsOrchestrationsOpen SourceProgramming Language

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

Properties

organization name version description pullCount createdDate keywords license authors repositoryURL readme modules versions

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": "Package schema from Ballerina Central API",
  "type": "object",
  "properties": {
    "organization": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "pullCount": {
      "type": "int32"
    },
    "createdDate": {
      "type": "datetime"
    },
    "keywords": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "license": {
      "type": "string"
    },
    "authors": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "repositoryURL": {
      "type": "uri"
    },
    "readme": {
      "type": "string"
    },
    "modules": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Module"
      }
    },
    "versions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}