[
  {
    "template_meta": {
      "title": "Fitness Class / Workshop",
      "description": "A setup for businesses that offer group sessions like classes or workshops, with instructors and locations. Includes two membership plans with recurring subscriptions.",
      "recommended": false,
      "new": true
    },
    "options": {
      "clisyc_dimension_registry": {
        "dimensions": {
          "clisyc_service": {
            "enabled": true,
            "primary": true,
            "frontend_visible": true
          },
          "clisyc_instructor": {
            "enabled": true,
            "primary": false,
            "frontend_visible": true
          },
          "clisyc_location": {
            "enabled": true,
            "primary": false,
            "frontend_visible": true
          }
        },
        "relationships": {},
        "filter_order": [
          "clisyc_location",
          "clisyc_service",
          "clisyc_instructor"
        ]
      },
      "clisyc_custom_dimension_types": {
        "clisyc_service": {
          "singular": "Class",
          "plural": "Classes",
          "icon": "dashicons-universal-access",
          "public": true
        },
        "clisyc_instructor": {
          "singular": "Instructor",
          "plural": "Instructors",
          "icon": "dashicons-businessperson",
          "public": true
        },
        "clisyc_location": {
          "singular": "Location",
          "plural": "Locations",
          "icon": "dashicons-location-alt",
          "public": true
        }
      }
    },
    "cpts": {
      "clisyc_service": [
        {
          "post_name": "vinyasa-yoga",
          "post_title": "Vinyasa Yoga",
          "post_meta": {
            "_clisyc_price": [
              "25"
            ],
            "_clisyc_color": [
              "#72aee6"
            ],
            "_clisyc_capacity": [
              "15"
            ],
            "_clisyc_booking_mode": [
              "slot"
            ],
            "_clisyc_duration_minutes": [
              "60"
            ],
            "_clisyc_schedule": [
              "{\"pattern_enabled\":false,\"pattern_start_date\":\"\",\"pattern_sequence\":\"A\",\"templates\":{\"A\":{\"1\":{\"slots\":[{\"start\":\"18:00\",\"end\":\"19:00\"}]},\"3\":{\"slots\":[{\"start\":\"18:00\",\"end\":\"19:00\"}]}}}}"
            ]
          }
        },
        {
          "post_name": "spin-class",
          "post_title": "Spin Class",
          "post_meta": {
            "_clisyc_price": [
              "30"
            ],
            "_clisyc_color": [
              "#e53983"
            ],
            "_clisyc_capacity": [
              "10"
            ],
            "_clisyc_booking_mode": [
              "slot"
            ],
            "_clisyc_duration_minutes": [
              "45"
            ],
            "_clisyc_schedule": [
              "{\"pattern_enabled\":false,\"pattern_start_date\":\"\",\"pattern_sequence\":\"A\",\"templates\":{\"A\":{\"2\":{\"slots\":[{\"start\":\"07:00\",\"end\":\"07:45\"}]},\"4\":{\"slots\":[{\"start\":\"07:00\",\"end\":\"07:45\"}]}}}}"
            ]
          }
        }
      ],
      "clisyc_instructor": [
        {
          "post_name": "jane-doe",
          "post_title": "Jane Doe",
          "post_meta": {
            "_clisyc_color": [
              "#72aee6"
            ]
          }
        },
        {
          "post_name": "john-smith",
          "post_title": "John Smith",
          "post_meta": {
            "_clisyc_color": [
              "#e53983"
            ]
          }
        }
      ],
      "clisyc_location": [
        {
          "post_name": "downtown-studio",
          "post_title": "Downtown Studio",
          "post_meta": {}
        },
        {
          "post_name": "uptown-gym",
          "post_title": "Uptown Gym",
          "post_meta": {}
        }
      ],
      "clisyc_member_plan": [
        {
          "post_name": "drop-in-pass",
          "post_title": "Drop-In Pass",
          "post_meta": {
            "_clisyc_plan_price_display": ["$49/month"],
            "_clisyc_plan_description": ["Perfect for casual fitness"],
            "_clisyc_member_plan_access_rules": [
              [
                {"rule_type": "booking_limit", "service_id": 0, "limit_value": 4, "limit_period": "per_month", "discount_value": 0},
                {"rule_type": "discount_percent", "service_id": 0, "limit_value": 0, "limit_period": "per_month", "discount_value": 10}
              ]
            ]
          }
        },
        {
          "post_name": "unlimited-membership",
          "post_title": "Unlimited Membership",
          "post_meta": {
            "_clisyc_plan_price_display": ["$99/month"],
            "_clisyc_plan_description": ["Train as much as you want"],
            "_clisyc_member_plan_access_rules": [
              [
                {"rule_type": "booking_limit", "service_id": 0, "limit_value": 1, "limit_period": "unlimited", "discount_value": 0},
                {"rule_type": "discount_percent", "service_id": 0, "limit_value": 0, "limit_period": "per_month", "discount_value": 25}
              ]
            ]
          }
        }
      ]
    },
    "pages": [
      {
        "post_name": "membership-plans",
        "post_title": "Membership Plans",
        "post_content": "[clisyc_membership_plans columns=\"2\"]"
      }
    ],
    "relationships": [
      {
        "parent_type": "clisyc_instructor",
        "parent_slug": "jane-doe",
        "child_type": "clisyc_service",
        "child_slug": "vinyasa-yoga"
      },
      {
        "parent_type": "clisyc_instructor",
        "parent_slug": "jane-doe",
        "child_type": "clisyc_location",
        "child_slug": "downtown-studio"
      },
      {
        "parent_type": "clisyc_instructor",
        "parent_slug": "john-smith",
        "child_type": "clisyc_service",
        "child_slug": "spin-class"
      },
      {
        "parent_type": "clisyc_instructor",
        "parent_slug": "john-smith",
        "child_type": "clisyc_location",
        "child_slug": "downtown-studio"
      },
      {
        "parent_type": "clisyc_instructor",
        "parent_slug": "john-smith",
        "child_type": "clisyc_location",
        "child_slug": "uptown-gym"
      }
    ],
    "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"
        ]
      }
    ]
  }
]
