{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/power-pages-configuration/latest.json",
  "title": "JSON schema for the Power Pages configuration file",
  "x-lintel": {
    "source": "https://www.schemastore.org/powerpages.config.json",
    "sourceSha256": "e1ac8dfdda4f8de219d88fa02d4395b7f44a69b350676ff17f050cf1eb336f9e",
    "fileMatch": [
      "powerpages.config.json"
    ],
    "parsers": [
      "json"
    ]
  },
  "type": "object",
  "properties": {
    "siteName": {
      "type": "string",
      "description": "The name of the website"
    },
    "defaultLandingPage": {
      "type": "string",
      "description": "The path of the default HTML page to load when opening the website. This path should be relative to the compiledPath."
    },
    "compiledPath": {
      "type": "string",
      "description": "The path of the compiled output directory relative to powerpages.config.json file"
    },
    "bundleFilePatterns": {
      "type": "array",
      "description": "List of glob patterns (strings) identifying file patterns to be cleaned up from web-files before uploading to Power Pages.",
      "items": {
        "type": "string"
      }
    },
    "includeSource": {
      "type": "boolean",
      "description": "Whether to include source code when uploading files to Power Pages. Defaults to `false` if not specified."
    },
    "sourceExcludePatterns": {
      "type": "array",
      "description": "List of glob patterns (strings) identifying source file patterns to be excluded when uploading the site to Power Pages. This is only applicable if `includeSource` is set to `true`.",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": true
}
