Ballerina · JSON Structure

Central Api Package Version Structure

PackageVersion schema from Ballerina Central API

Type: object Properties: 9
IntegrationsOrchestrationsOpen SourceProgramming Language

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

Properties

organization name version platform ballerinaVersion description createdDate modules dependencies

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-version-structure.json",
  "name": "PackageVersion",
  "description": "PackageVersion schema from Ballerina Central API",
  "type": "object",
  "properties": {
    "organization": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "platform": {
      "type": "string"
    },
    "ballerinaVersion": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "createdDate": {
      "type": "datetime"
    },
    "modules": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Module"
      }
    },
    "dependencies": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "org": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        }
      }
    }
  }
}