{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tokenrip-com/json-schema/tokenrip-com-post-v0-tasks-id-decide-request-schema.json",
  "title": "PostV0TasksIdDecideRequest",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/tokenrip-com-openapi-generated.yml#/components/schemas/PostV0TasksIdDecideRequest",
  "type": "object",
  "properties": {
    "decision": {
      "type": "string",
      "description": "Decision type (approve, send_back, cancel, etc.)"
    },
    "expectedRevision": {
      "type": "string",
      "description": "Revision expected for concurrency control"
    },
    "edits": {
      "type": "string",
      "description": "Optional edits (text and/or artifacts) for approve"
    },
    "then": {
      "type": "string",
      "description": "Override next step"
    },
    "comment": {
      "type": "string",
      "description": "Comment required for send_back"
    },
    "why": {
      "type": "string",
      "description": "Reason for the decision"
    }
  },
  "required": [
    "decision",
    "expectedRevision"
  ]
}