{
  "x402Version": 2,
  "id": 8354,
  "slug": "8354",
  "resource": "https://foundry-csv-drift-evidence-mainnet.inference-chip-index.workers.dev/v1/csv/drift",
  "description": "Compare a caller-supplied candidate CSV with a caller-supplied known-good baseline and return deterministic structural drift evidence.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x25e8245f07d5e4873987293dad666afbe56a9608",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "15000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "allowedNewColumns": [
              "source"
            ],
            "baselineCsv": "id,score,region\n1,0.7,AU\n2,0.9,US\n",
            "candidateCsv": "id,score,region,source\n3,1.2,,api\n4,0.8,AU,api\n",
            "missingRateReviewDelta": 0.1,
            "numericRangeColumns": [
              "score"
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "addedColumns": [
              "source"
            ],
            "baselineRows": 2,
            "candidateRows": 2,
            "disallowedAddedColumns": [],
            "disposition": "REVIEW",
            "evidenceFingerprint": "15a1c350fa3d73358e9e0d846942c90e31a8923cbf6f41bcb2c10030505357a3",
            "missingRateChanges": [
              {
                "baseline": 0,
                "candidate": 0.5,
                "column": "region",
                "delta": 0.5
              }
            ],
            "numericRangeExcursions": [
              {
                "above": 1,
                "baselineMaximum": 0.9,
                "baselineMinimum": 0.7,
                "below": 0,
                "column": "score"
              }
            ],
            "product": "csv-drift-evidence",
            "removedColumns": [],
            "reorderedColumns": false,
            "score": 88,
            "typeChanges": [],
            "version": "1.0.0"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "allowedNewColumns": {
                    "description": "New candidate columns that should not reduce the score.",
                    "items": {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "maxItems": 200,
                    "type": "array",
                    "uniqueItems": true
                  },
                  "baselineCsv": {
                    "description": "Known-good CSV including one header row.",
                    "maxLength": 250000,
                    "minLength": 1,
                    "type": "string"
                  },
                  "candidateCsv": {
                    "description": "Candidate CSV to compare with the baseline.",
                    "maxLength": 250000,
                    "minLength": 1,
                    "type": "string"
                  },
                  "missingRateReviewDelta": {
                    "default": 0.1,
                    "description": "Absolute missing-rate change that is reported for review.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "numericRangeColumns": {
                    "description": "Baseline numeric columns whose observed range should be checked.",
                    "items": {
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "maxItems": 200,
                    "type": "array",
                    "uniqueItems": true
                  }
                },
                "required": [
                  "baselineCsv",
                  "candidateCsv"
                ],
                "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,
                "properties": {
                  "addedColumns": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "baselineRows": {
                    "maximum": 20000,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "candidateRows": {
                    "maximum": 20000,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "disallowedAddedColumns": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "disposition": {
                    "enum": [
                      "PASS",
                      "REVIEW",
                      "FAIL"
                    ],
                    "type": "string"
                  },
                  "evidenceFingerprint": {
                    "pattern": "^[0-9a-f]{64}$",
                    "type": "string"
                  },
                  "missingRateChanges": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "baseline": {
                          "type": "number"
                        },
                        "candidate": {
                          "type": "number"
                        },
                        "column": {
                          "type": "string"
                        },
                        "delta": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "column",
                        "baseline",
                        "candidate",
                        "delta"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "numericRangeExcursions": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "above": {
                          "minimum": 0,
                          "type": "integer"
                        },
                        "baselineMaximum": {
                          "type": "number"
                        },
                        "baselineMinimum": {
                          "type": "number"
                        },
                        "below": {
                          "minimum": 0,
                          "type": "integer"
                        },
                        "column": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "column",
                        "baselineMinimum",
                        "baselineMaximum",
                        "below",
                        "above"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "product": {
                    "const": "csv-drift-evidence",
                    "type": "string"
                  },
                  "removedColumns": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "reorderedColumns": {
                    "type": "boolean"
                  },
                  "score": {
                    "maximum": 100,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "typeChanges": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "baseline": {
                          "type": "string"
                        },
                        "candidate": {
                          "type": "string"
                        },
                        "column": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "column",
                        "baseline",
                        "candidate"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "version": {
                    "const": "1.0.0",
                    "type": "string"
                  }
                },
                "required": [
                  "product",
                  "version",
                  "disposition",
                  "score",
                  "baselineRows",
                  "candidateRows",
                  "removedColumns",
                  "addedColumns",
                  "disallowedAddedColumns",
                  "reorderedColumns",
                  "typeChanges",
                  "missingRateChanges",
                  "numericRangeExcursions",
                  "evidenceFingerprint"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "foundry-csv-drift-evidence-mainnet.inference-chip-index.workers.dev",
  "lastUpdated": "2026-09-01T07:38:42.419Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-01T07:38:41.632Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "foundry-csv-drift-evidence-mainnet.inference-chip-index.workers.dev",
    "manifest_name": "foundry-csv-drift-evidence-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"
  }
}