{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "required": ["profiles"],
  "properties": {
    "profiles": {
      "type": "array",
      "description": "The list of release targets.",
      "items": {
        "type": "object",
        "required": ["name", "use"],
        "properties": {
          "name": {
            "type": "string",
            "description": "The tag of this release.",
            "minLength": 1
          },
          "use": {
            "type": "string",
            "description": "Command to run to perform the release itself.",
            "minLength": 1
          },
          "prerelease": {
            "type": "boolean",
            "description": "Publish the package in a pre-release mode. Breaking changes in this mode produce minor version bumps instead of the major ones."
          }
        }
      }
    }
  }
}
