{
  "x402Version": 2,
  "id": 7895,
  "slug": "7895",
  "resource": "https://i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws/v1/document-validator",
  "description": "Check invoices, contracts, tenders, and text documents for required fields and source evidence before downstream automation.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x94bab5853bff59401b355371f9c4b8ca6d6eca9d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "250000",
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "profile": "invoice",
            "text": "Invoice number: INV-100. Total: $125.00. Due date: 2026-10-01."
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "checks": [],
            "limitation": "Text-based validation only.",
            "missingFields": [],
            "profile": "invoice",
            "valid": true,
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "profile": {
                    "enum": [
                      "invoice",
                      "contract",
                      "tender",
                      "generic"
                    ],
                    "type": "string"
                  },
                  "requiredFields": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "required": [
                  "profile",
                  "text"
                ],
                "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": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "checks": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "confidence": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "number"
                        },
                        "name": {
                          "type": "string"
                        },
                        "present": {
                          "type": "boolean"
                        },
                        "value": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "name",
                        "present",
                        "value",
                        "confidence"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "limitation": {
                    "type": "string"
                  },
                  "missingFields": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "profile": {
                    "type": "string"
                  },
                  "valid": {
                    "type": "boolean"
                  },
                  "warnings": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "valid",
                  "profile",
                  "checks",
                  "missingFields",
                  "warnings",
                  "limitation"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "required": false
    }
  },
  "tags": [
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws",
  "lastUpdated": "2026-09-16T18:06:36.619Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-16T18:06:36.478Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws",
    "manifest_name": "i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}