{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-purview/json-schema/microsoft-purview-profiling-result-schema.json",
  "title": "ProfilingResult",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-purview-data-profiling-api-openapi.yml#/components/schemas/ProfilingResult",
  "type": "object",
  "properties": {
    "assetId": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "InProgress",
        "Completed",
        "Failed"
      ]
    },
    "profiledAt": {
      "type": "string",
      "format": "date-time"
    },
    "rowCount": {
      "type": "integer",
      "format": "int64"
    },
    "columnProfiles": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ColumnProfile"
      }
    }
  },
  "$defs": {
    "ColumnProfile": {
      "type": "object",
      "properties": {
        "columnName": {
          "type": "string"
        },
        "dataType": {
          "type": "string"
        },
        "nullCount": {
          "type": "integer",
          "format": "int64"
        },
        "nullPercentage": {
          "type": "number",
          "format": "float"
        },
        "distinctCount": {
          "type": "integer",
          "format": "int64"
        },
        "minValue": {
          "type": "string"
        },
        "maxValue": {
          "type": "string"
        },
        "meanValue": {
          "type": "string"
        },
        "standardDeviation": {
          "type": "number",
          "format": "double"
        },
        "topValues": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "value": {
                "type": "string"
              },
              "count": {
                "type": "integer",
                "format": "int64"
              }
            }
          }
        }
      }
    }
  }
}