winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 86df8ff1cc5cbcbfb04cbf3b902c87dbf26a674d
parent 1b42c5163ab9d35606d7b2849110672b29974528
Author: denelon <denelon@microsoft.com>
Date:   Wed, 30 Sep 2020 15:30:29 -0700

Create settings.schema.json (#584)

* Create settings.schema.json

* Update settings.schema.json

* Update settings.schema.json
Diffstat:
Adoc/settings.schema.json | 75+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 75 insertions(+), 0 deletions(-)

diff --git a/doc/settings.schema.json b/doc/settings.schema.json @@ -0,0 +1,75 @@ +{ + "$id": "https://aka.ms/winget-settings.schema.json", + "$schema": "https://json-schema.org/draft/2019-09/schema#", + "title": "Microsoft's Windows Terminal Settings Profile Schema", + "definitions": { + "Source": { + "description": "Source repository settings", + "type": "object", + "properties": { + "autoUpdateIntervalInMinutes": { + "description": "Number of minutes before source update", + "type": "integer", + "default": 5, + "minimum": 0, + "maximum": 43200 + } + } + }, + "Visual": { + "description": "Visual settings", + "type": "object", + "properties": { + "progressBar": { + "description": "Progress bar display style", + "type": "string", + "enum": [ + "accent", "rainbow", "plain", "retro" + ] + } + } + }, + "Experimental": { + "description": "Experimental Features", + "type": "object", + "properties": { + "experimentalCMD": { + "description": "Reference implementation for an experimental command", + "type": "boolean", + "default": "false" + }, + "experimentalARG": { + "description": "Reference implementation for an experimental argument", + "type": "boolean", + "default": "false" + }, + "experimentalMSStore": { + "description": "Experimental support for Microsoft Store source", + "type": "boolean", + "default": "false" + } + } + } + }, + "allOf": [ + { + "properties": { + "visual": { "$ref": "#/definitions/Visual" } + }, + "additionalItems": true + }, + { + "properties": { + "source": { "$ref": "#/definitions/Source"} + }, + "additionalItems": true + }, + { + "properties": { + "experimentalFeatures": { "$ref": "#/definitions/Experimental"} + }, + "additionalItems": true + } + ], + "additionalProperties": true +}