{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "/modules/fonts.json",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "fonts",
      "description": "The fonts module can be used to install fonts from Nerd Fonts or Google Fonts. \nhttps://blue-build.org/reference/modules/fonts/"
    },
    "no-cache": {
      "type": "boolean",
      "default": false,
      "description": "Whether to disabling caching for this layer.\nhttps://blue-build.org/reference/module/#no-cache-optional"
    },
    "fonts": {
      "type": "object",
      "properties": {
        "nerd-fonts": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of Nerd Fonts to install (without the \"Nerd Font\" suffix)."
        },
        "google-fonts": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of Google Fonts to install."
        }
      }
    }
  },
  "required": [
    "type",
    "fonts"
  ],
  "additionalProperties": false
}