[
  {
    "name": "get_api_v1",
    "description": "Returns a welcome message.",
    "inputSchema": {
      "type": "object",
      "properties": {}
    },
    "x-dyph": {
      "method": "GET",
      "path": "/api/v1",
      "effect": "reads",
      "verification": "verified",
      "checkedAt": "2026-09-25"
    }
  },
  {
    "name": "get_api_v1_holidays",
    "description": "Returns Canadian public holidays. Each holiday lists the regions that observe it.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "year": {
          "type": "integer",
          "description": "A calendar year"
        },
        "federal": {
          "type": "string",
          "description": "A boolean parameter. If true or 1, will return only federal holidays. If false or 0, will return no federal holidays."
        },
        "optional": {
          "type": "string",
          "description": "A boolean parameter. If false or 0 (default), will return only legislated holidays. If true or 1, will return optional holidays from Alberta and BC."
        }
      }
    },
    "x-dyph": {
      "method": "GET",
      "path": "/api/v1/holidays",
      "effect": "reads",
      "verification": "verified",
      "checkedAt": "2026-09-25"
    }
  },
  {
    "name": "get_api_v1_holidays_by_holidayid",
    "description": "Returns one Canadian statutory holiday by integer id. Returns a 404 response for invalid ids.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "holidayId": {
          "type": "integer",
          "description": "Primary key for a holiday"
        },
        "year": {
          "type": "integer",
          "description": "A calendar year"
        },
        "optional": {
          "type": "string",
          "description": "A boolean parameter. If false or 0 (default), will return provinces for which this is a legislated holiday. If true or 1, will return provinces which optionally celebrate this holiday."
        }
      },
      "required": [
        "holidayId"
      ]
    },
    "x-dyph": {
      "method": "GET",
      "path": "/api/v1/holidays/{holidayId}",
      "effect": "reads",
      "verification": "verified",
      "checkedAt": "2026-09-25"
    }
  },
  {
    "name": "get_api_v1_provinces",
    "description": "Returns provinces and territories in Canada. Each province or territory lists its associated holidays.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "year": {
          "type": "integer",
          "description": "A calendar year"
        },
        "optional": {
          "type": "string",
          "description": "A boolean parameter. If false or 0 (default), will return only legislated holidays. If true or 1, will return optional holidays from Alberta and BC."
        }
      }
    },
    "x-dyph": {
      "method": "GET",
      "path": "/api/v1/provinces",
      "effect": "reads",
      "verification": "verified",
      "checkedAt": "2026-09-25"
    }
  },
  {
    "name": "get_api_v1_provinces_by_provinceid",
    "description": "Returns a Canadian province or territory with its associated holidays. Returns a 404 response for invalid abbreviations.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "provinceId": {
          "type": "string",
          "description": "A Canadian province abbreviation"
        },
        "year": {
          "type": "integer",
          "description": "A calendar year"
        },
        "optional": {
          "type": "string",
          "description": "A boolean parameter (AB and BC only). If false or 0 (default), will return only legislated holidays. If true or 1, will return optional holidays from Alberta and BC."
        }
      },
      "required": [
        "provinceId"
      ]
    },
    "x-dyph": {
      "method": "GET",
      "path": "/api/v1/provinces/{provinceId}",
      "effect": "reads",
      "verification": "verified",
      "checkedAt": "2026-09-25"
    }
  },
  {
    "name": "get_api_v1_spec",
    "description": "Gets the schema for the JSON API as a yaml file.",
    "inputSchema": {
      "type": "object",
      "properties": {}
    },
    "x-dyph": {
      "method": "GET",
      "path": "/api/v1/spec",
      "effect": "reads",
      "verification": "mismatch",
      "checkedAt": "2026-09-25"
    }
  }
]
