{
    "Configuration": {
        "ConfigurationManager": "CppDBConfiguration",
        "CppDBConfiguration": {
            "ConnectionString": "sqlite3:db=res/database/optomanyConfig.db"
        }
    },

    "PrognosticsConfiguration": {
        "ConnectionString": "sqlite3:db=res/database/prognostics.db"
    },

    "LocalizationConfiguration": {
        "ConnectionString": "sqlite3:db=res/database/localization.db"
    },

    "RuleTableConfiguration": {
        "ConnectionString": "sqlite3:db=res/database/RuleTable.db"
    },

    "ServerClient": {
        "InitialConfigurationServiceUrl": "https://cfgup.ppe.optpg.com/UpdateServiceEntryPoint.svc/"
    },

    "Log": {
        "LogLevel": "Debug",
        "MaxExternalFileSizeMb": 20,
        "InternalStorage": "MemoryInternalStorage",
        "ExternalStorage": "CppDBExternalStorage",
        "MemoryInternalStorage": {
            "MaxLogs": 2048
        },
        "CppDBExternalStorage": {
            "ConnectionString": "sqlite3:db=logs/log.db"
        },
        "TextFileExternalStorage": {
            "Filename": "logs/log"
        }
    },

    "ContactlessStatusIndicator": {
        "IdleOffPeriodMs": 5000,
        "IdleOnPeriodMs": 200,
        "SuccessToneDurationMs": 500,
        "SuccessToneFrequencyHz": 1500,
        "CardReadSuccessOptionOneDisplayPeriodMs": 200,
        "CardReadSuccessOptionTwoDisplayPeriodMs": 125,
        "CardReadSuccessWaitPeriodMs": 650,
        "AlertToneDurationMs": 200,
        "AlertToneFrequencyHz": 750,
        "AlertTonePauseMs": 200,
        "AlertToneCount": 2,

        "ShowProcessingStage": false,
        "SoundErrorTone": true,
        "OperationMode": 1,
        "Leds": {
            "On": [
                "res/images/ctls/leds/green.png",
                "res/images/ctls/leds/green.png",
                "res/images/ctls/leds/green.png",
                "res/images/ctls/leds/green.png"
            ],
            "Off": [
                "res/images/ctls/leds/black.png",
                "res/images/ctls/leds/black.png",
                "res/images/ctls/leds/black.png",
                "res/images/ctls/leds/black.png"
            ]
        }
    },

    "SoftwareDownloadExclusionList": [
        "logs"
    ],

    "CardReaders": {
        "RemoveCardWaitSuppression": false
    },


    "DepartmentId": -1,

    "Timings": {
        "DevicePollingInterval": -1,
        "ResposeRequestInterval": 100,
        "CardWaitTime": 60000,
        "MaximumRealTimeAuthHistoryTimeMs": 1000,
        "PrognosticsRetrievalInterval": 120,

        "IntegrationWaitTimes": {
            "Acquirer": 30000,
            "CardAcceptorConnectivityToCardholderPaymentDevicesVerified": 30000,
            "VerifyTransactionSummaryStorageAvailability": 30000,
            "VerifyManagedServiceConnectivity": 30000,
            "CardholderElectronicReceiptDecision": 30000,
            "CardholderSignatureVerification": 200000,
            "AddressVerificationResultVerification": 600000,
            "BypassPersonalIdentificationNumberEntry": 30000,
            "VoiceReferral": 1800000,
            "PaymentResultConfirmation": 30000,
            "PrintingComplete": 240000
        },

        "PromptWaitTimes": {
            "SelectFromListMaxWaitTimeMs": 60000,
            "EnterCurrencyAmountMaxWaitTimeMs": 60000,
            "EnterAmountMaxWaitTimeMs": 60000,
            "EnterTextMaxWaitTimeMs": 60000,
            "StandardCardholderPromptDisplayTimeMs": 300,
            "ContinueIntegratedCircuitCardPaymentMaxWaitTimeMs": 60000,
            "PaymentCompleteWithCardSchemeWaitTimeMs": 1000,
            "PaymentCompleteWaitTimeMs": 1000,
            "PaymentCompleteWithCardSchemeAndAvailableToSpendAmountWaitTimeMs": 1000,
            "PaymentCompleteWithAvailableToSpendAmountWaitTimeMs": 1000
        }
    },

    "HistorySizes": {
        "MaximumStatusReasonHistorySize": 10,
        "MaximumPaymentAuthTimeHistorySize": 10
    }
}