Audit the JSON-LD a supplied page declares against a contract the caller states
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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.zfinia.com/x402/v1/structured-data-contract-audit
| Category | Code and developer |
|---|---|
| Provider host | api.zfinia.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-04 | valid payment request | 402 | $0.13 | 3775 ms |
Example input (from the provider)
{
"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"
}
Promised output schema (from the provider)
{
"$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"
}