{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/advisorppc-com/json-schema/advisorppc-com-goal-list-out-schema.json",
  "title": "GoalListOut",
  "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/GoalListOut",
  "properties": {
    "goals": {
      "items": {
        "$ref": "#/$defs/GoalOut"
      },
      "type": "array",
      "title": "Goals"
    }
  },
  "type": "object",
  "required": [
    "goals"
  ],
  "$defs": {
    "GoalOut": {
      "properties": {
        "id": {
          "type": "integer",
          "title": "Id"
        },
        "type": {
          "type": "string",
          "title": "Type"
        },
        "target_value": {
          "type": "number",
          "title": "Target Value"
        },
        "budget_ceiling_cents": {
          "type": "integer",
          "title": "Budget Ceiling Cents"
        },
        "spent_cents": {
          "type": "integer",
          "title": "Spent Cents"
        },
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "deadline": {
          "type": "string",
          "format": "date",
          "title": "Deadline"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "attribution_mode": {
          "type": "string",
          "title": "Attribution Mode"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "title": "Updated At"
        }
      },
      "type": "object",
      "required": [
        "id",
        "type",
        "target_value",
        "budget_ceiling_cents",
        "spent_cents",
        "currency",
        "deadline",
        "status",
        "attribution_mode",
        "created_at",
        "updated_at"
      ],
      "title": "GoalOut"
    }
  }
}