{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/cheatsheets/latest.json",
  "title": "A cheatsheet config schema",
  "x-lintel": {
    "source": "https://www.schemastore.org/cheatsheets.json",
    "sourceSha256": "efc627a12f4442355915c2ac6b41162540e9bfbeca631d312b1130c66efa8f38",
    "fileMatch": [
      "**/cheat/conf.yaml",
      "**/cheat/conf.yml",
      "**/.cheat/conf.yml"
    ],
    "parsers": [
      "yaml"
    ]
  },
  "type": "object",
  "properties": {
    "editor": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/cheatsheets/_shared/latest--base.json#/$defs/editor",
      "description": "An editor to modify cheatsheets\n<https://github.com/cheat/cheat#cheatpaths>"
    },
    "colorize": {
      "description": "Whether cheatsheets should be colorized\n<https://github.com/cheat/cheat#cheatpaths>",
      "type": "boolean",
      "default": false
    },
    "style": {
      "description": "A color schema applied for cheatsheets\n<https://github.com/cheat/cheat#cheatpaths>",
      "type": "string",
      "enum": [
        "abap",
        "algol",
        "algol_nu",
        "api",
        "arduino",
        "autumn",
        "average",
        "base16-snazzy",
        "borland",
        "bw",
        "catppuccin-frappe",
        "catppuccin-latte",
        "catppuccin-macchiato",
        "catppuccin-mocha",
        "colorful",
        "compat",
        "doom-one",
        "doom-one2",
        "dracula",
        "emacs",
        "friendly",
        "fruity",
        "github",
        "github-dark",
        "gruvbox",
        "gruvbox-light",
        "hr_high_contrast",
        "hrdark",
        "igor",
        "lovelace",
        "manni",
        "modus-operandi",
        "modus-vivendi",
        "monokai",
        "monokailight",
        "murphy",
        "native",
        "nord",
        "onedark",
        "onesenterprise",
        "paraiso-dark",
        "paraiso-light",
        "pastie",
        "perldoc",
        "pygments",
        "rainbow_dash",
        "rose-pine",
        "rose-pine-dawn",
        "rose-pine-moon",
        "rrt",
        "solarized-dark",
        "solarized-dark256",
        "solarized-light",
        "swapoff",
        "tango",
        "trac",
        "vim",
        "vs",
        "vulcan",
        "witchhazel",
        "xcode",
        "xcode-dark"
      ]
    },
    "formatter": {
      "description": "A formatter to format cheatsheets\n<https://github.com/cheat/cheat#cheatpaths>",
      "type": "string",
      "enum": [
        "terminal",
        "terminal256",
        "terminal16m"
      ]
    },
    "pager": {
      "description": "A pager to read long cheatsheets\n<https://github.com/cheat/cheat#cheatpaths>",
      "type": "string",
      "oneOf": [
        {
          "enum": [
            "less",
            "more"
          ]
        },
        {}
      ]
    },
    "cheatpaths": {
      "description": "Cheatpaths\n<https://github.com/cheat/cheat#cheatpaths>",
      "type": "array",
      "items": {
        "title": "cheatpath",
        "description": "A cheatpath\n<https://github.com/cheat/cheat#cheatpaths>",
        "type": "object",
        "properties": {
          "name": {
            "description": "A cheatpath name\n<https://github.com/cheat/cheat#cheatpaths>",
            "type": "string",
            "minLength": 1
          },
          "path": {
            "$ref": "https://catalog.lintel.tools/schemas/schemastore/cheatsheets/_shared/latest--base.json#/$defs/path",
            "description": "A cheatpath path\n<https://github.com/cheat/cheat#cheatpaths>"
          },
          "tags": {
            "description": "Cheatpath tags\n<https://github.com/cheat/cheat#cheatpaths>",
            "type": "array",
            "uniqueItems": true,
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "readonly": {
            "description": "Whether allow creating cheatsheets in a cheatpath\n<https://github.com/cheat/cheat#cheatpaths>",
            "type": "boolean",
            "default": false
          }
        },
        "additionalProperties": false
      }
    }
  },
  "$comment": "https://github.com/cheat/cheat",
  "additionalProperties": false
}
