NuGet · Schema

ServiceIndex

The service index document that lists all available NuGet API resources.

Package Management.NETPackagesDependenciesSoftware DistributionRegistry

Properties

Name Type Description
version string The schema version of the service index. The major version must be 3.
resources array The list of resources available on this package source.
View JSON Schema on GitHub

JSON Schema

nuget-serviceindex-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ServiceIndex",
  "title": "ServiceIndex",
  "type": "object",
  "description": "The service index document that lists all available NuGet API resources.",
  "required": [
    "version",
    "resources"
  ],
  "properties": {
    "version": {
      "type": "string",
      "description": "The schema version of the service index. The major version must be 3.",
      "example": "3.0.0"
    },
    "resources": {
      "type": "array",
      "description": "The list of resources available on this package source.",
      "items": {
        "$ref": "#/components/schemas/ServiceIndexResource"
      }
    }
  }
}