Create initial schema file for ASG
As stated in the specification proposal, the Abstract Semantic Graph (ASG) serves as a representation of a parsed AsciiDoc document, primarily used by the TCK for validating an implementation (though it certainly has other uses as well). In #7 (closed), we decided on JSON as the data format and agreed on a bulk of the schema (the overall structure as well as the terminology). It's now time to translate those decisions into a concrete schema. This issue tracks the creation of the initial schema file for the ASG.
At this stage, the schema should include the following elements:
- document (type=block, name=document), including header, title, and attributes properties
- paragraph (type=block, name=paragraph), including inlines property
- inline text node (type=string, name=text)
- inline marked text (type=inline, name=marked, variant=**)
- location information for a node (start/end that contain line, column, and file info)
In essence, we want to be able to represent a basic AsciiDoc document that has a header and a body that consists of paragraphs with some inline markup.
When this issue is resolved, the schema does not need to finished. It just needs to exist as a first draft. The schema will be enhanced incrementally as the TCK is developed and more elements are needed to cover test cases.