{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Studio Basket Client Facet",
  "name": "ClientFacet",
  "description": "Studio Basket Client Facet configuration options",
  "type": "object",
  "definitions": {
    "options": {
      "type": "object",
      "description": "Customise options relating to how the client facet renders",
      "properties": {
        "maxNumberOfAttendees": {
          "type": "integer",
          "description": "Maximum number of attendees to you can add to a booking"
        },
        "allowNote": {
          "type": "boolean",
          "description": "Allow staff to make a oboking using only a note"
        },
        "allowNewClient": {
          "type": "boolean",
          "description": "Allow staff to add new clients"
        },
        "allowExtraAttendee": {
          "type": "boolean",
          "description": "Turn on the extra attendees section"
        },
        "allowNewAttendee": {
          "type": "boolean",
          "description": "Allow staff to add new extra attendees"
        },
        "allowEditClient": {
          "type": "boolean",
          "description": "Allow staff to modify clients"
        },
        "allowEditAttendee": {
          "type": "boolean",
          "description": "Allow staff to modify extra attendees"
        },
        "showConsent": {
          "type": "boolean",
          "description": "Show data consent field on create or edit client forms"
        },
        "customForm": {
          "type": "array",
          "description": "Custom client form"
        },
        "notificationPreferences": {
          "type":"object",
          "description": "sets the default value of notification checkboxes and visibility of available checkboxes"
        },
        "attendees": {
          "type": "object",
          "description": "options relating to extra attendees"
        }
      }
    }
  }
}
