NuGet · Schema

Deprecation

Deprecation information for a package.

Package Management.NETPackagesDependenciesSoftware DistributionRegistry

Properties

Name Type Description
reasons array
message string
alternatePackage object
View JSON Schema on GitHub

JSON Schema

nuget-deprecation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Deprecation",
  "title": "Deprecation",
  "type": "object",
  "description": "Deprecation information for a package.",
  "required": [
    "reasons"
  ],
  "properties": {
    "reasons": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "message": {
      "type": "string"
    },
    "alternatePackage": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "range": {
          "type": "string"
        }
      }
    }
  }
}