API

document.process

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

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

Complex Response Structure

This method includes low-level details about the source document, dataset, and extra metadata. If you only need validation-related messages, use document.validate for a simplified response structure.

Request

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

Response

  • Dataset
  • Service[]
  • Source

Examples

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