{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/2x/json-schema/2x-portfolio-health-response-schema.json",
  "title": "PortfolioHealthResponse",
  "description": "Portfolio health metrics.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/2x-clients-api-openapi.yml#/components/schemas/PortfolioHealthResponse",
  "properties": {
    "score": {
      "type": "integer",
      "title": "Score"
    },
    "breakdown": {
      "additionalProperties": {
        "type": "integer"
      },
      "type": "object",
      "title": "Breakdown"
    },
    "distribution": {
      "additionalProperties": {
        "type": "integer"
      },
      "type": "object",
      "title": "Distribution"
    },
    "customerId": {
      "type": "string",
      "title": "Customerid"
    },
    "chr2CutoverDate": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Chr2Cutoverdate",
      "description": "CHR 2.0 cutover date if enabled"
    }
  },
  "type": "object",
  "required": [
    "score",
    "breakdown",
    "distribution",
    "customerId"
  ]
}