1.0.3 • Published 1 year ago

@rdmr-eu/yarrrml-json-schema v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

yarrrml-json-schema

A JSON Schema to let code editors (e.g., VS Code) syntax-check YARRRML files.

YARRRML (pronounced /jɑɹməl/) is a human readable text-based representation for declarative generation rules. It is a subset of [YAML], a widely used data serialization language designed to be human-friendly.

Usage

There are two ways to use this JSON Schema:

  • Add to Visual Studio Code's settings.json:

      "yaml.schemas": {
      	"https://rdmr.eu/yarrrml-json-schema/yarrrml-json-schema.json": "*.rml.yaml"
      }
  • Add to the top of a YAML file:

    # yaml-language-server: $schema=https://rdmr.eu/yarrrml-json-schema/yarrrml-json-schema.json

Contributing

  1. Format your code with prettier (npm format).
  2. Check if your additions improve the reporting in your editor.
  3. Check if no extra validation errors occur (npm test).
1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago