Returns provinces and territories in Canada. Each province or territory lists its associated holidays.
643 matches
Other/Canada Holidays
Get all provinces
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
{
"type": "object",
"properties": {
"optional": {
"type": "string",
"enum": [
"1",
"0",
"true",
"false"
]
},
"year": {
"type": "integer"
}
},
"additionalProperties": false
}Output
- 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
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
{
"type": "object",
"properties": {
"provinces": {
"type": "array",
"items": {
"type": "object",
"description": "A Canadian province or territory ",
"required": [
"id",
"nameFr",
"nameEn",
"sourceLink",
"sourceEn"
],
"properties": {
"id": {
"type": "string",
"description": "Canadian province abbreviations",
"enum": [
"AB",
"BC",
"MB",
"NB",
"NL",
"NS",
"NT",
"NU",
"ON",
"PE",
"QC",
"SK",
"YT"
]
},
"nameEn": {
"type": "string",
"description": "English name"
},
"nameFr": {
"type": "string",
"description": "French name"
},
"nextHoliday": {
"type": "object",
"description": "A Canadian holiday. Includes a name, the literal date of the holiday, the observed date of the holiday (ie, accommodating for weekends), and a list of regions that observe this holiday.",
"required": [
"id",
"date",
"nameEn",
"nameFr",
"federal",
"observedDate"
],
"properties": {
"date": {
"type": "string",
"format": "date",
"description": "ISO date: the literal date of the holiday"
},
"federal": {
"type": "integer",
"description": "Whether this holiday is observed by federally-regulated industries.",
"enum": [
1,
0
]
},
"id": {
"type": "integer",
"description": "Primary key for a holiday"
},
"nameEn": {
"type": "string",
"description": "English name"
},
"nameFr": {
"type": "string",
"description": "French name"
},
"observedDate": {
"type": "string",
"format": "date",
"description": "ISO date: when this holiday is observed"
},
"optional": {
"type": "integer",
"description": "Whether this is a province-wide statutory holiday, or one that is optional for employers.",
"enum": [
1
]
},
"provinces": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
}
}
},
"optional": {
"type": "integer",
"description": "Whether this province optionally observes a given holiday.",
"enum": [
1
]
},
"provinces": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"sourceEn": {
"type": "string",
"description": "Name of reference page with public holidays for this region"
},
"sourceLink": {
"type": "string",
"format": "uri",
"description": "URL to public holidays reference for this region"
}
}
}
}
}
}