{
  "x402Version": 2,
  "id": 33408,
  "slug": "33408",
  "resource": "https://api.edifiedlab.com/v1/tools/structured-data",
  "description": "Diff JSON, apply JSON Patch, or validate XML/XSD and CSV/tabular data; this is general-purpose structured-data tooling, not OpenAPI-specific diffing.",
  "type": "http",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5037546753d64F77A6fA95B6f85659B6a4A7F6FD",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "211000",
      "amountUsd": 0.211,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "action": {
            "const": "process"
          },
          "op": {
            "type": "string"
          },
          "payload": {
            "const": "structured_data"
          },
          "result": {}
        },
        "required": [
          "payload",
          "action",
          "op",
          "result"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "base": {
              "name": "widget",
              "price": 9.99
            },
            "op": "json_diff",
            "revised": {
              "name": "widget",
              "price": 12.99
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "action": "process",
            "op": "json_diff",
            "payload": "structured_data",
            "result": [
              {
                "op": "replace",
                "path": "/name",
                "value": "new"
              }
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "base": {},
                  "csv": {
                    "type": "string"
                  },
                  "document": {},
                  "op": {
                    "enum": [
                      "json_diff",
                      "json_patch",
                      "xml_validate",
                      "csv_validate"
                    ],
                    "type": "string"
                  },
                  "patch": {
                    "type": "array"
                  },
                  "revised": {},
                  "schema": {
                    "type": "object"
                  },
                  "xml": {
                    "type": "string"
                  },
                  "xsd": {
                    "type": "string"
                  }
                },
                "required": [
                  "op"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "action": {
                    "const": "process"
                  },
                  "op": {
                    "type": "string"
                  },
                  "payload": {
                    "const": "structured_data"
                  },
                  "result": {}
                },
                "required": [
                  "payload",
                  "action",
                  "op",
                  "result"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.edifiedlab.com",
  "lastUpdated": "2026-09-17T14:39:21.615Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-17T14:39:21.307Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "base": {
                "name": "widget",
                "price": 9.99
              },
              "op": "json_diff",
              "revised": {
                "name": "widget",
                "price": 12.99
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "action": "process",
              "op": "json_diff",
              "payload": "structured_data",
              "result": [
                {
                  "op": "replace",
                  "path": "/name",
                  "value": "new"
                }
              ]
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "base": {},
                    "csv": {
                      "type": "string"
                    },
                    "document": {},
                    "op": {
                      "enum": [
                        "json_diff",
                        "json_patch",
                        "xml_validate",
                        "csv_validate"
                      ],
                      "type": "string"
                    },
                    "patch": {
                      "type": "array"
                    },
                    "revised": {},
                    "schema": {
                      "type": "object"
                    },
                    "xml": {
                      "type": "string"
                    },
                    "xsd": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "op"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "action": {
                      "const": "process"
                    },
                    "op": {
                      "type": "string"
                    },
                    "payload": {
                      "const": "structured_data"
                    },
                    "result": {}
                  },
                  "required": [
                    "payload",
                    "action",
                    "op",
                    "result"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.edifiedlab.com",
    "manifest_name": "api.edifiedlab.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": {
    "action": "process",
    "op": "json_diff",
    "payload": "structured_data",
    "result": [
      {
        "op": "replace",
        "path": "/name",
        "value": "new"
      }
    ]
  }
}