[
  {
    "template_meta": {
      "title": "Simple Service/Resource Booking",
      "description": "The most basic setup for booking a single type of item, like a meeting room, a rental item, or a specific service. Recommended for new users.",
      "recommended": true
    },
    "options": {
      "clisyc_dimension_registry": {
        "dimensions": {
          "clisyc_service": {
            "enabled": true,
            "primary": true,
            "frontend_visible": true
          }
        },
        "relationships": {},
        "filter_order": [
          "clisyc_service"
        ]
      },
      "clisyc_custom_dimension_types": {
        "clisyc_service": {
          "singular": "Service",
          "plural": "Services",
          "icon": "dashicons-admin-generic",
          "public": true
        }
      }
    },
    "cpts": {
      "clisyc_service": [
        {
          "post_name": "standard-consultation",
          "post_title": "Standard Consultation",
          "post_content": "This is an example service. You can edit this or create new ones under the 'Services' menu in the Client Sync dashboard.",
          "post_meta": {
            "_clisyc_price": [
              "50.00"
            ],
            "_clisyc_color": [
              "#007cba"
            ],
            "_clisyc_schedule": [
              "{\"pattern_enabled\":false,\"pattern_start_date\":\"\",\"pattern_sequence\":\"A\",\"templates\":{\"A\":{\"1\":{\"slots\":[{\"start\":\"09:00\",\"end\":\"10:00\"},{\"start\":\"10:00\",\"end\":\"11:00\"}]},\"3\":{\"slots\":[{\"start\":\"13:00\",\"end\":\"14:00\"},{\"start\":\"14:00\",\"end\":\"15:00\"}]}}}}"
            ],
            "_clisyc_capacity": [
              "1"
            ],
            "_clisyc_duration_minutes": [
              "60"
            ]
          }
        }
      ]
    },
    "relationships": [],
    "output_templates": [
      {
        "post_title": "Booking Confirmation",
        "clisyc_template_json": "{\"sections\":[{\"id\":\"ot_1\",\"type\":\"text\",\"content\":\"Hi {client_first_name}, your appointment has been confirmed!\",\"fields\":[]},{\"id\":\"ot_2\",\"type\":\"text\",\"content\":\"Date: {appointment_date_formatted}\",\"fields\":[]},{\"id\":\"ot_3\",\"type\":\"text\",\"content\":\"Time: {appointment_time}\",\"fields\":[]},{\"id\":\"ot_4\",\"type\":\"text\",\"content\":\"Duration: {appointment_duration} minutes\",\"fields\":[]},{\"id\":\"ot_5\",\"type\":\"text\",\"content\":\"If you need to make changes, please contact us at {site_name}.\",\"fields\":[]}]}",
        "clisyc_triggers": [
          "new_appointment_client",
          "new_appointment_admin"
        ],
        "clisyc_channels": [
          "email"
        ]
      },
      {
        "post_title": "Appointment Reminder",
        "clisyc_template_json": "{\"sections\":[{\"id\":\"ot_1\",\"type\":\"text\",\"content\":\"Hi {client_first_name}, this is a reminder about your upcoming appointment.\",\"fields\":[]},{\"id\":\"ot_2\",\"type\":\"text\",\"content\":\"Date: {appointment_date_formatted}\",\"fields\":[]},{\"id\":\"ot_3\",\"type\":\"text\",\"content\":\"Time: {appointment_time}\",\"fields\":[]},{\"id\":\"ot_4\",\"type\":\"text\",\"content\":\"View details: {appointment_view_link}\",\"fields\":[]},{\"id\":\"ot_5\",\"type\":\"text\",\"content\":\"We look forward to seeing you!\",\"fields\":[]}]}",
        "clisyc_triggers": [
          "appointment_reminder"
        ],
        "clisyc_channels": [
          "email"
        ]
      },
      {
        "post_title": "Cancellation Notice",
        "clisyc_template_json": "{\"sections\":[{\"id\":\"ot_1\",\"type\":\"text\",\"content\":\"Hi {client_first_name}, your appointment on {appointment_date_formatted} at {appointment_time} has been cancelled.\",\"fields\":[]},{\"id\":\"ot_2\",\"type\":\"text\",\"content\":\"If this was a mistake or you would like to reschedule, please visit {site_url} or contact us.\",\"fields\":[]}]}",
        "clisyc_triggers": [
          "appointment_cancelled_admin",
          "appointment_cancelled_by_client"
        ],
        "clisyc_channels": [
          "email"
        ]
      },
      {
        "post_title": "Payment Receipt",
        "clisyc_template_json": "{\"sections\":[{\"id\":\"ot_1\",\"type\":\"text\",\"content\":\"Hi {client_name}, thank you for your payment!\",\"fields\":[]},{\"id\":\"ot_2\",\"type\":\"text\",\"content\":\"Order #: {order_id}\",\"fields\":[]},{\"id\":\"ot_3\",\"type\":\"text\",\"content\":\"Amount: {order_total}\",\"fields\":[]},{\"id\":\"ot_4\",\"type\":\"text\",\"content\":\"Payment method: {order_payment_method_title}\",\"fields\":[]},{\"id\":\"ot_5\",\"type\":\"text\",\"content\":\"Appointment: {appointment_date_formatted} at {appointment_time}\",\"fields\":[]},{\"id\":\"ot_6\",\"type\":\"text\",\"content\":\"Thank you for choosing {site_name}!\",\"fields\":[]}]}",
        "clisyc_triggers": [
          "payment_successful_client"
        ],
        "clisyc_channels": [
          "email"
        ]
      },
      {
        "post_title": "Admin: New Booking Alert",
        "clisyc_template_json": "{\"sections\":[{\"id\":\"ot_1\",\"type\":\"text\",\"content\":\"New booking received from {client_name} ({client_email}).\",\"fields\":[]},{\"id\":\"ot_2\",\"type\":\"text\",\"content\":\"Date: {appointment_date_formatted} at {appointment_time}\",\"fields\":[]},{\"id\":\"ot_3\",\"type\":\"text\",\"content\":\"Duration: {appointment_duration} minutes\",\"fields\":[]},{\"id\":\"ot_4\",\"type\":\"text\",\"content\":\"Notes: {appointment_notes}\",\"fields\":[]},{\"id\":\"ot_5\",\"type\":\"text\",\"content\":\"Edit: {appointment_edit_link_admin}\",\"fields\":[]}]}",
        "clisyc_triggers": [
          "new_appointment_client"
        ],
        "clisyc_channels": [
          "email"
        ]
      }
    ]
  }
]
