-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.js
38 lines (37 loc) · 1.04 KB
/
constants.js
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
module.exports = Object.freeze({
reservationQueryAPI: 'http://api.myreservationQuery.com/api/v1/',
reservationNotesAPI: 'http://api.mynote.com/api/v1/',
marketingAPI: 'http://api.mymarketing.com/api/v1/',
BadReqSchema:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"message": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"key",
"message"
]
}
}
},
"required": [
"message",
"data"
]
}
});