UNPKG

1.62 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/section","$schema":"http://json-schema.org/draft-07/schema#","description":"A section in a markdown document","meta:status":"experimental","title":"Section","definitions":{"section":{"additionalProperties":false,"properties":{"type":{"const":"root","description":"The MDAST node type. Each section can be treated as a standalone document."},"position":{"$ref":"https://ns.adobe.com/helix/pipeline/position"},"children":{"type":"array","description":"The AST nodes making up the section. Section dividers are not included.","items":{"$ref":"https://ns.adobe.com/helix/pipeline/mdast"}},"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"}}}}}