{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ballerina/refs/heads/main/json-structure/central-api-connector-structure.json",
  "name": "Connector",
  "description": "A connector client declared by a published package.",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32"
    },
    "name": {
      "type": "string",
      "description": "Ballerina object name, e.g. `Client`."
    },
    "displayName": {
      "type": "string"
    },
    "moduleName": {
      "type": "string"
    },
    "functions": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "object"
      }
    },
    "displayAnnotation": {
      "type": "object"
    },
    "icon": {
      "type": "string"
    },
    "package": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/ballerina/refs/heads/main/json-structure/central-api-package-structure.json"
    }
  }
}