{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/motif-config/latest.json",
  "title": "Motif Config",
  "x-lintel": {
    "source": "https://motif.land/api/motif.schema.json",
    "sourceSha256": "a376e5787f0a4ba451840d6d0057a9118e347a507f9d25e859cdd6208dfe40ad",
    "fileMatch": [
      "motif.json"
    ],
    "parsers": [
      "json"
    ]
  },
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "markdownDescription": "If set, this title will be used for your pages whenever your pages don't specify a `title` entry in the [metadata](https://motif.land/docs/basics/metadata)."
    },
    "titleTemplate": {
      "type": "string",
      "markdownDescription": "A title template for your pages. The `%s` part will be replaced with your page's title."
    },
    "baseCanonicalUrl": {
      "type": "string",
      "markdownDescription": "The base of a canonical URL link tag."
    },
    "gaMeasurementId": {
      "type": "string",
      "pattern": "^(G|UA|YT|MO)-[a-zA-Z0-9-]+$",
      "markdownDescription": "Google Analytics tracking IDs, as explained in the [Google Analytics](https://motif.land/docs/guides/google-analytics) guide, to set up analytics tracking for your public pages."
    },
    "gaTrackingId": {
      "$ref": "#/properties/gaMeasurementId"
    },
    "templates": {
      "type": "object",
      "markdownDescription": "This is a mapping between your pages, and the templates that should be used. It is automatically generated if you set a template via the page's document bar, but you can also edit it manually, for instance to set up automatic mapping rules that we describe below.\nThe template value (e.g. `home` or `blog-index`) must correspond to the name of the file in the `templates` folder.\nMappings are determined using a [glob syntax](https://en.wikipedia.org/wiki/Glob_(programming)), where:\n- `*` means all files in a given folder. E.g. `blog/*` means any files in the `blog` folder (but not in any of its subfolders)\n- `**/*` means all files in a given folder and subfolders of any depth. E.g. `blog/**/*` includes all files in the `blog` folder and its subfolders.\n**Note**: The most specific rule takes precendence.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "head": {
      "type": "array",
      "markdownDescription": "This is a list of tags to inject in the `<head>` section of all your pages. This is where you load fonts, set Open Graph metadata, or load a custom stylesheet. Any HTML tags can be used.",
      "items": {
        "type": "string"
      }
    },
    "sitemap": {
      "type": "object",
      "properties": {
        "excludePaths": {
          "type": "array",
          "markdownDescription": "If you wish to exclude the paths of some public pages from the sitemap, you can do so by adding a `sitemap.excludePaths` entry and specify a list of paths, either explicitly, or using the glob pattern mentioned above.",
          "items": {
            "type": "string"
          }
        }
      }
    }
  },
  "markdownDescription": "This is your project's main configuration file. It is a JSON file, and includes information such as `head` data and template mappings. It can be accessed via the project settings (<kbd>Ctrl+,</kbd> (PC) / <kbd>Cmd+,</kbd> (Mac)) → _General_ → _Open motif.json_. Alternatively, you can find it at the top level of your project source tree."
}
