{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-devops-health/json-schema/azure-devops-health-emerging-issue-list-result-schema.json",
  "title": "emergingIssueListResult",
  "description": "The list of emerging issues.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-devops-health-emergingissues-api-openapi.yml#/components/schemas/emergingIssueListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The list of emerging issues.",
      "items": {
        "$ref": "#/$defs/emergingIssuesGetResult"
      }
    },
    "nextLink": {
      "type": "string",
      "description": "The link used to get the next page of emerging issues."
    }
  },
  "$defs": {
    "SeverityValues": {
      "type": "string",
      "description": "The severity level of this active event.",
      "enum": [
        "Information",
        "Warning",
        "Error"
      ],
      "x-ms-enum": {
        "name": "SeverityValues",
        "modelAsString": true,
        "values": [
          {
            "name": "Information",
            "value": "Information",
            "description": "Information"
          },
          {
            "name": "Warning",
            "value": "Warning",
            "description": "Warning"
          },
          {
            "name": "Error",
            "value": "Error",
            "description": "Error"
          }
        ]
      }
    },
    "StageValues": {
      "type": "string",
      "description": "The stage of this active event.",
      "enum": [
        "Active",
        "Resolve",
        "Archived"
      ],
      "x-ms-enum": {
        "name": "StageValues",
        "modelAsString": true,
        "values": [
          {
            "name": "Active",
            "value": "Active",
            "description": "Active"
          },
          {
            "name": "Resolve",
            "value": "Resolve",
            "description": "Resolve"
          },
          {
            "name": "Archived",
            "value": "Archived",
            "description": "Archived"
          }
        ]
      }
    },
    "TypesProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "emergingIssue": {
      "type": "object",
      "description": "On-going emerging issue from azure status.",
      "properties": {
        "refreshTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp for when last time refreshed for ongoing emerging issue."
        },
        "statusBanners": {
          "type": "array",
          "description": "The list of emerging issues of banner type.",
          "items": {
            "$ref": "#/$defs/statusBanner"
          },
          "x-ms-identifiers": []
        },
        "statusActiveEvents": {
          "type": "array",
          "description": "The list of emerging issues of active event type.",
          "items": {
            "$ref": "#/$defs/statusActiveEvent"
          },
          "x-ms-identifiers": []
        }
      }
    },
    "emergingIssueImpact": {
      "type": "object",
      "description": "Object of the emerging issue impact on services and regions.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The impacted service id."
        },
        "name": {
          "type": "string",
          "description": "The impacted service name."
        },
        "regions": {
          "type": "array",
          "description": "The list of impacted regions for corresponding emerging issues.",
          "items": {
            "$ref": "#/$defs/impactedRegion"
          }
        }
      }
    },
    "emergingIssuesGetResult": {
      "type": "object",
      "description": "The Get EmergingIssues operation response.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/emergingIssue",
          "description": "The emerging issue entity properties.",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/TypesProxyResource"
        }
      ]
    },
    "impactedRegion": {
      "type": "object",
      "description": "Object of impacted region.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The impacted region id."
        },
        "name": {
          "type": "string",
          "description": "The impacted region name."
        }
      }
    },
    "statusActiveEvent": {
      "type": "object",
      "description": "Active event type of emerging issue.",
      "properties": {
        "title": {
          "type": "string",
          "description": "The active event title."
        },
        "description": {
          "type": "string",
          "description": "The details of active event."
        },
        "trackingId": {
          "type": "string",
          "description": "The tracking id of this active event."
        },
        "startTime": {
          "type": "string",
          "format": "date-time",
          "description": "The impact start time on this active event."
        },
        "cloud": {
          "type": "string",
          "description": "The cloud type of this active event."
        },
        "severity": {
          "$ref": "#/$defs/SeverityValues",
          "description": "The severity level of this active event."
        },
        "stage": {
          "$ref": "#/$defs/StageValues",
          "description": "The stage of this active event."
        },
        "published": {
          "type": "boolean",
          "description": "The boolean value of this active event if published or not."
        },
        "lastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The last time modified on this banner."
        },
        "impacts": {
          "type": "array",
          "description": "The list of emerging issues impacts.",
          "items": {
            "$ref": "#/$defs/emergingIssueImpact"
          }
        }
      }
    },
    "statusBanner": {
      "type": "object",
      "description": "Banner type of emerging issue.",
      "properties": {
        "title": {
          "type": "string",
          "description": "The banner title."
        },
        "message": {
          "type": "string",
          "description": "The details of banner."
        },
        "cloud": {
          "type": "string",
          "description": "The cloud type of this banner."
        },
        "lastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The last time modified on this banner."
        }
      }
    }
  }
}