Verdaccio · Schema

Verdaccio Publish Request

Request body schema for publishing a new npm package or version to a Verdaccio registry via PUT /:package.

npmRegistryPackage Managerprivate-registryProxyNode.jsOpen-SourceSelf-HostedYARNpnpmDockerKubernetes

Properties

Name Type Description
_id string Package name used as the CouchDB document ID
name string Package name
description string Short package description
dist-tags object Distribution tags mapping tag names to versions
versions object Version metadata keyed by version string
_attachments object Tarball attachments keyed by filename (e.g. my-package-1.0.0.tgz)
View JSON Schema on GitHub

JSON Schema

verdaccio-publish-request-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/verdaccio/main/json-schema/verdaccio-publish-request-schema.json",
  "title": "Verdaccio Publish Request",
  "description": "Request body schema for publishing a new npm package or version to a Verdaccio registry via PUT /:package.",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "Package name used as the CouchDB document ID",
      "example": "my-package"
    },
    "name": {
      "type": "string",
      "description": "Package name",
      "example": "my-package"
    },
    "description": {
      "type": "string",
      "description": "Short package description"
    },
    "dist-tags": {
      "type": "object",
      "description": "Distribution tags mapping tag names to versions",
      "additionalProperties": { "type": "string" },
      "example": { "latest": "1.0.0" }
    },
    "versions": {
      "type": "object",
      "description": "Version metadata keyed by version string",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "name": { "type": "string" },
          "version": { "type": "string" },
          "description": { "type": "string" },
          "main": { "type": "string" },
          "scripts": {
            "type": "object",
            "additionalProperties": { "type": "string" }
          },
          "keywords": {
            "type": "array",
            "items": { "type": "string" }
          },
          "author": {
            "oneOf": [
              { "type": "string" },
              {
                "type": "object",
                "properties": {
                  "name": { "type": "string" },
                  "email": { "type": "string" }
                }
              }
            ]
          },
          "license": { "type": "string" },
          "dependencies": {
            "type": "object",
            "additionalProperties": { "type": "string" }
          },
          "devDependencies": {
            "type": "object",
            "additionalProperties": { "type": "string" }
          },
          "dist": {
            "type": "object",
            "properties": {
              "tarball": { "type": "string", "format": "uri" },
              "shasum": { "type": "string" },
              "integrity": { "type": "string" }
            },
            "required": ["tarball", "shasum"]
          }
        },
        "required": ["name", "version"]
      }
    },
    "_attachments": {
      "type": "object",
      "description": "Tarball attachments keyed by filename (e.g. my-package-1.0.0.tgz)",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "content_type": {
            "type": "string",
            "example": "application/octet-stream"
          },
          "data": {
            "type": "string",
            "description": "Base64-encoded tarball binary"
          },
          "length": {
            "type": "integer",
            "description": "Byte length of the decoded tarball"
          }
        },
        "required": ["content_type", "data"]
      }
    }
  },
  "required": ["name", "versions"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/verdaccio-publish-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.