NuGet Core Schema

This site describes the Core NuGet Schema

Properties

id

Full Name: http://schema.nuget.org/schema#id

Type: xsd:string

Specifies the unique id of the package within a particular gallery

version

Full Name: http://schema.nuget.org/schema#version

Type: nuget:SemanticVersion

Specifies the version of a package

summary

Full Name: http://schema.nuget.org/schema#summary

Type: xsd:string

A brief summary of a package, designed for use in search results.

iconUrl

Full Name: http://schema.nuget.org/schema#iconUrl

Type: xsd:anyURI

A URL to an Icon that represents the package.

author

Full Name: http://schema.nuget.org/schema#author

Type: xsd:string

Specifies one of the authors of a package.

publisher

Full Name: http://schema.nuget.org/schema#publisher

Type: xsd:string

Specifies one of the publishers (previously called "owners") of a package.

licenseUrl

Full Name: http://schema.nuget.org/schema#licenseUrl

Type: xsd:anyURI

A URL to the License Agreement that covers usage of the package.

projectUrl

Full Name: http://schema.nuget.org/schema#projectUrl

Type: xsd:anyURI

A URL to the project home page.

tags

Full Name: http://schema.nuget.org/schema#tags

Type: xsd:string

A space-separated list of tags to apply to the package

downloadCount

Full Name: http://schema.nuget.org/schema#downloadCount

Type: xsd:integer

The number of times the package has been downloaded from the gallery.

published

Full Name: http://schema.nuget.org/schema#published

Type: xsd:dateTime

The number of times the package has been downloaded from the gallery.

dependencyGroup

Full Name: http://schema.nuget.org/schema#dependencyGroup

Type: nuget:DependencyGroup

Specifies a group of dependencies this package has on other packages.

dependency

Full Name: http://schema.nuget.org/schema#dependency

Type: nuget:Dependency

Specifies a dependency this package has on other packages.

targetFramework

Full Name: http://schema.nuget.org/schema#targetFramework

Type: nuget:FrameworkName

Specifies the target framework for a resource.

range

Full Name: http://schema.nuget.org/schema#range

Type: nuget:SemanticVersionRange

Specifies the range of versions that can satisfy this constraint.

Types

DependencyGroup

Full Name: http://schema.nuget.org/schema#DependencyGroup

A Group of Dependencies, usually constrained by a targetFramework and other constraints

Dependency

Full Name: http://schema.nuget.org/schema#Dependency

A Dependency upon another package

SemanticVersionRange

Full Name: http://schema.nuget.org/schema#SemanticVersionRange

A range of SemanticVersions

SemanticVersion

Full Name: http://schema.nuget.org/schema#SemanticVersion

A SemanticVersion, as specified by semver.org, with the addition of an OPTIONAL fourth numeric component. For example: 1.0.0.0