{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lunchbox/refs/heads/main/json-structure/management-service-type-config-structure.json",
  "name": "ServiceTypeConfig",
  "description": "ServiceTypeConfig schema from Lunchbox Management API",
  "type": "object",
  "properties": {
    "approved": {
      "type": "boolean",
      "example": true
    },
    "enabled": {
      "type": "boolean",
      "example": true
    },
    "group_base_prep_time": {
      "type": "int32",
      "example": 1
    },
    "base_prep_time": {
      "type": "int32",
      "example": 1
    },
    "lead_time": {
      "type": "int32",
      "example": 1
    },
    "hold_same_day_orders": {
      "type": "boolean",
      "example": true
    },
    "pos_autosend": {
      "type": "boolean",
      "example": true
    },
    "hold_future_orders": {
      "type": "boolean",
      "example": true
    },
    "min_subtotal": {
      "type": "double",
      "example": 1.0
    },
    "allow_check_in": {
      "type": "boolean",
      "example": true
    }
  }
}