API

document.validate

Validate and analyze structured data in HTML, JSON-LD, Microdata, or RDFa.

The validate endpoint parses, validates, and analyzes structured data to provide detailed insights along with any messages that occur during decoding, processing, and validation.

Request

POST /v1/document.validate
Content-Type: multipart/form-data
  • Form

Response

  • Message[]

Examples

curl https://api.schemamarkup.app/v1/document.validate \
  --form sourceFile=@example.html \
  --form format=messages