{
  "x402Version": 2,
  "id": 8508,
  "slug": "8508",
  "resource": "https://agentproof-murex.vercel.app/json/repair",
  "description": "JSON repair for AI agents - fix malformed JSON and return structured output.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9299ea851Fcf213071a6dD94ffCd026834D61023",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "input": "{\"user_id\": 123, \"email\": \"a@test.com\","
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "changed": true,
            "endpoint": "json.repair",
            "parsed": {
              "email": "a@test.com",
              "user_id": 123
            },
            "repairedText": "{\n  \"user_id\": 123,\n  \"email\": \"a@test.com\"\n}",
            "service": "AgentProof",
            "valid": true,
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "oneOf": [
                  {
                    "additionalProperties": true,
                    "properties": {
                      "input": {
                        "description": "Malformed JSON string or JSON-compatible value to repair."
                      }
                    },
                    "required": [
                      "input"
                    ],
                    "type": "object"
                  },
                  {
                    "description": "Malformed JSON string to repair.",
                    "type": "string"
                  }
                ]
              },
              "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": {
                "properties": {
                  "changed": {
                    "type": "boolean"
                  },
                  "endpoint": {
                    "const": "json.repair",
                    "type": "string"
                  },
                  "parsed": {
                    "description": "Any JSON value."
                  },
                  "repairedText": {
                    "type": "string"
                  },
                  "service": {
                    "const": "AgentProof",
                    "type": "string"
                  },
                  "valid": {
                    "type": "boolean"
                  },
                  "warnings": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "service",
                  "endpoint",
                  "valid",
                  "changed",
                  "repairedText",
                  "parsed",
                  "warnings"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "agentproof-murex.vercel.app",
  "lastUpdated": "2026-09-17T09:49:05.369Z",
  "quality": {
    "calls30d": 16,
    "uniquePayers30d": 9,
    "lastCalledAt": "2026-09-17T09:49:05.199Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agentproof-murex.vercel.app",
    "manifest_name": "agentproof-murex.vercel.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}