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 "startWindowType" 18 ] 19 }, 20 "properties": { 21 "startWindowAppIcon": { 22 "description": "Indicates the app icon of the startup page. The value is the index to the resource file.", 23 "type": "string", 24 "pattern": "^[$]media:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$", 25 "maxLength": 255 26 }, 27 "startWindowIllustration": { 28 "description": "Indicates the illustration of the startup page. The value is the index to the resource file.", 29 "type": "string", 30 "pattern": "^[$]media:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$", 31 "maxLength": 255 32 }, 33 "startWindowBrandingImage": { 34 "description": "Indicates the branding image the startup page. The value is the index to the resource file.", 35 "type": "string", 36 "pattern": "^[$]media:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$", 37 "maxLength": 255 38 }, 39 "startWindowBackgroundColor": { 40 "description": "Indicates the background color the startup page. The value is the index to the resource file.", 41 "type": "string", 42 "pattern": "^[$]color:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$", 43 "maxLength": 255 44 }, 45 "startWindowBackgroundImage": { 46 "description": "Indicates the background image the startup page. The value is the index to the resource file.", 47 "type": "string", 48 "pattern": "^[$]media:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$", 49 "maxLength": 255 50 }, 51 "startWindowBackgroundImageFit": { 52 "description": "Indicates the background fit the startup page. The value is the string", 53 "type": "string", 54 "enum": [ 55 "Contain", 56 "Cover", 57 "Auto", 58 "Fill", 59 "ScaleDown", 60 "None" 61 ], 62 "default": "Cover" 63 }, 64 "startWindowType": { 65 "description": "Indicates that whether to show the startup page. The value is the string", 66 "type": "string", 67 "enum": [ 68 "REQUIRED_SHOW", 69 "REQUIRED_HIDE", 70 "OPTIONAL_SHOW" 71 ], 72 "default": "REQUIRED_SHOW" 73 } 74 } 75 }