{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reddit/json-schema/reddit-components-schema-planning-metrics-projections-schema.json",
  "title": "components_schema_planning_metrics_projections",
  "description": "Projections for the performance and cost metrics.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/reddit-forecasting-api-openapi.yml#/components/schemas/components_schema_planning_metrics_projections",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "budget",
    "impressions",
    "reach_percentage",
    "reach"
  ],
  "properties": {
    "budget": {
      "type": "integer",
      "description": "The budget size (microcurrency)."
    },
    "reach_percentage": {
      "type": "object",
      "description": "The estimated percentage of the available audience the plan may reach.",
      "additionalProperties": false,
      "required": [
        "point_estimate"
      ],
      "properties": {
        "point_estimate": {
          "$ref": "#/$defs/point_estimate"
        }
      }
    },
    "impressions": {
      "$ref": "#/$defs/components_schema_planning_metric_point_estimate",
      "description": "The estimated number of impressions over the campaign duration."
    },
    "clicks": {
      "$ref": "#/$defs/components_schema_planning_metric_point_estimate",
      "description": "The estimated number of clicks over the campaign duration."
    },
    "video_views": {
      "$ref": "#/$defs/components_schema_planning_metric_point_estimate",
      "description": "The estimated number of video views over the campaign duration."
    },
    "reach": {
      "$ref": "#/$defs/components_schema_planning_metric_point_estimate",
      "description": "The unique user reach."
    },
    "frequency": {
      "type": "object",
      "description": "The estimated average number of impressions per reached user per 7-day period over the campaign duration. This value can be less than `1.0` for long or low-delivery campaigns.",
      "additionalProperties": false,
      "required": [
        "point_estimate"
      ],
      "properties": {
        "point_estimate": {
          "$ref": "#/$defs/point_estimate-3"
        }
      }
    },
    "cpm": {
      "$ref": "#/$defs/components_schema_planning_metric_point_estimate",
      "description": "The estimated cost per 1,000 impressions (microcurrency)."
    },
    "cpc": {
      "$ref": "#/$defs/components_schema_planning_metric_point_estimate",
      "description": "The estimated cost per click (microcurrency)."
    },
    "cpv": {
      "$ref": "#/$defs/components_schema_planning_metric_point_estimate",
      "description": "The estimated cost per video view (microcurrency)."
    }
  },
  "$defs": {
    "components_schema_planning_metric_point_estimate": {
      "type": "object",
      "description": "The point estimate for a campaign plan metric.",
      "additionalProperties": false,
      "required": [
        "point_estimate"
      ],
      "properties": {
        "point_estimate": {
          "$ref": "#/$defs/point_estimate-2"
        }
      }
    },
    "point_estimate": {
      "type": "number",
      "description": "The point estimate value.",
      "minimum": 0,
      "maximum": 100
    },
    "point_estimate-2": {
      "type": "integer",
      "description": "The point estimate value.",
      "minimum": 0
    },
    "point_estimate-3": {
      "type": "number",
      "description": "The point estimate value.",
      "minimum": 0
    }
  }
}