https://github.com/konafets/statamic-blueprint-validation
Providing autocompletion and validation for Statamic Blueprints.
https://github.com/konafets/statamic-blueprint-validation
json-schema statamic statamic-v3 yaml
Last synced: 5 months ago
JSON representation
Providing autocompletion and validation for Statamic Blueprints.
- Host: GitHub
- URL: https://github.com/konafets/statamic-blueprint-validation
- Owner: Konafets
- License: mit
- Created: 2020-10-08T08:39:45.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-07-27T14:37:59.000Z (over 2 years ago)
- Last Synced: 2025-09-04T05:00:36.328Z (5 months ago)
- Topics: json-schema, statamic, statamic-v3, yaml
- Language: JavaScript
- Homepage:
- Size: 1010 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A JSON Schema for [Statamic](https://statamic.com/) Blueprint YAML files
## Introduction
The schema supports all fieldtypes, their options and the validation rules.

## 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`

## Sublime
TODO
## Visual Studio Code
TODO
## Credits
* Thanks [Jonas](https://github.com/jonassiewertsen) for providing a test blueprint