{"slug":"api-zfinia-com-x402-v1-structured-data-contract-audit-2ba6e1","title":"Audit the JSON-LD a supplied page declares against a contract the caller states","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/structured-data-contract-audit","category":"code","description":"Audit the JSON-LD a supplied page declares against a contract the caller states. Entities inside @graph and nested inside other entities are flattened first, because reading only the top level misses every entity a real page declares that way. Reports required types absent, required properties missi","price_listed":0.13,"price_asked":0.13,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":3775,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"contract":{"forbid_unknown_types":true,"required_properties":{"Offer":["price","priceCurrency"],"Product":["name","sku","offers"]},"required_types":["Product","Offer","Organization"]},"html":"<!doctype html><html><head><title>Widget</title><script type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Product\",\"name\":\"Widget\",\"sku\":\"W-1\"},{\"@type\":\"Offer\",\"availability\":\"InStock\"},{\"@type\":\"BreadcrumbList\",\"itemListElement\":[]}]}</script><script type=\"application/ld+json\">{\"@type\":\"WebPage\",\"name\":\"Widget\"}</script></head><body><p>One widget.</p></body></html>","url":"https://example.test/widgets/widget-1"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"contract":{"additionalProperties":false,"properties":{"forbid_unknown_types":{"type":"boolean"},"required_properties":{"type":"object"},"required_types":{"items":{"maxLength":128,"type":"string"},"maxItems":50,"minItems":1,"type":"array"}},"type":"object"},"html":{"maxLength":262144,"type":"string"},"url":{"maxLength":2048,"type":"string"}},"required":["html","url","contract"],"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"},"history":[{"day":"2026-10-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.13,"price_match":true,"latency_ms":3775,"error":null}],"description_full":"Audit the JSON-LD a supplied page declares against a contract the caller states. Entities inside @graph and nested inside other entities are flattened first, because reading only the top level misses every entity a real page declares that way. Reports required types absent, required properties missing per entity, unmentioned types when unknown types are forbidden, entities with no @type, and blocks with no @context. Only JSON-LD is read, and that is stated rather than treated as conformant.","last_updated":"2026-10-04T08:15:48.108Z","schemes":["exact"]}