Documentation
¶
Overview ¶
Package jsonschema builds the JSON Schema of the document `pista parse` writes. It reflects over parser.ParseResult, so the schema follows the structs rather than a description kept beside them.
Index ¶
Constants ¶
View Source
const ID = "https://winebarrel.github.io/pistachio/json/schema-" + Version + ".json"
ID is the URL the documentation site carries the schema at.
View Source
const Path = "docs/json/schema-" + Version + ".json"
Path is where the file sits in the repository and on the documentation site.
View Source
const Version = "1.0"
Version is the version the schema's file name and URL carry.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build() (*jsonschema.Schema, error)
Build returns the schema of a `pista parse` document.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.