{
  "appContext": "/devicemgt/",
  "isCloud": false,
  "isDeviceOwnerEnabled": false,
  "managerHTTPSURL": "https://%iot.manager.host%:%iot.manager.https.port%",
  "httpsURL": "https://%iot.gateway.host%:%iot.gateway.https.port%",
  "httpURL": "http://%iot.gateway.host%:%iot.gateway.http.port%",
  "wssURL": "https://%iot.analytics.host%:%iot.analytics.https.port%",
  "remoteSessionWSURL": "https://%iot.core.host%:%iot.core.https.port%",
  "portalURL": "https://%iot.analytics.host%:%iot.analytics.https.port%",
  "dashboardServerURL": "%https.ip%",
  "androidAgentDownloadURL": "%https.ip%/devicemgt/public/cdmf.unit.device.type.android.type-view/assets/android-agent.apk",
  "windowsEnrollmentDir": "/windows-web-agent/enrollment",
  "iOSEnrollmentDir": "/ios-web-agent/enrollment",
  "iOSConfigRoot": "%https.ip%/ios-enrollment/",
  "iOSAPIRoot": "%https.ip%/ios/",
  "adminService": "%https.ip%",
  "gatewayEnabled": true,
  "oauthProvider": {
    "appRegistration": {
      "appType": "webapp",
      "clientName": "iot_ui",
      "owner": "admin@carbon.super",
      "dynamicClientAppRegistrationServiceURL": "%https.ip%/dynamic-client-web/register",
      "apiManagerClientAppRegistrationServiceURL": "https://%iot.gateway.host%:%iot.gateway.https.port%/api-application-registration/register/tenants",
      "grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer urn:ietf:params:oauth:grant-type:jwt-bearer",
      "tokenScope": "admin",
      "callbackUrl": "%https.ip%/api/device-mgt/v1.0",
      "samlGrantTypeName": "urn:ietf:params:oauth:grant-type:saml2-bearer"
    },
    "tokenServiceURL": "https://%iot.gateway.host%:%iot.gateway.https.port%/token"
  },
  "adminUser": "admin@carbon.super",
  "adminUserTenantId": "-1234",
  "adminRole": "admin",
  "userValidationConfig": {
    "usernameLength": 30,
    "usernameJSRegEx": "^[\\S]{3,30}$",
    "usernameRegExViolationErrorMsg": "Provided username is invalid.",
    "usernameHelpMsg": "Should be in minimum 3 characters long and do not include any whitespaces.",
    "firstnameJSRegEx": "^.{3,30}$",
    "firstnameRegExViolationErrorMsg": "Provided first name is invalid.",
    "lastnameJSRegEx": "^.{3,30}$",
    "lastnameRegExViolationErrorMsg": "Provided last name is invalid.",
    "emailJSRegEx": "/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/",
    "emailRegExViolationErrorMsg": "Provided email is invalid."
  },
  "groupValidationConfig": {
    "groupNameJSRegEx": "^[\\S]{3,30}$",
    "groupNameRegExViolationErrorMsg": "Group name should be in minimum 3 characters long and should not include any whitespaces.",
    "groupNameHelpMsg": "Should be in minimum 3 characters long and should not include any whitespaces."
  },
  "roleValidationConfig": {
    "roleNameJSRegEx": "^[\\S]{3,30}$",
    "roleNameRegExViolationErrorMsg": "Provided role name is invalid.",
    "roleNameHelpMsg": "should be in minimum 3 characters long and do not include any whitespaces."
  },
  "generalConfig": {
    "host": "%http.ip%",
    "companyName": "WSO2 Carbon Device Manager",
    "browserTitle": "WSO2 Device Manager",
    "copyrightPrefix": "\u00A9 %date-year%, ",
    "copyrightOwner": "WSO2 Inc.",
    "copyrightOwnersSite": "http://www.wso2.org",
    "copyrightSuffix": " All Rights Reserved."
  },
  "scopes": [
    "perm:sign-csr",
    "perm:admin:devices:view",
    "perm:admin:topics:view",
    "perm:roles:add",
    "perm:roles:add-users",
    "perm:roles:update",
    "perm:roles:permissions",
    "perm:roles:details",
    "perm:roles:view",
    "perm:roles:create-combined-role",
    "perm:roles:delete",
    "perm:dashboard:vulnerabilities",
    "perm:dashboard:non-compliant-count",
    "perm:dashboard:non-compliant",
    "perm:dashboard:by-groups",
    "perm:dashboard:device-counts",
    "perm:dashboard:feature-non-compliant",
    "perm:dashboard:count-overview",
    "perm:dashboard:filtered-count",
    "perm:dashboard:details",
    "perm:get-activity",
    "perm:devices:delete",
    "perm:devices:applications",
    "perm:devices:effective-policy",
    "perm:devices:compliance-data",
    "perm:devices:features",
    "perm:devices:operations",
    "perm:devices:search",
    "perm:devices:details",
    "perm:devices:update",
    "perm:devices:view",
    "perm:view-configuration",
    "perm:manage-configuration",
    "perm:policies:remove",
    "perm:policies:priorities",
    "perm:policies:deactivate",
    "perm:policies:get-policy-details",
    "perm:policies:manage",
    "perm:policies:activate",
    "perm:policies:update",
    "perm:policies:changes",
    "perm:policies:get-details",
    "perm:users:add",
    "perm:users:details",
    "perm:users:count",
    "perm:users:delete",
    "perm:users:roles",
    "perm:users:user-details",
    "perm:users:credentials",
    "perm:users:search",
    "perm:users:is-exist",
    "perm:users:update",
    "perm:users:send-invitation",
    "perm:admin-users:view",
    "perm:groups:devices",
    "perm:groups:update",
    "perm:groups:add",
    "perm:groups:device",
    "perm:groups:devices-count",
    "perm:groups:remove",
    "perm:groups:groups",
    "perm:groups:groups-view",
    "perm:groups:share",
    "perm:groups:count",
    "perm:groups:roles",
    "perm:groups:devices-remove",
    "perm:groups:devices-add",
    "perm:groups:assign",
    "perm:device-types:features",
    "perm:device-types:types",
    "perm:applications:install",
    "perm:applications:uninstall",
    "perm:admin-groups:count",
    "perm:admin-groups:view",
    "perm:notifications:mark-checked",
    "perm:notifications:view",
    "perm:admin:certificates:delete",
    "perm:admin:certificates:details",
    "perm:admin:certificates:view",
    "perm:admin:certificates:add",
    "perm:admin:certificates:verify",
    "perm:admin",
    "perm:devicetype:deployment",
    "perm:device-types:events",
    "perm:device-types:events:view",
    "perm:admin:device-type",
    "perm:device:enroll",
    "perm:geo-service:analytics-view",
    "perm:geo-service:alerts-manage"
  ],
  "isOAuthEnabled": true,
  "backendRestEndpoints": {
    "deviceMgt": "/api/device-mgt/v1.0"
  }
}
