{
  "swagger": "2.0",
  "info": {
    "description": "Observability GlobalServer API",
    "title": "Observability GlobalServer API",
    "contact": {
      "name": "zhangpeijin",
      "email": "zhangpeijin@pingcap.com"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "version": "1.0"
  },
  "basePath": "/api/v1/",
  "paths": {
    "/external/{bizType}/orgs/{tenantID}/projects/{projectID}/clusters/{applicationID}/": {
      "get": {
        "description": "get cluster info for web console with project",
        "consumes": ["application/json"],
        "produces": ["application/json"],
        "tags": ["external"],
        "summary": "get cluster info for web console",
        "parameters": [
          {
            "type": "string",
            "description": "Region id for routing",
            "name": "x-region-id",
            "in": "header",
            "required": true
          },
          {
            "type": "string",
            "description": "bizType, for staging, use staging-tidbcloud-nextgen, others, use tidbcloud-nextgen",
            "name": "bizType",
            "in": "path",
            "required": true
          },
          {
            "type": "string",
            "description": "tenant id",
            "name": "tenantID",
            "in": "path",
            "required": true
          },
          {
            "type": "string",
            "description": "project id",
            "name": "projectID",
            "in": "path",
            "required": true
          },
          {
            "type": "string",
            "description": "application id",
            "name": "applicationID",
            "in": "path",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/definitions/message.Result"
                },
                {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/definitions/message.GetClusterExternalResp"
                    }
                  }
                }
              ]
            }
          },
          "404": {
            "description": "Not Found",
            "schema": {
              "$ref": "#/definitions/message.Result"
            }
          },
          "500": {
            "description": "Internal Server Error",
            "schema": {
              "$ref": "#/definitions/message.Result"
            }
          }
        }
      }
    },
    "/external/{bizType}/orgs/{tenantID}/clusters/{applicationID}/": {
      "get": {
        "description": "get cluster info for web console",
        "consumes": ["application/json"],
        "produces": ["application/json"],
        "tags": ["external"],
        "summary": "get cluster info for web console",
        "parameters": [
          {
            "type": "string",
            "description": "Region id for routing",
            "name": "x-region-id",
            "in": "header",
            "required": true
          },
          {
            "type": "string",
            "description": "bizType, for staging, use staging-tidbcloud-nextgen, others, use tidbcloud-nextgen",
            "name": "bizType",
            "in": "path",
            "required": true
          },
          {
            "type": "string",
            "description": "tenant id",
            "name": "tenantID",
            "in": "path",
            "required": true
          },
          {
            "type": "string",
            "description": "application id",
            "name": "applicationID",
            "in": "path",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/definitions/message.Result"
                },
                {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/definitions/message.GetClusterExternalResp"
                    }
                  }
                }
              ]
            }
          },
          "404": {
            "description": "Not Found",
            "schema": {
              "$ref": "#/definitions/message.Result"
            }
          },
          "500": {
            "description": "Internal Server Error",
            "schema": {
              "$ref": "#/definitions/message.Result"
            }
          }
        }
      }
    }
  },
  "definitions": {
    "message.AuthRouteReq": {
      "type": "object",
      "properties": {
        "apiKey": {
          "type": "string"
        },
        "ignoreProject": {
          "description": "for next-gen api, ignore project in path",
          "type": "boolean"
        },
        "path": {
          "type": "string"
        },
        "useO11yID": {
          "description": "for next-gen api, use o11yID in path",
          "type": "boolean"
        }
      }
    },
    "message.AuthRouteResp": {
      "type": "object",
      "properties": {
        "vmAccountID": {
          "type": "integer"
        },
        "vmClusterName": {
          "type": "string"
        },
        "vmProjectID": {
          "type": "integer"
        }
      }
    },
    "message.CreateClusterReq": {
      "type": "object",
      "required": ["applicationID", "bizType", "region", "shareMode", "tenantID", "vendor"],
      "properties": {
        "agentAccessARN": {
          "description": "AgentAccessARN and AgentManagerARN are not needed in the 3-layers architecture\nbecause the AgentEnvironment model defines account and project information\nAgentManagerARN is a pre-defined management role created in each dataplane account for o11y\nAgentAccessARN is a data role: o11y_{{k8s_id}}_access_role created by o11y_regional_server for each k8s\nCompatibility solution: If agentAccessARN and agentManagerARN are passed, use o11y_management_role.\nIf not passed, use the fixed management role and generated access role.\nNote: AgentAccessARN could be changed to agent data role arn during an in-flight request.",
          "type": "string"
        },
        "agentAccessAccount": {
          "description": "AgentAccessAccount is used for agent access account, if not set, use agentAccessARN, if set, use agentAccessAccount and agentAccessARN must not set",
          "type": "string"
        },
        "agentEnvironment": {
          "description": "describe agent deployment env，e.g VPC、account and provider\nif not set, use Compatibility path",
          "type": "object",
          "$ref": "#/definitions/structs.AgentEnvironment"
        },
        "agentManagerARN": {
          "description": "AgentManagerARN is used for private link service authentication.",
          "type": "string"
        },
        "agentNextGen": {
          "description": "AgentNextGen is used for next gen agent, if not set, use old path",
          "type": "boolean"
        },
        "agentSharedRole": {
          "description": "only for shared-vpc",
          "type": "boolean"
        },
        "agentTemplateName": {
          "description": "agent config template，now not used",
          "type": "string"
        },
        "applicationID": {
          "type": "string"
        },
        "bizType": {
          "type": "string"
        },
        "category": {
          "description": "o11y provided data categories, such as monitoring, logging, topsql, etc.\nThe default value is []string{\"metrics\", \"logs\"}, which will be added to the cluster's CR.\nIf topsql is enabled, add \"topsql\" to it.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dataPropertyRights": {
          "type": "integer"
        },
        "id": {
          "type": "string"
        },
        "internalReadUri": {
          "type": "string"
        },
        "keySpaceID": {
          "type": "string"
        },
        "monitorPromRules": {
          "type": "string"
        },
        "monitorSpecID": {
          "description": "only prometheus spec（vmalert use this ，wrong ways）",
          "type": "string"
        },
        "muteAlert": {
          "type": "boolean"
        },
        "note": {
          "type": "string"
        },
        "observed": {
          "description": "tidb cluster or other observed component information，for o11y auto scale",
          "type": "object",
          "$ref": "#/definitions/structs.Observed"
        },
        "openReadUri": {
          "type": "string"
        },
        "parentClusterID": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "ruleTemplateID": {
          "type": "string"
        },
        "seedClusterID": {
          "description": "A temporary parameter set specifically for the k8s-infra cluster.\nThe purpose is to specify which seed cluster k8s-infra will push the metrics to.\nThis parameter should be deleted in the future when k8s-infra metrics are pushed to its own cluster",
          "type": "string"
        },
        "shareMode": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tenantID": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    },
    "message.CreateClusterResp": {
      "type": "object",
      "required": ["applicationID", "bizType", "region", "shareMode", "tenantID", "vendor"],
      "properties": {
        "agentInfo": {
          "description": "每个集群 agent 的配置信息，改为读 configmap",
          "type": "object",
          "$ref": "#/definitions/structs.AgentInfo"
        },
        "alertInfo": {
          "type": "object",
          "$ref": "#/definitions/structs.AlertInfo"
        },
        "applicationID": {
          "type": "string"
        },
        "bizType": {
          "type": "string"
        },
        "dataPropertyRights": {
          "type": "integer"
        },
        "id": {
          "type": "string"
        },
        "internalReadUri": {
          "type": "string"
        },
        "lastScaleTime": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "monitorInfo": {
          "type": "object",
          "$ref": "#/definitions/structs.MonitorInfo"
        },
        "note": {
          "type": "string"
        },
        "openReadUri": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "shareMode": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "storageInfo": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/structs.StorageInfo"
          }
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tenantID": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    },
    "message.CreateEvaluationReq": {
      "type": "object",
      "required": ["dataset", "model", "modelVersion", "template", "user"],
      "properties": {
        "addedQuestion": {
          "type": "string"
        },
        "dataset": {
          "type": "string"
        },
        "datasetCategory": {
          "type": "string"
        },
        "endDate": {
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "modelVersion": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "startDate": {
          "type": "string"
        },
        "template": {
          "type": "string"
        },
        "user": {
          "type": "string"
        }
      }
    },
    "message.CreateEvaluationResp": {
      "type": "object",
      "properties": {
        "addedQuestion": {
          "type": "string"
        },
        "benchmarkFilePath": {
          "type": "string"
        },
        "dataset": {
          "type": "string"
        },
        "datasetCategory": {
          "type": "string"
        },
        "datasetMetaFilePath": {
          "type": "string"
        },
        "endDate": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "modelMetaFilePath": {
          "type": "string"
        },
        "modelVersion": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "phase": {
          "type": "string"
        },
        "result": {
          "type": "string"
        },
        "resultFilePath": {
          "type": "string"
        },
        "resultSummary": {
          "type": "object",
          "additionalProperties": true
        },
        "startDate": {
          "type": "string"
        },
        "tablesFilePath": {
          "type": "string"
        },
        "template": {
          "type": "string"
        },
        "templateFilePath": {
          "type": "string"
        },
        "user": {
          "type": "string"
        }
      }
    },
    "message.CreateModelReq": {
      "type": "object",
      "required": ["config", "name", "type", "version"],
      "properties": {
        "config": {
          "type": "object",
          "additionalProperties": true
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    },
    "message.CreateModelResp": {
      "type": "object",
      "properties": {
        "config": {
          "type": "object",
          "additionalProperties": true
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    },
    "message.CreateSubscriptionReq": {
      "type": "object",
      "required": ["endpoint", "protocol"],
      "properties": {
        "clusterID": {
          "type": "string"
        },
        "endpoint": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "protocol": {
          "type": "string"
        },
        "tenantID": {
          "type": "string"
        }
      }
    },
    "message.CreateSubscriptionResp": {
      "type": "object",
      "required": ["endpoint", "protocol"],
      "properties": {
        "clusterID": {
          "type": "string"
        },
        "endpoint": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "protocol": {
          "type": "string"
        },
        "tenantID": {
          "type": "string"
        }
      }
    },
    "message.DeleteAlertRulesTemplateReq": {
      "type": "object",
      "required": ["id", "region", "vendor"],
      "properties": {
        "id": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.DeleteAlertRulesTemplateResp": {
      "type": "object",
      "required": ["monitorPromRules"],
      "properties": {
        "monitorPromRules": {
          "type": "string"
        }
      }
    },
    "message.DeleteClusterReq": {
      "type": "object",
      "required": ["region", "vendor"],
      "properties": {
        "region": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.DeleteClusterResp": {
      "type": "object",
      "required": ["applicationID", "bizType", "region", "shareMode", "tenantID", "vendor"],
      "properties": {
        "applicationID": {
          "type": "string"
        },
        "bizType": {
          "type": "string"
        },
        "dataPropertyRights": {
          "type": "integer"
        },
        "id": {
          "type": "string"
        },
        "internalReadUri": {
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "openReadUri": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "shareMode": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tenantID": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    },
    "message.DeleteSubscriptionReq": {
      "type": "object"
    },
    "message.DeleteSubscriptionResp": {
      "type": "object",
      "required": ["endpoint", "protocol"],
      "properties": {
        "clusterID": {
          "type": "string"
        },
        "endpoint": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "protocol": {
          "type": "string"
        },
        "tenantID": {
          "type": "string"
        }
      }
    },
    "message.DetailClusterReq": {
      "type": "object",
      "required": ["region", "vendor"],
      "properties": {
        "region": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.DetailClusterResp": {
      "type": "object",
      "required": ["applicationID", "bizType", "region", "shareMode", "tenantID", "vendor"],
      "properties": {
        "agentInfo": {
          "description": "每个集群 agent 的配置信息，改为读 configmap",
          "type": "object",
          "$ref": "#/definitions/structs.AgentInfo"
        },
        "alertInfo": {
          "type": "object",
          "$ref": "#/definitions/structs.AlertInfo"
        },
        "applicationID": {
          "type": "string"
        },
        "bizType": {
          "type": "string"
        },
        "dataPropertyRights": {
          "type": "integer"
        },
        "id": {
          "type": "string"
        },
        "internalReadUri": {
          "type": "string"
        },
        "lastScaleTime": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "monitorInfo": {
          "type": "object",
          "$ref": "#/definitions/structs.MonitorInfo"
        },
        "note": {
          "type": "string"
        },
        "openReadUri": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "shareMode": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "storageInfo": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/structs.StorageInfo"
          }
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tenantID": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    },
    "message.ExternalAlertConfig": {
      "type": "object",
      "properties": {
        "ruleTemplateID": {
          "type": "string"
        }
      }
    },
    "message.ExternalKeyVisualConfig": {
      "type": "object",
      "properties": {
        "openReadUri": {
          "type": "string"
        }
      }
    },
    "message.ExternalLogsConfig": {
      "type": "object",
      "properties": {
        "openReadUri": {
          "type": "string"
        }
      }
    },
    "message.ExternalMetricsConfig": {
      "type": "object",
      "properties": {
        "openReadUri": {
          "type": "string"
        }
      }
    },
    "message.ExternalSlowQueryConfig": {
      "type": "object",
      "properties": {
        "openReadUri": {
          "type": "string"
        }
      }
    },
    "message.GetClusterExternalResp": {
      "type": "object",
      "properties": {
        "alerts": {
          "type": "object",
          "$ref": "#/definitions/message.ExternalAlertConfig"
        },
        "applicationID": {
          "type": "string"
        },
        "bizType": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "keyVisual": {
          "type": "object",
          "$ref": "#/definitions/message.ExternalKeyVisualConfig"
        },
        "logs": {
          "type": "object",
          "$ref": "#/definitions/message.ExternalLogsConfig"
        },
        "metrics": {
          "type": "object",
          "$ref": "#/definitions/message.ExternalMetricsConfig"
        },
        "region": {
          "type": "string"
        },
        "slowQuery": {
          "type": "object",
          "$ref": "#/definitions/message.ExternalSlowQueryConfig"
        },
        "tenantID": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.GetEvaluationResp": {
      "type": "object",
      "properties": {
        "addedQuestion": {
          "type": "string"
        },
        "benchmarkFilePath": {
          "type": "string"
        },
        "dataset": {
          "type": "string"
        },
        "datasetCategory": {
          "type": "string"
        },
        "datasetMetaFilePath": {
          "type": "string"
        },
        "endDate": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "modelMetaFilePath": {
          "type": "string"
        },
        "modelVersion": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "phase": {
          "type": "string"
        },
        "result": {
          "type": "string"
        },
        "resultFilePath": {
          "type": "string"
        },
        "resultSummary": {
          "type": "object",
          "additionalProperties": true
        },
        "startDate": {
          "type": "string"
        },
        "tablesFilePath": {
          "type": "string"
        },
        "template": {
          "type": "string"
        },
        "templateFilePath": {
          "type": "string"
        },
        "user": {
          "type": "string"
        }
      }
    },
    "message.GetModelResp": {
      "type": "object",
      "properties": {
        "config": {
          "type": "object",
          "additionalProperties": true
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    },
    "message.GetServiceHealthResp": {
      "type": "object",
      "properties": {
        "serviceHealth": {
          "type": "boolean"
        }
      }
    },
    "message.GetServiceInfoResp": {
      "type": "object",
      "properties": {
        "availableSpecs": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/k8sv1.ResourceRequirements"
          }
        },
        "serviceName": {
          "type": "string"
        }
      }
    },
    "k8sv1.ResourceRequirements": {
      "type": "object"
    },
    "message.GetSubscriptionReq": {
      "type": "object"
    },
    "message.GlobalHandleAlertReq": {
      "type": "object",
      "properties": {
        "alerts": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/structs.Alert"
          }
        },
        "commonAnnotations": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "commonLabels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "externalURL": {
          "type": "string"
        },
        "groupKey": {
          "type": "string"
        },
        "groupLabels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "receiver": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    },
    "message.GlobalHandleAlertResp": {
      "type": "object"
    },
    "message.ImportClusterAgentReq": {
      "type": "object",
      "required": ["agentEnvironment", "agentRoleArn", "agentStatus", "endpointName", "region", "vendor"],
      "properties": {
        "agentEnvironment": {
          "type": "object",
          "$ref": "#/definitions/structs.AgentEnvironment"
        },
        "agentReconcilePaused": {
          "description": "AgentReconcilePaused indicates whether the o11ycluster CR in the infra-api has pause-reconciliation annotation set to true",
          "type": "boolean"
        },
        "agentRoleArn": {
          "type": "string"
        },
        "agentStatus": {
          "type": "string"
        },
        "endpointName": {
          "type": "string"
        },
        "observed": {
          "type": "object",
          "$ref": "#/definitions/structs.Observed"
        },
        "region": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.ImportClusterAgentResp": {
      "type": "object"
    },
    "message.ModifyAgentObservedReq": {
      "type": "object",
      "required": ["observed", "region", "vendor"],
      "properties": {
        "observed": {
          "type": "object",
          "$ref": "#/definitions/structs.Observed"
        },
        "region": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.ModifyAgentObservedResp": {
      "type": "object"
    },
    "message.ModifyAlertRulesTemplateReq": {
      "type": "object",
      "required": ["monitorPromRules", "region", "templateID", "vendor"],
      "properties": {
        "monitorPromRules": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "templateID": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.ModifyAlertRulesTemplateResp": {
      "type": "object"
    },
    "message.ModifyMonitorModeReq": {
      "type": "object",
      "required": ["region", "shareMode", "vendor"],
      "properties": {
        "region": {
          "type": "string"
        },
        "shareMode": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.ModifyMonitorModeResp": {
      "type": "object"
    },
    "message.ModifyMonitorResourceReq": {
      "type": "object",
      "required": ["region", "vendor"],
      "properties": {
        "region": {
          "type": "string"
        },
        "resourceMeta": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/message.ResourceMeta"
          }
        },
        "resourceType": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.ModifyMonitorResourceResp": {
      "type": "object"
    },
    "message.ModifyMonitorSpecReq": {
      "type": "object",
      "required": ["region", "specID", "vendor"],
      "properties": {
        "region": {
          "type": "string"
        },
        "specID": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.ModifyMonitorSpecResp": {
      "type": "object"
    },
    "message.ModifyMonitorStorageReq": {
      "type": "object",
      "required": ["region", "vendor"],
      "properties": {
        "PVCName": {
          "type": "string"
        },
        "namespace": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "request": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.ModifyMonitorStorageResp": {
      "type": "object"
    },
    "message.MuteClusterAlertReq": {
      "type": "object",
      "required": ["region", "vendor"],
      "properties": {
        "region": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.MuteClusterAlertResp": {
      "type": "object",
      "required": ["applicationID", "bizType", "region", "shareMode", "tenantID", "vendor"],
      "properties": {
        "applicationID": {
          "type": "string"
        },
        "bizType": {
          "type": "string"
        },
        "dataPropertyRights": {
          "type": "integer"
        },
        "id": {
          "type": "string"
        },
        "internalReadUri": {
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "openReadUri": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "shareMode": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tenantID": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    },
    "message.OpenAlertConfig": {
      "type": "object",
      "properties": {
        "ruleTemplateID": {
          "type": "string"
        },
        "status": {
          "type": "string"
        }
      }
    },
    "message.OpenAlertRule": {
      "type": "object"
    },
    "message.OpenAlertRuleTemplate": {
      "type": "object",
      "properties": {
        "desc": {
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      }
    },
    "message.OpenAlertRuleTemplateList": {
      "type": "object",
      "properties": {
        "templates": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/message.OpenAlertRuleTemplate"
          }
        }
      }
    },
    "message.OpenClusterListResponse": {
      "type": "object",
      "properties": {
        "clusters": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/message.OpenObservabilityCluster"
          }
        },
        "next_page_token": {
          "type": "string"
        }
      }
    },
    "message.OpenCreateClusterRequest": {
      "type": "object",
      "required": ["agentAccessARN", "agentManagerARN", "applicationID", "projectID"],
      "properties": {
        "agentAccessARN": {
          "type": "string"
        },
        "agentManagerARN": {
          "type": "string"
        },
        "applicationID": {
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "ruleTemplateID": {
          "type": "string"
        },
        "shareMode": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "message.OpenLogsConfig": {
      "type": "object",
      "properties": {
        "dataRetention": {
          "type": "integer"
        },
        "status": {
          "type": "string"
        }
      }
    },
    "message.OpenMetricsConfig": {
      "type": "object",
      "properties": {
        "dataRetention": {
          "type": "integer"
        },
        "queryEndpoint": {
          "type": "string"
        },
        "status": {
          "type": "string"
        }
      }
    },
    "message.OpenModuleConfigRequest": {
      "type": "object",
      "required": ["retention"],
      "properties": {
        "retention": {
          "type": "integer"
        }
      }
    },
    "message.OpenModuleStatusRequest": {
      "type": "object",
      "required": ["status"],
      "properties": {
        "status": {
          "type": "string"
        }
      }
    },
    "message.OpenObservabilityCluster": {
      "type": "object",
      "properties": {
        "agentRoleARN": {
          "type": "string"
        },
        "alerts": {
          "type": "object",
          "$ref": "#/definitions/message.OpenAlertConfig"
        },
        "applicationID": {
          "type": "string"
        },
        "bizType": {
          "type": "string"
        },
        "dnsName": {
          "type": "string"
        },
        "endpointServiceName": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "logs": {
          "type": "object",
          "$ref": "#/definitions/message.OpenLogsConfig"
        },
        "metrics": {
          "type": "object",
          "$ref": "#/definitions/message.OpenMetricsConfig"
        },
        "note": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "ruleTemplateID": {
          "type": "string"
        },
        "share_mode": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tenantID": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.Page": {
      "type": "object",
      "properties": {
        "page": {
          "type": "integer"
        },
        "pageSize": {
          "type": "integer"
        },
        "total": {
          "type": "integer"
        }
      }
    },
    "message.PauseClusterReq": {
      "type": "object",
      "required": ["region", "vendor"],
      "properties": {
        "region": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.PauseClusterResp": {
      "type": "object",
      "required": ["applicationID", "bizType", "region", "shareMode", "tenantID", "vendor"],
      "properties": {
        "applicationID": {
          "type": "string"
        },
        "bizType": {
          "type": "string"
        },
        "dataPropertyRights": {
          "type": "integer"
        },
        "id": {
          "type": "string"
        },
        "internalReadUri": {
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "openReadUri": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "shareMode": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tenantID": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    },
    "message.PauseReconcileReq": {
      "type": "object",
      "required": ["region", "vendor"],
      "properties": {
        "pauseCluster": {
          "type": "boolean"
        },
        "region": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.QueryAlertRulesByCloudUserResp": {
      "type": "object",
      "properties": {
        "alertRuleList": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/structs.AlertRuleGroup"
          }
        }
      }
    },
    "message.QueryAlertRulesReq": {
      "type": "object",
      "required": ["region", "vendor"],
      "properties": {
        "region": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.QueryAlertRulesTemplateReq": {
      "type": "object",
      "required": ["region", "vendor"],
      "properties": {
        "region": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.QueryAlertRulesTemplateResp": {
      "type": "object",
      "required": ["monitorPromRules"],
      "properties": {
        "monitorPromRules": {
          "type": "string"
        }
      }
    },
    "message.QueryClustersReq": {
      "type": "object",
      "required": ["region", "vendor"],
      "properties": {
        "applicationID": {
          "type": "string"
        },
        "bizType": {
          "type": "string"
        },
        "continueToken": {
          "type": "string"
        },
        "limit": {
          "type": "integer"
        },
        "projectID": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "tenantID": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.QueryClustersResp": {
      "type": "object",
      "properties": {
        "clusters": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/structs.ClusterBaseInfo"
          }
        },
        "continueToken": {
          "type": "string"
        },
        "remainingItemCount": {
          "type": "integer"
        }
      }
    },
    "message.QueryDatasetReq": {
      "type": "object",
      "required": ["dataset", "date"],
      "properties": {
        "dataset": {
          "type": "string"
        },
        "date": {
          "type": "string"
        },
        "feedbackType": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "resultType": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "status": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "message.QueryDatasetResp": {
      "type": "object",
      "properties": {
        "records": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/structs.DatasetRecord"
          }
        }
      }
    },
    "message.QueryEvaluationReq": {
      "type": "object",
      "properties": {
        "after": {
          "type": "integer"
        },
        "before": {
          "type": "integer"
        },
        "dataName": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "page": {
          "description": "Current page location",
          "type": "integer"
        },
        "pageSize": {
          "description": "Number of this request",
          "type": "integer"
        },
        "phase": {
          "type": "string"
        }
      }
    },
    "message.QueryEvaluationResp": {
      "type": "object",
      "properties": {
        "evaluations": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/structs.Evaluation"
          }
        },
        "name": {
          "type": "object",
          "$ref": "#/definitions/message.Page"
        }
      }
    },
    "message.QueryExternalAlertsReq": {
      "type": "object",
      "required": ["region", "vendor"],
      "properties": {
        "endTime": {
          "description": "endTime of alerts, unix timestamp",
          "type": "integer"
        },
        "limit": {
          "type": "integer"
        },
        "page": {
          "type": "integer"
        },
        "region": {
          "type": "string"
        },
        "severity": {
          "description": "severity with lowercase, oneof warning, critical",
          "type": "string"
        },
        "startTime": {
          "description": "startTime of alerts, unix timestamp",
          "type": "integer"
        },
        "status": {
          "description": "alert state with lowercase, one of active closed all",
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.QueryExternalAlertsResp": {
      "type": "object",
      "properties": {
        "alerts": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/structs.UserAlertInfo"
          }
        },
        "total": {
          "type": "integer"
        }
      }
    },
    "message.QuerySubscriptionReq": {
      "type": "object",
      "properties": {
        "projectID": {
          "type": "string"
        },
        "tenantID": {
          "type": "string"
        }
      }
    },
    "message.QuerySubscriptionResp": {
      "type": "object",
      "properties": {
        "subscriptions": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/structs.SubscriptionBaseInfo"
          }
        }
      }
    },
    "message.ResourceMeta": {
      "type": "object",
      "properties": {
        "PVCName": {
          "type": "string"
        },
        "namespace": {
          "type": "string"
        },
        "request": {
          "type": "string"
        },
        "specID": {
          "type": "string"
        }
      }
    },
    "message.Result": {
      "type": "object",
      "properties": {
        "code": {
          "description": "http error code",
          "type": "integer"
        },
        "data": {
          "description": "The returned content, storage in JSON format",
          "type": "object"
        },
        "message": {
          "description": "http error msg",
          "type": "string"
        }
      }
    },
    "message.ResumeClusterReq": {
      "type": "object",
      "required": ["region", "vendor"],
      "properties": {
        "region": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.ResumeClusterResp": {
      "type": "object",
      "required": ["applicationID", "bizType", "region", "shareMode", "tenantID", "vendor"],
      "properties": {
        "applicationID": {
          "type": "string"
        },
        "bizType": {
          "type": "string"
        },
        "dataPropertyRights": {
          "type": "integer"
        },
        "id": {
          "type": "string"
        },
        "internalReadUri": {
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "openReadUri": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "shareMode": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tenantID": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    },
    "message.UnmuteClusterAlertReq": {
      "type": "object",
      "required": ["region", "vendor"],
      "properties": {
        "region": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.UnmuteClusterAlertResp": {
      "type": "object",
      "required": ["applicationID", "bizType", "region", "shareMode", "tenantID", "vendor"],
      "properties": {
        "applicationID": {
          "type": "string"
        },
        "bizType": {
          "type": "string"
        },
        "dataPropertyRights": {
          "type": "integer"
        },
        "id": {
          "type": "string"
        },
        "internalReadUri": {
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "openReadUri": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "shareMode": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tenantID": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    },
    "message.UpdateAlertRulesByCloudUserReq": {
      "type": "object",
      "required": ["region", "vendor"],
      "properties": {
        "alertRules": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/structs.AlertRuleBase"
          }
        },
        "region": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.UpdateAlertRulesByCloudUserResp": {
      "type": "object",
      "properties": {
        "data": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/structs.UpdateAlertRule"
          }
        }
      }
    },
    "message.UpdateDeletionStrategyReq": {
      "type": "object",
      "required": ["applicationID", "bizType", "projectID", "region", "tenantID", "vendor"],
      "properties": {
        "applicationID": {
          "type": "string"
        },
        "bizType": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "tenantID": {
          "type": "string"
        },
        "ttl": {
          "type": "integer",
          "example": 72
        },
        "vendor": {
          "type": "string"
        }
      }
    },
    "message.UpdateDeletionStrategyResp": {
      "type": "object"
    },
    "structs.AWSAgentEnvironment": {
      "type": "object",
      "properties": {
        "account": {
          "type": "string"
        },
        "nodeSubnetIDs": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "oidc": {
          "type": "string"
        },
        "securityGroupID": {
          "type": "string"
        },
        "vpcID": {
          "type": "string"
        }
      }
    },
    "structs.AgentEnvironment": {
      "type": "object",
      "properties": {
        "aliCloud": {
          "type": "object",
          "$ref": "#/definitions/structs.AliCloudAgentEnvironment"
        },
        "aws": {
          "type": "object",
          "$ref": "#/definitions/structs.AWSAgentEnvironment"
        },
        "azure": {
          "type": "object",
          "$ref": "#/definitions/structs.AzureAgentEnvironment"
        },
        "dataplane": {
          "type": "object",
          "$ref": "#/definitions/structs.Dataplane"
        },
        "gcp": {
          "type": "object",
          "$ref": "#/definitions/structs.GCPAgentEnvironment"
        },
        "releaseNameSpace": {
          "type": "string"
        }
      }
    },
    "structs.AgentInfo": {
      "type": "object",
      "properties": {
        "roleARN": {
          "description": "o11y 服务端开给客户的访问账号，先保留当前含义不变",
          "type": "string"
        }
      }
    },
    "structs.Alert": {
      "type": "object",
      "properties": {
        "annotations": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "endsAt": {
          "type": "string"
        },
        "generatorURL": {
          "type": "string"
        },
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "startsAt": {
          "type": "string"
        },
        "status": {
          "type": "string"
        }
      }
    },
    "structs.AlertInfo": {
      "type": "object",
      "properties": {
        "muteAlert": {
          "type": "boolean"
        },
        "ruleTemplateID": {
          "type": "string"
        }
      }
    },
    "structs.AlertRuleBase": {
      "type": "object",
      "properties": {
        "alertRuleID": {
          "type": "string"
        },
        "for": {
          "type": "integer"
        },
        "status": {
          "type": "string"
        },
        "threshold": {
          "type": "number"
        }
      }
    },
    "structs.AlertRuleDetail": {
      "type": "object",
      "properties": {
        "alert": {
          "type": "string"
        },
        "alertRuleID": {
          "type": "string"
        },
        "canEdit": {
          "type": "string"
        },
        "defaultFor": {
          "type": "number"
        },
        "defaultThreshold": {
          "type": "number"
        },
        "for": {
          "type": "integer"
        },
        "monitorTarget": {
          "type": "string"
        },
        "operator": {
          "type": "string"
        },
        "sortID": {
          "type": "integer"
        },
        "status": {
          "type": "string"
        },
        "threshold": {
          "type": "number"
        }
      }
    },
    "structs.AlertRuleGroup": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "rules": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/structs.AlertRuleDetail"
          }
        }
      }
    },
    "structs.AliCloudAgentEnvironment": {
      "type": "object",
      "properties": {
        "account": {
          "type": "string"
        },
        "nodeSubnetIDs": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "oidc": {
          "type": "string"
        },
        "securityGroupID": {
          "type": "string"
        },
        "vpcID": {
          "type": "string"
        }
      }
    },
    "structs.AzureAgentEnvironment": {
      "type": "object",
      "properties": {
        "networkName": {
          "type": "string"
        },
        "oidc": {
          "description": "AKS OIDC issuer used for creating federated identity",
          "type": "string"
        },
        "resourceGroup": {
          "type": "string"
        },
        "subnet": {
          "description": "Subnet where private endpoint should be created",
          "type": "string"
        },
        "subscriptionID": {
          "type": "string"
        }
      }
    },
    "structs.ClusterBaseInfo": {
      "type": "object",
      "required": ["applicationID", "bizType", "region", "shareMode", "tenantID", "vendor"],
      "properties": {
        "applicationID": {
          "type": "string"
        },
        "bizType": {
          "type": "string"
        },
        "dataPropertyRights": {
          "type": "integer"
        },
        "id": {
          "type": "string"
        },
        "internalReadUri": {
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "openReadUri": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "shareMode": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tenantID": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    },
    "structs.ClusterTopologyType": {
      "type": "object",
      "properties": {
        "pd": {
          "type": "object",
          "$ref": "#/definitions/structs.PD"
        },
        "tidb": {
          "type": "object",
          "$ref": "#/definitions/structs.TiDB"
        },
        "tiflash": {
          "type": "object",
          "$ref": "#/definitions/structs.TiFlash"
        },
        "tikv": {
          "type": "object",
          "$ref": "#/definitions/structs.TiKV"
        }
      }
    },
    "structs.Dataplane": {
      "type": "object",
      "properties": {
        "clusterCAData": {
          "description": "+optional",
          "type": "string"
        },
        "clusterEndpoint": {
          "description": "+optional",
          "type": "string"
        },
        "clusterKubeConfig": {
          "description": "+optional\nbase64-encoded kubeconfig data",
          "type": "string"
        },
        "clusterName": {
          "type": "string"
        }
      }
    },
    "structs.DatasetRecord": {
      "type": "object",
      "properties": {
        "createdAt": {
          "type": "string"
        },
        "feedbackContent": {
          "type": "string"
        },
        "feedbackType": {
          "type": "string"
        },
        "querySql": {
          "type": "string"
        },
        "questionID": {
          "type": "string"
        },
        "result": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "userID": {
          "type": "string"
        }
      }
    },
    "structs.Evaluation": {
      "type": "object",
      "properties": {
        "addedQuestion": {
          "type": "string"
        },
        "benchmarkFilePath": {
          "type": "string"
        },
        "dataset": {
          "type": "string"
        },
        "datasetCategory": {
          "type": "string"
        },
        "datasetMetaFilePath": {
          "type": "string"
        },
        "endDate": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "modelMetaFilePath": {
          "type": "string"
        },
        "modelVersion": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "phase": {
          "type": "string"
        },
        "result": {
          "type": "string"
        },
        "resultFilePath": {
          "type": "string"
        },
        "resultSummary": {
          "type": "object",
          "additionalProperties": true
        },
        "startDate": {
          "type": "string"
        },
        "tablesFilePath": {
          "type": "string"
        },
        "template": {
          "type": "string"
        },
        "templateFilePath": {
          "type": "string"
        },
        "user": {
          "type": "string"
        }
      }
    },
    "structs.GCPAgentEnvironment": {
      "type": "object",
      "properties": {
        "gcpProject": {
          "type": "string"
        },
        "networkName": {
          "type": "string"
        },
        "subnets": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "structs.MonitorInfo": {
      "type": "object",
      "properties": {
        "dnsName": {
          "type": "string"
        },
        "endpointServiceName": {
          "description": "Storage             string `json:\"storage\" form:\"storage\"`",
          "type": "string"
        },
        "specID": {
          "type": "string"
        },
        "vmAccountID": {
          "type": "string"
        },
        "vmProjectID": {
          "type": "string"
        }
      }
    },
    "structs.Observed": {
      "type": "object",
      "properties": {
        "clusterTopology": {
          "type": "object",
          "$ref": "#/definitions/structs.ClusterTopologyType"
        },
        "tidbVersion": {
          "type": "string"
        }
      }
    },
    "structs.PD": {
      "type": "object",
      "properties": {
        "replicas": {
          "type": "integer"
        }
      }
    },
    "structs.StorageExternalInfo": {
      "type": "object",
      "properties": {
        "accountID": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        }
      }
    },
    "structs.StorageInfo": {
      "type": "object",
      "properties": {
        "bucketName": {
          "type": "string"
        },
        "category": {
          "type": "string"
        },
        "dataARN": {
          "type": "string"
        },
        "externalInfo": {
          "type": "object",
          "$ref": "#/definitions/structs.StorageExternalInfo"
        },
        "storageAccount": {
          "type": "string"
        }
      }
    },
    "structs.SubscriptionBaseInfo": {
      "type": "object",
      "required": ["endpoint", "protocol"],
      "properties": {
        "clusterID": {
          "type": "string"
        },
        "endpoint": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "projectID": {
          "type": "string"
        },
        "protocol": {
          "type": "string"
        },
        "tenantID": {
          "type": "string"
        }
      }
    },
    "structs.TiDB": {
      "type": "object",
      "properties": {
        "replicas": {
          "type": "integer"
        }
      }
    },
    "structs.TiFlash": {
      "type": "object",
      "properties": {
        "replicas": {
          "type": "integer"
        }
      }
    },
    "structs.TiKV": {
      "type": "object",
      "properties": {
        "replicas": {
          "type": "integer"
        }
      }
    },
    "structs.UpdateAlertRule": {
      "type": "object",
      "properties": {
        "alertName": {
          "type": "string"
        },
        "for": {
          "type": "string"
        },
        "oldFor": {
          "type": "string"
        },
        "oldStatus": {
          "type": "string"
        },
        "oldThreshold": {
          "type": "number"
        },
        "status": {
          "type": "string"
        },
        "threshold": {
          "type": "number"
        }
      }
    },
    "structs.UserAlertInfo": {
      "type": "object",
      "properties": {
        "activeAt": {
          "type": "integer"
        },
        "alertName": {
          "description": "alert name, the description label in alert rule.",
          "type": "string"
        },
        "changefeed": {
          "type": "string"
        },
        "duration": {
          "description": "duration time in seconds, e.g. 1h2m0s",
          "type": "string"
        },
        "jobID": {
          "type": "string"
        },
        "message": {
          "description": "alert message, the message label in alert rule.",
          "type": "string"
        },
        "ruleName": {
          "description": "alert rule name, the alert name in alert rule.",
          "type": "string"
        },
        "severity": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      }
    }
  }
}
