{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/github/release-drafter/latest.json",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/release-drafter/release-drafter/master/schema.json",
    "sourceSha256": "c318abc9372367516c7c88ecf26ae115e6d33717635525ce715684c11afad858",
    "fileMatch": [
      "**/.github/release-drafter.yml"
    ],
    "parsers": [
      "yaml"
    ]
  },
  "type": "object",
  "properties": {
    "change-template": {
      "default": "* $TITLE (#$NUMBER) @$AUTHOR",
      "type": "string"
    },
    "change-title-escapes": {
      "type": "string"
    },
    "no-changes-template": {
      "default": "* No changes",
      "type": "string"
    },
    "version-template": {
      "default": "$MAJOR.$MINOR.$PATCH$PRERELEASE",
      "type": "string"
    },
    "name-template": {
      "type": "string"
    },
    "tag-prefix": {
      "type": "string"
    },
    "tag-template": {
      "type": "string"
    },
    "exclude-labels": {
      "default": [],
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "include-labels": {
      "default": [],
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "include-paths": {
      "default": [],
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "exclude-paths": {
      "default": [],
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "exclude-contributors": {
      "default": [],
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "no-contributors-template": {
      "default": "No contributors",
      "type": "string"
    },
    "sort-by": {
      "default": "merged_at",
      "type": "string",
      "enum": [
        "merged_at",
        "title"
      ]
    },
    "sort-direction": {
      "default": "descending",
      "type": "string",
      "enum": [
        "ascending",
        "descending"
      ]
    },
    "filter-by-commitish": {
      "default": false,
      "type": "boolean"
    },
    "pull-request-limit": {
      "default": 5,
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "history-limit": {
      "default": 15,
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "replacers": {
      "default": [],
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "search": {
            "type": "string",
            "minLength": 1
          },
          "replace": {
            "type": "string",
            "minLength": 0
          }
        },
        "required": [
          "search",
          "replace"
        ]
      }
    },
    "categories": {
      "default": [],
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "minLength": 1
          },
          "collapse-after": {
            "default": -1,
            "type": "integer",
            "minimum": -1,
            "maximum": 9007199254740991
          },
          "labels": {
            "default": [],
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "label": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "title"
        ]
      }
    },
    "version-resolver": {
      "default": {
        "major": {
          "labels": []
        },
        "minor": {
          "labels": []
        },
        "patch": {
          "labels": []
        },
        "default": "patch"
      },
      "type": "object",
      "properties": {
        "major": {
          "default": {
            "labels": []
          },
          "type": "object",
          "properties": {
            "labels": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              }
            }
          },
          "required": [
            "labels"
          ]
        },
        "minor": {
          "default": {
            "labels": []
          },
          "type": "object",
          "properties": {
            "labels": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              }
            }
          },
          "required": [
            "labels"
          ]
        },
        "patch": {
          "default": {
            "labels": []
          },
          "type": "object",
          "properties": {
            "labels": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              }
            }
          },
          "required": [
            "labels"
          ]
        },
        "default": {
          "default": "patch",
          "type": "string",
          "enum": [
            "major",
            "minor",
            "patch"
          ]
        }
      }
    },
    "category-template": {
      "default": "## $TITLE",
      "type": "string"
    },
    "template": {
      "default": "",
      "type": "string"
    },
    "latest": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "boolean"
        }
      ]
    },
    "prerelease": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "boolean"
        }
      ]
    },
    "initial-commits-since": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
    },
    "prerelease-identifier": {
      "type": "string"
    },
    "include-pre-releases": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "boolean"
        }
      ]
    },
    "commitish": {
      "type": "string"
    },
    "header": {
      "type": "string"
    },
    "footer": {
      "type": "string"
    },
    "filter-by-range": {
      "type": "string"
    }
  }
}
