ValidationSchema.1.0.0.json 1.5 KB

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