Skip to content

markdost/statamic-blueprint-validation

 
 

Repository files navigation

A JSON Schema for Statamic Blueprint YAML files

Introduction

The schema supports all fieldtypes, their options and the validation rules.

Example

Setup

PhpStorm | IntelliJ

  1. Open PhpStorm and switch to File > Preferences > Languages & Frameworks > Schemas and DTDs > JSON Schema Mappings
  2. Add a new entry with the following options
    • Schema file or URL: https://raw.githubusercontent.com/Konafets/statamic-blueprint-validation/main/statamic.blueprint.schema.json
    • Directory: resources/blueprints

Example

Sublime

TODO

Visual Studio Code

TODO

Credits

  • Thanks Jonas for providing a test blueprint

About

Providing autocompletion and validation for Statamic Blueprints.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%