expressCart/config/settingsSchema.json

166 lines
4.0 KiB
JSON
Raw Normal View History

2018-01-11 06:20:52 +10:00
{
"properties": {
"cartTitle": {
"type": "string",
"default": "expressCart"
},
"cartDescription": {
"type": "string",
"default": "This is my expressCart"
},
"cartLogo": {
"type": "string"
},
"baseUrl": {
"type": "string",
"format": "uri-template",
"default": "http://localhost:1111"
},
"emailHost": {
"format": "uri-template",
"type": "string"
},
"emailPort": {
"type": "number",
"default": 587
},
"emailSecure": {
"type": "boolean",
"default": false
},
"emailUser": {
"type": "string"
},
"emailPassword": {
"type": "string"
},
"emailAddress": {
"type": "string",
"format": "email"
},
"menuEnabled": {
"type": "boolean",
"default": true
},
"productsPerRow": {
"type": "number",
"default": 3
},
"productsPerPage": {
"type": "number",
"default": 6
},
"menuTitle": {
"type": "string",
"default": "Menu"
},
"footerHtml": {
"type": "string",
"default": "<h4 class="text-center">Powered by expressCart</h4>"
},
"googleAnalytics": {
"type": "string"
},
2020-01-07 20:51:03 +10:00
"injectJs": {
"type": "string"
},
2018-01-11 06:20:52 +10:00
"customCss": {
"type": "string"
},
"currencySymbol": {
"type": "string",
"default": "£"
},
2020-01-23 22:03:21 +10:00
"currencyISO": {
"type": "string",
"enum": ["USD", "EUR", "GBP"],
2020-01-23 22:03:21 +10:00
"default": "USD"
},
2018-01-11 06:20:52 +10:00
"paymentGateway": {
"type": "string",
2020-03-21 13:33:20 +10:00
"enum": ["paypal", "blockonomics", "stripe", "authorizenet", "adyen", "payway", "instore"]
2018-01-11 06:20:52 +10:00
},
"databaseConnectionString": {
"type": "string"
},
"theme": {
"type": "string"
2019-02-09 13:13:02 +10:00
},
"themeViews": {
"type": "string"
},
"env": {
"type": "string"
2019-02-09 14:07:02 +10:00
},
"trackStock": {
"type": "boolean",
"default": false
},
"orderHook": {
"format": "uri-template"
},
"secretCookie": {
"type": "string"
},
"secretSession": {
"type": "string"
},
"availableLanguages": {
"type": "array"
},
"defaultLocale": {
"type": "string"
2019-11-06 18:43:16 +10:00
},
"enableLanguages": {
"type": "boolean",
"default": true
2020-01-03 18:21:24 +10:00
},
"maxQuantity": {
"type": "number"
},
2020-01-23 22:03:21 +10:00
"twitterHandle": {
"type": "string"
},
"facebookAppId": {
"type": "string"
},
2020-01-03 18:21:24 +10:00
"modules": {
"type": "object",
"properties": {
"enabled": {
"type": "object",
"properties": {
"shipping": {
"type": "string"
}
},
"required": ["shipping"]
}
},
"required": ["enabled"],
"default": {
"enabled": {
"shipping": "shipping-basic"
}
}
2020-03-22 14:44:45 +10:00
},
"showRelatedProducts": {
"type": "boolean",
"default": true
2018-01-11 06:20:52 +10:00
}
},
"required": [
"baseUrl",
"emailHost",
"emailPort",
"emailSecure",
"emailUser",
"emailPassword",
"emailAddress",
"paymentGateway",
2020-01-03 18:21:24 +10:00
"databaseConnectionString",
"modules"
2018-01-11 06:20:52 +10:00
],
"additionalProperties": false
}