The source document is decoded, data is validated against known ontologies, and then processed according to the configured services. The resulting dataset, including any messages emitted from these steps, are returned and output using JSON syntax.
For documentation on the JSON output schema, refer to the documentation at https://schemamarkup.app/api/v1/document.process.
If you only need access to validation messages, refer to the validate command.
Usage
schemamarkup process [flags]- bool
- string
- string
- string
Global Flags
- string
Examples
# Process structured data of a local HTML file.
schemamarkup process -i index.html
# Retrieve a web resource (local GET) and process its structured data.
schemamarkup process -i https://example.com/index.html
# Pipe a JSON-LD document for processing.
cat document.jsonld | schemamarkup process