{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "import",
        "preview_writeback"
      ]
    },
    "submissionId": {
      "type": "string"
    },
    "submissionIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 50
    },
    "paths": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "target": {
      "type": "object",
      "properties": {
        "owner": {
          "type": "string"
        },
        "repo": {
          "type": "string"
        },
        "ref": {
          "type": "string"
        },
        "branch": {
          "type": "string"
        },
        "sourcePath": {
          "type": "string"
        },
        "baseBranch": {
          "type": "string"
        },
        "createBranch": {
          "type": "boolean"
        }
      },
      "additionalProperties": true
    },
    "summary": {
      "type": "string"
    },
    "commitMessage": {
      "type": "string"
    },
    "openPullRequest": {
      "type": "boolean"
    },
    "pullRequestTitle": {
      "type": "string"
    },
    "pullRequestBody": {
      "type": "string"
    },
    "agentAlias": {
      "type": "string"
    },
    "clientName": {
      "type": "string"
    }
  },
  "additionalProperties": true
}