{
  "slug": "structured-data-validator",
  "name": "gizza-ai/structured-data-validator",
  "version": "0.1.0",
  "title": "Structured Data Validator — JSON-LD, Microdata & RDFa — gizza.ai",
  "description": "Validate schema.org structured data from pasted HTML — extract JSON-LD, microdata and RDFa and flag markup errors, locally in your browser.",
  "tags": [
    "structured data validator",
    "json ld validator",
    "schema.org",
    "microdata",
    "rdfa",
    "seo",
    "rich results",
    "html validator",
    "json-ld",
    "schema markup"
  ],
  "category": "data",
  "urls": {
    "page": "https://gizza.ai/tools/structured-data-validator/",
    "markdown": "https://gizza.ai/tools/structured-data-validator/index.md",
    "descriptor": "https://gizza.ai/tools/structured-data-validator/tool.json",
    "deep_link_example": "https://gizza.ai/tools/structured-data-validator/?html=%3Cscript%20type%3D%22application%2Fld%2Bjson%22%3E%7B%22%40context%22%3A%22https%3A%2F%2Fschema.org%22%2C%22%40type%22%3A%22Article%22%2C%22headline%22%3A%22Hello%22%7D%3C%2Fscript%3E&format=report"
  },
  "cli": "gizza tool structured-data-validator '<script type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Hello\"}</script>'",
  "tool": {
    "description": "Extract and validate structured data (JSON-LD, microdata, and RDFa) from pasted HTML. Lists every schema.org entity it finds with its @type and properties, and flags common mistakes: invalid JSON-LD, a missing or non-schema.org @context, objects with no @type, itemprop attributes outside any itemscope, an itemscope with no itemtype, and a typeof with no vocab. Set format='report' (default, human-readable) or 'json' (a machine-readable {counts, items, issues, valid} summary).",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "format": {
          "default": "report",
          "description": "Output: 'report' (human-readable, default) or 'json' (machine-readable summary).",
          "enum": [
            "report",
            "json"
          ],
          "type": "string"
        },
        "html": {
          "description": "The HTML source to scan for structured data (paste the <head> and <body>).",
          "type": "string"
        }
      },
      "required": [
        "html"
      ],
      "type": "object"
    }
  }
}