Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade 1.6 schema to 2020-12 #3478

Merged
merged 2 commits into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions schemas/JSON/manifests/v1.6.0/manifest.defaultLocale.1.6.0.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$id": "https://aka.ms/winget-manifest.defaultlocale.1.6.0.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"$schema": "http://json-schema.org/draft/2020-12/schema#",
"description": "A representation of a multiple-file manifest representing a default app metadata in the OWC. v1.6.0",
"definitions": {
"$defs": {
"Url": {
"type": [ "string", "null" ],
"pattern": "^([Hh][Tt][Tt][Pp][Ss]?)://.+$",
Expand Down Expand Up @@ -31,7 +31,7 @@
"description": "The agreement text content."
},
"AgreementUrl": {
"$ref": "#/definitions/Url",
"$ref": "#/$defs/Url",
"description": "The agreement URL."
}
}
Expand All @@ -46,7 +46,7 @@
"description": "The label of the documentation for providing software guides such as manuals and troubleshooting URLs."
},
"DocumentUrl": {
"$ref": "#/definitions/Url",
"$ref": "#/$defs/Url",
"description": "The documentation URL."
}
}
Expand All @@ -55,7 +55,7 @@
"type": "object",
"properties": {
"IconUrl": {
"$ref": "#/definitions/Url",
"$ref": "#/$defs/Url",
"description": "The url of the hosted icon file"
},
"IconFileType": {
Expand Down Expand Up @@ -138,15 +138,15 @@
"description": "The publisher name"
},
"PublisherUrl": {
"$ref": "#/definitions/Url",
"$ref": "#/$defs/Url",
"description": "The publisher home page"
},
"PublisherSupportUrl": {
"$ref": "#/definitions/Url",
"$ref": "#/$defs/Url",
"description": "The publisher support page"
},
"PrivacyUrl": {
"$ref": "#/definitions/Url",
"$ref": "#/$defs/Url",
"description": "The publisher privacy page or the package privacy page"
},
"Author": {
Expand All @@ -162,7 +162,7 @@
"description": "The package name"
},
"PackageUrl": {
"$ref": "#/definitions/Url",
"$ref": "#/$defs/Url",
"description": "The package home page"
},
"License": {
Expand All @@ -172,7 +172,7 @@
"description": "The package license"
},
"LicenseUrl": {
"$ref": "#/definitions/Url",
"$ref": "#/$defs/Url",
"description": "The license page"
},
"Copyright": {
Expand All @@ -182,7 +182,7 @@
"description": "The package copyright"
},
"CopyrightUrl": {
"$ref": "#/definitions/Url",
"$ref": "#/$defs/Url",
"description": "The package copyright page"
},
"ShortDescription": {
Expand All @@ -198,13 +198,13 @@
"description": "The full package description"
},
"Moniker": {
"$ref": "#/definitions/Tag",
"$ref": "#/$defs/Tag",
"description": "The most common package term"
},
"Tags": {
"type": [ "array", "null" ],
"items": {
"$ref": "#/definitions/Tag"
"$ref": "#/$defs/Tag"
},
"maxItems": 16,
"uniqueItems": true,
Expand All @@ -213,7 +213,7 @@
"Agreements": {
"type": [ "array", "null" ],
"items": {
"$ref": "#/definitions/Agreement"
"$ref": "#/$defs/Agreement"
},
"maxItems": 128
},
Expand All @@ -224,11 +224,11 @@
"description": "The package release notes"
},
"ReleaseNotesUrl": {
"$ref": "#/definitions/Url",
"$ref": "#/$defs/Url",
"description": "The package release notes url"
},
"PurchaseUrl": {
"$ref": "#/definitions/Url",
"$ref": "#/$defs/Url",
"description": "The purchase url for acquiring entitlement for the package."
},
"InstallationNotes": {
Expand All @@ -240,14 +240,14 @@
"Documentations": {
"type": [ "array", "null" ],
"items": {
"$ref": "#/definitions/Documentation"
"$ref": "#/$defs/Documentation"
},
"maxItems": 256
},
"Icons": {
"type": [ "array", "null" ],
"items": {
"$ref": "#/definitions/Icon"
"$ref": "#/$defs/Icon"
},
"maxItems": 1024
},
Expand Down
Loading