{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/deswik/json-schema/deswik-clone-account-model-schema.json",
  "title": "CloneAccountModel",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/deswik-test-api-openapi.yml#/components/schemas/CloneAccountModel",
  "type": "object",
  "properties": {
    "sourceTenantId": {
      "type": "string",
      "format": "uuid"
    },
    "accountCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "accountUserName": {
      "type": [
        "string",
        "null"
      ]
    },
    "accountPassword": {
      "type": [
        "string",
        "null"
      ]
    },
    "expiryDate": {
      "type": "string",
      "format": "date-time"
    },
    "noLicences": {
      "type": "integer",
      "format": "int32"
    },
    "cloneDemoData": {
      "type": "boolean"
    },
    "cloneDeswikDemoData": {
      "type": "boolean"
    },
    "cloneMapsFiles": {
      "type": "boolean"
    },
    "cloneSurveyPlanFiles": {
      "type": "boolean"
    },
    "featureFlags": {
      "$ref": "#/$defs/FeatureFlags"
    },
    "opsServerUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "opsServerAPIKey": {
      "type": [
        "string",
        "null"
      ]
    },
    "operatorPassword": {
      "type": [
        "string",
        "null"
      ]
    },
    "opsOperatorRoles": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "shiftDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "shift": {
      "type": [
        "string",
        "null"
      ]
    },
    "appLanguage": {
      "type": [
        "string",
        "null"
      ]
    },
    "syncDaysBeforeShift": {
      "type": "integer",
      "format": "int32"
    },
    "syncDaysAfterShift": {
      "type": "integer",
      "format": "int32"
    },
    "allowToCreateTask": {
      "type": "boolean"
    },
    "allowStartAnyTask": {
      "type": "boolean"
    },
    "oaSupportingActivities": {
      "type": "boolean"
    },
    "allowActivityDeletion": {
      "type": "boolean"
    },
    "numShiftsToAllowHistoricActivityDeletion": {
      "type": "integer",
      "format": "int32"
    },
    "allowTasksActualsDisabled": {
      "type": "boolean"
    },
    "allowHistoricDisabled": {
      "type": "boolean"
    },
    "allowActivityWithActualsDeletion": {
      "type": "boolean"
    },
    "allowHistoricActivityDeletion": {
      "type": "boolean"
    },
    "numShiftsAllowHistoricDeletionDisabled": {
      "type": "boolean"
    },
    "mineLevelAttribute": {
      "type": [
        "string",
        "null"
      ]
    },
    "mineAreaAttribute": {
      "type": [
        "string",
        "null"
      ]
    },
    "mineArea": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "FeatureFlags": {
      "type": "object",
      "properties": {
        "hasDepartments": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "defaultPickerShowMode": {
          "type": [
            "string",
            "null"
          ]
        },
        "defaultDatePickerUseNativePicker": {
          "type": "boolean"
        },
        "lastSyncDateTimeFormat": {
          "type": [
            "string",
            "null"
          ]
        },
        "syncTimeInSeconds": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        }
      },
      "additionalProperties": false
    }
  }
}