Skip to content

Commit

Permalink
Revert manifest schemas to json draft-07 (microsoft#3875)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryfu-msft authored and yao-msft committed Dec 20, 2023
1 parent 9f3511b commit 676b3c7
Show file tree
Hide file tree
Showing 5 changed files with 219 additions and 219 deletions.
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/2020-12/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "A representation of a multiple-file manifest representing a default app metadata in the OWC. v1.6.0",
"$defs": {
"definitions": {
"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": "#/$defs/Url",
"$ref": "#/definitions/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": "#/$defs/Url",
"$ref": "#/definitions/Url",
"description": "The documentation URL."
}
}
Expand All @@ -55,7 +55,7 @@
"type": "object",
"properties": {
"IconUrl": {
"$ref": "#/$defs/Url",
"$ref": "#/definitions/Url",
"description": "The url of the hosted icon file"
},
"IconFileType": {
Expand Down Expand Up @@ -138,15 +138,15 @@
"description": "The publisher name"
},
"PublisherUrl": {
"$ref": "#/$defs/Url",
"$ref": "#/definitions/Url",
"description": "The publisher home page"
},
"PublisherSupportUrl": {
"$ref": "#/$defs/Url",
"$ref": "#/definitions/Url",
"description": "The publisher support page"
},
"PrivacyUrl": {
"$ref": "#/$defs/Url",
"$ref": "#/definitions/Url",
"description": "The publisher privacy page or the package privacy page"
},
"Author": {
Expand All @@ -162,7 +162,7 @@
"description": "The package name"
},
"PackageUrl": {
"$ref": "#/$defs/Url",
"$ref": "#/definitions/Url",
"description": "The package home page"
},
"License": {
Expand All @@ -172,7 +172,7 @@
"description": "The package license"
},
"LicenseUrl": {
"$ref": "#/$defs/Url",
"$ref": "#/definitions/Url",
"description": "The license page"
},
"Copyright": {
Expand All @@ -182,7 +182,7 @@
"description": "The package copyright"
},
"CopyrightUrl": {
"$ref": "#/$defs/Url",
"$ref": "#/definitions/Url",
"description": "The package copyright page"
},
"ShortDescription": {
Expand All @@ -198,13 +198,13 @@
"description": "The full package description"
},
"Moniker": {
"$ref": "#/$defs/Tag",
"$ref": "#/definitions/Tag",
"description": "The most common package term"
},
"Tags": {
"type": [ "array", "null" ],
"items": {
"$ref": "#/$defs/Tag"
"$ref": "#/definitions/Tag"
},
"maxItems": 16,
"uniqueItems": true,
Expand All @@ -213,7 +213,7 @@
"Agreements": {
"type": [ "array", "null" ],
"items": {
"$ref": "#/$defs/Agreement"
"$ref": "#/definitions/Agreement"
},
"maxItems": 128
},
Expand All @@ -224,11 +224,11 @@
"description": "The package release notes"
},
"ReleaseNotesUrl": {
"$ref": "#/$defs/Url",
"$ref": "#/definitions/Url",
"description": "The package release notes url"
},
"PurchaseUrl": {
"$ref": "#/$defs/Url",
"$ref": "#/definitions/Url",
"description": "The purchase url for acquiring entitlement for the package."
},
"InstallationNotes": {
Expand All @@ -240,14 +240,14 @@
"Documentations": {
"type": [ "array", "null" ],
"items": {
"$ref": "#/$defs/Documentation"
"$ref": "#/definitions/Documentation"
},
"maxItems": 256
},
"Icons": {
"type": [ "array", "null" ],
"items": {
"$ref": "#/$defs/Icon"
"$ref": "#/definitions/Icon"
},
"maxItems": 1024
},
Expand Down

0 comments on commit 676b3c7

Please sign in to comment.