expressCart/config/baseSchema.json

133 lines
3.1 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
},
"flatShipping": {
"type": "number",
"default": 10
},
"freeShippingAmount": {
"type": "number",
"default": 100
},
"productsPerRow": {
"type": "number",
"default": 3
},
"productsPerPage": {
"type": "number",
"default": 6
},
"menuTitle": {
"type": "string",
"default": "Menu"
},
"menuLocation": {
"type": "string",
"default": "side",
"enum": ["top", "side"]
},
"footerHtml": {
"type": "string",
"default": "<h4 class="text-center">Powered by expressCart</h4>"
},
"googleAnalytics": {
"type": "string"
},
"customCss": {
"type": "string"
},
"currencySymbol": {
"type": "string",
"default": "£"
},
"paymentGateway": {
"type": "string",
2018-02-05 07:39:42 +10:00
"enum": ["paypal", "stripe", "authorizenet"]
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"
2018-01-11 06:20:52 +10:00
}
},
"required": [
"baseUrl",
"emailHost",
"emailPort",
"emailSecure",
"emailUser",
"emailPassword",
"emailAddress",
"paymentGateway",
"databaseConnectionString"
],
"additionalProperties": false
}