{
  "jsonSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
      "journalDirectories": {
        "title": "systemd-journal directories",
        "description": "The list of directories `systemd-journald` and `systemd-journal-remote` store journal files. Netdata monitors these directories to automatically detect changes.",
        "type": "array",
        "items": {
          "title": "Absolute Path",
          "type": "string",
          "pattern": "^/.+$"
        },
        "maxItems": 100,
	    "uniqueItems": true
      }
    },
    "required": [
      "journalDirectories"
    ]
  },
  "uiSchema": {
    "journalDirectories": {
      "ui:listFlavour": "list",
      "ui:options": {
        "addable": true,
        "orderable": false,
        "removable": true
      },
      "items": {
        "ui:placeholder": "Enter absolute directory path",
        "ui:widget": "text",
        "ui:emptyValue": ""
      }
    }
  }
}
