mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
docs: yaml,packages,script (4 files)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# yaml-language-server: $schema=../../../../../yaml-schema.yaml
|
||||
# yaml-language-server: $schema=../../../../../schemas/yaml-schema.yaml
|
||||
# Schema definitions owned by forum_forge package
|
||||
|
||||
entities:
|
||||
|
||||
@@ -81,9 +81,10 @@ All JSON files include `$schema` references for **IDE autocomplete, validation,
|
||||
- Validates ACL rules
|
||||
|
||||
**YAML Validation:**
|
||||
- **yaml-schema.yaml** (project root) - YAML meta-schema for validating YAML file structure
|
||||
- entities.yaml includes `# yaml-language-server: $schema=` directive
|
||||
- **yaml-schema.yaml** (schemas/) - YAML meta-schema for validating YAML file structure
|
||||
- entities.yaml includes `# yaml-language-server: $schema=../../../../../schemas/yaml-schema.yaml` directive
|
||||
- Provides IDE validation for YAML syntax and structure
|
||||
- See [schemas/README.md](../../../schemas/README.md) for details
|
||||
|
||||
Benefits:
|
||||
- ✅ **IDE Support** - IntelliSense autocomplete in VS Code, JetBrains IDEs
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# yaml-language-server: $schema=../../../../../yaml-schema.yaml
|
||||
# yaml-language-server: $schema=../../../../../schemas/yaml-schema.yaml
|
||||
# Schema definitions for json_script_example package
|
||||
# Demonstrates entity modeling for JSON script-based applications
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
# YAML Schema Meta-Schema (Draft 2025-11)
|
||||
# Source: https://github.com/johndoe6345789/yaml-schema
|
||||
# Location: schemas/yaml-schema.yaml
|
||||
#
|
||||
# This meta-schema enables IDE validation for YAML files in the MetaBuilder project.
|
||||
# YAML files should include the following directive at the top:
|
||||
# # yaml-language-server: $schema=../../yaml-schema.yaml
|
||||
# # yaml-language-server: $schema=../../../../../schemas/yaml-schema.yaml
|
||||
#
|
||||
# Used by:
|
||||
# - packages/*/seed/schema/entities.yaml (database entity definitions)
|
||||
Reference in New Issue
Block a user