A JSON Schema for Statamic Blueprint YAML files
The schema supports all fieldtypes, their options and the validation rules.
- Open PhpStorm and switch to File > Preferences > Languages & Frameworks > Schemas and DTDs > JSON Schema Mappings
- 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
- Schema file or URL:
TODO
TODO
- Thanks Jonas for providing a test blueprint