{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/acuiq-com/json-schema/acuiq-com-symptom-list-response-schema.json",
  "title": "SymptomListResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/acuiq-com-openapi.json#/components/schemas/SymptomListResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SymptomRow"
      }
    },
    "error": {
      "type": "string"
    },
    "code": {
      "type": "string"
    }
  },
  "$defs": {
    "SymptomRow": {
      "type": "object",
      "description": "The shared symptom-search row (GET /api/symptoms and the MCP search_symptoms tool).",
      "properties": {
        "name": {
          "type": "string",
          "description": "Display label (displayName when present, else the taxonomy key)"
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Canonical symptom page"
        }
      },
      "required": [
        "name",
        "displayName",
        "url"
      ]
    }
  }
}