Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 2.09 KB

README.md

File metadata and controls

43 lines (27 loc) · 2.09 KB

☁ CDNF.io YAML Editor

This is an open-source, YAML configuration editor & verification tool.

The editor is availble on the official website.

Important!

The JSON Schema specification recommends to use the definitions key, where all definitions should be located. Then, you should use a relative path to point to the definitions.

Our implementation of the JSON schema requires a definitions object, if the ref ID links to a definition and does not use a relative path.

Features

  • YAML & JSON Schema Validation
  • Generating YAML Examples
  • Importing & Export of Configurations

YAML Configuration Validation

Import, or copy & paste a YAML configuration via the three-dot menu in the Configuration tab.

Errors will then be highlighted, against the imported JSON schema.

JSON Schema → YAML Example

  1. Visit the CDNF.io YAML Editor website
  2. Import/paste a valid draft-04 JSON Schema, or use the existing example, via the folder icon, in the JSON Schema tab, on the right.
  3. Have a look at the generated Example YAML code in the YAML Example tab.

Examples

We have prepared two examples of YAML files for you to copy & paste into our CDNF.io YAML Editor.

Invalid YAML File

Valid YAML File

Feedback

Leave us your feedback here or creaate an Issue in this repository.