docs: script,packages,json (1 files)

This commit is contained in:
Richard Ward
2025-12-31 14:27:26 +00:00
parent 5e5ba70b2e
commit 0f6aa918f8

View File

@@ -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