From 8c1864af8a3106936cd8f1473ffb4b34d2d90f11 Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 6 May 2025 19:52:02 -0400 Subject: [PATCH 1/2] Use the raw url so VSCode can parse the reference VScode cannot parse the referenced schema because it points to an HTML page. By using the raw url we can get the JSON instead. --- Schema/FeatureManagement.v2.0.0.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Schema/FeatureManagement.v2.0.0.schema.json b/Schema/FeatureManagement.v2.0.0.schema.json index a2f3e71..cee0900 100644 --- a/Schema/FeatureManagement.v2.0.0.schema.json +++ b/Schema/FeatureManagement.v2.0.0.schema.json @@ -23,7 +23,7 @@ "title": "Feature Flags", "description": "Declares feature flags based on Microsoft Feature Flag schema.", "items": { - "$ref": "https://github.com/microsoft/FeatureManagement/blob/c5fab16dbf1450dce0bbfe7c4207da735ff31916/Schema/FeatureFlag.v2.0.0.schema.json" + "$ref": "https://raw.githubusercontent.com/microsoft/FeatureManagement/c5fab16dbf1450dce0bbfe7c4207da735ff31916/Schema/FeatureFlag.v2.0.0.schema.json" } } } From f9f47bfa705c354d2104703e61b3fabbaede73e4 Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 7 May 2025 11:13:05 -0400 Subject: [PATCH 2/2] Use Raw URL for schema reference --- Schema/FeatureManagement.v1.0.0.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Schema/FeatureManagement.v1.0.0.schema.json b/Schema/FeatureManagement.v1.0.0.schema.json index 2cd3b02..ddf9adb 100644 --- a/Schema/FeatureManagement.v1.0.0.schema.json +++ b/Schema/FeatureManagement.v1.0.0.schema.json @@ -14,7 +14,7 @@ "title": "Feature Management", "description": "Declares feature management configuration.", "additionalProperties": { - "$ref": "https://github.com/microsoft/FeatureManagement/blob/c5fab16dbf1450dce0bbfe7c4207da735ff31916/Schema/FeatureFlag.v1.1.0.schema.json" + "$ref": "https://raw.githubusercontent.com/microsoft/FeatureManagement/c5fab16dbf1450dce0bbfe7c4207da735ff31916/Schema/FeatureFlag.v1.1.0.schema.json" } } }