{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dotsy-ai/json-schema/dotsy-ai-set-item-status-request-schema.json",
  "title": "SetItemStatusRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dotsy-ai-collections-api-openapi.yml#/components/schemas/SetItemStatusRequest",
  "type": "object",
  "properties": {
    "collection": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "key": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512
    },
    "status": {
      "type": "string",
      "minLength": 1,
      "maxLength": 40
    },
    "at": {
      "type": "string",
      "maxLength": 40,
      "description": "ISO date for the status stamp (backfill)."
    },
    "reply": {
      "type": "string",
      "maxLength": 4000,
      "description": "Decline message when moving to an archived state."
    },
    "draftChangelog": {
      "type": "boolean",
      "description": "Default true when the board defines a changelog collection."
    },
    "publish": {
      "type": "boolean",
      "description": "Publish the touched content keys after staging."
    }
  },
  "required": [
    "collection",
    "key",
    "status"
  ]
}