{
  "type": "object",
  "required": [
    "owner",
    "repo",
    "filePath",
    "blockId",
    "nodeType",
    "sourceLineStart",
    "sourceLineEnd",
    "bodyMarkdown"
  ],
  "properties": {
    "requestDecision": {
      "type": "boolean"
    },
    "poll": {
      "type": "object"
    },
    "provider": {
      "type": "string",
      "enum": [
        "github"
      ],
      "default": "github"
    },
    "owner": {
      "type": "string"
    },
    "repo": {
      "type": "string"
    },
    "prNumber": {
      "type": "integer"
    },
    "branchRef": {
      "type": "string"
    },
    "filePath": {
      "type": "string"
    },
    "blockId": {
      "type": "string"
    },
    "nodeType": {
      "type": "string"
    },
    "sourceLineStart": {
      "type": "integer"
    },
    "sourceLineEnd": {
      "type": "integer"
    },
    "selectedText": {
      "type": [
        "string",
        "null"
      ]
    },
    "prefixText": {
      "type": [
        "string",
        "null"
      ]
    },
    "suffixText": {
      "type": [
        "string",
        "null"
      ]
    },
    "bodyMarkdown": {
      "type": "string"
    },
    "agentAlias": {
      "type": [
        "string",
        "null"
      ]
    },
    "anchorMetadata": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "artifactKind": {
          "type": "string",
          "enum": [
            "markdown",
            "html",
            "form",
            "image",
            "svg",
            "mermaid"
          ]
        },
        "visualTarget": {
          "$ref": "#/components/schemas/ReviewVisualTarget"
        }
      },
      "additionalProperties": true
    }
  }
}