{
  "$ref": "#/definitions/Config",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "Config": {
      "additionalProperties": false,
      "properties": {
        "access": {
          "$ref": "#/definitions/PackageAccess",
          "description": "Whether the npm registry publishes this package as a public package, or restricted."
        },
        "beforeScript": {
          "description": "Run script on the to-release dir before npm publish.",
          "type": "string"
        },
        "cleanComments": {
          "default": false,
          "description": "Clean inline comments from JS files.",
          "type": "boolean"
        },
        "cleanDocs": {
          "default": false,
          "description": "Keep only main section of `README.md`",
          "type": "boolean"
        },
        "dryRun": {
          "description": "Reports the details of what would have been published.",
          "type": "boolean"
        },
        "fields": {
          "description": "List of fields in the `package.json` file that you want to delete before publishing.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "files": {
          "description": "List of files that you want to delete before publishing (supports regex and glob patterns).",
          "items": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "format": "regex",
                "type": "string"
              }
            ]
          },
          "type": "array"
        },
        "packageManager": {
          "$ref": "#/definitions/PackageManager",
          "default": "npm",
          "description": "Name of package manager to use."
        },
        "packageManagerOptions": {
          "description": "Options which are directly passed into package manager during publish.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "tag": {
          "description": "Registers the package with the given tag.",
          "type": "string"
        },
        "tempDir": {
          "description": "Create temporary directory with given name.",
          "type": "string"
        },
        "withoutPublish": {
          "default": false,
          "description": "Clean project without `npm publish` (tmp directory will not be deleted automatically).",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "PackageAccess": {
      "type": "string"
    },
    "PackageManager": {
      "type": "string"
    }
  }
}