{
  "x402Version": 2,
  "id": 28625,
  "slug": "28625",
  "resource": "https://schedule-tools.use.x402atlas.com/intervals-merge",
  "description": "Time interval merger — sort, deduplicate, and combine overlapping or adjacent RFC 3339 date-time ranges.",
  "type": "http",
  "serviceName": "Schedule & Timezone Tools",
  "resourceType": "Blockchain Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "_atlas": {
            "additionalProperties": false,
            "description": "Atlas documentation and related-route metadata added after deployment",
            "properties": {
              "docs": {
                "description": "Documentation URL for this bridge",
                "format": "uri",
                "maxLength": 512,
                "type": "string"
              },
              "related": {
                "description": "Bounded related Atlas routes",
                "items": {
                  "additionalProperties": false,
                  "description": "One related Atlas route",
                  "properties": {
                    "bridge": {
                      "description": "Related bridge name",
                      "maxLength": 64,
                      "type": "string"
                    },
                    "docs": {
                      "description": "Related bridge documentation URL",
                      "format": "uri",
                      "maxLength": 512,
                      "type": "string"
                    },
                    "summary": {
                      "description": "Short capability summary",
                      "maxLength": 256,
                      "type": "string"
                    },
                    "url": {
                      "description": "Related route URL",
                      "format": "uri",
                      "maxLength": 512,
                      "type": "string"
                    }
                  },
                  "required": [
                    "bridge",
                    "url",
                    "docs",
                    "summary"
                  ],
                  "type": "object"
                },
                "maxItems": 3,
                "type": "array"
              }
            },
            "required": [
              "docs"
            ],
            "type": "object"
          },
          "algorithm_version": {
            "const": "schedule-v1",
            "description": "Pinned interval merge contract",
            "type": "string"
          },
          "input_count": {
            "description": "Number of input intervals",
            "maximum": 1000,
            "minimum": 0,
            "type": "integer"
          },
          "intervals": {
            "description": "Sorted maximal UTC intervals; [] when input is empty",
            "items": {
              "additionalProperties": false,
              "description": "One normalized UTC half-open interval",
              "properties": {
                "end": {
                  "description": "Exclusive RFC3339 instant after start",
                  "format": "date-time",
                  "type": "string"
                },
                "start": {
                  "description": "Inclusive RFC3339 instant",
                  "format": "date-time",
                  "type": "string"
                }
              },
              "required": [
                "start",
                "end"
              ],
              "type": "object"
            },
            "maxItems": 1000,
            "minItems": 0,
            "type": "array"
          },
          "merge_adjacent": {
            "description": "Applied adjacency policy",
            "type": "boolean"
          },
          "operation": {
            "const": "intervals-merge",
            "description": "Stable route operation",
            "type": "string"
          },
          "output_count": {
            "description": "Number of maximal output intervals",
            "maximum": 1000,
            "minimum": 0,
            "type": "integer"
          },
          "total_covered_seconds": {
            "description": "Checked sum of output interval durations in seconds",
            "minimum": 0,
            "type": "integer"
          },
          "warnings": {
            "description": "Always empty for deterministic merging",
            "items": {
              "description": "Warning",
              "type": "string"
            },
            "maxItems": 0,
            "type": "array"
          }
        },
        "required": [
          "operation",
          "algorithm_version",
          "merge_adjacent",
          "input_count",
          "output_count",
          "intervals",
          "total_covered_seconds",
          "warnings"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "category": "calendar",
      "info": {
        "input": {
          "body": {
            "intervals": [
              {
                "end": "2024-06-03T10:30:00Z",
                "start": "2024-06-03T09:00:00Z"
              },
              {
                "end": "2024-06-03T11:00:00Z",
                "start": "2024-06-03T10:00:00Z"
              },
              {
                "end": "2024-06-03T12:00:00Z",
                "start": "2024-06-03T11:00:00Z"
              }
            ],
            "merge_adjacent": true
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "algorithm_version": "schedule-v1",
            "input_count": 3,
            "intervals": [
              {
                "end": "2024-06-03T12:00:00Z",
                "start": "2024-06-03T09:00:00Z"
              }
            ],
            "merge_adjacent": true,
            "operation": "intervals-merge",
            "output_count": 1,
            "total_covered_seconds": 10800,
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "intervals": {
                    "description": "Intervals to sort and merge; duplicates are allowed",
                    "items": {
                      "additionalProperties": false,
                      "description": "One RFC3339 whole-second half-open interval [start,end)",
                      "properties": {
                        "end": {
                          "description": "Exclusive RFC3339 instant after start",
                          "format": "date-time",
                          "type": "string"
                        },
                        "start": {
                          "description": "Inclusive RFC3339 instant",
                          "format": "date-time",
                          "type": "string"
                        }
                      },
                      "required": [
                        "start",
                        "end"
                      ],
                      "type": "object"
                    },
                    "maxItems": 1000,
                    "minItems": 0,
                    "type": "array"
                  },
                  "merge_adjacent": {
                    "default": true,
                    "description": "Merge intervals that touch exactly as well as intervals that overlap",
                    "type": "boolean"
                  }
                },
                "required": [
                  "intervals"
                ],
                "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": {
                "additionalProperties": false,
                "properties": {
                  "_atlas": {
                    "additionalProperties": false,
                    "description": "Atlas documentation and related-route metadata added after deployment",
                    "properties": {
                      "docs": {
                        "description": "Documentation URL for this bridge",
                        "format": "uri",
                        "maxLength": 512,
                        "type": "string"
                      },
                      "related": {
                        "description": "Bounded related Atlas routes",
                        "items": {
                          "additionalProperties": false,
                          "description": "One related Atlas route",
                          "properties": {
                            "bridge": {
                              "description": "Related bridge name",
                              "maxLength": 64,
                              "type": "string"
                            },
                            "docs": {
                              "description": "Related bridge documentation URL",
                              "format": "uri",
                              "maxLength": 512,
                              "type": "string"
                            },
                            "summary": {
                              "description": "Short capability summary",
                              "maxLength": 256,
                              "type": "string"
                            },
                            "url": {
                              "description": "Related route URL",
                              "format": "uri",
                              "maxLength": 512,
                              "type": "string"
                            }
                          },
                          "required": [
                            "bridge",
                            "url",
                            "docs",
                            "summary"
                          ],
                          "type": "object"
                        },
                        "maxItems": 3,
                        "type": "array"
                      }
                    },
                    "required": [
                      "docs"
                    ],
                    "type": "object"
                  },
                  "algorithm_version": {
                    "const": "schedule-v1",
                    "description": "Pinned interval merge contract",
                    "type": "string"
                  },
                  "input_count": {
                    "description": "Number of input intervals",
                    "maximum": 1000,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "intervals": {
                    "description": "Sorted maximal UTC intervals; [] when input is empty",
                    "items": {
                      "additionalProperties": false,
                      "description": "One normalized UTC half-open interval",
                      "properties": {
                        "end": {
                          "description": "Exclusive RFC3339 instant after start",
                          "format": "date-time",
                          "type": "string"
                        },
                        "start": {
                          "description": "Inclusive RFC3339 instant",
                          "format": "date-time",
                          "type": "string"
                        }
                      },
                      "required": [
                        "start",
                        "end"
                      ],
                      "type": "object"
                    },
                    "maxItems": 1000,
                    "minItems": 0,
                    "type": "array"
                  },
                  "merge_adjacent": {
                    "description": "Applied adjacency policy",
                    "type": "boolean"
                  },
                  "operation": {
                    "const": "intervals-merge",
                    "description": "Stable route operation",
                    "type": "string"
                  },
                  "output_count": {
                    "description": "Number of maximal output intervals",
                    "maximum": 1000,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "total_covered_seconds": {
                    "description": "Checked sum of output interval durations in seconds",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "warnings": {
                    "description": "Always empty for deterministic merging",
                    "items": {
                      "description": "Warning",
                      "type": "string"
                    },
                    "maxItems": 0,
                    "type": "array"
                  }
                },
                "required": [
                  "operation",
                  "algorithm_version",
                  "merge_adjacent",
                  "input_count",
                  "output_count",
                  "intervals",
                  "total_covered_seconds",
                  "warnings"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "tags": [
        "merge-intervals",
        "interval-normalization",
        "calendar",
        "scheduling",
        "deduplicate-time-ranges"
      ]
    }
  },
  "tags": [
    "merge-intervals",
    "interval-normalization",
    "calendar",
    "scheduling",
    "deduplicate-time-ranges",
    "bazaar"
  ],
  "sourceHost": "schedule-tools.use.x402atlas.com",
  "lastUpdated": "2026-10-06T04:51:55.29Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-06T04:51:55.17Z"
  },
  "metadata": {
    "serviceName": "Schedule & Timezone Tools",
    "extensions": {
      "bazaar": {
        "category": "calendar",
        "info": {
          "input": {
            "body": {
              "intervals": [
                {
                  "end": "2024-06-03T10:30:00Z",
                  "start": "2024-06-03T09:00:00Z"
                },
                {
                  "end": "2024-06-03T11:00:00Z",
                  "start": "2024-06-03T10:00:00Z"
                },
                {
                  "end": "2024-06-03T12:00:00Z",
                  "start": "2024-06-03T11:00:00Z"
                }
              ],
              "merge_adjacent": true
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "algorithm_version": "schedule-v1",
              "input_count": 3,
              "intervals": [
                {
                  "end": "2024-06-03T12:00:00Z",
                  "start": "2024-06-03T09:00:00Z"
                }
              ],
              "merge_adjacent": true,
              "operation": "intervals-merge",
              "output_count": 1,
              "total_covered_seconds": 10800,
              "warnings": []
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "intervals": {
                      "description": "Intervals to sort and merge; duplicates are allowed",
                      "items": {
                        "additionalProperties": false,
                        "description": "One RFC3339 whole-second half-open interval [start,end)",
                        "properties": {
                          "end": {
                            "description": "Exclusive RFC3339 instant after start",
                            "format": "date-time",
                            "type": "string"
                          },
                          "start": {
                            "description": "Inclusive RFC3339 instant",
                            "format": "date-time",
                            "type": "string"
                          }
                        },
                        "required": [
                          "start",
                          "end"
                        ],
                        "type": "object"
                      },
                      "maxItems": 1000,
                      "minItems": 0,
                      "type": "array"
                    },
                    "merge_adjacent": {
                      "default": true,
                      "description": "Merge intervals that touch exactly as well as intervals that overlap",
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "intervals"
                  ],
                  "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": {
                  "additionalProperties": false,
                  "properties": {
                    "_atlas": {
                      "additionalProperties": false,
                      "description": "Atlas documentation and related-route metadata added after deployment",
                      "properties": {
                        "docs": {
                          "description": "Documentation URL for this bridge",
                          "format": "uri",
                          "maxLength": 512,
                          "type": "string"
                        },
                        "related": {
                          "description": "Bounded related Atlas routes",
                          "items": {
                            "additionalProperties": false,
                            "description": "One related Atlas route",
                            "properties": {
                              "bridge": {
                                "description": "Related bridge name",
                                "maxLength": 64,
                                "type": "string"
                              },
                              "docs": {
                                "description": "Related bridge documentation URL",
                                "format": "uri",
                                "maxLength": 512,
                                "type": "string"
                              },
                              "summary": {
                                "description": "Short capability summary",
                                "maxLength": 256,
                                "type": "string"
                              },
                              "url": {
                                "description": "Related route URL",
                                "format": "uri",
                                "maxLength": 512,
                                "type": "string"
                              }
                            },
                            "required": [
                              "bridge",
                              "url",
                              "docs",
                              "summary"
                            ],
                            "type": "object"
                          },
                          "maxItems": 3,
                          "type": "array"
                        }
                      },
                      "required": [
                        "docs"
                      ],
                      "type": "object"
                    },
                    "algorithm_version": {
                      "const": "schedule-v1",
                      "description": "Pinned interval merge contract",
                      "type": "string"
                    },
                    "input_count": {
                      "description": "Number of input intervals",
                      "maximum": 1000,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "intervals": {
                      "description": "Sorted maximal UTC intervals; [] when input is empty",
                      "items": {
                        "additionalProperties": false,
                        "description": "One normalized UTC half-open interval",
                        "properties": {
                          "end": {
                            "description": "Exclusive RFC3339 instant after start",
                            "format": "date-time",
                            "type": "string"
                          },
                          "start": {
                            "description": "Inclusive RFC3339 instant",
                            "format": "date-time",
                            "type": "string"
                          }
                        },
                        "required": [
                          "start",
                          "end"
                        ],
                        "type": "object"
                      },
                      "maxItems": 1000,
                      "minItems": 0,
                      "type": "array"
                    },
                    "merge_adjacent": {
                      "description": "Applied adjacency policy",
                      "type": "boolean"
                    },
                    "operation": {
                      "const": "intervals-merge",
                      "description": "Stable route operation",
                      "type": "string"
                    },
                    "output_count": {
                      "description": "Number of maximal output intervals",
                      "maximum": 1000,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "total_covered_seconds": {
                      "description": "Checked sum of output interval durations in seconds",
                      "minimum": 0,
                      "type": "integer"
                    },
                    "warnings": {
                      "description": "Always empty for deterministic merging",
                      "items": {
                        "description": "Warning",
                        "type": "string"
                      },
                      "maxItems": 0,
                      "type": "array"
                    }
                  },
                  "required": [
                    "operation",
                    "algorithm_version",
                    "merge_adjacent",
                    "input_count",
                    "output_count",
                    "intervals",
                    "total_covered_seconds",
                    "warnings"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        },
        "tags": [
          "merge-intervals",
          "interval-normalization",
          "calendar",
          "scheduling",
          "deduplicate-time-ranges"
        ]
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "schedule-tools.use.x402atlas.com",
    "manifest_name": "schedule-tools.use.x402atlas.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "_atlas": {
        "docs": "https://example.com",
        "related": [
          {
            "bridge": "string",
            "docs": "https://example.com",
            "summary": "string",
            "url": "https://example.com"
          }
        ]
      },
      "algorithm_version": "string",
      "input_count": 0,
      "intervals": [
        {
          "end": "2026-01-01T00:00:00Z",
          "start": "2026-01-01T00:00:00Z"
        }
      ],
      "merge_adjacent": true,
      "operation": "string",
      "output_count": 0,
      "total_covered_seconds": 0,
      "warnings": [
        "string"
      ]
    },
    "type": "string"
  }
}