{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/commentary-dev/json-schema/commentary-dev-thread-status-request-schema.json",
  "title": "ThreadStatusRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/commentary-dev-review-comments-api-openapi.yml#/components/schemas/ThreadStatusRequest",
  "type": "object",
  "required": [
    "status"
  ],
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "open",
        "resolved"
      ]
    },
    "bodyMarkdown": {
      "type": "string",
      "description": "Optional closing or reopening reply. Requires comment write scope when present."
    },
    "agentAlias": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}