diff --git a/docs/content.schema.json b/docs/content.schema.json index 8982d3326..d465e6de9 100644 --- a/docs/content.schema.json +++ b/docs/content.schema.json @@ -49,6 +49,10 @@ "description": "Deprecated: the Hypermedia (HAST) AST", "meta:status": "deprecated" }, + "json": { + "type": "object", + "description": "The JSON object to emit." + }, "xml": { "type": "object", "description": "The XML object to emit. See xmlbuilder-js for syntax." diff --git a/docs/content.schema.md b/docs/content.schema.md index c1019c1d6..1c48f08a1 100644 --- a/docs/content.schema.md +++ b/docs/content.schema.md @@ -26,6 +26,7 @@ The content as retrieved from the repository and enriched in the pipeline. | [htast](#htast) | `object` | Optional | No | Content (this schema) | | [image](#image) | `string` | Optional | No | Content (this schema) | | [intro](#intro) | `string` | Optional | No | Content (this schema) | +| [json](#json) | `object` | Optional | No | Content (this schema) | | [mdast](#mdast) | MDAST | Optional | No | Content (this schema) | | [meta](#meta) | `object` | Optional | No | Content (this schema) | | [sections](#sections) | Section | Optional | No | Content (this schema) | @@ -145,6 +146,30 @@ Extracted first paragraph of the document +## json + +The JSON object to emit. + +`json` + +* is optional +* type: `object` +* defined in this schema + +### json Type + + +`object` with following properties: + + +| Property | Type | Required | +|----------|------|----------| + + + + + + ## mdast