{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/gitea-issue-template-configuration/latest.json",
  "title": "Gitea issue template chooser config file schema",
  "x-lintel": {
    "source": "https://www.schemastore.org/gitea-issue-config.json",
    "sourceSha256": "8aa5adba43f7ada34bd13ffa74cc911d57fc2239a7fe3c8aca5d03324ac424e8",
    "fileMatch": [
      "**/.gitea/ISSUE_TEMPLATE/config.yml",
      "**/.gitea/ISSUE_TEMPLATE/config.yaml",
      "**/.forgejo/ISSUE_TEMPLATE/config.yml",
      "**/.forgejo/ISSUE_TEMPLATE/config.yaml"
    ],
    "parsers": [
      "yaml"
    ]
  },
  "type": "object",
  "properties": {
    "blank_issues_enabled": {
      "description": "Specify whether forms have to be used or blank issue are allowed\n<https://docs.gitea.com/usage/issue-pull-request-templates#possible-options>",
      "type": "boolean"
    },
    "contact_links": {
      "title": "contact links",
      "description": "Contact links\n<https://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\n<https://docs.gitea.com/usage/issue-pull-request-templates#contact-link>",
            "type": "string",
            "minLength": 1,
            "examples": [
              "Sample name"
            ]
          },
          "url": {
            "description": "The URL of your Link\n<https://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\n<https://docs.gitea.com/usage/issue-pull-request-templates#contact-link>",
            "type": "string",
            "minLength": 1,
            "examples": [
              "Sample description"
            ]
          }
        },
        "additionalProperties": false
      }
    }
  },
  "$comment": "https://docs.gitea.com/usage/issue-pull-request-templates#syntax-for-issue-config",
  "additionalProperties": false
}
