-
Notifications
You must be signed in to change notification settings - Fork 4.7k
/
Copy pathValidationSchema.1.0.0.json
47 lines (47 loc) · 1.48 KB
/
ValidationSchema.1.0.0.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"$id": "https://aka.ms/winget-validation.1.0.0.schema.json",
"$schema": "https://json-schema.org/draft/2019-09/schema#",
"title": "Windows Package Manager Community Repository Manifest Validation Schema",
"description": "Describes validation file that containers policy waivers that may apply to an application or publisher.",
"type": "object",
"required": [
"ValidationVersion",
"Waivers"
],
"additionalProperties": true,
"properties": {
"ValidationVersion": {
"description": "Version of validation file. Used to handle breaking changes, should the need arise.",
"type": "string",
"pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"
},
"Waivers": {
"description": "Waivers that apply to this application or publisher",
"type": "array",
"items": {
"description": "An id, test plan, and catalog path defining the waiver.",
"type": "object",
"required": [
"WaiverIdentifier",
"TestPlan",
"PackagePath"
],
"additionalProperties": true,
"properties": {
"WaiverIdentifier": {
"description": "Unique identifier for this waiver.",
"type": "string"
},
"TestPlan": {
"description": "Testplan to be waived.",
"type": "string"
},
"PackagePath": {
"description": "Path to the metadata being waived.",
"type": "string"
}
}
}
}
}
}