{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-schema/stores-store-collection-settings-schema.json",
  "title": "StoreCollectionSettings",
  "description": "Store Collection Settings",
  "type": "object",
  "properties": {
    "PickupEnabled": {
      "description": "True if the store accepts pickup orders",
      "type": "boolean",
      "example": true
    },
    "MinimumPickupOrderAmount": {
      "format": "double",
      "description": "Minimum pickup order amount",
      "type": "number",
      "example": 12.5
    },
    "RequireCustomerNameForPickup": {
      "description": "True if customer name required for pickup orders",
      "type": "boolean",
      "example": true
    },
    "CashOrdersPickupEnabled": {
      "description": "True if the store accepts cash payment for pickup orders",
      "type": "boolean",
      "example": true
    },
    "LeadTimeMinutes": {
      "format": "int32",
      "description": "Auto accept lead time for collection orders",
      "type": "integer",
      "example": 1
    },
    "EtaInPickupConfirmationSmsEnabled": {
      "description": "True if order confirmation sms includes estimated time when order will be ready for collection",
      "type": "boolean",
      "example": true
    }
  },
  "required": [
    "PickupEnabled",
    "MinimumPickupOrderAmount",
    "RequireCustomerNameForPickup",
    "CashOrdersPickupEnabled",
    "LeadTimeMinutes",
    "EtaInPickupConfirmationSmsEnabled"
  ]
}