windows-terminal/doc/cascadia
Leonard Hecker 0b9f041706
Fix issues and warnings caused by profiles.schema.json (#16103)
This addresses the following issues:
* The JSON Schema spec doesn't actually define whether objects with
  a "properties" key still require `"type": "object"` or not.
  VS Code for instance largely pretends as if it's implied, but when it
  encounters them inside a `oneOf` tree, then it behaves as if it isn't.
  In other words, we need to always set `"type": "object"`.
* Declaring an `oneOf` containing a `"type": "string"` and an `enum`
  doesn't work, because if one of the `enum` cases is given, it results
  in both variants to match, since any `enum` is also a `string`.
  We have to use `anyOf` instead.
* `SuggestionSource` used `"BuiltinSuggestionSource"` inside a `type`
  key which doesn't work. We have to use `$ref` for that.

Closes #13387

## Validation Steps Performed
* VS Code stops complaining 
* https://www.jsonschemavalidator.net/ 
2023-10-13 15:44:14 -05:00
..
AddASetting.md Introduce a basic ApplicationState class (#10513) 2021-06-30 02:25:44 +02:00
Json-Utility-API.md Rework JsonUtils' optional handling to let Converters see null (#8175) 2020-11-09 15:13:02 -08:00
SettingsSchema.md Replace the "user docs" with references to the real docs (#7649) 2020-09-17 09:38:01 -07:00
Unittesting-CppWinRT-Xaml.md Upgrade to Windows SDK 22621 (#14135) 2022-10-07 00:09:27 +00:00
profiles.schema.json Fix issues and warnings caused by profiles.schema.json (#16103) 2023-10-13 15:44:14 -05:00