+{"title":"JSON schema for unist syntax trees","$schema":"http://json-schema.org/draft-07/schema#","definitions":{"Point":{"markdownDescription":"A point represents one place in a source file. The value of the point field implements the [Point](https://github.com/syntax-tree/unist#point) interface.","type":"object","properties":{"column":{"type":"integer","minimum":1},"line":{"type":"integer","minimum":1},"offset":{"type":"integer","minimum":0}},"required":["column","line"],"additionalProperties":false},"Position":{"markdownDescription":"A position represents the location of a node in a source file. The value of the position field implements the [Position](https://github.com/syntax-tree/unist#position) interface. The position field must not be present if a node is generated.","type":"object","properties":{"end":{"$ref":"#/definitions/Point"},"start":{"$ref":"#/definitions/Point"}},"required":["end","start"],"additionalProperties":false}},"type":"object","properties":{"type":{"markdownDescription":"The [type](https://github.com/syntax-tree/unist#type) field is a non-empty string representing the variant of a node. This field can be used to determine the type a node implements.","type":"string"},"position":{"$ref":"#/definitions/Position"},"children":{"type":"array","items":{"$ref":"#"}},"data":{"markdownDescription":"The data field represents information from the ecosystem. The value of the data field implements the [Data](https://github.com/syntax-tree/unist#data) interface.","type":"object","additionalProperties":true},"value":true},"required":["type"],"additionalProperties":true}
0 commit comments