{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://devopsmigration.io/schema/schema.processors.workitemtrackingprocessor.json",
  "title": "WorkItemTrackingProcessor",
  "description": "This processor is intended, with the aid of [ProcessorEnrichers](../ProcessorEnrichers/index.md), to allow the migration of Work Items between two [Endpoints](../Endpoints/index.md).",
  "type": "object",
  "properties": {
    "CollapseRevisions": {
      "description": "Gets or sets a value indicating whether to collapse revisions into a single work item.",
      "type": "boolean"
    },
    "Enabled": {
      "description": "If set to `true` then the processor will run. Set to `false` and the processor will not run.",
      "type": "boolean"
    },
    "Enrichers": {
      "description": "List of Enrichers that can be used to add more features to this processor. Only works with Native Processors and not legacy Processors.",
      "type": "array"
    },
    "RefName": {
      "description": "`Refname` will be used in the future to allow for using named Options without the need to copy all of the options.",
      "type": "string"
    },
    "ReplayRevisions": {
      "description": "Gets or sets a value indicating whether to replay all revisions during migration.",
      "type": "boolean"
    },
    "SourceName": {
      "description": "This is the `IEndpoint` that will be used as the source of the Migration. Can be null for a write only processor.",
      "type": "string"
    },
    "TargetName": {
      "description": "This is the `IEndpoint` that will be used as the Target of the Migration. Can be null for a read only processor.",
      "type": "string"
    },
    "WorkItemCreateRetryLimit": {
      "description": "Gets or sets the number of times to retry work item creation if it fails.",
      "type": "integer"
    }
  },
  "required": [
    "enabled",
    "sourceName",
    "targetName"
  ]
}