/ src / modules / cmdpal / ext / Microsoft.CmdPal.Ext.WindowsSettings / WindowsSettings.schema.json
WindowsSettings.schema.json
 1  {
 2    "$schema": "http://json-schema.org/draft-04/schema",
 3    "additionalProperties": false,
 4    "required": [ "Settings" ],
 5    "properties": {
 6      "$schema": {
 7        "description": "Path to the schema file.",
 8        "type": "string"
 9      },
10      "Settings": {
11        "description": "A list with all possible windows settings.",
12        "type": "array",
13        "items": {
14          "additionalProperties": false,
15          "required": [ "Name", "Command", "Type" ],
16          "type": "object",
17          "properties": {
18            "Name": {
19              "description": "The name of this setting.",
20              "type": "string"
21            },
22            "Areas": {
23              "description": "A list of areas of this setting",
24              "type": "array",
25              "items": {
26                "description": "A area of this setting",
27                "type": "string",
28                "pattern": "^Area"
29              }
30            },
31            "Type": {
32              "description": "The type of this setting.",
33              "type": "string",
34              "pattern": "^App"
35            },
36            "AltNames": {
37              "description": "A list with alternative names for this setting",
38              "type": "array",
39              "items": {
40                "description": "A alternative name for this setting",
41                "type": "string"
42              }
43            },
44            "Command": {
45              "description": "The command for this setting.",
46              "type": "string"
47            },
48            "Note": {
49              "description": "A additional note for this setting.",
50              "type": "string",
51              "pattern": "^Note"
52            },
53            "DeprecatedInBuild": {
54              "description": "The Windows build since this settings is not longer present.",
55              "type": "integer",
56              "minimum": 0,
57              "maximum": 4294967295
58            },
59            "IntroducedInBuild": {
60              "description": "The minimum need Windows build for this setting.",
61              "type": "integer",
62              "minimum": 0,
63              "maximum": 4294967295
64            },
65            "AppHomepageScore": {
66              "description": "Order score for the result if it is a settings app (homepage). Use a score > 0.",
67              "type": "integer",
68              "minimum": 1
69            }
70          }
71        }
72      }
73    }
74  }