UNPKG

1.95 kBJSONView Raw
1{"meta:license":["Copyright 2018 Adobe. All rights reserved.","This file is licensed to you under the Apache License, Version 2.0 (the \"License\");","you may not use this file except in compliance with the License. You may obtain a copy","of the License at http://www.apache.org/licenses/LICENSE-2.0","","Unless required by applicable law or agreed to in writing, software distributed under","the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS","OF ANY KIND, either express or implied. See the License for the specific language","governing permissions and limitations under the License."],"$id":"https://ns.adobe.com/helix/pipeline/content","$schema":"http://json-schema.org/draft-07/schema#","title":"Content","meta:status":"stabilizing","type":"object","description":"The content as retrieved from the repository and enriched in the pipeline.","additionalProperties":false,"properties":{"sources":{"type":"array","description":"List of URIs that have been retrieved for this piece of content","items":{"type":"string","format":"uri"}},"body":{"type":"string","description":"The content body of the retrieved source document"},"mdast":{"$ref":"https://ns.adobe.com/helix/pipeline/mdast"},"document":{"type":"object","description":"The DOM-compatible representation of the document's inner HTML"},"json":{"type":"object","description":"The JSON object to emit."},"xml":{"type":"object","description":"The XML object to emit. See xmlbuilder-js for syntax."},"meta":{"$ref":"https://ns.adobe.com/helix/pipeline/meta#/definitions/meta"},"title":{"$ref":"https://ns.adobe.com/helix/pipeline/meta#/definitions/meta/properties/title"},"intro":{"$ref":"https://ns.adobe.com/helix/pipeline/meta#/definitions/meta/properties/intro"},"image":{"$ref":"https://ns.adobe.com/helix/pipeline/meta#/definitions/meta/properties/image"},"data":{"type":"object","description":"Custom object that can hold any user defined data."}}}