• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "title": "JSON schema for startWindow.json",
3    "$schema": "http://json-schema.org/draft-07/schema#",
4    "type": "object",
5    "additionalProperties": true,
6    "required": [
7      "startWindowBackgroundColor"
8    ],
9    "propertyNames": {
10      "enum": [
11        "startWindowAppIcon",
12        "startWindowIllustration",
13        "startWindowBrandingImage",
14        "startWindowBackgroundColor",
15        "startWindowBackgroundImage",
16        "startWindowBackgroundImageFit"
17      ]
18    },
19    "properties": {
20      "startWindowAppIcon": {
21        "description": "Indicates the app icon of the startup page. The value is the index to the resource file.",
22        "type": "string",
23        "pattern": "^[$]media:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$",
24        "maxLength": 255
25      },
26      "startWindowIllustration": {
27        "description": "Indicates the illustration of the startup page. The value is the index to the resource file.",
28        "type": "string",
29        "pattern": "^[$]media:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$",
30        "maxLength": 255
31      },
32      "startWindowBrandingImage": {
33        "description": "Indicates the branding image the startup page. The value is the index to the resource file.",
34        "type": "string",
35        "pattern": "^[$]media:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$",
36        "maxLength": 255
37      },
38      "startWindowBackgroundColor": {
39        "description": "Indicates the background color the startup page. The value is the index to the resource file.",
40        "type": "string",
41        "pattern": "^[$]color:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$",
42        "maxLength": 255
43      },
44      "startWindowBackgroundImage": {
45        "description": "Indicates the background image the startup page. The value is the index to the resource file.",
46        "type": "string",
47        "pattern": "^[$]media:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$",
48        "maxLength": 255
49      },
50      "startWindowBackgroundImageFit": {
51        "description": "Indicates the background fit the startup page. The value is the string",
52        "type": "string",
53        "enum": [
54          "Contain",
55          "Cover",
56          "Auto",
57          "Fill",
58          "ScaleDown",
59          "None"
60        ],
61        "default": "Cover"
62      }
63    }
64  }