winget-cli

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

commit dd557b234dad115c0b59bbc10e04317aeaf8f1bc
parent 53887b375c6581bf51b48967a161b9b3b62cb221
Author: yao-msft <50888816+yao-msft@users.noreply.github.com>
Date:   Fri, 19 Feb 2021 15:51:47 -0800

Minor schema changes from review comments and for better compatibility (#759)


Diffstat:
Mschemas/JSON/manifests/v1.0.0/manifest.defaultLocale.1.0.0.json | 7+++----
Mschemas/JSON/manifests/v1.0.0/manifest.installer.1.0.0.json | 6+++---
Mschemas/JSON/manifests/v1.0.0/manifest.locale.1.0.0.json | 7+++----
Mschemas/JSON/manifests/v1.0.0/manifest.singleton.1.0.0.json | 13++++++-------
4 files changed, 15 insertions(+), 18 deletions(-)

diff --git a/schemas/JSON/manifests/v1.0.0/manifest.defaultLocale.1.0.0.json b/schemas/JSON/manifests/v1.0.0/manifest.defaultLocale.1.0.0.json @@ -13,8 +13,7 @@ "Tag": { "type": [ "string", "null" ], "minLength": 1, - "maxLength": 32, - "pattern": "^\\S+$", + "maxLength": 40, "description": "Package moniker or tag" } }, @@ -41,7 +40,7 @@ "Publisher": { "type": "string", "minLength": 2, - "maxLength": 64, + "maxLength": 256, "description": "The publisher name" }, "PublisherUrl": { @@ -65,7 +64,7 @@ "PackageName": { "type": "string", "minLength": 2, - "maxLength": 64, + "maxLength": 256, "description": "The package name" }, "PackageUrl": { diff --git a/schemas/JSON/manifests/v1.0.0/manifest.installer.1.0.0.json b/schemas/JSON/manifests/v1.0.0/manifest.installer.1.0.0.json @@ -23,7 +23,7 @@ }, "Channel": { "type": [ "string", "null" ], - "minLength": 2, + "minLength": 1, "maxLength": 16, "description": "The distribution channel" }, @@ -120,7 +120,7 @@ "Custom": { "type": [ "string", "null" ], "minLength": 1, - "maxLength": 512, + "maxLength": 2048, "description": "Custom switches will be passed directly to the installer by winget" } } @@ -161,7 +161,7 @@ "items": { "type": "string", "pattern": "^[a-z][-a-z0-9\\.\\+]*$", - "maxLength": 39 + "maxLength": 2048 }, "maxItems": 16, "uniqueItems": true, diff --git a/schemas/JSON/manifests/v1.0.0/manifest.locale.1.0.0.json b/schemas/JSON/manifests/v1.0.0/manifest.locale.1.0.0.json @@ -13,8 +13,7 @@ "Tag": { "type": [ "string", "null" ], "minLength": 1, - "maxLength": 32, - "pattern": "^\\S+$", + "maxLength": 40, "description": "Package moniker or tag" } }, @@ -41,7 +40,7 @@ "Publisher": { "type": [ "string", "null" ], "minLength": 2, - "maxLength": 64, + "maxLength": 256, "description": "The publisher name" }, "PublisherUrl": { @@ -65,7 +64,7 @@ "PackageName": { "type": [ "string", "null" ], "minLength": 2, - "maxLength": 64, + "maxLength": 256, "description": "The package name" }, "PackageUrl": { diff --git a/schemas/JSON/manifests/v1.0.0/manifest.singleton.1.0.0.json b/schemas/JSON/manifests/v1.0.0/manifest.singleton.1.0.0.json @@ -31,13 +31,12 @@ "Tag": { "type": [ "string", "null" ], "minLength": 1, - "maxLength": 32, - "pattern": "^\\S+$", + "maxLength": 40, "description": "Package moniker or tag" }, "Channel": { "type": [ "string", "null" ], - "minLength": 2, + "minLength": 1, "maxLength": 16, "description": "The distribution channel" }, @@ -134,7 +133,7 @@ "Custom": { "type": [ "string", "null" ], "minLength": 1, - "maxLength": 512, + "maxLength": 2048, "description": "Custom switches will be passed directly to the installer by winget" } } @@ -175,7 +174,7 @@ "items": { "type": "string", "pattern": "^[a-z][-a-z0-9\\.\\+]*$", - "maxLength": 39 + "maxLength": 2048 }, "maxItems": 16, "uniqueItems": true, @@ -385,7 +384,7 @@ "Publisher": { "type": "string", "minLength": 2, - "maxLength": 64, + "maxLength": 256, "description": "The publisher name" }, "PublisherUrl": { @@ -409,7 +408,7 @@ "PackageName": { "type": "string", "minLength": 2, - "maxLength": 64, + "maxLength": 256, "description": "The package name" }, "PackageUrl": {