{
  "x402Version": 2,
  "id": 7969,
  "slug": "7969",
  "resource": "https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v1/csv/profile",
  "description": "Audit caller-supplied CSV data quality: infer column types, count missing and duplicate values, and flag malformed row widths without network access.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x25e8245f07d5e4873987293dad666afbe56a9608",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "csv": "name,score\nAda,10\nLin,",
            "has_header": true
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "endpoint": "csv-quality-profile",
            "protocol": "x402-v2",
            "result": {
              "column_count": 2,
              "columns": [
                {
                  "duplicate_nonempty_count": 0,
                  "examples": [
                    "Ada",
                    "Lin"
                  ],
                  "inferred_type": "string",
                  "max_length": 3,
                  "min_length": 3,
                  "name": "name",
                  "null_or_empty_count": 0,
                  "numeric_max": null,
                  "numeric_min": null,
                  "unique_count": 2
                },
                {
                  "duplicate_nonempty_count": 0,
                  "examples": [
                    "10"
                  ],
                  "inferred_type": "integer",
                  "max_length": 2,
                  "min_length": 2,
                  "name": "score",
                  "null_or_empty_count": 1,
                  "numeric_max": 10,
                  "numeric_min": 10,
                  "unique_count": 1
                }
              ],
              "delimiter": ",",
              "duplicate_headers": [],
              "has_header": true,
              "headers": [
                "name",
                "score"
              ],
              "inconsistent_row_count": 0,
              "inconsistent_rows": [],
              "input_sha256": "8d2f18a153292a78df165121ca2b8fb9989a2329356ae5e3ccd3749a8b1b3b70",
              "row_count": 2
            },
            "service": "Foundry PAR-007",
            "version": "illustrative"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "csv": {
                    "maxLength": 65536,
                    "minLength": 1,
                    "type": "string"
                  },
                  "delimiter": {
                    "enum": [
                      ",",
                      ";",
                      "\t",
                      "|"
                    ],
                    "type": "string"
                  },
                  "has_header": {
                    "default": true,
                    "type": "boolean"
                  }
                },
                "required": [
                  "csv"
                ],
                "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": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "endpoint": {
                    "const": "csv-quality-profile",
                    "type": "string"
                  },
                  "protocol": {
                    "const": "x402-v2",
                    "type": "string"
                  },
                  "result": {
                    "additionalProperties": false,
                    "properties": {
                      "column_count": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "columns": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "duplicate_nonempty_count": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            "examples": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "inferred_type": {
                              "enum": [
                                "empty",
                                "boolean",
                                "integer",
                                "number",
                                "date",
                                "string",
                                "mixed"
                              ],
                              "type": "string"
                            },
                            "max_length": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "min_length": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "name": {
                              "type": "string"
                            },
                            "null_or_empty_count": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            "numeric_max": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "numeric_min": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "unique_count": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "name",
                            "inferred_type",
                            "null_or_empty_count",
                            "unique_count",
                            "duplicate_nonempty_count",
                            "min_length",
                            "max_length",
                            "numeric_min",
                            "numeric_max",
                            "examples"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "delimiter": {
                        "type": "string"
                      },
                      "duplicate_headers": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "has_header": {
                        "type": "boolean"
                      },
                      "headers": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "inconsistent_row_count": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "inconsistent_rows": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "columns": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            "row": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "row",
                            "columns"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "input_sha256": {
                        "pattern": "^[a-f0-9]{64}$",
                        "type": "string"
                      },
                      "row_count": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      }
                    },
                    "required": [
                      "input_sha256",
                      "delimiter",
                      "has_header",
                      "row_count",
                      "column_count",
                      "headers",
                      "duplicate_headers",
                      "inconsistent_row_count",
                      "inconsistent_rows",
                      "columns"
                    ],
                    "type": "object"
                  },
                  "service": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  }
                },
                "required": [
                  "endpoint",
                  "protocol",
                  "result",
                  "service",
                  "version"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev",
  "lastUpdated": "2026-09-14T19:54:02.472Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-09-14T19:54:01.456Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev",
    "manifest_name": "foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}