{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://json.schemastore.org/gitea-issue-config.json",
  "$comment": "https://docs.gitea.com/usage/issue-pull-request-templates#syntax-for-issue-config",
  "properties": {
    "blank_issues_enabled": {
      "description": "Specify whether forms have to be used or blank issue are allowed\nhttps://docs.gitea.com/usage/issue-pull-request-templates#possible-options",
      "type": "boolean"
    },
    "contact_links": {
      "title": "contact links",
      "description": "Contact links\nhttps://docs.gitea.com/usage/issue-pull-request-templates#possible-options",
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "required": ["name", "url", "about"],
        "properties": {
          "name": {
            "description": "The name of your link\nhttps://docs.gitea.com/usage/issue-pull-request-templates#contact-link",
            "type": "string",
            "minLength": 1,
            "examples": ["Sample name"]
          },
          "url": {
            "description": "The URL of your Link\nhttps://docs.gitea.com/usage/issue-pull-request-templates#contact-link",
            "type": "string",
            "pattern": "^https?://",
            "examples": ["https://sample/url"]
          },
          "about": {
            "description": "A short description of your Link\nhttps://docs.gitea.com/usage/issue-pull-request-templates#contact-link",
            "type": "string",
            "minLength": 1,
            "examples": ["Sample description"]
          }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false,
  "title": "Gitea issue template chooser config file schema",
  "type": "object"
}
