-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.js
executable file
·65 lines (57 loc) · 1010 Bytes
/
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
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
'use strict';
/*
* Copyright (c) 2018 Topcoder, Inc. All rights reserved.
*/
/**
* Application constants
*/
// The accepted program codes
const acceptedProgramCodes = [
'029:001'
];
// The accepted keywords
const acceptedKeywords = [
'burial data'
];
// The accepted file format
const acceptedFormat = 'csv';
// Entry names that should be ignored
const ignoredNames = [
// Source of cemeteries data
'VA Cemeteries - Address, Location, Contact Information, Burial Space'
];
// CSV headers
const csvHeaders = [
'd_first_name',
'd_mid_name',
'd_last_name',
'd_suffix',
'd_birth_date',
'd_death_date',
'section_id',
'row_num',
'site_num',
'cem_name',
'cem_addr_one',
'cem_addr_two',
'city',
'state',
'zip',
'cem_url',
'cem_phone',
'relationship',
'v_first_name',
'v_mid_name',
'v_last_name',
'v_suffix',
'branch',
'rank',
'war'
];
module.exports = {
acceptedProgramCodes,
acceptedKeywords,
acceptedFormat,
ignoredNames,
csvHeaders
};