{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-codecommit/json-schema/amazon-codecommit-describe-merge-conflicts-input-schema.json",
  "title": "DescribeMergeConflictsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-codecommit-merge-conflict-api-openapi.yml#/components/schemas/DescribeMergeConflictsInput",
  "type": "object",
  "properties": {
    "repositoryName": {
      "type": "string",
      "description": "The name of the repository where you want to get information about a merge conflict."
    },
    "destinationCommitSpecifier": {
      "type": "string",
      "description": "The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."
    },
    "sourceCommitSpecifier": {
      "type": "string",
      "description": "The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID)."
    },
    "mergeOption": {
      "type": "string",
      "enum": [
        "FAST_FORWARD_MERGE",
        "SQUASH_MERGE",
        "THREE_WAY_MERGE"
      ],
      "description": "The merge option or strategy you want to use to merge the code."
    },
    "maxMergeHunks": {
      "type": "integer",
      "description": "The maximum number of merge hunks to include in the output."
    },
    "filePath": {
      "type": "string",
      "description": "The path of the target files used to describe the conflicts."
    },
    "conflictDetailLevel": {
      "type": "string",
      "enum": [
        "FILE_LEVEL",
        "LINE_LEVEL"
      ],
      "description": "The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line."
    },
    "conflictResolutionStrategy": {
      "type": "string",
      "enum": [
        "NONE",
        "ACCEPT_SOURCE",
        "ACCEPT_DESTINATION",
        "AUTOMERGE"
      ],
      "description": "Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful."
    },
    "nextToken": {
      "type": "string",
      "description": "An enumeration token that, when provided in a request, returns the next batch of the results."
    }
  },
  "required": [
    "repositoryName",
    "destinationCommitSpecifier",
    "sourceCommitSpecifier",
    "mergeOption",
    "filePath"
  ]
}