{
  "$schema": "http://json-schema.org/schema",
  "$id": "angular-fontawesome-ng-add",
  "title": "Font Awesome ng-add schematic",
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "description": "The name of the project.",
      "$default": {
        "$source": "projectName"
      }
    },
    "version": {
      "description": "The FontAwesome version to install.",
      "type": "string",
      "default": "7",
      "x-prompt": {
        "message": "Choose Font Awesome version you would like to use:",
        "type": "list",
        "items": [
          {
            "value": "7",
            "label": "Font Awesome 7"
          },
          {
            "value": "6",
            "label": "Font Awesome 6"
          },
          {
            "value": "5",
            "label": "Font Awesome 5"
          }
        ]
      }
    },
    "iconPackages": {
      "description": "The icon packages to install.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "free-solid",
          "free-regular",
          "free-brands",
          "pro-solid",
          "pro-regular",
          "pro-light",
          "pro-thin",
          "pro-duotone",
          "duotone-regular",
          "duotone-light",
          "duotone-thin",
          "sharp-solid",
          "sharp-regular",
          "sharp-light",
          "sharp-thin",
          "sharp-duotone-solid",
          "sharp-duotone-regular",
          "sharp-duotone-light",
          "sharp-duotone-thin"
        ]
      },
      "default": ["free-solid"],
      "x-prompt": {
        "message": "Choose Font Awesome icon packages you would like to use:",
        "type": "list",
        "multiselect": true,
        "items": [
          {
            "value": "free-solid",
            "label": "Free Solid Icons"
          },
          {
            "value": "free-regular",
            "label": "Free Regular Icons"
          },
          {
            "value": "free-brands",
            "label": "Free Brands Icons"
          },
          {
            "value": "pro-solid",
            "label": "Pro Solid Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          },
          {
            "value": "pro-regular",
            "label": "Pro Regular Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          },
          {
            "value": "pro-light",
            "label": "Pro Light Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          },
          {
            "value": "pro-thin",
            "label": "Pro Thin Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          },
          {
            "value": "pro-duotone",
            "label": "Pro Duotone Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          },
          {
            "value": "duotone-regular",
            "label": "Duotone Regular Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          },
          {
            "value": "duotone-light",
            "label": "Duotone Light Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          },
          {
            "value": "duotone-thin",
            "label": "Duotone Thin Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          },
          {
            "value": "sharp-solid",
            "label": "Sharp Solid Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          },
          {
            "value": "sharp-regular",
            "label": "Sharp Regular Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          },
          {
            "value": "sharp-light",
            "label": "Sharp Light Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          },
          {
            "value": "sharp-thin",
            "label": "Sharp Thin Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          },
          {
            "value": "sharp-duotone-solid",
            "label": "Sharp Duotone Solid Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          },
          {
            "value": "sharp-duotone-regular",
            "label": "Sharp Duotone Regular Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          },
          {
            "value": "sharp-duotone-light",
            "label": "Sharp Duotone Light Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          },
          {
            "value": "sharp-duotone-thin",
            "label": "Sharp Duotone Thin Icons [ Requires Pro plan: https://fontawesome.com/plans ]"
          }
        ]
      }
    }
  },
  "required": [],
  "additionalProperties": false
}
