{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/npm/json-schema/npm-package-version-status-schema.json",
  "title": "PackageVersionStatus",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/npm-registry-reference-openapi.yml#/components/schemas/PackageVersionStatus",
  "type": "object",
  "required": [
    "packageName",
    "version",
    "status"
  ],
  "properties": {
    "packageName": {
      "type": "string",
      "description": "The exact package name."
    },
    "version": {
      "type": "string",
      "description": "The exact package version."
    },
    "status": {
      "type": "string",
      "description": "Where the version currently stands.\n\n`published` means it is live and installable. `validating` means it is still on its way and the caller should check again shortly. `staged` means it is waiting for a maintainer to approve it. `blocked` means it did not pass automated validation and cannot be installed. `deleted` means it was published and has since been removed.\n",
      "enum": [
        "published",
        "validating",
        "staged",
        "blocked",
        "deleted"
      ]
    }
  }
}