{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Config",
  "description": "Tikibase configuration data",
  "type": "object",
  "properties": {
    "$schema": {
      "description": "link to the JSON-Schema definition for this file",
      "type": [
        "string",
        "null"
      ]
    },
    "bidiLinks": {
      "description": "enables bi-directional links",
      "type": [
        "boolean",
        "null"
      ]
    },
    "ignore": {
      "description": "Names of filesystem entries to ignore in this directory.",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "sections": {
      "description": "the allowed section titles",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "standaloneDocs": {
      "description": "whether documents without links are allowed",
      "type": [
        "boolean",
        "null"
      ]
    },
    "titleRegEx": {
      "description": "regex with a single capture group to extract a shorter title for links to notes",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}