{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "ThreadGoalMutationOrigin": {
      "description": "Distinguishes explicit user actions from automatic goal lifecycle mutations.",
      "enum": [
        "user",
        "automatic"
      ],
      "type": "string"
    }
  },
  "properties": {
    "origin": {
      "anyOf": [
        {
          "$ref": "#/definitions/ThreadGoalMutationOrigin"
        },
        {
          "type": "null"
        }
      ],
      "description": "Missing provenance does not supply user authorization."
    },
    "threadId": {
      "type": "string"
    }
  },
  "required": [
    "threadId"
  ],
  "title": "ThreadGoalClearParams",
  "type": "object"
}