{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "/modules/akmods.json",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "akmods",
      "description": "The akmods module is a tool used for managing and installing kernel modules built by Universal Blue.\nhttps://blue-build.org/reference/modules/akmods/"
    },
    "no-cache": {
      "type": "boolean",
      "default": false,
      "description": "Whether to disabling caching for this layer.\nhttps://blue-build.org/reference/module/#no-cache-optional"
    },
    "base": {
      "anyOf": [
        {
          "type": "string",
          "const": "main"
        },
        {
          "type": "string",
          "const": "asus"
        },
        {
          "type": "string",
          "const": "fsync"
        },
        {
          "type": "string",
          "const": "fsync-ba"
        },
        {
          "type": "string",
          "const": "surface"
        },
        {
          "type": "string",
          "const": "coreos-stable"
        },
        {
          "type": "string",
          "const": "coreos-testing"
        },
        {
          "type": "string",
          "const": "bazzite"
        }
      ],
      "default": "main",
      "description": "The kernel your images uses.\n- main: stock Fedora kernel / main and nvidia images\n- asus: asus kernel / asus images\n- fsync: fsync kernel / not used in any Universal Blue images\n- fsync-ba: fsync kernel, stable version / not used in any Universal Blue images\n- surface: surface kernel / surface images\n- coreos-stable: stock CoreOS kernel / uCore stable images\n- coreos-testing: stock CoreOS Testing kernel / uCore testing images\n- bazzite: Bazzite's kernel / bazzite images"
    },
    "install": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of akmods to install.\nSee all available akmods here: https://github.com/ublue-os/akmods#kmod-packages"
    }
  },
  "required": [
    "type",
    "install"
  ],
  "additionalProperties": false
}