{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eightfold-ai/json-schema/eightfold-ai-jieinsights-schema-schema.json",
  "title": "JIEInsightsSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eightfold-ai-jie-api-openapi.yml#/components/schemas/JIEInsightsSchema",
  "type": "object",
  "properties": {
    "successionPlan": {
      "readOnly": true,
      "description": "Metrics of Pipeline with leaders",
      "allOf": [
        {
          "$ref": "#/$defs/SuccessionPlanMetricsSchema"
        }
      ]
    }
  },
  "$defs": {
    "BinaryDistribution": {
      "type": "object",
      "properties": {
        "noCount": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "readOnly": true,
          "description": "False/Negative value of metric"
        },
        "yesCount": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "readOnly": true,
          "description": "True/Positive value of metric"
        }
      }
    },
    "SuccessionPlanMetricsSchema": {
      "type": "object",
      "properties": {
        "superstar": {
          "readOnly": true,
          "description": "Metrics of superstars",
          "allOf": [
            {
              "$ref": "#/$defs/BinaryDistribution"
            }
          ]
        },
        "rolesWithSuccessorsReady": {
          "readOnly": true,
          "description": "Metrics of roles ready with successors",
          "allOf": [
            {
              "$ref": "#/$defs/BinaryDistribution"
            }
          ]
        },
        "pipelinesWithWomen": {
          "readOnly": true,
          "description": "Metrics of Pipeline with women",
          "allOf": [
            {
              "$ref": "#/$defs/BinaryDistribution"
            }
          ]
        },
        "pipelinesWithDiverseEthnicity": {
          "readOnly": true,
          "description": "Metrics of Pipeline with diverse ethenicity",
          "allOf": [
            {
              "$ref": "#/$defs/BinaryDistribution"
            }
          ]
        },
        "pipelinesWithLeaders": {
          "readOnly": true,
          "description": "Metrics of Pipeline with leaders",
          "allOf": [
            {
              "$ref": "#/$defs/BinaryDistribution"
            }
          ]
        }
      }
    }
  }
}