{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://www.krakend.io/schema/v2.9/backend/static-filesystem.json",
  "title": "Static Filesystem",
  "description": "Enterprise only. Allows you to fetch and serve static content from the disk instead of a remote server, and you can use it to mock data.\n\nSee: https://www.krakend.io/docs/enterprise/endpoints/serve-static-content/",
  "type": "object",
  "required": [ "path" ],
  "properties": {
    "directory_listing": {
      "description": "Whether to allow directory listings or not",
      "default": false,
      "type": "boolean"
    },
    "path": {
      "title": "Path",
      "description": "The folder in the filesystem containing the static files. Relative to the working dir where KrakenD config is (e.g.: `./assets`) or absolute (e.g.: `/var/www/assets`).\n\nSee: https://www.krakend.io/docs/enterprise/endpoints/serve-static-content/",
      "examples": [ "./static/" ],
      "type": "string"
    }
  },
  "patternProperties": {
    "^[@$_#]": {}
  },
  "additionalProperties": false
}
