mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
docs: script,packages,json (1 files)
This commit is contained in:
@@ -27,7 +27,8 @@ json_script_example/
|
||||
│ ├── types.schema.json # 📋 JSON Schema for types
|
||||
│ ├── styles.json # Design tokens
|
||||
│ └── schema/
|
||||
│ └── entities.yaml # 🗄️ Database entity definitions
|
||||
│ ├── entities.yaml # 🗄️ Database entity definitions
|
||||
│ └── entities.schema.json # 📋 JSON Schema for entities
|
||||
├── tests/
|
||||
│ ├── README.md # Testing guide
|
||||
│ ├── math.test.logic.json # Test assertion functions
|
||||
@@ -73,6 +74,12 @@ All JSON files include `$schema` references for **IDE autocomplete, validation,
|
||||
- Ensures test data is organized correctly
|
||||
- Validates input/expected structure
|
||||
|
||||
- **entities.schema.json** - Validates entity definition files (entities.yaml)
|
||||
- Ensures entity structure is well-formed
|
||||
- Validates field types and constraints
|
||||
- Checks relationship definitions
|
||||
- Validates ACL rules
|
||||
|
||||
Benefits:
|
||||
- ✅ **IDE Support** - IntelliSense autocomplete in VS Code, JetBrains IDEs
|
||||
- ✅ **Real-time Validation** - Catch errors while editing
|
||||
|
||||
Reference in New Issue
Block a user