{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/qlik-oss/schemas/refs/heads/main/qtcp/newtaskdefaults.settings.registereddata.schema.json",
  "title": "Defaults for new Registered Data Task",
  "description": "Schema for Registered Tata task default configuration",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "incrementalSettings": {
      "type": "object",
      "description": "Incremental loading settings",
      "additionalProperties": false,
      "properties": {
        "registeredType": {
          "type": "string",
          "description": "Type of registered incremental loading",
          "enum": ["NONE", "REPLICATE", "WATERMARK", "STITCH"],
          "default": "NONE"
        },
        "useBatchTimeAsFromDate": {
          "type": "boolean",
          "enum": [true, false],
          "description": "Whether to use batch time as from date",
          "default": false
        },
        "useSameTableAsCt": {
          "type": "boolean",
          "enum": [true, false],
          "description": "Whether to use same table as CT",
          "default": false
        },
        "softDeleteSupport": {
          "type": "boolean",
          "enum": [true, false],
          "description": "Whether soft delete is supported",
          "default": false
        },
        "priorImageSupport": {
          "type": "boolean",
          "enum": [true, false],
          "description": "Whether prior image is supported",
          "default": false
        }
      }
    },
    "catalogIntegration": {
      "$ref": "newtaskdefaults.settings.common.schema.json#/definitions/catalogIntegration"
    },
    "databaseSelection": {
      "$ref": "newtaskdefaults.settings.common.schema.json#/definitions/databaseSelection"
    },
    "viewType": {
      "$ref": "newtaskdefaults.settings.common.schema.json#/definitions/viewType"
    }
  }
}
