addrbookFor publishers
← The evidence ledger

Evidence row 71008

Observed , by baseline/1.

Kind
listing
About
source_record x402_bazaar:https://api.zfinia.com/x402/v1/openapi-response-conformance-audit
Recorded
Previous row
None: the first of its kind about this subject
Body SHA-256
38cd5a42c090e8aa51b10296142d7e518d2bcedec39068b20c6649ebe43a5a78
Leaf
0x35831ef00a8aeffff9d8bcdf91d0be18b21aa720ad6915d7926fa0f82204d850

What was observed

{
  "endpoints": [
    [
      "x402",
      "https://api.zfinia.com/x402/v1/openapi-response-conformance-audit"
    ]
  ],
  "name": "OpenAPI Response Audit",
  "owner_address": "0x25e8245f07d5e4873987293dad666afbe56a9608",
  "raw": {
    "accepts": [
      {
        "amount": "140000",
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2"
        },
        "maxTimeoutSeconds": 60,
        "network": "eip155:8453",
        "payTo": "0x25e8245f07d5e4873987293dad666afbe56a9608",
        "scheme": "exact"
      }
    ],
    "description": "Audit a real response against what the OpenAPI document promises for that operation. Resolves the declared status exactly, by range such as 2XX, or through default, checks declared response headers are present, and validates the body against the declared schema for its media type. Catches an implementation that has drifted from its own published contract.",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "request": {
                "method": "GET",
                "path": "/orders/{id}"
              },
              "response": {
                "body": {
                  "id": "o-1",
                  "status": "cancelled",
                  "total": "42.50"
                },
                "headers": {
                  "Content-Type": "application/json"
                },
                "status": 200
              },
              "specification": {
                "components": {
                  "schemas": {
                    "Order": {
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "legacy_ref": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "open",
                            "shipped"
                          ],
                          "type": "string"
                        },
                        "total": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "id",
                        "total"
                      ],
                      "type": "object"
                    }
                  },
                  "securitySchemes": {
                    "apiKey": {
                      "in": "header",
                      "name": "X-Api-Key",
                      "type": "apiKey"
                    }
                  }
                },
                "info": {
                  "title": "Orders API",
                  "version": "1.4.0"
                },
                "openapi": "3.1.0",
                "paths": {
                  "/legacy/export": {
                    "get": {
                      "operationId": "legacyExport",
                      "responses": {
                        "200": {
                          "description": "A CSV export"
                        }
                      },
                      "summary": "Legacy export"
                    }
                  },
                  "/orders": {
                    "get": {
                      "operationId": "listOrders",
                      "responses": {
                        "200": {
                          "content": {
                            "application/json": {
                              "schema": {
                                "items": {
                                  "$ref": "#/components/schemas/Order"
                                },
                                "type": "array"
                              }
                            }
                          },
                          "description": "A page of orders"
                        },
                        "429": {
                          "description": "Rate limited"
                        }
                      },
                      "summary": "List orders"
                    },
                    "parameters": [
                      {
                        "in": "query",
                        "name": "page",
                        "schema": {
                          "minimum": 1,
                          "type": "integer"
                        }
                      }
                    ],
                    "post": {
                      "operationId": "createOrder",
                      "requestBody": {
                        "content": {
                          "application/json": {
                            "schema": {
                              "$ref": "#/components/schemas/Order"
                            }
                          }
                        }
                      },
                      "responses": {
                        "201": {
                          "content": {
                            "application/json": {
                              "schema": {
                                "$ref": "#/components/schemas/Order"
                              }
                            }
                          },
                          "description": "Created"
                        }
                      },
                      "summary": "Create an order"
                    }
                  },
                  "/orders/{id}": {
                    "get": {
                      "operationId": "getOrder",
                      "parameters": [
                        {
                          "in": "path",
                          "name": "id",
                          "schema": {
                            "type": "string"
                          }
                        }
                      ],
                      "responses": {
                        "200": {
                          "content": {
                            "application/json": {
                              "schema": {
                                "$ref": "#/components/schemas/Order"
                              }
                            }
                          },
                          "description": "The order"
                        },
                        "404": {
                          "description": "Not found"
                        }
                      },
                      "summary": "Fetch one order"
                    }
                  }
                },
                "security": [
                  {
                    "apiKey": []
                  }
                ]
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "assumptions": [
                "A status may be declared exactly, as a range such as 2XX, or through default, and the most specific declaration is used.",
                "You supply the observed response, so this works against an API behind authentication or on a private network."
              ],
              "body_checked": true,
              "complete": true,
              "conformant": false,
              "finding_count": 2,
              "findings": [
                {
                  "code": "TYPE_MISMATCH",
                  "detail": "GET /orders/{id}: response body Expected number, found string.",
                  "operation": "GET /orders/{id}",
                  "pointer": "/total",
                  "status": "200"
                },
                {
                  "code": "NOT_IN_ENUM",
                  "detail": "GET /orders/{id}: response body \"cancelled\" is not one of the 2 permitted values.",
                  "operation": "GET /orders/{id}",
                  "pointer": "/status",
                  "status": "200"
                }
              ],
              "findings_by_code": {
                "NOT_IN_ENUM": 1,
                "TYPE_MISMATCH": 1
              },
              "limitations": [
                "Conformance of one response against the supplied specification. Whether the specification is correct is not assessed.",
                "conformant is true only when the operation and status were declared and every declared constraint was evaluated and passed."
              ],
              "limits": {
                "maxClientOperations": 200,
                "maxFindings": 500,
                "maxOperations": 500,
                "maxRequestBodyBytes": 262144
              },
              "matched_operation": "GET /orders/{id}",
              "matched_status_declaration": "200",
              "not_examined": [],
              "observed_at": "2026-10-02T00:00:00.000Z",
              "request_id": "example-request",
              "service_id": "openapi_response_conformance_audit",
              "service_version": "1.0.0",
              "status": 200
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "request": {
                      "additionalProperties": false,
                      "properties": {
                        "method": {
                          "enum": [
                            "get",
                            "put",
                            "post",
                            "delete",
                            "options",
                            "head",
                            "patch",
                            "trace",
                            "GET",
                            "PUT",
                            "POST",
                            "DELETE",
                            "OPTIONS",
                            "HEAD",
                            "PATCH",
                            "TRACE"
                          ],
                          "type": "string"
                        },
                        "path": {
                          "maxLength": 2048,
                          "type": "string"
                        }
                      },
                      "required": [
                        "method",
                        "path"
                      ],
                      "type": "object"
                    },
                    "response": {
                      "additionalProperties": false,
                      "properties": {
                        "body": {},
                        "headers": {
                          "type": "object"
                        },
                        "media_type": {
                          "maxLength": 128,
                          "type": "string"
                        },
                        "status": {
                          "maximum": 599,
                          "minimum": 100,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "status"
                      ],
                      "type": "object"
                    },
                    "specification": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "specification",
                    "request",
                    "response"
                  ],
                  "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": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    },
    "lastUpdated": "2026-10-04T07:53:25.356Z",
    "quality": {
      "l30DaysTotalCalls": 1,
      "l30DaysUniquePayers": 1,
      "lastCalledAt": "2026-10-04T07:53:21.11Z"
    },
    "resource": "https://api.zfinia.com/x402/v1/openapi-response-conformance-audit",
    "serviceName": "OpenAPI Response Audit",
    "tags": [
      "openapi",
      "response validation",
      "contract drift",
      "monitoring",
      "developer tooling"
    ],
    "type": "http",
    "x402Version": 2
  },
  "source": "x402_bazaar",
  "summary": "Audit a real response against what the OpenAPI document promises for that operation. Resolves the declared status exactly, by range such as 2XX, or through default, checks declared response headers are present, and validates the body against the declared schema for its media type. Catches an implementation that has drifted from its own published contract."
}

What the leaf hashes

{"body":"38cd5a42c090e8aa51b10296142d7e518d2bcedec39068b20c6649ebe43a5a78","id":71008,"kind":"listing","method":"baseline/1","observed_us":1793025481291971,"prev":null,"subject":"x402_bazaar:https://api.zfinia.com/x402/v1/openapi-response-conformance-audit","subject_kind":"source_record"}

Proof

Its day has not closed yet. A day closes ten minutes after midnight UTC; the proof appears here then.

How to check it · This row as JSON