@cityssm/mpac-tools 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/codes/index.d.ts +5 -0
- package/codes/index.js +5 -0
- package/codes/index.ts +5 -0
- package/codes/yetf.bb.codes.d.ts +340 -0
- package/codes/yetf.bb.codes.js +341 -0
- package/codes/yetf.bb.codes.ts +356 -0
- package/codes/yetf.cc.codes.d.ts +297 -0
- package/codes/yetf.cc.codes.js +329 -0
- package/codes/yetf.cc.codes.ts +358 -0
- package/codes/yetf.dd.codes.d.ts +16 -0
- package/codes/yetf.dd.codes.js +42 -0
- package/codes/yetf.dd.codes.ts +45 -0
- package/codes/yetf.gg.codes.d.ts +48 -0
- package/codes/yetf.gg.codes.js +48 -0
- package/codes/yetf.gg.codes.ts +52 -0
- package/codes/yetf.pa.codes.d.ts +82 -0
- package/codes/yetf.pa.codes.js +131 -0
- package/codes/yetf.pa.codes.ts +137 -0
- package/index.d.ts +2 -1
- package/index.js +2 -1
- package/index.ts +3 -1
- package/package.json +11 -4
- package/rollNumbers/lookups.js +29 -0
- package/rollNumbers/utilities.d.ts +10 -0
- package/rollNumbers/utilities.js +11 -0
- package/rollNumbers/utilities.ts +0 -1
- package/CODE_OF_CONDUCT.md +0 -140
- package/CONTRIBUTING.md +0 -33
- package/SECURITY.md +0 -15
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const textureCodeNames: {
|
|
2
|
+
readonly '0': "Non-farm land";
|
|
3
|
+
readonly '1': "Sand";
|
|
4
|
+
readonly '2': "Sandy loam";
|
|
5
|
+
readonly '3': "Silt loam, loam";
|
|
6
|
+
readonly '4': "Clay loam";
|
|
7
|
+
readonly '5': "Clay";
|
|
8
|
+
readonly '6': "Swamp";
|
|
9
|
+
readonly '7': "Organic";
|
|
10
|
+
readonly '8': "Water";
|
|
11
|
+
readonly '9': "Rock";
|
|
12
|
+
};
|
|
13
|
+
export declare const soilClassPointsRemaining: Readonly<Record<'1' | '2' | '3' | '4' | '5' | '6' | '8', {
|
|
14
|
+
max: number;
|
|
15
|
+
min: number;
|
|
16
|
+
}>>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export const textureCodeNames = {
|
|
2
|
+
'0': 'Non-farm land',
|
|
3
|
+
'1': 'Sand',
|
|
4
|
+
'2': 'Sandy loam',
|
|
5
|
+
'3': 'Silt loam, loam',
|
|
6
|
+
'4': 'Clay loam',
|
|
7
|
+
'5': 'Clay',
|
|
8
|
+
'6': 'Swamp',
|
|
9
|
+
'7': 'Organic',
|
|
10
|
+
'8': 'Water',
|
|
11
|
+
'9': 'Rock'
|
|
12
|
+
};
|
|
13
|
+
export const soilClassPointsRemaining = {
|
|
14
|
+
'1': {
|
|
15
|
+
max: 95,
|
|
16
|
+
min: 85
|
|
17
|
+
},
|
|
18
|
+
'2': {
|
|
19
|
+
max: 80,
|
|
20
|
+
min: 70
|
|
21
|
+
},
|
|
22
|
+
'3': {
|
|
23
|
+
max: 65,
|
|
24
|
+
min: 55
|
|
25
|
+
},
|
|
26
|
+
'4': {
|
|
27
|
+
max: 50,
|
|
28
|
+
min: 40
|
|
29
|
+
},
|
|
30
|
+
'5': {
|
|
31
|
+
max: 35,
|
|
32
|
+
min: 25
|
|
33
|
+
},
|
|
34
|
+
'6': {
|
|
35
|
+
max: 20,
|
|
36
|
+
min: 5
|
|
37
|
+
},
|
|
38
|
+
'8': {
|
|
39
|
+
max: 0,
|
|
40
|
+
min: 0
|
|
41
|
+
}
|
|
42
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export const textureCodeNames = {
|
|
2
|
+
'0': 'Non-farm land',
|
|
3
|
+
'1': 'Sand',
|
|
4
|
+
'2': 'Sandy loam',
|
|
5
|
+
'3': 'Silt loam, loam',
|
|
6
|
+
'4': 'Clay loam',
|
|
7
|
+
'5': 'Clay',
|
|
8
|
+
'6': 'Swamp',
|
|
9
|
+
'7': 'Organic',
|
|
10
|
+
'8': 'Water',
|
|
11
|
+
'9': 'Rock'
|
|
12
|
+
} as const
|
|
13
|
+
|
|
14
|
+
export const soilClassPointsRemaining: Readonly<
|
|
15
|
+
Record<'1' | '2' | '3' | '4' | '5' | '6' | '8', { max: number; min: number }>
|
|
16
|
+
> = {
|
|
17
|
+
'1': {
|
|
18
|
+
max: 95,
|
|
19
|
+
min: 85
|
|
20
|
+
},
|
|
21
|
+
'2': {
|
|
22
|
+
max: 80,
|
|
23
|
+
min: 70
|
|
24
|
+
},
|
|
25
|
+
'3': {
|
|
26
|
+
max: 65,
|
|
27
|
+
min: 55
|
|
28
|
+
},
|
|
29
|
+
'4': {
|
|
30
|
+
max: 50,
|
|
31
|
+
min: 40
|
|
32
|
+
},
|
|
33
|
+
'5': {
|
|
34
|
+
max: 35,
|
|
35
|
+
min: 25
|
|
36
|
+
},
|
|
37
|
+
'6': {
|
|
38
|
+
max: 20,
|
|
39
|
+
min: 5
|
|
40
|
+
},
|
|
41
|
+
'8': {
|
|
42
|
+
max: 0,
|
|
43
|
+
min: 0
|
|
44
|
+
}
|
|
45
|
+
} as const
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare const identifierNames: {
|
|
2
|
+
readonly C: "Conservation Authority";
|
|
3
|
+
readonly E: "Education, religious or other exempt agencies";
|
|
4
|
+
readonly F: "Female";
|
|
5
|
+
readonly G: "Federal Government including agencies";
|
|
6
|
+
readonly H: "Ontario Hydro";
|
|
7
|
+
readonly I: "Individual";
|
|
8
|
+
readonly L: "Local Government and Public Utilities";
|
|
9
|
+
readonly M: "Male";
|
|
10
|
+
readonly P: "Provincial Government including agencies";
|
|
11
|
+
readonly X: "Corporations, taxable agencies and other non-persons";
|
|
12
|
+
};
|
|
13
|
+
export declare const occupancyStatusNames: {
|
|
14
|
+
readonly B: "Other residents such as boarders, lodgers, roomers, or children";
|
|
15
|
+
readonly O: "Owner or Joint Owner";
|
|
16
|
+
readonly S: "Spouse of owner or spouse of tenant";
|
|
17
|
+
readonly T: "Tenant or Joint Tenant";
|
|
18
|
+
readonly V: "Vacant unit";
|
|
19
|
+
};
|
|
20
|
+
export declare const schoolSupportNames: {
|
|
21
|
+
readonly A: "French-Public";
|
|
22
|
+
readonly B: "Split";
|
|
23
|
+
readonly C: "French-Separate";
|
|
24
|
+
readonly D: "Protestant-Separate";
|
|
25
|
+
readonly N: "No Support";
|
|
26
|
+
readonly P: "English-Public";
|
|
27
|
+
readonly S: "English-Separate";
|
|
28
|
+
};
|
|
29
|
+
export declare const residencyCodeDescriptions: {
|
|
30
|
+
readonly A: "Individual lives in another apartment or house on the same property";
|
|
31
|
+
readonly M: "Individual lives elsewhere in the same municipality";
|
|
32
|
+
readonly N: "Individual lives in another municipality";
|
|
33
|
+
readonly U: "Individual lives in this unit";
|
|
34
|
+
};
|
|
35
|
+
export declare const monthOfBirthNames: {
|
|
36
|
+
readonly '01': "January";
|
|
37
|
+
readonly '02': "February";
|
|
38
|
+
readonly '03': "March";
|
|
39
|
+
readonly '04': "April";
|
|
40
|
+
readonly '05': "May";
|
|
41
|
+
readonly '06': "June";
|
|
42
|
+
readonly '07': "July";
|
|
43
|
+
readonly '08': "August";
|
|
44
|
+
readonly '09': "September";
|
|
45
|
+
readonly '10': "October";
|
|
46
|
+
readonly '11': "November";
|
|
47
|
+
readonly '12': "December";
|
|
48
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export const identifierNames = {
|
|
2
|
+
C: 'Conservation Authority',
|
|
3
|
+
E: 'Education, religious or other exempt agencies',
|
|
4
|
+
F: 'Female',
|
|
5
|
+
G: 'Federal Government including agencies',
|
|
6
|
+
H: 'Ontario Hydro',
|
|
7
|
+
I: 'Individual',
|
|
8
|
+
L: 'Local Government and Public Utilities',
|
|
9
|
+
M: 'Male',
|
|
10
|
+
P: 'Provincial Government including agencies',
|
|
11
|
+
X: 'Corporations, taxable agencies and other non-persons'
|
|
12
|
+
};
|
|
13
|
+
export const occupancyStatusNames = {
|
|
14
|
+
B: 'Other residents such as boarders, lodgers, roomers, or children',
|
|
15
|
+
O: 'Owner or Joint Owner',
|
|
16
|
+
S: 'Spouse of owner or spouse of tenant',
|
|
17
|
+
T: 'Tenant or Joint Tenant',
|
|
18
|
+
V: 'Vacant unit'
|
|
19
|
+
};
|
|
20
|
+
export const schoolSupportNames = {
|
|
21
|
+
A: 'French-Public',
|
|
22
|
+
B: 'Split',
|
|
23
|
+
C: 'French-Separate',
|
|
24
|
+
D: 'Protestant-Separate',
|
|
25
|
+
N: 'No Support',
|
|
26
|
+
P: 'English-Public',
|
|
27
|
+
S: 'English-Separate'
|
|
28
|
+
};
|
|
29
|
+
export const residencyCodeDescriptions = {
|
|
30
|
+
A: 'Individual lives in another apartment or house on the same property',
|
|
31
|
+
M: 'Individual lives elsewhere in the same municipality',
|
|
32
|
+
N: 'Individual lives in another municipality',
|
|
33
|
+
U: 'Individual lives in this unit'
|
|
34
|
+
};
|
|
35
|
+
export const monthOfBirthNames = {
|
|
36
|
+
'01': 'January',
|
|
37
|
+
'02': 'February',
|
|
38
|
+
'03': 'March',
|
|
39
|
+
'04': 'April',
|
|
40
|
+
'05': 'May',
|
|
41
|
+
'06': 'June',
|
|
42
|
+
'07': 'July',
|
|
43
|
+
'08': 'August',
|
|
44
|
+
'09': 'September',
|
|
45
|
+
'10': 'October',
|
|
46
|
+
'11': 'November',
|
|
47
|
+
'12': 'December'
|
|
48
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export const identifierNames = {
|
|
2
|
+
C: 'Conservation Authority',
|
|
3
|
+
E: 'Education, religious or other exempt agencies',
|
|
4
|
+
F: 'Female',
|
|
5
|
+
G: 'Federal Government including agencies',
|
|
6
|
+
H: 'Ontario Hydro',
|
|
7
|
+
I: 'Individual',
|
|
8
|
+
L: 'Local Government and Public Utilities',
|
|
9
|
+
M: 'Male',
|
|
10
|
+
P: 'Provincial Government including agencies',
|
|
11
|
+
X: 'Corporations, taxable agencies and other non-persons'
|
|
12
|
+
} as const
|
|
13
|
+
|
|
14
|
+
export const occupancyStatusNames = {
|
|
15
|
+
B: 'Other residents such as boarders, lodgers, roomers, or children',
|
|
16
|
+
O: 'Owner or Joint Owner',
|
|
17
|
+
S: 'Spouse of owner or spouse of tenant',
|
|
18
|
+
T: 'Tenant or Joint Tenant',
|
|
19
|
+
V: 'Vacant unit'
|
|
20
|
+
} as const
|
|
21
|
+
|
|
22
|
+
export const schoolSupportNames = {
|
|
23
|
+
A: 'French-Public',
|
|
24
|
+
B: 'Split',
|
|
25
|
+
C: 'French-Separate',
|
|
26
|
+
D: 'Protestant-Separate',
|
|
27
|
+
N: 'No Support',
|
|
28
|
+
P: 'English-Public',
|
|
29
|
+
S: 'English-Separate'
|
|
30
|
+
} as const
|
|
31
|
+
|
|
32
|
+
export const residencyCodeDescriptions = {
|
|
33
|
+
A: 'Individual lives in another apartment or house on the same property',
|
|
34
|
+
M: 'Individual lives elsewhere in the same municipality',
|
|
35
|
+
N: 'Individual lives in another municipality',
|
|
36
|
+
U: 'Individual lives in this unit'
|
|
37
|
+
} as const
|
|
38
|
+
|
|
39
|
+
export const monthOfBirthNames = {
|
|
40
|
+
'01': 'January',
|
|
41
|
+
'02': 'February',
|
|
42
|
+
'03': 'March',
|
|
43
|
+
'04': 'April',
|
|
44
|
+
'05': 'May',
|
|
45
|
+
'06': 'June',
|
|
46
|
+
'07': 'July',
|
|
47
|
+
'08': 'August',
|
|
48
|
+
'09': 'September',
|
|
49
|
+
'10': 'October',
|
|
50
|
+
'11': 'November',
|
|
51
|
+
'12': 'December'
|
|
52
|
+
} as const
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export declare const unitClassDescriptions: {
|
|
2
|
+
readonly CA: "Property vested in a Conservation Authority";
|
|
3
|
+
readonly CL: "Conservation Land";
|
|
4
|
+
readonly COM: "Commercial property used for business and subject to business assessment";
|
|
5
|
+
readonly ECL: "An area of land in a commercial property that is excess to the operation of the business";
|
|
6
|
+
readonly EDN: "Property occupied by an educational body";
|
|
7
|
+
readonly EIL: "An area of land in a industrial property that is excess to the operation of the business";
|
|
8
|
+
readonly FG: "Property other than vacant land and residential units occupied by the Federal Government Agencies, or owned and occupied by a foreign government as an embassy. This code is used when the unit is occupied by a tenant of the Federal Government";
|
|
9
|
+
readonly FL: "Farmlands with or without farm outbuildings but doesn't include farmlands on which a farm residence exists";
|
|
10
|
+
readonly FRU: "Farmlands on which a farm residence exists";
|
|
11
|
+
readonly IND: "Industrial property used for business and subject to business assessment";
|
|
12
|
+
readonly LF: "Landfill";
|
|
13
|
+
readonly LG: "Property other than vacant land and occupied by municipal, regional or county levels of government. This code does not apply to public utilities, nor when the land is occupied by a tenant of the Local Government";
|
|
14
|
+
readonly MF: "Properties or portions of properties for which the owner(s) have entered into an agreement with the Ministry of Natural Resources to have the land designated as Managed Forest";
|
|
15
|
+
readonly ML: "Mining lands";
|
|
16
|
+
readonly OE: "Certain specified charities and cemeteries that are not associated with a religious organization";
|
|
17
|
+
readonly OH: "Property other than vacant land occupied by Ontario Hydro, but not when occupied by a tenant of Ontario Hydro";
|
|
18
|
+
readonly OT: "Taxable properties for which a specific unit class code has not been developed. This code will include lands with improvements (boat houses, garages, sheds, etc.) that actually add value to the land; however, their use doesn't dictate a specific unit class code";
|
|
19
|
+
readonly PG: "Property other than vacant land and residential units occupied by the Provincial Government, but not when occupied by a tenant of the Provincial Government";
|
|
20
|
+
readonly PGA: "Property other than vacant land and residential units occupied by an agency of the Provincial Government, but not when occupied by a tenant of the Provincial Government Agency";
|
|
21
|
+
readonly PU: "Property occupied by a public utility";
|
|
22
|
+
readonly RDU: "Seasonal dwelling units";
|
|
23
|
+
readonly REL: "Property used for religious purposes and cemeteries that are associated with a church";
|
|
24
|
+
readonly RU: "Residential units";
|
|
25
|
+
readonly RWY: "Railway property";
|
|
26
|
+
readonly TD: "Property used for transportation or distribution";
|
|
27
|
+
readonly THE: "Large theatres";
|
|
28
|
+
readonly TPL: "Oil and gas transmissions pipelines";
|
|
29
|
+
readonly UTC: "Utility transmission and distribution corridors";
|
|
30
|
+
readonly VL: "Vacant lands other than farmland, mining land, conservation land, or those of a Conservation Authority. This includes land owned by the Federal Government, Provincial Governments, etc.";
|
|
31
|
+
};
|
|
32
|
+
export declare const realtyTaxClassNames: {
|
|
33
|
+
readonly A: "Large Theatre";
|
|
34
|
+
readonly C: "Commercial";
|
|
35
|
+
readonly D: "Office Building";
|
|
36
|
+
readonly E: "Exempt";
|
|
37
|
+
readonly F: "Farm";
|
|
38
|
+
readonly G: "Parking Lot";
|
|
39
|
+
readonly H: "Landfill";
|
|
40
|
+
readonly I: "Industrial";
|
|
41
|
+
readonly J: "Industrial (New Construction)";
|
|
42
|
+
readonly K: "Large Industrial (New Construction)";
|
|
43
|
+
readonly L: "Large Industrial";
|
|
44
|
+
readonly M: "Multi-Residential";
|
|
45
|
+
readonly N: "New Multi-Residential";
|
|
46
|
+
readonly O: "Resort Condominium";
|
|
47
|
+
readonly P: "Pipeline";
|
|
48
|
+
readonly Q: "Professional Sports Facility";
|
|
49
|
+
readonly R: "Residential";
|
|
50
|
+
readonly S: "Shopping Centre";
|
|
51
|
+
readonly T: "Managed Forests";
|
|
52
|
+
readonly U: "Utility Transmission and Distribution Corridors";
|
|
53
|
+
readonly W: "Railway Right-of-Way";
|
|
54
|
+
readonly X: "Commercial (New Construction)";
|
|
55
|
+
readonly Y: "Office Building (New Construction)";
|
|
56
|
+
readonly Z: "Shopping Centre (New Construction)";
|
|
57
|
+
};
|
|
58
|
+
export declare const realtyTaxQualifiers: Readonly<Record<string, {
|
|
59
|
+
class: 'Payment in Lieu' | 'Taxable';
|
|
60
|
+
name: string;
|
|
61
|
+
}>>;
|
|
62
|
+
export declare const unitSupportNames: {
|
|
63
|
+
readonly A: "French-Public";
|
|
64
|
+
readonly B: "Split";
|
|
65
|
+
readonly C: "French-Separate";
|
|
66
|
+
readonly D: "Protestant-Separate";
|
|
67
|
+
readonly N: "No Support";
|
|
68
|
+
readonly P: "English-Public";
|
|
69
|
+
readonly S: "English-Separate";
|
|
70
|
+
};
|
|
71
|
+
export declare const propertyTypeNames: {
|
|
72
|
+
readonly '0': "Rights-of-Way";
|
|
73
|
+
readonly '1': "Residential";
|
|
74
|
+
readonly '2': "Multi-Residential";
|
|
75
|
+
readonly '3': "Commercial";
|
|
76
|
+
readonly '4': "Industrial";
|
|
77
|
+
readonly '5': "Pipeline";
|
|
78
|
+
readonly '6': "Farm";
|
|
79
|
+
readonly '7': "Recreational";
|
|
80
|
+
readonly '8': "Residential Condos";
|
|
81
|
+
readonly '9': "Other/Unique Properties";
|
|
82
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
export const unitClassDescriptions = {
|
|
2
|
+
CA: 'Property vested in a Conservation Authority',
|
|
3
|
+
CL: 'Conservation Land',
|
|
4
|
+
COM: 'Commercial property used for business and subject to business assessment',
|
|
5
|
+
ECL: 'An area of land in a commercial property that is excess to the operation of the business',
|
|
6
|
+
EDN: 'Property occupied by an educational body',
|
|
7
|
+
EIL: 'An area of land in a industrial property that is excess to the operation of the business',
|
|
8
|
+
FG: 'Property other than vacant land and residential units occupied by the Federal Government Agencies, or owned and occupied by a foreign government as an embassy. This code is used when the unit is occupied by a tenant of the Federal Government',
|
|
9
|
+
FL: "Farmlands with or without farm outbuildings but doesn't include farmlands on which a farm residence exists",
|
|
10
|
+
FRU: 'Farmlands on which a farm residence exists',
|
|
11
|
+
IND: 'Industrial property used for business and subject to business assessment',
|
|
12
|
+
LF: 'Landfill',
|
|
13
|
+
LG: 'Property other than vacant land and occupied by municipal, regional or county levels of government. This code does not apply to public utilities, nor when the land is occupied by a tenant of the Local Government',
|
|
14
|
+
MF: 'Properties or portions of properties for which the owner(s) have entered into an agreement with the Ministry of Natural Resources to have the land designated as Managed Forest',
|
|
15
|
+
ML: 'Mining lands',
|
|
16
|
+
OE: 'Certain specified charities and cemeteries that are not associated with a religious organization',
|
|
17
|
+
OH: 'Property other than vacant land occupied by Ontario Hydro, but not when occupied by a tenant of Ontario Hydro',
|
|
18
|
+
OT: "Taxable properties for which a specific unit class code has not been developed. This code will include lands with improvements (boat houses, garages, sheds, etc.) that actually add value to the land; however, their use doesn't dictate a specific unit class code",
|
|
19
|
+
PG: 'Property other than vacant land and residential units occupied by the Provincial Government, but not when occupied by a tenant of the Provincial Government',
|
|
20
|
+
PGA: 'Property other than vacant land and residential units occupied by an agency of the Provincial Government, but not when occupied by a tenant of the Provincial Government Agency',
|
|
21
|
+
PU: 'Property occupied by a public utility',
|
|
22
|
+
RDU: 'Seasonal dwelling units',
|
|
23
|
+
REL: 'Property used for religious purposes and cemeteries that are associated with a church',
|
|
24
|
+
RU: 'Residential units',
|
|
25
|
+
RWY: 'Railway property',
|
|
26
|
+
TD: 'Property used for transportation or distribution',
|
|
27
|
+
THE: 'Large theatres',
|
|
28
|
+
TPL: 'Oil and gas transmissions pipelines',
|
|
29
|
+
UTC: 'Utility transmission and distribution corridors',
|
|
30
|
+
VL: 'Vacant lands other than farmland, mining land, conservation land, or those of a Conservation Authority. This includes land owned by the Federal Government, Provincial Governments, etc.'
|
|
31
|
+
};
|
|
32
|
+
export const realtyTaxClassNames = {
|
|
33
|
+
A: 'Large Theatre',
|
|
34
|
+
C: 'Commercial',
|
|
35
|
+
D: 'Office Building',
|
|
36
|
+
E: 'Exempt',
|
|
37
|
+
F: 'Farm',
|
|
38
|
+
G: 'Parking Lot',
|
|
39
|
+
H: 'Landfill',
|
|
40
|
+
I: 'Industrial',
|
|
41
|
+
J: 'Industrial (New Construction)',
|
|
42
|
+
K: 'Large Industrial (New Construction)',
|
|
43
|
+
L: 'Large Industrial',
|
|
44
|
+
M: 'Multi-Residential',
|
|
45
|
+
N: 'New Multi-Residential',
|
|
46
|
+
O: 'Resort Condominium',
|
|
47
|
+
P: 'Pipeline',
|
|
48
|
+
Q: 'Professional Sports Facility',
|
|
49
|
+
R: 'Residential',
|
|
50
|
+
S: 'Shopping Centre',
|
|
51
|
+
T: 'Managed Forests',
|
|
52
|
+
U: 'Utility Transmission and Distribution Corridors',
|
|
53
|
+
W: 'Railway Right-of-Way',
|
|
54
|
+
X: 'Commercial (New Construction)',
|
|
55
|
+
Y: 'Office Building (New Construction)',
|
|
56
|
+
Z: 'Shopping Centre (New Construction)'
|
|
57
|
+
};
|
|
58
|
+
export const realtyTaxQualifiers = {
|
|
59
|
+
1: { class: 'Taxable', name: 'Farmland Awaiting Development Phase I' },
|
|
60
|
+
2: {
|
|
61
|
+
class: 'Payment in Lieu',
|
|
62
|
+
name: 'Full, Farmland Awaiting Development Phase I'
|
|
63
|
+
},
|
|
64
|
+
3: {
|
|
65
|
+
class: 'Payment in Lieu',
|
|
66
|
+
name: 'General, Farmland Awaiting Development Phase I'
|
|
67
|
+
},
|
|
68
|
+
4: { class: 'Taxable', name: 'Farmland Awaiting Development Phase II' },
|
|
69
|
+
5: {
|
|
70
|
+
class: 'Payment in Lieu',
|
|
71
|
+
name: 'Full, Farmland Awaiting Development Phase II'
|
|
72
|
+
},
|
|
73
|
+
6: {
|
|
74
|
+
class: 'Payment in Lieu',
|
|
75
|
+
name: 'General, Farmland Awaiting Development Phase II'
|
|
76
|
+
},
|
|
77
|
+
A: { class: 'Taxable', name: 'Excess/Vacant Land, Education Only' },
|
|
78
|
+
B: { class: 'Taxable', name: 'Lower-tier Only' },
|
|
79
|
+
C: { class: 'Taxable', name: 'Lower-tier and Education Only' },
|
|
80
|
+
D: { class: 'Taxable', name: 'Education Only' },
|
|
81
|
+
F: { class: 'Payment in Lieu', name: 'Full' },
|
|
82
|
+
G: { class: 'Payment in Lieu', name: 'General' },
|
|
83
|
+
H: { class: 'Taxable', name: 'Full, Shared Payment in Lieu' },
|
|
84
|
+
I: { class: 'Taxable', name: 'Water Intake System, Shared Payment in Lieu' },
|
|
85
|
+
J: { class: 'Taxable', name: 'Vacant Land, Shared Payment in Lieu' },
|
|
86
|
+
K: { class: 'Taxable', name: 'Excess Land, Shared Payment in Lieu' },
|
|
87
|
+
L: { class: 'Taxable', name: 'Upper-tier and Education Only' },
|
|
88
|
+
M: { class: 'Taxable', name: 'General' },
|
|
89
|
+
N: {
|
|
90
|
+
class: 'Taxable',
|
|
91
|
+
name: 'Non-Generating Station, Shared Payment in Lieu'
|
|
92
|
+
},
|
|
93
|
+
P: { class: 'Payment in Lieu', name: 'Full, Taxable Tenant of Province' },
|
|
94
|
+
Q: {
|
|
95
|
+
class: 'Payment in Lieu',
|
|
96
|
+
name: 'Full, Excess Land, Taxable Tenant of Province'
|
|
97
|
+
},
|
|
98
|
+
R: {
|
|
99
|
+
class: 'Payment in Lieu',
|
|
100
|
+
name: 'Full, Vacant Land, Taxable Tenant of Province'
|
|
101
|
+
},
|
|
102
|
+
S: { class: 'Taxable', name: 'Generating Station, Shared Payment in Lieu' },
|
|
103
|
+
T: { class: 'Taxable', name: 'Full' },
|
|
104
|
+
U: { class: 'Taxable', name: 'Excess Land' },
|
|
105
|
+
V: { class: 'Payment in Lieu', name: 'Full, Excess Land' },
|
|
106
|
+
W: { class: 'Payment in Lieu', name: 'General, Excess Land' },
|
|
107
|
+
X: { class: 'Taxable', name: 'Vacant Land' },
|
|
108
|
+
Y: { class: 'Payment in Lieu', name: 'Full, Vacant Land' },
|
|
109
|
+
Z: { class: 'Payment in Lieu', name: 'General, Vacant Land' }
|
|
110
|
+
};
|
|
111
|
+
export const unitSupportNames = {
|
|
112
|
+
A: 'French-Public',
|
|
113
|
+
B: 'Split',
|
|
114
|
+
C: 'French-Separate',
|
|
115
|
+
D: 'Protestant-Separate',
|
|
116
|
+
N: 'No Support',
|
|
117
|
+
P: 'English-Public',
|
|
118
|
+
S: 'English-Separate'
|
|
119
|
+
};
|
|
120
|
+
export const propertyTypeNames = {
|
|
121
|
+
'0': 'Rights-of-Way',
|
|
122
|
+
'1': 'Residential',
|
|
123
|
+
'2': 'Multi-Residential',
|
|
124
|
+
'3': 'Commercial',
|
|
125
|
+
'4': 'Industrial',
|
|
126
|
+
'5': 'Pipeline',
|
|
127
|
+
'6': 'Farm',
|
|
128
|
+
'7': 'Recreational',
|
|
129
|
+
'8': 'Residential Condos',
|
|
130
|
+
'9': 'Other/Unique Properties'
|
|
131
|
+
};
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
export const unitClassDescriptions = {
|
|
2
|
+
CA: 'Property vested in a Conservation Authority',
|
|
3
|
+
CL: 'Conservation Land',
|
|
4
|
+
COM: 'Commercial property used for business and subject to business assessment',
|
|
5
|
+
ECL: 'An area of land in a commercial property that is excess to the operation of the business',
|
|
6
|
+
EDN: 'Property occupied by an educational body',
|
|
7
|
+
EIL: 'An area of land in a industrial property that is excess to the operation of the business',
|
|
8
|
+
FG: 'Property other than vacant land and residential units occupied by the Federal Government Agencies, or owned and occupied by a foreign government as an embassy. This code is used when the unit is occupied by a tenant of the Federal Government',
|
|
9
|
+
FL: "Farmlands with or without farm outbuildings but doesn't include farmlands on which a farm residence exists",
|
|
10
|
+
FRU: 'Farmlands on which a farm residence exists',
|
|
11
|
+
IND: 'Industrial property used for business and subject to business assessment',
|
|
12
|
+
LF: 'Landfill',
|
|
13
|
+
LG: 'Property other than vacant land and occupied by municipal, regional or county levels of government. This code does not apply to public utilities, nor when the land is occupied by a tenant of the Local Government',
|
|
14
|
+
MF: 'Properties or portions of properties for which the owner(s) have entered into an agreement with the Ministry of Natural Resources to have the land designated as Managed Forest',
|
|
15
|
+
ML: 'Mining lands',
|
|
16
|
+
OE: 'Certain specified charities and cemeteries that are not associated with a religious organization',
|
|
17
|
+
OH: 'Property other than vacant land occupied by Ontario Hydro, but not when occupied by a tenant of Ontario Hydro',
|
|
18
|
+
OT: "Taxable properties for which a specific unit class code has not been developed. This code will include lands with improvements (boat houses, garages, sheds, etc.) that actually add value to the land; however, their use doesn't dictate a specific unit class code",
|
|
19
|
+
PG: 'Property other than vacant land and residential units occupied by the Provincial Government, but not when occupied by a tenant of the Provincial Government',
|
|
20
|
+
PGA: 'Property other than vacant land and residential units occupied by an agency of the Provincial Government, but not when occupied by a tenant of the Provincial Government Agency',
|
|
21
|
+
PU: 'Property occupied by a public utility',
|
|
22
|
+
RDU: 'Seasonal dwelling units',
|
|
23
|
+
REL: 'Property used for religious purposes and cemeteries that are associated with a church',
|
|
24
|
+
RU: 'Residential units',
|
|
25
|
+
RWY: 'Railway property',
|
|
26
|
+
TD: 'Property used for transportation or distribution',
|
|
27
|
+
THE: 'Large theatres',
|
|
28
|
+
TPL: 'Oil and gas transmissions pipelines',
|
|
29
|
+
UTC: 'Utility transmission and distribution corridors',
|
|
30
|
+
VL: 'Vacant lands other than farmland, mining land, conservation land, or those of a Conservation Authority. This includes land owned by the Federal Government, Provincial Governments, etc.'
|
|
31
|
+
} as const
|
|
32
|
+
|
|
33
|
+
export const realtyTaxClassNames = {
|
|
34
|
+
A: 'Large Theatre',
|
|
35
|
+
C: 'Commercial',
|
|
36
|
+
D: 'Office Building',
|
|
37
|
+
E: 'Exempt',
|
|
38
|
+
F: 'Farm',
|
|
39
|
+
G: 'Parking Lot',
|
|
40
|
+
H: 'Landfill',
|
|
41
|
+
I: 'Industrial',
|
|
42
|
+
J: 'Industrial (New Construction)',
|
|
43
|
+
K: 'Large Industrial (New Construction)',
|
|
44
|
+
L: 'Large Industrial',
|
|
45
|
+
M: 'Multi-Residential',
|
|
46
|
+
N: 'New Multi-Residential',
|
|
47
|
+
O: 'Resort Condominium',
|
|
48
|
+
P: 'Pipeline',
|
|
49
|
+
Q: 'Professional Sports Facility',
|
|
50
|
+
R: 'Residential',
|
|
51
|
+
S: 'Shopping Centre',
|
|
52
|
+
T: 'Managed Forests',
|
|
53
|
+
U: 'Utility Transmission and Distribution Corridors',
|
|
54
|
+
W: 'Railway Right-of-Way',
|
|
55
|
+
X: 'Commercial (New Construction)',
|
|
56
|
+
Y: 'Office Building (New Construction)',
|
|
57
|
+
Z: 'Shopping Centre (New Construction)'
|
|
58
|
+
} as const
|
|
59
|
+
|
|
60
|
+
export const realtyTaxQualifiers: Readonly<
|
|
61
|
+
Record<string, { class: 'Payment in Lieu' | 'Taxable'; name: string }>
|
|
62
|
+
> = {
|
|
63
|
+
1: { class: 'Taxable', name: 'Farmland Awaiting Development Phase I' },
|
|
64
|
+
2: {
|
|
65
|
+
class: 'Payment in Lieu',
|
|
66
|
+
name: 'Full, Farmland Awaiting Development Phase I'
|
|
67
|
+
},
|
|
68
|
+
3: {
|
|
69
|
+
class: 'Payment in Lieu',
|
|
70
|
+
name: 'General, Farmland Awaiting Development Phase I'
|
|
71
|
+
},
|
|
72
|
+
4: { class: 'Taxable', name: 'Farmland Awaiting Development Phase II' },
|
|
73
|
+
5: {
|
|
74
|
+
class: 'Payment in Lieu',
|
|
75
|
+
name: 'Full, Farmland Awaiting Development Phase II'
|
|
76
|
+
},
|
|
77
|
+
6: {
|
|
78
|
+
class: 'Payment in Lieu',
|
|
79
|
+
name: 'General, Farmland Awaiting Development Phase II'
|
|
80
|
+
},
|
|
81
|
+
A: { class: 'Taxable', name: 'Excess/Vacant Land, Education Only' },
|
|
82
|
+
B: { class: 'Taxable', name: 'Lower-tier Only' },
|
|
83
|
+
C: { class: 'Taxable', name: 'Lower-tier and Education Only' },
|
|
84
|
+
D: { class: 'Taxable', name: 'Education Only' },
|
|
85
|
+
F: { class: 'Payment in Lieu', name: 'Full' },
|
|
86
|
+
G: { class: 'Payment in Lieu', name: 'General' },
|
|
87
|
+
H: { class: 'Taxable', name: 'Full, Shared Payment in Lieu' },
|
|
88
|
+
I: { class: 'Taxable', name: 'Water Intake System, Shared Payment in Lieu' },
|
|
89
|
+
J: { class: 'Taxable', name: 'Vacant Land, Shared Payment in Lieu' },
|
|
90
|
+
K: { class: 'Taxable', name: 'Excess Land, Shared Payment in Lieu' },
|
|
91
|
+
L: { class: 'Taxable', name: 'Upper-tier and Education Only' },
|
|
92
|
+
M: { class: 'Taxable', name: 'General' },
|
|
93
|
+
N: {
|
|
94
|
+
class: 'Taxable',
|
|
95
|
+
name: 'Non-Generating Station, Shared Payment in Lieu'
|
|
96
|
+
},
|
|
97
|
+
P: { class: 'Payment in Lieu', name: 'Full, Taxable Tenant of Province' },
|
|
98
|
+
Q: {
|
|
99
|
+
class: 'Payment in Lieu',
|
|
100
|
+
name: 'Full, Excess Land, Taxable Tenant of Province'
|
|
101
|
+
},
|
|
102
|
+
R: {
|
|
103
|
+
class: 'Payment in Lieu',
|
|
104
|
+
name: 'Full, Vacant Land, Taxable Tenant of Province'
|
|
105
|
+
},
|
|
106
|
+
S: { class: 'Taxable', name: 'Generating Station, Shared Payment in Lieu' },
|
|
107
|
+
T: { class: 'Taxable', name: 'Full' },
|
|
108
|
+
U: { class: 'Taxable', name: 'Excess Land' },
|
|
109
|
+
V: { class: 'Payment in Lieu', name: 'Full, Excess Land' },
|
|
110
|
+
W: { class: 'Payment in Lieu', name: 'General, Excess Land' },
|
|
111
|
+
X: { class: 'Taxable', name: 'Vacant Land' },
|
|
112
|
+
Y: { class: 'Payment in Lieu', name: 'Full, Vacant Land' },
|
|
113
|
+
Z: { class: 'Payment in Lieu', name: 'General, Vacant Land' }
|
|
114
|
+
} as const
|
|
115
|
+
|
|
116
|
+
export const unitSupportNames = {
|
|
117
|
+
A: 'French-Public',
|
|
118
|
+
B: 'Split',
|
|
119
|
+
C: 'French-Separate',
|
|
120
|
+
D: 'Protestant-Separate',
|
|
121
|
+
N: 'No Support',
|
|
122
|
+
P: 'English-Public',
|
|
123
|
+
S: 'English-Separate'
|
|
124
|
+
} as const
|
|
125
|
+
|
|
126
|
+
export const propertyTypeNames = {
|
|
127
|
+
'0': 'Rights-of-Way',
|
|
128
|
+
'1': 'Residential',
|
|
129
|
+
'2': 'Multi-Residential',
|
|
130
|
+
'3': 'Commercial',
|
|
131
|
+
'4': 'Industrial',
|
|
132
|
+
'5': 'Pipeline',
|
|
133
|
+
'6': 'Farm',
|
|
134
|
+
'7': 'Recreational',
|
|
135
|
+
'8': 'Residential Condos',
|
|
136
|
+
'9': 'Other/Unique Properties'
|
|
137
|
+
} as const
|
package/index.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './codes/index.js';
|
|
2
|
+
export * from './rollNumbers/index.js';
|
package/index.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './codes/index.js';
|
|
2
|
+
export * from './rollNumbers/index.js';
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cityssm/mpac-tools",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Lookups and utilities for working with MPAC data.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mpac",
|
|
@@ -19,17 +19,24 @@
|
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"author": "The Corporation of the City of Sault Ste. Marie",
|
|
22
|
+
"sideEffects": false,
|
|
22
23
|
"type": "module",
|
|
23
24
|
"exports": {
|
|
24
25
|
".": "./index.js",
|
|
26
|
+
"./codes": "./codes/index.js",
|
|
25
27
|
"./rollNumbers": "./rollNumbers/index.js"
|
|
26
28
|
},
|
|
29
|
+
"files": [
|
|
30
|
+
"codes/*",
|
|
31
|
+
"rollNumbers/*",
|
|
32
|
+
"index.*"
|
|
33
|
+
],
|
|
27
34
|
"scripts": {
|
|
28
35
|
"test": "node --test"
|
|
29
36
|
},
|
|
30
37
|
"devDependencies": {
|
|
31
|
-
"@types/node": "^
|
|
32
|
-
"eslint-config-cityssm": "^
|
|
33
|
-
"prettier-config-cityssm": "^1.
|
|
38
|
+
"@types/node": "^25.9.3",
|
|
39
|
+
"eslint-config-cityssm": "^41.0.0",
|
|
40
|
+
"prettier-config-cityssm": "^2.1.2"
|
|
34
41
|
}
|
|
35
42
|
}
|