Schema type in "backgroundImage" property needs proper formatting #15363

Closed
opened 2026-01-31 04:36:17 +00:00 by claunia · 1 comment
Owner

Originally created by @elsaco on GitHub (Sep 28, 2021).

Windows Terminal version (or Windows build number)

1.11.2421.0

Other Software

No response

Steps to reproduce

  • open "doc/cascadia/profiles.schema.json"
  • inspect property beginning at line 1441
  • check type on line 1445

Expected Behavior

No response

Actual Behavior

  • type on line 1445 need fixing, see arrow

      "backgroundImage": {
        "description": "Sets the file location of the image to draw over the window background.",
        "oneOf": [
          {
            "type": ["string", null]  <-- null needs to be double quoted
          },
          {
            "enum": [
              "desktopWallpaper"
            ]
          }
    
Originally created by @elsaco on GitHub (Sep 28, 2021). ### Windows Terminal version (or Windows build number) 1.11.2421.0 ### Other Software _No response_ ### Steps to reproduce - open "doc/cascadia/profiles.schema.json" - inspect property beginning at line 1441 - check type on line 1445 ### Expected Behavior _No response_ ### Actual Behavior - type on line 1445 need fixing, see arrow "backgroundImage": { "description": "Sets the file location of the image to draw over the window background.", "oneOf": [ { "type": ["string", null] <-- null needs to be double quoted }, { "enum": [ "desktopWallpaper" ] }
claunia added the Needs-TriageResolution-Fix-CommittedNeeds-Tag-Fix labels 2026-01-31 04:36:17 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Sep 28, 2021):

Huh, I suppose it does: http://json-schema.org/understanding-json-schema/reference/null.html#null

I'd bet that's not the only one.

@zadjii-msft commented on GitHub (Sep 28, 2021): Huh, I suppose it does: http://json-schema.org/understanding-json-schema/reference/null.html#null I'd bet that's not the only one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15363