{
  "x402Version": 2,
  "id": 1124,
  "slug": "1124",
  "resource": "https://chrono.schemasure.com/v1/business-time",
  "description": "Resolve a local time to an exact UTC instant with explicit DST ambiguity handling, business-day arithmetic, public-holiday status, and working-hour overlap across timezones. Detects ambiguous and nonexistent local times instead of silently shifting them. Declares its IANA tzdb release and per-jurisdiction holiday provenance.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9876af0F6D8Ed5155Cd02d1ca56D128601612690",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "ambiguity_policy": "reject",
            "local_time": "2026-11-01T01:30:00",
            "timezone": "America/New_York"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "confidence": 1,
            "data_versions": {
              "holidays": "2026.08.03",
              "temporal_source": "polyfill",
              "tzdb": "2026c"
            },
            "evidence": [],
            "ok": true,
            "policy_version": "2026-08-03.1",
            "request_hash": "sha256:7c1e...b904",
            "result": {
              "ambiguity": "unique",
              "business_days_result": null,
              "candidates": [],
              "comparisons": [
                {
                  "local_time": "2026-06-15T14:30:00",
                  "offset": "+01:00",
                  "timezone": "Europe/London"
                }
              ],
              "coverage": {
                "calendar": "US-NY",
                "provenance": "US OPM (public domain)",
                "years": [
                  2026,
                  2027
                ]
              },
              "is_holiday": false,
              "is_weekend": false,
              "is_working_day": true,
              "next_valid_working_instant": "2026-06-15T13:30:00Z",
              "offset": "-04:00",
              "overlap": {
                "has_overlap": true,
                "windows": [
                  {
                    "end": "2026-06-15T16:00:00Z",
                    "start": "2026-06-15T13:00:00Z"
                  }
                ]
              },
              "timezone": "America/New_York",
              "utc_instant": "2026-06-15T13:30:00Z"
            },
            "risk_codes": [],
            "verdict": "resolved",
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "oneOf": [
                  {
                    "required": [
                      "local_time"
                    ]
                  },
                  {
                    "required": [
                      "instant"
                    ]
                  }
                ],
                "properties": {
                  "add_business_days": {
                    "description": "Move this many working days from the resolved date, skipping the calendar's weekend days and its public holidays. Zero returns the date unchanged.",
                    "maximum": 365,
                    "minimum": -365,
                    "type": "integer"
                  },
                  "ambiguity_policy": {
                    "default": "reject",
                    "description": "How to read a local time that occurs twice or not at all. Matches Temporal's disambiguation vocabulary. The default, reject, returns verdict \"unknown\" with both candidate instants rather than silently picking one.",
                    "enum": [
                      "earlier",
                      "later",
                      "compatible",
                      "reject"
                    ],
                    "type": "string"
                  },
                  "compare_with": {
                    "description": "Other IANA zones to report the same instant in, and to intersect working hours with.",
                    "examples": [
                      [
                        "Europe/London",
                        "Asia/Jerusalem"
                      ]
                    ],
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 5,
                    "type": "array"
                  },
                  "holiday_calendar": {
                    "description": "Jurisdiction whose public holidays and weekend definition apply. An unlisted value is rejected with UNSUPPORTED; this service never falls back to an empty holiday list.",
                    "enum": [
                      "AU-NSW",
                      "CA-BC",
                      "CA-ON",
                      "DE",
                      "FR",
                      "GB-ENG",
                      "GB-NIR",
                      "GB-SCT",
                      "IE",
                      "IL",
                      "IN",
                      "JP",
                      "NL",
                      "NZ",
                      "US",
                      "US-CA",
                      "US-NY"
                    ],
                    "type": "string"
                  },
                  "instant": {
                    "description": "An absolute ISO 8601 instant ending in Z or an explicit offset. Alternative to local_time; send exactly one of the two.",
                    "examples": [
                      "2026-11-01T05:30:00Z"
                    ],
                    "type": "string"
                  },
                  "local_time": {
                    "description": "ISO local date and time with NO offset and no Z suffix. This is the field whose meaning can be ambiguous, which is the point of the endpoint.",
                    "examples": [
                      "2026-11-01T01:30:00"
                    ],
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}(:\\d{2})?$",
                    "type": "string"
                  },
                  "timezone": {
                    "description": "IANA timezone identifier, resolved against tzdb 2026c.",
                    "examples": [
                      "America/New_York",
                      "Pacific/Chatham",
                      "Antarctica/Troll"
                    ],
                    "minLength": 1,
                    "type": "string"
                  },
                  "working_hours": {
                    "additionalProperties": false,
                    "description": "Local business hours, defaulting to 09:00-17:00. end < start means the window crosses midnight.",
                    "properties": {
                      "end": {
                        "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
                        "type": "string"
                      },
                      "start": {
                        "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "start",
                      "end"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "timezone"
                ],
                "title": "BusinessTimeRequest",
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "properties": {
                  "data_versions": {
                    "description": "Declares the pinned IANA tzdb release, holiday dataset, and Temporal source.",
                    "type": "object"
                  },
                  "evidence": {
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "ok": {
                    "type": "boolean"
                  },
                  "policy_version": {
                    "type": "string"
                  },
                  "request_hash": {
                    "type": "string"
                  },
                  "result": {
                    "properties": {
                      "ambiguity": {
                        "enum": [
                          "unique",
                          "ambiguous",
                          "nonexistent"
                        ],
                        "type": "string"
                      },
                      "business_days_result": {
                        "type": [
                          "object",
                          "null"
                        ]
                      },
                      "candidates": {
                        "description": "Both candidate instants when the local time is ambiguous or nonexistent.",
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "comparisons": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "coverage": {
                        "type": "object"
                      },
                      "is_holiday": {
                        "type": "boolean"
                      },
                      "is_weekend": {
                        "type": "boolean"
                      },
                      "is_working_day": {
                        "type": "boolean"
                      },
                      "next_valid_working_instant": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "offset": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "overlap": {
                        "type": [
                          "object",
                          "null"
                        ]
                      },
                      "timezone": {
                        "type": "string"
                      },
                      "utc_instant": {
                        "format": "date-time",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "risk_codes": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "verdict": {
                    "description": "unknown when the local time is ambiguous or nonexistent under a reject policy.",
                    "enum": [
                      "resolved",
                      "unknown"
                    ],
                    "type": "string"
                  },
                  "warnings": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "ok",
                  "verdict",
                  "result",
                  "request_hash",
                  "data_versions"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "chrono.schemasure.com",
  "lastUpdated": "2026-09-18T07:40:51.445Z",
  "quality": {
    "calls30d": 38,
    "uniquePayers30d": 8,
    "lastCalledAt": "2026-09-18T07:40:51.165Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "chrono.schemasure.com",
    "manifest_name": "chrono.schemasure.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}