{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usemeridian-us/json-schema/usemeridian-us-goal-set-schema.json",
  "title": "GoalSet",
  "description": "Body for POST /projects/{id}/goal. Content may be a JSON object or\na plain string — both forms are accepted. ``human_id`` is optional\nbut when provided is checked against the project's creator; a\nmismatch returns 403 to prevent silent overwrites between teammates.\n\n``north_star`` and ``sprint`` are optional (v0.5.2). When omitted,\npreviously-set values are preserved.",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/usemeridian-us-openapi.json#/components/schemas/GoalSet",
  "properties": {
    "content": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "string"
        }
      ],
      "title": "Content"
    },
    "human_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Human Id"
    },
    "north_star": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "North Star"
    },
    "sprint": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sprint"
    },
    "minor": {
      "type": "boolean",
      "title": "Minor",
      "default": false
    },
    "expected_updated_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expected Updated At"
    },
    "expected_north_star_updated_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expected North Star Updated At"
    },
    "expected_sprint_updated_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expected Sprint Updated At"
    },
    "source": {
      "title": "Source"
    }
  },
  "type": "object",
  "required": [
    "content"
  ]
}