{"success":true,"version":"v1","request":{"tool":"get_calculator_schema","calculator_id":"global-working-day"},"result":{"entity_type":"calculator","id":"global-working-day","calculator_id":"global-working-day","canonical_url":"https://tttkmbb.com/everyday/global-working-day","name":"Global Working Day Baseline","title":"Global Working Day Baseline – CLDR Territory Weekend Rules","category":"everyday","category_name":"Everyday Life","tool_name":"check_global_working_day","featured_mcp_tool":true,"description":"Checks a Gregorian date for any supported CLDR alpha-2 territory code using the pinned Unicode CLDR weekend convention, with explicit holiday exclusions and provenance.","use_when":"You need a worldwide weekday/weekend check and have a CLDR alpha-2 territory code, but do not need public-holiday exclusions.","do_not_use_when":"You need public holidays, substitute holidays, employer closures, bank settlement, stock exchange, school, religious or emergency closure rules; use a jurisdiction-specific evidence package instead.","agent_examples":["Is 2026-10-05 a working day in Australia under the territory weekend rule?","Check whether Friday 2026-06-12 is a weekday in Saudi Arabia.","判断 2026-10-01 在印度按周末规则是否为工作日。"],"inputs":[{"name":"date","label":"Date","type":"date","required":true,"description":"Gregorian date from 1900-01-01 through 2100-12-31.","example":"2026-10-05"},{"name":"territory","label":"Territory","type":"enum","required":true,"values":[{"value":"AC","label":"AC"},{"value":"AD","label":"AD"},{"value":"AE","label":"AE"},{"value":"AF","label":"AF"},{"value":"AG","label":"AG"},{"value":"AI","label":"AI"},{"value":"AL","label":"AL"},{"value":"AM","label":"AM"},{"value":"AN","label":"AN"},{"value":"AO","label":"AO"},{"value":"AQ","label":"AQ"},{"value":"AR","label":"AR"},{"value":"AS","label":"AS"},{"value":"AT","label":"AT"},{"value":"AU","label":"AU"},{"value":"AW","label":"AW"},{"value":"AX","label":"AX"},{"value":"AZ","label":"AZ"},{"value":"BA","label":"BA"},{"value":"BB","label":"BB"},{"value":"BD","label":"BD"},{"value":"BE","label":"BE"},{"value":"BF","label":"BF"},{"value":"BG","label":"BG"},{"value":"BH","label":"BH"},{"value":"BI","label":"BI"},{"value":"BJ","label":"BJ"},{"value":"BL","label":"BL"},{"value":"BM","label":"BM"},{"value":"BN","label":"BN"},{"value":"BO","label":"BO"},{"value":"BQ","label":"BQ"},{"value":"BR","label":"BR"},{"value":"BS","label":"BS"},{"value":"BT","label":"BT"},{"value":"BU","label":"BU"},{"value":"BV","label":"BV"},{"value":"BW","label":"BW"},{"value":"BY","label":"BY"},{"value":"BZ","label":"BZ"},{"value":"CA","label":"CA"},{"value":"CC","label":"CC"},{"value":"CD","label":"CD"},{"value":"CF","label":"CF"},{"value":"CG","label":"CG"},{"value":"CH","label":"CH"},{"value":"CI","label":"CI"},{"value":"CK","label":"CK"},{"value":"CL","label":"CL"},{"value":"CM","label":"CM"},{"value":"CN","label":"CN"},{"value":"CO","label":"CO"},{"value":"CP","label":"CP"},{"value":"CQ","label":"CQ"},{"value":"CR","label":"CR"},{"value":"CS","label":"CS"},{"value":"CU","label":"CU"},{"value":"CV","label":"CV"},{"value":"CW","label":"CW"},{"value":"CX","label":"CX"},{"value":"CY","label":"CY"},{"value":"CZ","label":"CZ"},{"value":"DD","label":"DD"},{"value":"DE","label":"DE"},{"value":"DG","label":"DG"},{"value":"DJ","label":"DJ"},{"value":"DK","label":"DK"},{"value":"DM","label":"DM"},{"value":"DO","label":"DO"},{"value":"DZ","label":"DZ"},{"value":"EA","label":"EA"},{"value":"EC","label":"EC"},{"value":"EE","label":"EE"},{"value":"EG","label":"EG"},{"value":"EH","label":"EH"},{"value":"ER","label":"ER"},{"value":"ES","label":"ES"},{"value":"ET","label":"ET"},{"value":"EU","label":"EU"},{"value":"EZ","label":"EZ"},{"value":"FI","label":"FI"},{"value":"FJ","label":"FJ"},{"value":"FK","label":"FK"},{"value":"FM","label":"FM"},{"value":"FO","label":"FO"},{"value":"FR","label":"FR"},{"value":"FX","label":"FX"},{"value":"GA","label":"GA"},{"value":"GB","label":"GB"},{"value":"GD","label":"GD"},{"value":"GE","label":"GE"},{"value":"GF","label":"GF"},{"value":"GG","label":"GG"},{"value":"GH","label":"GH"},{"value":"GI","label":"GI"},{"value":"GL","label":"GL"},{"value":"GM","label":"GM"},{"value":"GN","label":"GN"},{"value":"GP","label":"GP"},{"value":"GQ","label":"GQ"},{"value":"GR","label":"GR"},{"value":"GS","label":"GS"},{"value":"GT","label":"GT"},{"value":"GU","label":"GU"},{"value":"GW","label":"GW"},{"value":"GY","label":"GY"},{"value":"HK","label":"HK"},{"value":"HM","label":"HM"},{"value":"HN","label":"HN"},{"value":"HR","label":"HR"},{"value":"HT","label":"HT"},{"value":"HU","label":"HU"},{"value":"ID","label":"ID"},{"value":"IE","label":"IE"},{"value":"IL","label":"IL"},{"value":"IM","label":"IM"},{"value":"IN","label":"IN"},{"value":"IO","label":"IO"},{"value":"IQ","label":"IQ"},{"value":"IR","label":"IR"},{"value":"IS","label":"IS"},{"value":"IT","label":"IT"},{"value":"JE","label":"JE"},{"value":"JM","label":"JM"},{"value":"JO","label":"JO"},{"value":"JP","label":"JP"},{"value":"KE","label":"KE"},{"value":"KG","label":"KG"},{"value":"KH","label":"KH"},{"value":"KI","label":"KI"},{"value":"KM","label":"KM"},{"value":"KN","label":"KN"},{"value":"KP","label":"KP"},{"value":"KR","label":"KR"},{"value":"KW","label":"KW"},{"value":"KY","label":"KY"},{"value":"KZ","label":"KZ"},{"value":"LA","label":"LA"},{"value":"LB","label":"LB"},{"value":"LC","label":"LC"},{"value":"LI","label":"LI"},{"value":"LK","label":"LK"},{"value":"LR","label":"LR"},{"value":"LS","label":"LS"},{"value":"LT","label":"LT"},{"value":"LU","label":"LU"},{"value":"LV","label":"LV"},{"value":"LY","label":"LY"},{"value":"MA","label":"MA"},{"value":"MC","label":"MC"},{"value":"MD","label":"MD"},{"value":"ME","label":"ME"},{"value":"MF","label":"MF"},{"value":"MG","label":"MG"},{"value":"MH","label":"MH"},{"value":"MK","label":"MK"},{"value":"ML","label":"ML"},{"value":"MM","label":"MM"},{"value":"MN","label":"MN"},{"value":"MO","label":"MO"},{"value":"MP","label":"MP"},{"value":"MQ","label":"MQ"},{"value":"MR","label":"MR"},{"value":"MS","label":"MS"},{"value":"MT","label":"MT"},{"value":"MU","label":"MU"},{"value":"MV","label":"MV"},{"value":"MW","label":"MW"},{"value":"MX","label":"MX"},{"value":"MY","label":"MY"},{"value":"MZ","label":"MZ"},{"value":"NA","label":"NA"},{"value":"NC","label":"NC"},{"value":"NE","label":"NE"},{"value":"NF","label":"NF"},{"value":"NG","label":"NG"},{"value":"NI","label":"NI"},{"value":"NL","label":"NL"},{"value":"NO","label":"NO"},{"value":"NP","label":"NP"},{"value":"NR","label":"NR"},{"value":"NT","label":"NT"},{"value":"NU","label":"NU"},{"value":"NZ","label":"NZ"},{"value":"OM","label":"OM"},{"value":"PA","label":"PA"},{"value":"PE","label":"PE"},{"value":"PF","label":"PF"},{"value":"PG","label":"PG"},{"value":"PH","label":"PH"},{"value":"PK","label":"PK"},{"value":"PL","label":"PL"},{"value":"PM","label":"PM"},{"value":"PN","label":"PN"},{"value":"PR","label":"PR"},{"value":"PS","label":"PS"},{"value":"PT","label":"PT"},{"value":"PW","label":"PW"},{"value":"PY","label":"PY"},{"value":"QA","label":"QA"},{"value":"QO","label":"QO"},{"value":"QU","label":"QU"},{"value":"RE","label":"RE"},{"value":"RO","label":"RO"},{"value":"RS","label":"RS"},{"value":"RU","label":"RU"},{"value":"RW","label":"RW"},{"value":"SA","label":"SA"},{"value":"SB","label":"SB"},{"value":"SC","label":"SC"},{"value":"SD","label":"SD"},{"value":"SE","label":"SE"},{"value":"SG","label":"SG"},{"value":"SH","label":"SH"},{"value":"SI","label":"SI"},{"value":"SJ","label":"SJ"},{"value":"SK","label":"SK"},{"value":"SL","label":"SL"},{"value":"SM","label":"SM"},{"value":"SN","label":"SN"},{"value":"SO","label":"SO"},{"value":"SR","label":"SR"},{"value":"SS","label":"SS"},{"value":"ST","label":"ST"},{"value":"SU","label":"SU"},{"value":"SV","label":"SV"},{"value":"SX","label":"SX"},{"value":"SY","label":"SY"},{"value":"SZ","label":"SZ"},{"value":"TA","label":"TA"},{"value":"TC","label":"TC"},{"value":"TD","label":"TD"},{"value":"TF","label":"TF"},{"value":"TG","label":"TG"},{"value":"TH","label":"TH"},{"value":"TJ","label":"TJ"},{"value":"TK","label":"TK"},{"value":"TL","label":"TL"},{"value":"TM","label":"TM"},{"value":"TN","label":"TN"},{"value":"TO","label":"TO"},{"value":"TP","label":"TP"},{"value":"TR","label":"TR"},{"value":"TT","label":"TT"},{"value":"TV","label":"TV"},{"value":"TW","label":"TW"},{"value":"TZ","label":"TZ"},{"value":"UA","label":"UA"},{"value":"UG","label":"UG"},{"value":"UM","label":"UM"},{"value":"UN","label":"UN"},{"value":"US","label":"US"},{"value":"UY","label":"UY"},{"value":"UZ","label":"UZ"},{"value":"VA","label":"VA"},{"value":"VC","label":"VC"},{"value":"VE","label":"VE"},{"value":"VG","label":"VG"},{"value":"VI","label":"VI"},{"value":"VN","label":"VN"},{"value":"VU","label":"VU"},{"value":"WF","label":"WF"},{"value":"WS","label":"WS"},{"value":"XK","label":"XK"},{"value":"YD","label":"YD"},{"value":"YE","label":"YE"},{"value":"YT","label":"YT"},{"value":"YU","label":"YU"},{"value":"ZA","label":"ZA"},{"value":"ZM","label":"ZM"},{"value":"ZR","label":"ZR"},{"value":"ZW","label":"ZW"}],"description":"CLDR territory code in alpha-2 form. The complete accepted-code enum is exposed here; it includes ISO-style territory codes plus CLDR regional and legacy codes where present.","example":"AU"}],"outputs":[{"name":"date","label":"Date","type":"date","decimals":4,"description":"Checked Gregorian date."},{"name":"territory","label":"Territory","type":"string","decimals":4,"description":"Normalized uppercase CLDR territory code."},{"name":"territory_display_name","label":"Territory display name","type":"string","decimals":4,"description":"Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW."},{"name":"weekday","label":"Weekday","type":"string","decimals":4,"description":"Gregorian weekday."},{"name":"is_working_day","label":"Working weekday","type":"boolean","decimals":4,"description":"True when the date is not in the territory's CLDR weekend range."},{"name":"weekend_days","label":"Weekend days","type":"string_list","decimals":4,"description":"Territory weekend convention from CLDR."},{"name":"calendar_scope","label":"Calendar scope","type":"string","decimals":4,"description":"weekday_pattern_only; public holidays are intentionally not included."},{"name":"holiday_policy","label":"Holiday policy","type":"string","decimals":4,"description":"public_holidays_not_included for this global baseline."},{"name":"calendar_profile","label":"Calendar profile","type":"string","decimals":4,"description":"Machine-readable profile id: global-weekday-baseline."},{"name":"calendar_selection_catalog_url","label":"Calendar selection catalog","type":"string","decimals":4,"description":"Use this catalog before selecting a jurisdiction-specific holiday package."},{"name":"dataset_version","label":"Dataset version","type":"string","decimals":4,"description":"Pinned CLDR weekend-data version."},{"name":"source_url","label":"Source URL","type":"string","decimals":4,"description":"Pinned CLDR JSON source."}],"input_schema":{"type":"object","properties":{"date":{"description":"Gregorian date from 1900-01-01 through 2100-12-31.","type":"string","format":"date","examples":["2026-10-05"]},"territory":{"description":"CLDR territory code in alpha-2 form. The complete accepted-code enum is exposed here; it includes ISO-style territory codes plus CLDR regional and legacy codes where present.","type":"string","enum":["AC","AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BU","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CQ","CR","CS","CU","CV","CW","CX","CY","CZ","DD","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","FX","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NT","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","QO","QU","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SU","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TP","TR","TT","TV","TW","TZ","UA","UG","UM","UN","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YD","YE","YT","YU","ZA","ZM","ZR","ZW"],"examples":["AU"],"pattern":"^[A-Z]{2}$","maxLength":2}},"additionalProperties":false,"required":["date","territory"],"examples":[{"date":"2026-10-05","territory":"AU"}]},"output_schema":{"type":"object","properties":{"date":{"description":"Checked Gregorian date.","type":"string","format":"date"},"territory":{"description":"Normalized uppercase CLDR territory code.","type":"string"},"territory_display_name":{"description":"Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW.","type":"string"},"weekday":{"description":"Gregorian weekday.","type":"string"},"is_working_day":{"description":"True when the date is not in the territory's CLDR weekend range.","type":"boolean"},"weekend_days":{"description":"Territory weekend convention from CLDR.","type":"array","items":{"type":"string"}},"calendar_scope":{"description":"weekday_pattern_only; public holidays are intentionally not included.","type":"string"},"holiday_policy":{"description":"public_holidays_not_included for this global baseline.","type":"string"},"calendar_profile":{"description":"Machine-readable profile id: global-weekday-baseline.","type":"string"},"calendar_selection_catalog_url":{"description":"Use this catalog before selecting a jurisdiction-specific holiday package.","type":"string"},"dataset_version":{"description":"Pinned CLDR weekend-data version.","type":"string"},"source_url":{"description":"Pinned CLDR JSON source.","type":"string"}}},"formula":"is_working_day = weekday(date) not in CLDR(territory).weekendStart..weekendEnd","method":"Resolve the Gregorian weekday, expand CLDR's territory weekendStart/weekendEnd range, and classify every other day as a regular weekday. No public-holiday inference is made.","sources":[{"name":"Unicode CLDR 48.2 supplemental weekData.json","url":"https://raw.githubusercontent.com/unicode-org/cldr-json/bb334e8d6250c9363e957e131bf7e6d08ec72f91/cldr-json/cldr-core/supplemental/weekData.json","type":"standards","sha256":"b28ea2cedf6da29e9b93d7492e0f0a8a6852fe49f7990c58f9fc57531bf7c6b3","licence":"Unicode License v3 (SPDX: Unicode-3.0)","licence_url":"https://www.unicode.org/faq/unicode_license.html","note":"Territory weekendStart/weekendEnd data; CLDR does not define public-holiday or employer calendars."}],"freshness":{"type":"static","max_age_seconds":null,"note":"Pinned CLDR 48.2 weekend conventions; upgrade only after an explicit data review."},"examples":[{"name":"Australia Monday baseline","inputs":{"date":"2026-10-05","territory":"AU"},"expected":{"is_working_day":true,"weekend_days":["Saturday","Sunday"]},"url":"https://tttkmbb.com/api/v1/calculate/global-working-day?date=2026-10-05&territory=AU"}],"faq":[{"q":"Does this include public holidays?","a":"This is a global weekday baseline, not a public-holiday, bank-settlement, exchange, school, employer, religious or emergency-closure calendar. Use a jurisdiction-specific evidence package when holiday exclusions matter."},{"q":"Why is this useful if holidays are excluded?","a":"It gives a complete, deterministic worldwide weekday baseline without silently treating a country-specific holiday policy as universal."}],"tags":["global working day","worldwide weekday","weekend by country","ISO territory","CLDR","business day baseline"],"related":[{"calculator_id":"global-add-working-days","reason":"Add or subtract weekday-baseline working days."},{"calculator_id":"global-working-days-between","reason":"Count weekday-baseline working days over a range."},{"calculator_id":"china-working-day","reason":"Use official China holidays and 调休 when those exclusions matter."}],"links":{"html":"https://tttkmbb.com/everyday/global-working-day","markdown":"https://tttkmbb.com/everyday/global-working-day.md","json":"https://tttkmbb.com/everyday/global-working-day.json","api":"https://tttkmbb.com/api/v1/calculate/global-working-day","schema":"https://tttkmbb.com/api/v1/calculators/global-working-day","openapi":"https://tttkmbb.com/openapi.json","mcp":"https://tttkmbb.com/mcp"},"version":"v1","updated_at":"2026-09-27"},"timestamp":"2026-09-28T19:04:21Z","next_actions":[{"tool":"check_global_working_day","calculator_id":"global-working-day","reason":"Run Global Working Day Baseline with the inputs above."}],"links":{"mcp":"https://tttkmbb.com/mcp","a2a":"https://tttkmbb.com/a2a","openapi":"https://tttkmbb.com/openapi.json","llms_txt":"https://tttkmbb.com/llms.txt","feed":"https://tttkmbb.com/feed.xml","ard":"https://tttkmbb.com/.well-known/ard.json","ai_catalog":"https://tttkmbb.com/.well-known/ai-catalog.json","agent_card":"https://tttkmbb.com/.well-known/agent-card.json","mcp_server_card":"https://tttkmbb.com/mcp/server-card","mcp_server_card_legacy":"https://tttkmbb.com/.well-known/mcp-server-card.json","ai_plugin":"https://tttkmbb.com/.well-known/ai-plugin.json","agent_capabilities":"https://tttkmbb.com/agent-capabilities.json","docs":"https://tttkmbb.com/docs/index.md","privacy":"https://tttkmbb.com/docs/privacy","terms":"https://tttkmbb.com/docs/terms","support":"https://tttkmbb.com/docs/support","china_work_calendar_data":"https://tttkmbb.com/api/v1/data/china-work-calendar/2026","uk_bank_holidays_data":"https://tttkmbb.com/api/v1/data/uk-bank-holidays","iana_tzdb_data":"https://tttkmbb.com/api/v1/data/iana-tzdb","global_working_day_data":"https://tttkmbb.com/api/v1/data/global-working-day","global_public_holiday_data":"https://tttkmbb.com/api/v1/data/global-public-holidays","global_working_day_reference_data":"https://tttkmbb.com/api/v1/data/global-working-day-reference","working_day_catalog":"https://tttkmbb.com/api/v1/data/working-day-calendars","markdown":"https://tttkmbb.com/everyday/global-working-day.md"}}