{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/advisorppc-com/json-schema/advisorppc-com-goal-in-schema.json",
  "title": "GoalIn",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/advisorppc-com-goals-api-openapi.yml#/components/schemas/GoalIn",
  "properties": {
    "type": {
      "type": "string",
      "title": "Type"
    },
    "target_value": {
      "type": "number",
      "exclusiveMinimum": 0.0,
      "title": "Target Value"
    },
    "budget_ceiling_cents": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Budget Ceiling Cents",
      "default": 0
    },
    "deadline": {
      "type": "string",
      "format": "date",
      "title": "Deadline"
    },
    "status": {
      "type": "string",
      "title": "Status",
      "default": "active"
    },
    "currency": {
      "type": "string",
      "title": "Currency",
      "default": "USD"
    },
    "composite_json": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Composite Json"
    },
    "channel_mix_json": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Channel Mix Json"
    },
    "attribution_mode": {
      "type": "string",
      "title": "Attribution Mode",
      "default": "ga4_blend"
    }
  },
  "type": "object",
  "required": [
    "type",
    "target_value",
    "deadline"
  ]
}