{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "$schema": {
      "type": "string"
    },
    "automd": {
      "description": "Enable integration with https://automd.unjs.io",
      "type": "boolean"
    },
    "buildCache": {
      "description": "Enable build cache (experimental)",
      "type": "boolean"
    },
    "description": {
      "description": "The description of the documentation site.",
      "type": "string"
    },
    "dir": {
      "description": "Documentation directory\n\nNote: This option will be automatically set",
      "type": "string"
    },
    "github": {
      "description": "The GitHub repository for the documentation site.",
      "type": "string"
    },
    "landing": {
      "oneOf": [
        {
          "const": false,
          "type": "boolean"
        },
        {
          "additionalProperties": false,
          "description": "Landing page configuration",
          "properties": {
            "contributors": {
              "description": "Show contributors section",
              "type": "boolean"
            },
            "description": {
              "description": "Page description",
              "type": "string"
            },
            "features": {
              "description": "Features section description",
              "items": {
                "properties": {
                  "description": {
                    "type": "string"
                  },
                  "icon": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "featuresLayout": {
              "description": "Features section layout to be in default place or in the hero (only if there is no code)",
              "enum": [
                "default",
                "hero"
              ],
              "type": "string"
            },
            "featuresTitle": {
              "description": "Features section title",
              "type": "string"
            },
            "heroCode": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "content": {
                      "type": "string"
                    },
                    "lang": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "content"
                  ],
                  "type": "object"
                }
              ],
              "description": "Hero Codes"
            },
            "heroDescription": {
              "description": "Additional text in hero (default is same as description)",
              "type": "string"
            },
            "heroLinks": {
              "additionalProperties": {
                "type": "object"
              },
              "description": "Hero Links",
              "type": "object"
            },
            "heroSubtitle": {
              "description": "second hero title (default is same as shortDescription)",
              "type": "string"
            },
            "heroTitle": {
              "description": "main title (default is same as page title)",
              "type": "string"
            },
            "title": {
              "description": "Page title",
              "type": "string"
            }
          },
          "type": "object"
        }
      ]
    },
    "name": {
      "description": "The name of the documentation site.",
      "type": "string"
    },
    "redirects": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Redirects for the documentation site.",
      "type": "object"
    },
    "shortDescription": {
      "description": "The description of the documentation site.",
      "type": "string"
    },
    "themeColor": {
      "description": "The theme color of the documentation site.\nIt will be used as the `theme-color` meta tag and a full palette of colors will be generated from it.",
      "type": "string"
    },
    "url": {
      "description": "The URL of the documentation site.",
      "type": "string"
    }
  },
  "type": "object"
}