Skip to content

Providing autocompletion and validation for Statamic Blueprints.

License

Notifications You must be signed in to change notification settings

Konafets/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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published