{
  "x402Version": 2,
  "id": 34876,
  "slug": "34876",
  "resource": "https://data-tools.use.x402atlas.com/json-diff",
  "description": "JSON Patch diff — compare JSON documents for record updates and configuration synchronization; return a deterministic RFC 6902 patch with RFC 6901 pointers and exact decimal equality. Object removals precede changes; changed arrays are replaced whole, so the patch is bounded rather than guaranteed minimal.",
  "type": "http",
  "serviceName": "Structured Data Tools",
  "resourceType": "Identity & Enrichment",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "description": "Complete structured-data result",
        "properties": {
          "_atlas": {
            "additionalProperties": false,
            "description": "Optional Atlas documentation metadata injected by the platform",
            "properties": {
              "docs": {
                "description": "Documentation URL",
                "format": "uri",
                "maxLength": 512,
                "type": "string"
              },
              "related": {
                "description": "Related Atlas routes",
                "items": {
                  "additionalProperties": false,
                  "description": "Related route",
                  "properties": {
                    "bridge": {
                      "description": "Bridge name",
                      "type": "string"
                    },
                    "docs": {
                      "description": "Documentation URL",
                      "type": "string"
                    },
                    "summary": {
                      "description": "Capability summary",
                      "type": "string"
                    },
                    "url": {
                      "description": "Paid route URL",
                      "type": "string"
                    }
                  },
                  "required": [
                    "bridge",
                    "url",
                    "docs",
                    "summary"
                  ],
                  "type": "object"
                },
                "maxItems": 3,
                "type": "array"
              }
            },
            "required": [
              "docs"
            ],
            "type": "object"
          },
          "algorithm_version": {
            "const": "json-patch-diff-v1",
            "description": "Pinned deterministic algorithm or profile",
            "type": "string"
          },
          "format": {
            "const": "rfc6902",
            "description": "JSON Patch wire format",
            "type": "string"
          },
          "input": {
            "additionalProperties": false,
            "description": "Normalized input summary",
            "properties": {
              "source_node_count": {
                "description": "Source nodes",
                "maximum": 50000,
                "minimum": 0,
                "type": "integer"
              },
              "target_node_count": {
                "description": "Target nodes",
                "maximum": 50000,
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "source_node_count",
              "target_node_count"
            ],
            "type": "object"
          },
          "operation": {
            "const": "json-diff",
            "description": "Stable capability operation, identical across packaging variants",
            "type": "string"
          },
          "patch": {
            "description": "Deterministic patch <=10000 operations and <=1 MiB; removals before additions/changes, UTF-16 key order, arrays replaced whole",
            "items": {
              "description": "RFC 6902 operation",
              "oneOf": [
                {
                  "additionalProperties": false,
                  "description": "Removal operation",
                  "properties": {
                    "op": {
                      "const": "remove",
                      "description": "Remove missing object member",
                      "type": "string"
                    },
                    "path": {
                      "description": "RFC 6901 target path",
                      "type": "string"
                    }
                  },
                  "required": [
                    "op",
                    "path"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "description": "Addition or replacement operation",
                  "properties": {
                    "op": {
                      "description": "Addition or whole-value replacement",
                      "enum": [
                        "add",
                        "replace"
                      ],
                      "type": "string"
                    },
                    "path": {
                      "description": "RFC 6901 target path",
                      "type": "string"
                    },
                    "value": {
                      "description": "Exact target value; unique decoded keys, valid Unicode, depth <=64, finite JSON numeric tokens <=1024 bytes and exponent magnitude <=4096",
                      "type": [
                        "object",
                        "array",
                        "string",
                        "number",
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "op",
                    "path",
                    "value"
                  ],
                  "type": "object"
                }
              ]
            },
            "maxItems": 10000,
            "type": "array"
          },
          "warnings": {
            "description": "Deterministic warnings; empty array when none",
            "items": {
              "description": "Warning message; no original cell or document values",
              "type": "string"
            },
            "maxItems": 100,
            "type": "array"
          }
        },
        "required": [
          "algorithm_version",
          "format",
          "input",
          "operation",
          "patch",
          "warnings"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "category": "utilities",
      "info": {
        "input": {
          "body": {
            "source": {
              "baz": "qux",
              "foo": "bar"
            },
            "target": {
              "baz": "boo",
              "foo": "bar"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "algorithm_version": "json-patch-diff-v1",
            "format": "rfc6902",
            "input": {
              "source_node_count": 3,
              "target_node_count": 3
            },
            "operation": "json-diff",
            "patch": [
              {
                "op": "replace",
                "path": "/baz",
                "value": "boo"
              }
            ],
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "description": "Exact JSON diff request",
                "properties": {
                  "source": {
                    "description": "Source document <=512 KiB and <=50000 nodes; unique decoded keys, valid Unicode, depth <=64, finite JSON numeric tokens <=1024 bytes and exponent magnitude <=4096",
                    "type": [
                      "object",
                      "array",
                      "string",
                      "number",
                      "boolean",
                      "null"
                    ]
                  },
                  "target": {
                    "description": "Target document <=512 KiB and <=50000 nodes; unique decoded keys, valid Unicode, depth <=64, finite JSON numeric tokens <=1024 bytes and exponent magnitude <=4096",
                    "type": [
                      "object",
                      "array",
                      "string",
                      "number",
                      "boolean",
                      "null"
                    ]
                  }
                },
                "required": [
                  "source",
                  "target"
                ],
                "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,
                "description": "Complete structured-data result",
                "properties": {
                  "_atlas": {
                    "additionalProperties": false,
                    "description": "Optional Atlas documentation metadata injected by the platform",
                    "properties": {
                      "docs": {
                        "description": "Documentation URL",
                        "format": "uri",
                        "maxLength": 512,
                        "type": "string"
                      },
                      "related": {
                        "description": "Related Atlas routes",
                        "items": {
                          "additionalProperties": false,
                          "description": "Related route",
                          "properties": {
                            "bridge": {
                              "description": "Bridge name",
                              "type": "string"
                            },
                            "docs": {
                              "description": "Documentation URL",
                              "type": "string"
                            },
                            "summary": {
                              "description": "Capability summary",
                              "type": "string"
                            },
                            "url": {
                              "description": "Paid route URL",
                              "type": "string"
                            }
                          },
                          "required": [
                            "bridge",
                            "url",
                            "docs",
                            "summary"
                          ],
                          "type": "object"
                        },
                        "maxItems": 3,
                        "type": "array"
                      }
                    },
                    "required": [
                      "docs"
                    ],
                    "type": "object"
                  },
                  "algorithm_version": {
                    "const": "json-patch-diff-v1",
                    "description": "Pinned deterministic algorithm or profile",
                    "type": "string"
                  },
                  "format": {
                    "const": "rfc6902",
                    "description": "JSON Patch wire format",
                    "type": "string"
                  },
                  "input": {
                    "additionalProperties": false,
                    "description": "Normalized input summary",
                    "properties": {
                      "source_node_count": {
                        "description": "Source nodes",
                        "maximum": 50000,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "target_node_count": {
                        "description": "Target nodes",
                        "maximum": 50000,
                        "minimum": 0,
                        "type": "integer"
                      }
                    },
                    "required": [
                      "source_node_count",
                      "target_node_count"
                    ],
                    "type": "object"
                  },
                  "operation": {
                    "const": "json-diff",
                    "description": "Stable capability operation, identical across packaging variants",
                    "type": "string"
                  },
                  "patch": {
                    "description": "Deterministic patch <=10000 operations and <=1 MiB; removals before additions/changes, UTF-16 key order, arrays replaced whole",
                    "items": {
                      "description": "RFC 6902 operation",
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "description": "Removal operation",
                          "properties": {
                            "op": {
                              "const": "remove",
                              "description": "Remove missing object member",
                              "type": "string"
                            },
                            "path": {
                              "description": "RFC 6901 target path",
                              "type": "string"
                            }
                          },
                          "required": [
                            "op",
                            "path"
                          ],
                          "type": "object"
                        },
                        {
                          "additionalProperties": false,
                          "description": "Addition or replacement operation",
                          "properties": {
                            "op": {
                              "description": "Addition or whole-value replacement",
                              "enum": [
                                "add",
                                "replace"
                              ],
                              "type": "string"
                            },
                            "path": {
                              "description": "RFC 6901 target path",
                              "type": "string"
                            },
                            "value": {
                              "description": "Exact target value; unique decoded keys, valid Unicode, depth <=64, finite JSON numeric tokens <=1024 bytes and exponent magnitude <=4096",
                              "type": [
                                "object",
                                "array",
                                "string",
                                "number",
                                "boolean",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "op",
                            "path",
                            "value"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "maxItems": 10000,
                    "type": "array"
                  },
                  "warnings": {
                    "description": "Deterministic warnings; empty array when none",
                    "items": {
                      "description": "Warning message; no original cell or document values",
                      "type": "string"
                    },
                    "maxItems": 100,
                    "type": "array"
                  }
                },
                "required": [
                  "algorithm_version",
                  "format",
                  "input",
                  "operation",
                  "patch",
                  "warnings"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "tags": [
        "json-diff",
        "json-patch",
        "rfc6902",
        "exact-decimal",
        "structured-data"
      ]
    }
  },
  "tags": [
    "json-diff",
    "json-patch",
    "rfc6902",
    "exact-decimal",
    "structured-data",
    "bazaar"
  ],
  "sourceHost": "data-tools.use.x402atlas.com",
  "lastUpdated": "2026-10-09T19:31:02.546Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T23:05:57.529Z"
  },
  "metadata": {
    "serviceName": "Structured Data Tools",
    "extensions": {
      "bazaar": {
        "category": "utilities",
        "info": {
          "input": {
            "body": {
              "source": {
                "baz": "qux",
                "foo": "bar"
              },
              "target": {
                "baz": "boo",
                "foo": "bar"
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "algorithm_version": "json-patch-diff-v1",
              "format": "rfc6902",
              "input": {
                "source_node_count": 3,
                "target_node_count": 3
              },
              "operation": "json-diff",
              "patch": [
                {
                  "op": "replace",
                  "path": "/baz",
                  "value": "boo"
                }
              ],
              "warnings": []
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "description": "Exact JSON diff request",
                  "properties": {
                    "source": {
                      "description": "Source document <=512 KiB and <=50000 nodes; unique decoded keys, valid Unicode, depth <=64, finite JSON numeric tokens <=1024 bytes and exponent magnitude <=4096",
                      "type": [
                        "object",
                        "array",
                        "string",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "target": {
                      "description": "Target document <=512 KiB and <=50000 nodes; unique decoded keys, valid Unicode, depth <=64, finite JSON numeric tokens <=1024 bytes and exponent magnitude <=4096",
                      "type": [
                        "object",
                        "array",
                        "string",
                        "number",
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "source",
                    "target"
                  ],
                  "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,
                  "description": "Complete structured-data result",
                  "properties": {
                    "_atlas": {
                      "additionalProperties": false,
                      "description": "Optional Atlas documentation metadata injected by the platform",
                      "properties": {
                        "docs": {
                          "description": "Documentation URL",
                          "format": "uri",
                          "maxLength": 512,
                          "type": "string"
                        },
                        "related": {
                          "description": "Related Atlas routes",
                          "items": {
                            "additionalProperties": false,
                            "description": "Related route",
                            "properties": {
                              "bridge": {
                                "description": "Bridge name",
                                "type": "string"
                              },
                              "docs": {
                                "description": "Documentation URL",
                                "type": "string"
                              },
                              "summary": {
                                "description": "Capability summary",
                                "type": "string"
                              },
                              "url": {
                                "description": "Paid route URL",
                                "type": "string"
                              }
                            },
                            "required": [
                              "bridge",
                              "url",
                              "docs",
                              "summary"
                            ],
                            "type": "object"
                          },
                          "maxItems": 3,
                          "type": "array"
                        }
                      },
                      "required": [
                        "docs"
                      ],
                      "type": "object"
                    },
                    "algorithm_version": {
                      "const": "json-patch-diff-v1",
                      "description": "Pinned deterministic algorithm or profile",
                      "type": "string"
                    },
                    "format": {
                      "const": "rfc6902",
                      "description": "JSON Patch wire format",
                      "type": "string"
                    },
                    "input": {
                      "additionalProperties": false,
                      "description": "Normalized input summary",
                      "properties": {
                        "source_node_count": {
                          "description": "Source nodes",
                          "maximum": 50000,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "target_node_count": {
                          "description": "Target nodes",
                          "maximum": 50000,
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "source_node_count",
                        "target_node_count"
                      ],
                      "type": "object"
                    },
                    "operation": {
                      "const": "json-diff",
                      "description": "Stable capability operation, identical across packaging variants",
                      "type": "string"
                    },
                    "patch": {
                      "description": "Deterministic patch <=10000 operations and <=1 MiB; removals before additions/changes, UTF-16 key order, arrays replaced whole",
                      "items": {
                        "description": "RFC 6902 operation",
                        "oneOf": [
                          {
                            "additionalProperties": false,
                            "description": "Removal operation",
                            "properties": {
                              "op": {
                                "const": "remove",
                                "description": "Remove missing object member",
                                "type": "string"
                              },
                              "path": {
                                "description": "RFC 6901 target path",
                                "type": "string"
                              }
                            },
                            "required": [
                              "op",
                              "path"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "description": "Addition or replacement operation",
                            "properties": {
                              "op": {
                                "description": "Addition or whole-value replacement",
                                "enum": [
                                  "add",
                                  "replace"
                                ],
                                "type": "string"
                              },
                              "path": {
                                "description": "RFC 6901 target path",
                                "type": "string"
                              },
                              "value": {
                                "description": "Exact target value; unique decoded keys, valid Unicode, depth <=64, finite JSON numeric tokens <=1024 bytes and exponent magnitude <=4096",
                                "type": [
                                  "object",
                                  "array",
                                  "string",
                                  "number",
                                  "boolean",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "op",
                              "path",
                              "value"
                            ],
                            "type": "object"
                          }
                        ]
                      },
                      "maxItems": 10000,
                      "type": "array"
                    },
                    "warnings": {
                      "description": "Deterministic warnings; empty array when none",
                      "items": {
                        "description": "Warning message; no original cell or document values",
                        "type": "string"
                      },
                      "maxItems": 100,
                      "type": "array"
                    }
                  },
                  "required": [
                    "algorithm_version",
                    "format",
                    "input",
                    "operation",
                    "patch",
                    "warnings"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        },
        "tags": [
          "json-diff",
          "json-patch",
          "rfc6902",
          "exact-decimal",
          "structured-data"
        ]
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "data-tools.use.x402atlas.com",
    "manifest_name": "data-tools.use.x402atlas.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-13T15:56:53.641Z"
  },
  "exampleResponse": {
    "example": {
      "_atlas": {
        "docs": "https://example.com",
        "related": [
          {
            "bridge": "string",
            "docs": "string",
            "summary": "string",
            "url": "string"
          }
        ]
      },
      "algorithm_version": "string",
      "format": "string",
      "input": {
        "source_node_count": 0,
        "target_node_count": 0
      },
      "operation": "string",
      "patch": [
        "value"
      ],
      "warnings": [
        "string"
      ]
    },
    "type": "string"
  }
}