{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Studio Basket Location Facet",
  "name": "LocationFacet",
  "description": "Studio Basket Location Facet configuration options",
  "type": "object",
  "definitions": {
    "options": {
      "type": "object",
      "description": "Customise options relating to how the location facet renders",
      "properties": {
        "useSearchAlways": {
          "type": "boolean",
          "description": "Always use the search rather then the list view"
        },
        "hideOnChild": {
          "type": "boolean",
          "description": "Don't show the location picker when making a booking at a child level"
        },
        "view": {
          "type": "string",
          "description": "The view type, 'map', or 'list'"
        }

      }
    }
  }
}
