{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ballerina/refs/heads/main/json-structure/central-api-package-full-text-search-response-structure.json",
  "name": "PackageFullTextSearchResponse",
  "description": "PackageFullTextSearchResponse as returned by the Ballerina Central API (probed 2026-09-04).",
  "allOf": [
    {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/ballerina/refs/heads/main/json-structure/central-api-package-search-response-structure.json"
    },
    {
      "type": "object",
      "properties": {
        "suggestions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "highlighting": {
          "type": "object",
          "description": "Map of package id to the matched fragments per field.",
          "additionalProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  ]
}