{
  "x402Version": 2,
  "id": 2538,
  "slug": "2538",
  "resource": "https://apiacre.com/v1/data/schema",
  "description": "Create and generate a nested JSON Schema Draft 2020-12 contract by inferring field types and required fields from representative JSON, CSV, TSV, JSON Lines, or YAML records, with equivalent CSV/TSV numeric and null inference, input evidence, and non-enforcing observed bounds.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xa0BFa4f07281c9b248DC3AED2217836BcA24869B",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "25000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "25000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "content": "[{\"name\":\"Ada\",\"score\":98}]",
            "format": "json",
            "root_mode": "records"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "inference": {
                "csvEmptyStringsAsNull": false,
                "csvNumericStringsCoerced": false,
                "dialect": "https://json-schema.org/draft/2020-12/schema",
                "tabularNumericStringsCoerced": false,
                "version": "apiacre-schema-inference/3"
              },
              "input": {
                "characters": 27,
                "format": "json",
                "records": 1,
                "rootMode": "records",
                "utf8Bytes": 27
              },
              "schema": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "items": {
                  "properties": {
                    "name": {
                      "type": "string",
                      "x-apiacre-observed": {
                        "missingCount": 0,
                        "nullCount": 0,
                        "presentCount": 1,
                        "sampleCount": 1,
                        "types": [
                          "string"
                        ]
                      }
                    },
                    "score": {
                      "type": "integer",
                      "x-apiacre-observed": {
                        "missingCount": 0,
                        "nullCount": 0,
                        "presentCount": 1,
                        "sampleCount": 1,
                        "types": [
                          "integer"
                        ]
                      }
                    }
                  },
                  "required": [
                    "name",
                    "score"
                  ],
                  "type": "object",
                  "x-apiacre-observed": {
                    "missingCount": 0,
                    "nullCount": 0,
                    "presentCount": 1,
                    "sampleCount": 1,
                    "types": [
                      "object"
                    ]
                  }
                },
                "type": "array",
                "x-apiacre-observed": {
                  "missingCount": 0,
                  "nullCount": 0,
                  "presentCount": 1,
                  "sampleCount": 1,
                  "types": [
                    "array"
                  ]
                }
              }
            },
            "meta": {
              "cached": false,
              "duration_ms": 42,
              "next_actions": [
                {
                  "method": "POST",
                  "path": "/v1/data/schema-validate",
                  "reason": "Validate a future JSON value against the inferred Draft 2020-12 contract.",
                  "service": "data.schema-validate",
                  "title": "JSON Schema validation"
                }
              ],
              "sources": [],
              "warnings": []
            },
            "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
            "service": "data.schema",
            "version": "1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "content": {
                    "type": "string"
                  },
                  "format": {
                    "enum": [
                      "csv",
                      "tsv",
                      "json",
                      "jsonl",
                      "yaml"
                    ],
                    "type": "string"
                  },
                  "root_mode": {
                    "enum": [
                      "records",
                      "preserve"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "content",
                  "format"
                ],
                "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": {
                  "data": {
                    "properties": {
                      "inference": {
                        "type": "object"
                      },
                      "input": {
                        "type": "object"
                      },
                      "schema": {
                        "type": "object"
                      }
                    },
                    "type": "object"
                  },
                  "meta": {
                    "properties": {
                      "cached": {
                        "type": "boolean"
                      },
                      "duration_ms": {
                        "type": "integer"
                      },
                      "next_actions": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "sources": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "warnings": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "duration_ms",
                      "cached",
                      "sources",
                      "warnings",
                      "next_actions"
                    ],
                    "type": "object"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "service": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  }
                },
                "required": [
                  "request_id",
                  "service",
                  "version",
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "apiacre.com",
  "lastUpdated": "2026-08-31T16:18:03.336Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-08-31T16:18:02.829Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "apiacre.com",
    "manifest_name": "apiacre.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"
  }
}