NuGet · Schema

PackageDeleteLeaf

A catalog leaf representing a package deletion event.

Package Management.NETPackagesDependenciesSoftware DistributionRegistry

Properties

Name Type Description
@type object The type(s) of the catalog item, including PackageDelete.
catalog:commitId string A commit ID associated with this catalog item.
catalog:commitTimeStamp string The commit timestamp of this catalog item.
id string The package ID.
originalId string The original cased package ID.
published string The time when the package was deleted.
version string The original version string from the .nuspec.
View JSON Schema on GitHub

JSON Schema

nuget-packagedeleteleaf-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PackageDeleteLeaf",
  "title": "PackageDeleteLeaf",
  "type": "object",
  "description": "A catalog leaf representing a package deletion event.",
  "required": [
    "@type",
    "catalog:commitId",
    "catalog:commitTimeStamp",
    "id",
    "published",
    "version"
  ],
  "properties": {
    "@type": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ],
      "description": "The type(s) of the catalog item, including PackageDelete."
    },
    "catalog:commitId": {
      "type": "string",
      "description": "A commit ID associated with this catalog item."
    },
    "catalog:commitTimeStamp": {
      "type": "string",
      "format": "date-time",
      "description": "The commit timestamp of this catalog item."
    },
    "id": {
      "type": "string",
      "description": "The package ID."
    },
    "originalId": {
      "type": "string",
      "description": "The original cased package ID."
    },
    "published": {
      "type": "string",
      "format": "date-time",
      "description": "The time when the package was deleted."
    },
    "version": {
      "type": "string",
      "description": "The original version string from the .nuspec."
    }
  }
}