{
 "name": "x402_endpoint_lint",
 "profile": "verifier",
 "x402Endpoint": "https://app.tenna.ai/api/x402/verifier/x402_endpoint_lint",
 "inputSchema": {
  "type": "object",
  "additionalProperties": false,
  "required": [
   "offering",
   "paymentRequiredBody"
  ],
  "description": "The 402 payment-required body returned by the endpoint.",
  "properties": {
   "paymentRequiredBody": {
    "type": "object",
    "description": "The JSON body the endpoint returned with HTTP 402, verbatim.",
    "examples": [
     {
      "x402Version": 2,
      "resource": {
       "url": "https://example/api",
       "description": "what it sells"
      },
      "accepts": [
       {
        "scheme": "exact"
       }
      ]
     }
    ]
   },
   "offering": {
    "type": "string",
    "const": "x402_endpoint_lint",
    "description": "Offering identifier. Must be exactly 'x402_endpoint_lint'."
   }
  }
 },
 "outputSchema": {
  "type": "object",
  "additionalProperties": true,
  "required": [
   "schemaVersion",
   "offering",
   "provenance",
   "limitations",
   "dataState",
   "grade",
   "findings",
   "payable",
   "indexable"
  ],
  "properties": {
   "schemaVersion": {
    "type": "string",
    "description": "Deliverable contract version."
   },
   "offering": {
    "type": "string",
    "description": "Offering that produced this result.",
    "const": "x402_endpoint_lint"
   },
   "provenance": {
    "type": "object",
    "description": "Reproducibility metadata so another agent can audit this.",
    "properties": {
     "source": {
      "type": "string",
      "description": "Data origin."
     },
     "generatedAt": {
      "type": "integer",
      "description": "Unix seconds."
     },
     "ledgerLaunchCount": {
      "type": [
       "integer",
       "null"
      ],
      "description": "Launches in the ledger. Null when the offering is not derived from the launch ledger — this means not applicable, not collection failure."
     },
     "ledgerSpanHours": {
      "type": [
       "number",
       "null"
      ],
      "description": "Hours of history covered. Null when the offering is not derived from the launch ledger."
     },
     "rubricVersion": {
      "type": [
       "string",
       "null"
      ],
      "description": "Rubric the verdict was produced under. Present on audit offerings."
     },
     "resultHash": {
      "type": [
       "string",
       "null"
      ],
      "description": "Hash of the audited input, so the same verdict can be reproduced. Present on audit offerings."
     },
     "auditedDeliverableHash": {
      "type": [
       "string",
       "null"
      ],
      "description": "Explicit alias for resultHash on deliverable-audit results; hashes the buyer-supplied input, not the audit envelope."
     }
    }
   },
   "limitations": {
    "type": "array",
    "items": {
     "type": "string"
    },
    "description": "Coverage limits and missing data, always disclosed."
   },
   "checksPerformed": {
    "type": "array",
    "description": "Every check this lint runs, with PASSED / FAILED / NOT_RUN. NOT_RUN means the body was unusable so the check could not execute — it is never reported as PASSED."
   },
   "checksSummary": {
    "type": "object",
    "description": "Counts of passed, failed and notRun. The three are reported separately and are not summed into one score."
   },
   "dataState": {
    "type": "string",
    "description": "COMPLETE when the body was readable."
   },
   "grade": {
    "type": "string",
    "description": "Deterministic grade.",
    "enum": [
     "PASS",
     "WARN",
     "FAIL"
    ]
   },
   "severityCounts": {
    "type": "object",
    "description": "Counts by severity. The scale has two levels only, major and minor; there is no critical level."
   },
   "findings": {
    "type": "array",
    "description": "Defects, each with a JSON evidence path and a recommended fix. Severity is major (would stop a paying agent or block catalogue listing) or minor.",
    "items": {
     "type": "object"
    }
   },
   "payable": {
    "type": "boolean",
    "description": "False when a defect would make settlement fail, such as a string over the facilitator's 500-character limit."
   },
   "indexable": {
    "type": "boolean",
    "description": "False when the Bazaar opt-in is missing, so the endpoint never appears in the catalogue however many payments settle."
   },
   "machineReadableContract": {
    "type": "boolean",
    "description": "False when a non-standard schema keyword downgrades the published schema to a string, so a buying agent cannot read the contract."
   },
   "doNotReconcile": {
    "type": "array",
    "description": "Field pairs that describe independent failure modes and must not be cross-checked against each other; a difference between such a pair is expected and is not a contradiction.",
    "items": {
     "type": "object"
    }
   },
   "auditedBodyHash": {
    "type": [
     "string",
     "null"
    ],
    "description": "Hash of the 402 body we audited, so the same input can be re-run and this verdict reproduced. Null when no body was supplied."
   }
  }
 },
 "coverageDescription": "Check an x402 endpoint's 402 payment-required body before you rely on it. Reports whether the contract is payable, whether it is opted in to the Bazaar catalogue, and whether a buying agent can read its input schema by machine. Every defect carries a JSON evidence path. Reads the body you supply; it does not pay or call the endpoint. A PASS is not a correctness guarantee and not a claim that the service is accurate.",
 "sampleUrl": "https://app.tenna.ai/acp_samples.html#live-x402-endpoint-lint",
 "schemaVersion": "tenna.offering-purchase-contract.v1",
 "generatedAt": 1796444701,
 "documentUrl": "https://app.tenna.ai/acp_agent_offerings/x402_endpoint_lint.json",
 "contractHash": "sha256:68137a819afd74b30db2556e1d3c5a4fc336e5263d8f46a07bd0adeb256ae832",
 "requestExample": {
  "offering": "x402_endpoint_lint",
  "paymentRequiredBody": {
   "x402Version": 2,
   "resource": {
    "url": "https://example/api",
    "description": "what it sells"
   },
   "accepts": [
    {
     "scheme": "exact"
    }
   ]
  }
 },
 "requestExampleValidation": {
  "jsonSchema": "PASS_CATALOG_SUBSET",
  "serverInputValidator": "PASS",
  "scope": "Catalog types, required fields, additionalProperties, const/enum, pattern, length, item counts, numeric bounds. Unsupported keywords abort generation. Full draft 2020-12 independently checked by tests, not claimed by this runtime validator.",
  "handlerExecuted": false,
  "paymentExecuted": false
 },
 "exampleBoundary": "Input-conformance example only. Replace subjects with your own. It does not guarantee current coverage, complete data, or a passing audit. Synthetic audit contracts are not third-party endorsements.",
 "selection": {
  "displayName": "x402 Endpoint Payment Check",
  "tags": [
   "x402",
   "402",
   "payment",
   "audit",
   "bazaar",
   "discoverability"
  ],
  "analysisChainValues": null,
  "analysisChainSource": "inputSchema.properties.chain.enum; null means not explicitly declared, not all chains",
  "inputFields": [
   "paymentRequiredBody",
   "offering"
  ],
  "paymentNetworkSource": "current 402 accepts[].network, not analysisChainValues",
  "coverageLimits": "Check an x402 endpoint's 402 payment-required body before you rely on it. Reports whether the contract is payable, whether it is opted in to the Bazaar catalogue, and whether a buying agent can read its input schema by machine. Every defect carries a JSON evidence path. Reads the body you supply; it does not pay or call the endpoint. A PASS is not a correctness guarantee and not a claim that the service is accurate."
 },
 "resultInterpretation": {
  "transportSuccess": "HTTP 200 means a deliverable was returned; inspect payment receipt and result separately.",
  "paymentEvidence": {
   "header": "PAYMENT-RESPONSE",
   "encoding": "base64 JSON",
   "inspection": "Read the facilitator receipt and any transaction/network fields. Verify the transaction on the stated chain when settlement is uncertain.",
   "missingReceipt": "UNKNOWN: absence of a saved receipt does not prove no settlement",
   "statusLookupEndpoint": null,
   "statusLookupBoundary": "No public per-request payment-status lookup is documented here. If receipt/transaction is unavailable, stop automatic paid retries and investigate."
  },
  "dataStatePath": "$.dataState",
  "dataStatePolicy": "Interpret this offering's schema and limitations. Unknown states are not COMPLETE; COMPLETE is not correctness, safety, or coverage beyond the stated scope.",
  "gradePath": "$.grade",
  "gradePolicy": "PASS/WARN/FAIL applies only to the named audit subject. HTTP success is not PASS, and PASS is not a token safety guarantee.",
  "nullPolicy": "Read the field's schema and limitation notes. Never coerce unavailable/not-applicable null to zero or false.",
  "freshnessPolicy": "Read provenance and field-specific timestamps/windows. Document generatedAt is documentation time, not data observation time. No universal freshness SLA is asserted.",
  "automaticTradeDecisionAllowed": false
 },
 "availabilityPolicy": "Recheck live catalog and endpoint before payment. Static documentation is not a current availability promise."
}