Skip to content

Commit

Permalink
Update schemas per feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
richlander committed Jul 30, 2024
1 parent 7f92191 commit e868532
Show file tree
Hide file tree
Showing 6 changed files with 85 additions and 40 deletions.
19 changes: 13 additions & 6 deletions release-notes/schemas/dotnet-os-packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
"id",
"name",
"required-scenarios"
]
],
"additionalProperties": false
}
},
"distributions": {
Expand Down Expand Up @@ -122,7 +123,8 @@
"required": [
"run-under-sudo",
"command-root"
]
],
"additionalProperties": false
}
},
"releases": {
Expand All @@ -144,6 +146,7 @@
"type": "string"
},
"packages": {
"description": "The packages required by the distro release.",
"type": "array",
"items": {
"description": "A distro archive package to install, with a reference to a logical package with more information.",
Expand All @@ -164,29 +167,33 @@
"required": [
"id",
"name"
]
],
"additionalProperties": false
}
}
},
"required": [
"name",
"release",
"packages"
]
],
"additionalProperties": false
}
}
},
"required": [
"name",
"install-commands",
"releases"
]
],
"additionalProperties": false
}
}
},
"required": [
"channel-version",
"packages",
"distributions"
]
],
"additionalProperties": false
}
38 changes: 26 additions & 12 deletions release-notes/schemas/dotnet-patch-release.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"description": "A patch release for a major product version.",
"type": [
"object",
"null"
Expand Down Expand Up @@ -60,7 +61,8 @@
"required": [
"cve-id",
"cve-url"
]
],
"additionalProperties": false
}
},
"release-notes": {
Expand Down Expand Up @@ -123,7 +125,8 @@
"rid",
"url",
"hash"
]
],
"additionalProperties": false
}
},
"vs-support": {
Expand All @@ -140,7 +143,8 @@
"version-display",
"vs-version",
"files"
]
],
"additionalProperties": false
},
"sdk": {
"description": "SDK component of the release (primary SDK release).",
Expand Down Expand Up @@ -218,7 +222,8 @@
"rid",
"url",
"hash"
]
],
"additionalProperties": false
}
}
},
Expand All @@ -232,7 +237,8 @@
"fsharp-version",
"vb-version",
"files"
]
],
"additionalProperties": false
},
"sdks": {
"description": "SDK components of the release (often multiple, otherwise a repeat of \u0060Sdk\u0060 value within an array).",
Expand Down Expand Up @@ -316,7 +322,8 @@
"rid",
"url",
"hash"
]
],
"additionalProperties": false
}
}
},
Expand All @@ -330,7 +337,8 @@
"fsharp-version",
"vb-version",
"files"
]
],
"additionalProperties": false
}
},
"aspnetcore-runtime": {
Expand Down Expand Up @@ -399,7 +407,8 @@
"rid",
"url",
"hash"
]
],
"additionalProperties": false
}
}
},
Expand All @@ -409,7 +418,8 @@
"version-aspnetcoremodule",
"vs-version",
"files"
]
],
"additionalProperties": false
},
"windowsdesktop": {
"description": "Windows Desktop component of the release.",
Expand Down Expand Up @@ -466,7 +476,8 @@
"rid",
"url",
"hash"
]
],
"additionalProperties": false
}
}
},
Expand All @@ -475,6 +486,7 @@
"version-display",
"files"
],
"additionalProperties": false,
"default": null
}
},
Expand All @@ -488,7 +500,8 @@
"sdk",
"sdks",
"aspnetcore-runtime"
]
],
"additionalProperties": false
}
},
"required": [
Expand All @@ -497,5 +510,6 @@
"release-version",
"security",
"release"
]
],
"additionalProperties": false
}
7 changes: 5 additions & 2 deletions release-notes/schemas/dotnet-patch-releases-index.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"description": "Set of patch releases.",
"type": "array",
"items": {
"description": "A patch release, including the version, and whether it included security updates.",
"type": [
"object",
"null"
Expand Down Expand Up @@ -68,7 +69,8 @@
"release-date",
"security",
"release-info-uri"
]
],
"additionalProperties": false
}
}
},
Expand All @@ -80,5 +82,6 @@
"supported-os-info-uri",
"os-packages-info-uri",
"releases"
]
],
"additionalProperties": false
}
8 changes: 5 additions & 3 deletions release-notes/schemas/dotnet-releases-index.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"type": "string"
},
"patch-releases-index-uri": {
"description": "Link to index file of detailed release descriptions (JSON format), with one file per patch release.",
"description": "Link to index file of detailed release descriptions (JSON format), with one file per patch release.",
"type": [
"string",
"null"
Expand Down Expand Up @@ -120,11 +120,13 @@
"release-type",
"releases.json",
"patch-releases-info-uri"
]
],
"additionalProperties": false
}
}
},
"required": [
"releases-index"
]
],
"additionalProperties": false
}
Loading

0 comments on commit e868532

Please sign in to comment.