{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/roark/json-schema/roark-publish-agent-draft-input-schema.json",
  "title": "PublishAgentDraftInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/roark-agent-api-openapi.yml#/components/schemas/PublishAgentDraftInput",
  "type": "object",
  "properties": {
    "expectedRevision": {
      "type": "integer",
      "minimum": 1,
      "description": "The draft revision you reviewed."
    },
    "summary": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "description": "What changed."
    }
  },
  "required": [
    "expectedRevision"
  ]
}