{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/main/json-schema/wso2-marketplace-assistant-response-schema.json",
  "title": "MarketplaceAssistantResponse",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wso2-marketplace-assistant-api-openapi.yml#/components/schemas/MarketplaceAssistantResponse",
  "required": [
    "response"
  ],
  "type": "object",
  "properties": {
    "response": {
      "type": "string",
      "description": "natural language response by the llm."
    },
    "apis": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MarketplaceAssistantApi"
      }
    }
  },
  "$defs": {
    "MarketplaceAssistantApi": {
      "required": [
        "apiId",
        "apiName",
        "version"
      ],
      "type": "object",
      "properties": {
        "apiId": {
          "type": "string",
          "description": "Uuid of the api."
        },
        "apiName": {
          "type": "string",
          "description": "name of the api."
        },
        "version": {
          "type": "string",
          "description": "version of the api."
        }
      }
    }
  }
}