{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-migrate/json-schema/microsoft-azure-migrate-sql-assessment-v2-summary-list-result-schema.json",
  "title": "SqlAssessmentV2SummaryListResult",
  "description": "The response of a SqlAssessmentV2Summary list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-migrate-sqlassessmentv2summaryoperations-api-openapi.yml#/components/schemas/SqlAssessmentV2SummaryListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The SqlAssessmentV2Summary items on this page",
      "items": {
        "$ref": "#/$defs/SqlAssessmentV2Summary"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "ProxyResource": {
      "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"
        }
      ]
    },
    "Resource": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "SqlAssessmentV2Summary": {
      "type": "object",
      "description": "SQL Assessment REST resource.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/SqlAssessmentV2SummaryProperties",
          "description": "The resource-specific properties for this resource.",
          "x-ms-client-flatten": true,
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "SqlAssessmentV2SummaryData": {
      "type": "object",
      "description": "SQL Assessment V2 summary data.",
      "properties": {
        "suitabilitySummary": {
          "type": "object",
          "description": "Sql assessment summary data",
          "additionalProperties": {
            "format": "int32",
            "type": "integer"
          },
          "readOnly": true
        },
        "monthlyComputeCost": {
          "type": "number",
          "format": "float",
          "description": "Monthly compute cost",
          "readOnly": true
        },
        "monthlyStorageCost": {
          "type": "number",
          "format": "float",
          "description": "Monthly storage cost",
          "readOnly": true
        },
        "monthlyLicenseCost": {
          "type": "number",
          "format": "float",
          "description": "Monthly license cost",
          "readOnly": true
        },
        "confidenceScore": {
          "type": "number",
          "format": "float",
          "description": "Confidence Rating",
          "readOnly": true
        },
        "monthlySecurityCost": {
          "type": "number",
          "format": "float",
          "description": "Monthly security cost",
          "readOnly": true
        }
      }
    },
    "SqlAssessmentV2SummaryProperties": {
      "type": "object",
      "description": "SQL Assessment V2 summary properties.",
      "properties": {
        "assessmentSummary": {
          "type": "object",
          "description": "Gets or sets the Assessment summary.",
          "additionalProperties": {
            "$ref": "#/$defs/SqlAssessmentV2SummaryData"
          },
          "readOnly": true
        },
        "distributionBySupportStatus": {
          "type": "object",
          "description": "Gets the distribution of sqlInstances by support status.",
          "additionalProperties": {
            "format": "int32",
            "type": "integer"
          },
          "readOnly": true
        },
        "distributionByServicePackInsight": {
          "type": "object",
          "description": "Gets the distribution distribution of sqlInstances by service pack insight.",
          "additionalProperties": {
            "format": "int32",
            "type": "integer"
          },
          "readOnly": true
        },
        "distributionBySqlVersion": {
          "type": "object",
          "description": "Gets the distribution of sqlInstances by sql version.",
          "additionalProperties": {
            "format": "int32",
            "type": "integer"
          },
          "readOnly": true
        },
        "distributionBySqlEdition": {
          "type": "object",
          "description": "Gets the distribution of sqlInstances by sql edition.",
          "additionalProperties": {
            "format": "int32",
            "type": "integer"
          },
          "readOnly": true
        },
        "instanceDistributionBySizingCriterion": {
          "type": "object",
          "description": "Gets the instance distribution by sizing criterion.",
          "additionalProperties": {
            "format": "int32",
            "type": "integer"
          },
          "readOnly": true
        },
        "databaseDistributionBySizingCriterion": {
          "type": "object",
          "description": "Gets the database distribution by sizing criterion.",
          "additionalProperties": {
            "format": "int32",
            "type": "integer"
          },
          "readOnly": true
        },
        "numberOfMachines": {
          "type": "integer",
          "format": "int32",
          "description": "Number of machines part of the assessment.",
          "readOnly": true
        },
        "numberOfSqlInstances": {
          "type": "integer",
          "format": "int32",
          "description": "Number of sql instances part of the assessment.",
          "readOnly": true
        },
        "numberOfSuccessfullyDiscoveredSqlInstances": {
          "type": "integer",
          "format": "int32",
          "description": "Number of successfully discovered sql instances part of the assessment.",
          "readOnly": true
        },
        "numberOfSqlDatabases": {
          "type": "integer",
          "format": "int32",
          "description": "Number of sql databases part of the assessment.",
          "readOnly": true
        },
        "numberOfFciInstances": {
          "type": "integer",
          "format": "int32",
          "description": "Number of sql failover cluster instances part of the assessment.",
          "readOnly": true
        },
        "numberOfSqlAvailabilityGroups": {
          "type": "integer",
          "format": "int32",
          "description": "Number of sql availability groups part of the assessment.",
          "readOnly": true
        }
      }
    }
  }
}