From 1980e725ab085acdeda96b7b0fa2526996279456 Mon Sep 17 00:00:00 2001 From: Chawye Hsu Date: Tue, 24 Jun 2025 07:55:46 +0800 Subject: [PATCH] schema: add Microsoft.WSL profile source to schema, width its type (#19047) WSL now generates profiles with the source named `Microsoft.WSL`, this PR adds the value to the profile schema. Refs #18231 --- doc/cascadia/profiles.schema.json | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/doc/cascadia/profiles.schema.json b/doc/cascadia/profiles.schema.json index d60db96aac..a5011bb980 100644 --- a/doc/cascadia/profiles.schema.json +++ b/doc/cascadia/profiles.schema.json @@ -32,13 +32,21 @@ ] }, "DynamicProfileSource": { - "enum": [ - "Windows.Terminal.Wsl", - "Windows.Terminal.Azure", - "Windows.Terminal.PowershellCore", - "Windows.Terminal.VisualStudio" - ], - "type": "string" + "type": "string", + "anyOf": [ + { + "type": "string" + }, + { + "enum": [ + "Microsoft.WSL", + "Windows.Terminal.Wsl", + "Windows.Terminal.Azure", + "Windows.Terminal.PowershellCore", + "Windows.Terminal.VisualStudio" + ] + } + ] }, "BellStyle": { "oneOf": [