{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-crosswork/json-schema/cisco-crosswork-robotctl-api-alert-response-schema.json",
  "title": "robotctl_apiAlertResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-crosswork-alert-api-api-openapi.yml#/components/schemas/robotctl_apiAlertResponse",
  "type": "object",
  "properties": {
    "count": {
      "$ref": "#/$defs/robotctl_apiAlertCount"
    },
    "AlertMap": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/robotctl_apiAlertList"
      }
    }
  },
  "$defs": {
    "robotctl_apiAlertCount": {
      "type": "object",
      "properties": {
        "Minor": {
          "type": "integer",
          "format": "int32"
        },
        "Major": {
          "type": "integer",
          "format": "int32"
        },
        "Critical": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "robotctl_apiAlertList": {
      "type": "object",
      "properties": {
        "List": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/robotctl_apiAlertMsg"
          }
        }
      }
    },
    "robotctl_apiAlertMsg": {
      "type": "object",
      "properties": {
        "AlertMsg": {
          "type": "string"
        },
        "AlertAction": {
          "type": "string"
        },
        "ActionLink": {
          "type": "boolean",
          "format": "boolean"
        },
        "ActionLinkMsg": {
          "type": "string"
        },
        "Priority": {
          "$ref": "#/$defs/robotctl_apiAlertPriority"
        }
      }
    },
    "robotctl_apiAlertPriority": {
      "type": "string",
      "enum": [
        "MINOR",
        "MAJOR",
        "CRITICAL"
      ],
      "default": "MINOR"
    }
  }
}