Repository: microsoft/terminal (language: cpp)

Issue:
Trailing commas in profiles schema
### Windows Terminal version

1.11.3471.0

### Windows build number

10.0.19044.1526]

### Other Software

VIsual Studio Code 1.64.2

### Steps to reproduce

- Open the Windows Terminal Setting
- Click on `Open JSON File`
- Opens in VS Code with an error on the schema:

`Unable to parse content from 'https://aka.ms/terminal-profiles-schema': Parse error at offset 14830`

The problem is 
https://github.com/microsoft/terminal/blob/main/doc%2Fcascadia%2Fprofiles.schema.json#L488
See the trailing comma.


Schema file are JSON and trailing commas are a syntax error.

### Expected Behavior

No error when opening in VS Code

### Actual Behavior

The error comes from trailing commas in the schema file: https://github.com/microsoft/terminal/blob/f217f6dc331559f57301dfb84ce3898d20c944d6/doc/cascadia/profiles.schema.json#L488

Also:
- https://github.com/microsoft/terminal/blob/f217f6dc331559f57301dfb84ce3898d20c944d6/doc/cascadia/profiles.schema.json#L864
- https://github.com/microsoft/terminal/blob/f217f6dc331559f57301dfb84ce3898d20c944d6/doc/cascadia/profiles.schema.json#L884
- https://github.com/microsoft/terminal/blob/f217f6dc331559f57301dfb84ce3898d20c944d6/doc/cascadia/profiles.schema.json#L904



Discussion / hints:
Well, that wouldn't be hard to fix. Thanks for pointing that out!
hi i have the same problem but when i remove the comma, an error occurs and it expected a comma. how do I fix this?
![image](https://user-images.githubusercontent.com/70991948/157300525-ccdf3139-7e8d-43e6-8d13-f34f9aeec5e9.png)

.... how did you remove the comma? That `$schema` line is telling VsCode to load the schema from a URL (which I think points at this repo). Removing the comma locally isn't going to fix the error itself, you'd have to try and change the `$schema` line to point at your local copy of the file. 

Fix patch:
diff --git a/doc/cascadia/profiles.schema.json b/doc/cascadia/profiles.schema.json
index b7abd93b661..3a401661150 100644
--- a/doc/cascadia/profiles.schema.json
+++ b/doc/cascadia/profiles.schema.json
@@ -485,7 +485,7 @@
           "type": "boolean",
           "default": false,
           "description": "This will override the profile's `elevate` setting."
-        },
+        }
       },
       "type": "object"
     },
@@ -861,7 +861,7 @@
             }
           }
         }
-      ],
+      ]
     },
     "SetFullScreenAction": {
       "description": "Arguments for a setFullScreen action",
@@ -881,7 +881,7 @@
             }
           }
         }
-      ],
+      ]
     },
     "SetMaximizedAction": {
       "description": "Arguments for a setMaximized action",
@@ -901,7 +901,7 @@
             }
           }
         }
-      ],
+      ]
     },
     "WtAction": {
       "description": "Arguments corresponding to a wt Action",
@@ -2379,4 +2379,4 @@
       ]
     }
   ]
-}
+}
\ No newline at end of file


Test patch: