{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apexvol-com/json-schema/apexvol-com-post-scenario-analysis-response-schema.json",
  "title": "PostScenarioAnalysisResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apexvol-com-portfolio-risk-api-openapi.yml#/components/schemas/PostScenarioAnalysisResponse",
  "properties": {
    "current_value": {
      "type": "number"
    },
    "scenarios": {
      "items": {
        "properties": {
          "days_forward": {
            "type": "integer"
          },
          "delta_contribution": {
            "type": "number"
          },
          "estimated_pnl": {
            "type": "number"
          },
          "estimated_pnl_pct": {
            "type": "number"
          },
          "iv_change_pct": {
            "type": "integer"
          },
          "new_portfolio_value": {
            "type": "number"
          },
          "scenario_name": {
            "type": "string"
          },
          "stock_move_pct": {
            "type": "integer"
          },
          "theta_contribution": {
            "type": "number"
          },
          "vega_contribution": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "success": {
      "type": "boolean"
    },
    "timestamp": {
      "type": "string"
    }
  },
  "type": "object"
}