Validate structured data
validate_structured_dataValidate pasted JSON-LD against the schema.org vocabulary (every type, property, domain, range and enumeration value) and Google's documented rules for LocalBusiness and Organization markup: required name and address, recommended properties, hh:mm:ss hours, 5 decimal coordinates, priceRange length, self-serving reviews, sameAs. Accepts one block, several blocks, or the script tags around them. Each issue cites its source. No network access.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"json_ld": "<json_ld>"
},
"name": "validate_structured_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json_ld | Yes | JSON-LD text. Script tags are stripped; several script blocks are each validated. |