{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/speakeasy/main/json-schema/speakeasy-suggest-opts-old-schema.json",
  "title": "SuggestOptsOld",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/speakeasy-suggest-api-openapi.yml#/components/schemas/SuggestOptsOld",
  "type": "object",
  "properties": {
    "suggestion_type": {
      "type": "string",
      "enum": [
        "method-names",
        "diagnostics-only"
      ]
    },
    "diagnostics": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Diagnostic"
      }
    }
  },
  "required": [
    "suggestion_type"
  ],
  "$defs": {
    "Diagnostic": {
      "type": "object",
      "properties": {
        "message": {
          "type": "string",
          "description": "Message describing the issue"
        },
        "path": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Schema path to the issue"
        },
        "type": {
          "type": "string",
          "description": "Issue type"
        },
        "helpMessage": {
          "type": "string",
          "description": "Help message for how to fix the issue"
        }
      },
      "required": [
        "message",
        "path",
        "type"
      ]
    }
  }
}