Configuration File - selfscan-config-native.json

Example

{
  "version" : "5.25.1",
  "loggerEnabled" : true,
  "logLevel" : "VERBOSE,DEBUG,INFO,WARNING,ERROR",
  "defaultLanguage" : "de_DE",
  "localHttpServerPort" : 50000,
  "businessUnitId" : "xxx",
  "tenant" : "xxx",
  "baseUrl" : "https://xxx/",
  "onboardingOnStorage" : true,
  "configuration" : {
    "empties" : {
      "addAsOneLineItem" : true,
      "collectiveNumber" : "8866332244558",
      "differentStoreAction" : "ALLOW",
      "itemNumberNonReturnables" : "8866332244527",
      "itemNumberReturnables" : "8866332244558"
    },
    "scales" : {
      "collectiveNumber" : "8888899000909"
    },
    "smartCart" : {
      "enableScale" : true
    },
    "unconditionalRecoveryTimeout" : 300,
    "showFiscalizationInfo" : true,
    "screenOffTimeout" : 300000,
    "lineItemLimit" : 9999.99,
    "maxPieceLimit" : 50,
    "confirmEveryItemDecrease" : false,
    "automaticEndOfTrip" : false
  },
  "returnAreaWallIDs" : [
    9
  ],
  "unlockCradleOptions" : {
    "onDuration" : 500,
    "offDuration" : 500,
    "smoothEnable" : true,
    "unlockDuration" : 15000
  },
  "masterDataSynchronization" : {
    "apiEndpointUrl" : "https://xxx/swee-sdc/",
    "serviceTimeout" : 600000,
    "timerInterval" : 30000,
    "cron" : "*/5 * * * *",
    "simpleMdType" : "V2"
  },
  "wallDeviceManager" : {
    "apiEndpointUrlMaster" : "http://xxx/app-wdm/SERVICES/v1",
    "sendStatusIntervalDeviceInCradle" : 10000,
    "sendStatusIntervalDeviceOutOfCradle" : 5000,
    "masterSlaveSwitchAttempts" : 4
  },
  "codes" : {
    "endOfTrip" : {
      "type" : "LABEL-TYPE-EAN13",
      "value" : "1460000000001"
    },
    "service" : {
      "type" : "LABEL-TYPE-EAN13",
      "value" : "1460000000018"
    },
    "bulkUnlockBarcode" : {
      "type" : "LABEL-TYPE-EAN13",
      "value" : "1460000000049"
    },
     "unlockMe" : {
      "type" : "LABEL-TYPE-EAN13",
      "value" : "1460000000025"
    }
  }
}

Description

Description
Topic Parameter Description
Data setting
version The version of this configuration file. It must have exactly the same version string as the SSC it is intended for. Otherwise it will be rejected by the client!
loggerEnabled If set to true, the application writes debug logs to a file in the internal memory of the industrial device.
logLevel If loggerEnabled = true, this is used to write a different log level. Levels: VERBOSE, DEBUG, INFO, WARN, ERROR.
defaultLanguage The application uses the language provided by the Wall Device Manager (WDM). If no language is provided, the default language is used.
localHttpServerPort The port on which the local REST service is listening. The WDM uses this service to control the industrial device.
businessUnitId The businessUnit ID of the store in which the SSC is used.
tenant The tenant ID of the store in which the SSC is used.
baseUrl The base URL.
onboardingOnStorage Set this to true if you want to store the onboarding token on the SD card (root directory) of the device.
Configuration - empties Configurations related to empties transactions.
addAsOneLineItem If false, each line item of the empties return transaction is taken over into the receipt.
collectiveNumber Used to create a collective empties return line item.
differentStoreAction Specifies whether only empties refund receipts of the same store can be redeemed.
  • Allow - External transactions are allowed
  • Authorize - External transactions are allowed upon authorization
  • Forbid - External transactions are not allowed
itemNumberNonReturnables Identifies non-returnable items that are excluded from return or deposit refunds.
itemNumberReturnables Identifies returnable items that are eligible for refunds or restocking.
Configuration - scales Configurations related to scale transactions.
collectiveNumber Used to create a collective scale return line item.
Configuration - SmartCart Specific settings for SmartCart devices.
enableScale If true, scale validation is enabled.
Configuration - general General trip settings.
showFiscalizationInfo Shows fiscalization information on the final shopping screen.
screenOffTimeout Time at which the screen turns black.
lineItemLimit Limit on the number of items you are allowed to buy in one trip.
maxPieceLimit Limit on the number of pieces per item you are allowed to buy in one trip.
confirmEveryItemDecrease Need to confirm every single item decrease before the item reduction is performed.
automaticEndOfTrip If true, the transaction is automatically suspended when the device is placed into the wall.
returnAreaWallIDs List List of disposal wall IDs as configured on the wall.
unlockCradleOptions Cradle-related settings.
onDuration Duration in milliseconds that the cradle's LED is switched on.
offDuration Duration in milliseconds that the cradle's LED is switched off.
smoothEnable If set to TRUE, the cradle's LED will fade between on and off. Otherwise it will hardly blink.
unlockDuration Duration in milliseconds for which the cradle is unlocked. After this time, the cradle is locked again.
masterDataSynchronization MasterData backend (Store Hub/...) connection and schedule settings.
apiEndpointUrl URL of the simplified Master Data Service API (Store Hub/...).
serviceTimeout Timeout in milliseconds after which the request to the Store Hub times out.
timerInterval Interval in milliseconds of the timer that is running to check for the time trigger defined by masterDataSyncronization > cron.
cron Time trigger as a cron expression, when the master data synchronization should happen; a five-field format is expected (without seconds).
simpleMdType simpleMdType - optional.
wallDeviceManager
apiEndpointUrlMaster URL of the master WDM Service API.
sendStatusIntervalDeviceInCradle Interval in milliseconds at which the industrial device sends new status updates to the WDM when it is in the cradle.
sendStatusIntervalDeviceOutOfCradle Interval in milliseconds at which the industrial device sends new status updates to the WDM when it is out of the cradle (in shopping mode).
masterSlaveSwitchAttempts Refers to how often a device has tried to switch between master and slave roles.
Codes Defines specific barcodes for specific in-app use cases.
Codes - endOfTrip type Barcode type.
value Barcode value.
Codes - service type Barcode type.
value Barcode value.
Codes - bulkUnlockBarcode type Barcode type.
value Barcode value.

The bulk unlock function is triggered. The wall ID must be scanned by the industry device in the next step.

Codes - unlockMe type Barcode type.
value Barcode value.
Codes - installCert type Barcode type.
value Barcode value.