{
  "x402Version": 1,
  "name": "Canada Business Calendar",
  "description": "Canadian federal and provincial public holidays, business-day maths and invoice due dates for every province and territory — for your AI agent.",
  "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
  "network": "base",
  "asset": "USDC",
  "facilitator": "https://facilitator.payai.network",
  "resources": [
    {
      "resource": "https://ca-business-calendar-mcp.donniertf.workers.dev/x402/next_holidays",
      "method": "POST",
      "description": "FREE. Next 3 public holidays for a Canadian province/territory (default ON). Includes federal vs provincial.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://ca-business-calendar-mcp.donniertf.workers.dev/x402/next_holidays",
          "description": "Canada Business Calendar: next_holidays — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "province": {
                  "type": "string"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://ca-business-calendar-mcp.donniertf.workers.dev/x402/business_days",
      "method": "POST",
      "description": "PRO. Add/subtract N business days from a date in a province (skips weekends and observed public holidays).",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://ca-business-calendar-mcp.donniertf.workers.dev/x402/business_days",
          "description": "Canada Business Calendar: business_days — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "start": {
                  "type": "string"
                },
                "days": {
                  "type": "number"
                },
                "province": {
                  "type": "string"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://ca-business-calendar-mcp.donniertf.workers.dev/x402/due_date",
      "method": "POST",
      "description": "PRO. Invoice/contract due date: start + N calendar or business days in a province.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://ca-business-calendar-mcp.donniertf.workers.dev/x402/due_date",
          "description": "Canada Business Calendar: due_date — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "start": {
                  "type": "string"
                },
                "days": {
                  "type": "number"
                },
                "mode": {
                  "type": "string",
                  "description": "calendar or business"
                },
                "province": {
                  "type": "string"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    },
    {
      "resource": "https://ca-business-calendar-mcp.donniertf.workers.dev/x402/year_planner",
      "method": "POST",
      "description": "PRO. All public holidays this year for one province, or compare federal holidays across Canada.",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "30000",
          "resource": "https://ca-business-calendar-mcp.donniertf.workers.dev/x402/year_planner",
          "description": "Canada Business Calendar: year_planner — one call, $0.03 USDC",
          "mimeType": "application/json",
          "payTo": "0x02226D28e0c85AE4AdDB7fe7043Dd2b1Ff710D41",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "outputSchema": {
            "input": {
              "type": "http",
              "method": "POST",
              "bodyType": "json",
              "bodyFields": {
                "province": {
                  "type": "string"
                },
                "federal_only": {
                  "type": "boolean"
                }
              }
            },
            "output": {
              "type": "object"
            }
          },
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ]
    }
  ]
}