NuGet · Schema

AlternatePackage

A recommended replacement for a deprecated package.

Package Management.NETPackagesDependenciesSoftware DistributionRegistry

Properties

Name Type Description
id string The ID of the alternate package.
range string The allowed version range, or * if any version is accepted.
View JSON Schema on GitHub

JSON Schema

nuget-alternatepackage-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AlternatePackage",
  "title": "AlternatePackage",
  "type": "object",
  "description": "A recommended replacement for a deprecated package.",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the alternate package."
    },
    "range": {
      "type": "string",
      "description": "The allowed version range, or * if any version is accepted."
    }
  }
}