{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ballerina/refs/heads/main/json-schema/central-api-connector-schema.json",
  "title": "Connector",
  "description": "A connector client declared by a published package.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "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-schema/central-api-package-schema.json"
    }
  }
}
