From 0f6aa918f87ddce96e2146a9cb0e4724dbe89c3c Mon Sep 17 00:00:00 2001 From: Richard Ward Date: Wed, 31 Dec 2025 14:27:26 +0000 Subject: [PATCH] docs: script,packages,json (1 files) --- packages/json_script_example/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/json_script_example/README.md b/packages/json_script_example/README.md index 02effefa1..bb577f4ae 100644 --- a/packages/json_script_example/README.md +++ b/packages/json_script_example/README.md @@ -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