From 202c954211a73d8f1c9f8e3ce8779ef5f503c49b Mon Sep 17 00:00:00 2001 From: breis Date: Thu, 23 Jul 2026 13:21:01 -0400 Subject: [PATCH] schema: alias #/$defs/instance onto #/$defs/route The deployment compatibility guard and `edgecommons component validate` resolve a component's per-instance config through the fixed name `#/$defs/instance`. This adds a one-line $ref so the shape keeps its domain name (`route`) while tooling can find it uniformly. No behavior change: the component reads no schema at runtime. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01LsX7cWVGLszurNYMVwMJGo --- config.schema.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.schema.json b/config.schema.json index d37ecac..7045704 100644 --- a/config.schema.json +++ b/config.schema.json @@ -33,6 +33,10 @@ } }, "$defs": { + "instance": { + "description": "The shape of one `component.instances[]` entry. Tooling resolves instance config through this fixed name; the definition lives under its domain name below.", + "$ref": "#/$defs/route" + }, "scriptEngine": { "type": "string", "enum": ["rhai", "lua"],