NuGet · Schema

Dependency

A package dependency.

Package Management.NETPackagesDependenciesSoftware DistributionRegistry

Properties

Name Type Description
id string The ID of the package dependency.
range string The allowed version range.
View JSON Schema on GitHub

JSON Schema

nuget-dependency-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Dependency",
  "title": "Dependency",
  "type": "object",
  "description": "A package dependency.",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the package dependency."
    },
    "range": {
      "type": "string",
      "description": "The allowed version range."
    }
  }
}