forked from mrvautin/expressCart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbaseSchema.json
121 lines (121 loc) · 2.86 KB
/
baseSchema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"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",
"enum": ["paypal", "stripe", "authorizenet"]
},
"databaseConnectionString": {
"format": "uri-template",
"type": "string"
},
"theme": {
"type": "string"
},
"themeViews": {
"type": "string"
},
"env": {
"type": "string"
},
"trackStock": {
"type": "boolean",
"default": false
},
"orderHook": {
"format": "uri-template"
}
},
"required": [
"baseUrl",
"emailHost",
"emailPort",
"emailSecure",
"emailUser",
"emailPassword",
"emailAddress",
"paymentGateway",
"databaseConnectionString"
],
"additionalProperties": false
}