{
  "template_name": "Class Registration and Enrollment",
  "template_version": "1.0",
  "sample_only": true,
  "sections": [
    {"name": "Learner", "fields": ["name", "email", "organization_optional"]},
    {"name": "Class selection", "fields": ["class_id", "session_id", "delivery_mode"]},
    {"name": "Eligibility", "fields": ["prerequisite_confirmation", "experience_level_optional"]},
    {"name": "Access needs", "fields": ["accommodation_request_optional_private"]},
    {"name": "Payment", "fields": ["fee", "currency", "payment_status_if_paid"]},
    {"name": "Agreement", "fields": ["cancellation_terms_acknowledgment", "privacy_notice_acknowledgment"]},
    {"name": "Confirmation", "fields": ["registration_id", "enrollment_status", "next_step"]}
  ],
  "capacity_rules": ["Check and reserve seat on server in one transaction.", "Use expiring holds for paid registrations.", "Move to waitlist when full.", "Recheck capacity when a waitlist offer is accepted."],
  "event_rule": "Progress and notification events require enrollment_id, learner_id, class_id, unique_event_id, event_type, and timestamp.",
  "privacy_rule": "Learners see only their own records; accommodation requests, contact information, and payment details are private."
}
