{
  "x402Version": 2,
  "id": 12729,
  "slug": "12729",
  "resource": "https://jsonschema.openverbs.com/v1/infer",
  "description": "Infer a JSON Schema (draft-07) from an example value, walking objects and arrays recursively. Set detectFormat=true to tag strings that look like date-time/date/email/uri/uuid, requireAll=false to leave object properties optional, and additionalProperties=true to allow extra keys.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "4000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "detectFormat": false,
            "requireAll": false,
            "sample": "example"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "additionalProperties": {
                    "description": "Allow properties beyond those seen. Default false.",
                    "type": "boolean"
                  },
                  "detectFormat": {
                    "description": "Tag recognizable string formats (date-time/date/email/uri/uuid). Default false.",
                    "type": "boolean"
                  },
                  "requireAll": {
                    "description": "Mark all object properties as required. Default true.",
                    "type": "boolean"
                  },
                  "sample": {
                    "description": "An example value to infer a schema from (any JSON type)."
                  }
                },
                "required": [
                  "sample"
                ],
                "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"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "jsonschema.openverbs.com",
  "lastUpdated": "2026-09-14T19:59:45.907Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-14T19:59:45.626Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "jsonschema.openverbs.com",
    "manifest_name": "jsonschema.openverbs.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"
  }
}