// TemplateLibrary.js // Source of truth for the SignPayGo shared waiver template library. // In production this file will be replaced by an API endpoint that returns // the same JSON array from a MySQL query, e.g.: // GET /api/templates/library → Content-Type: application/json // // Schema per object: // id {string} unique key, e.g. "lib-1" // name {string} display name shown on the template card // description {string} short subtitle shown on the template card // content {string} HTML body loaded into the waiver editor var TEMPLATE_LIBRARY = [ { "id": "lib-1", "name": "Summer Day Camp", "description": "General liability waiver for day camp activities with photo release.", "content": "
I, the undersigned parent/guardian, hereby grant permission for my child to participate in the Summer Day Camp program and understand the following:
Camp activities may include sports, swimming, arts and crafts, hiking, and other outdoor activities. I consent to my child’s participation in all scheduled activities unless otherwise noted.
I understand that participation in camp activities involves inherent risks. I voluntarily assume all risks associated with my child’s participation.
In the event of an injury or medical emergency, I authorize camp staff to seek appropriate medical treatment and contact emergency services as necessary. I will be notified as soon as possible.
I grant permission for photos and videos of my child to be used for camp promotional materials, social media, and educational purposes.
By signing, I confirm I have read and agree to this waiver and permission form.
" }, { "id": "lib-2", "name": "Overnight Camp — Full Waiver", "description": "Comprehensive overnight waiver: liability, medical, emergency contacts, dietary needs.", "content": "I grant permission for my child to attend and participate in all activities at the Overnight Camp program, including but not limited to: hiking, swimming, team sports, campfire activities, and overnight lodging.
Allergies: Allergiese.g. peanut allergy or bee sting allergy ✕
Current medications: Current Medicationse.g. Advil 200mg daily, EpiPen ✕
Medical conditions: Medical Conditionse.g. asthma, diabetes, epilepsy ✕
Physician name & phone: Physician Name & Phonee.g. Dr. Smith · (555) 123-4567 ✕
Primary contact: Primary Contact Name*Full name ✕ Phone: Primary Contact Phone*(555) 123-4567 ✕
Secondary contact: Secondary Contact NameFull name ✕ Phone: Secondary Contact Phone(555) 123-4567 ✕
Dietary restrictions: Dietary Restrictionse.g. vegetarian, gluten-free, nut allergy ✕
I voluntarily release and hold harmless the organization, its staff, and volunteers from any liability for injury, illness, or loss arising from my child’s participation in the overnight camp.
I authorize emergency medical treatment for my child if I cannot be reached. I understand that all reasonable efforts will be made to contact me first.
" }, { "id": "lib-3", "name": "School Field Trip", "description": "Permission slip for off-campus school trips. Includes transportation consent.", "content": "Dear Parent or Guardian,
We are excited to invite your child to participate in an upcoming field trip. Please review the details below and complete this permission slip.
I grant permission for my child to travel to and from the field trip destination via school-provided or charter transportation. I understand that all students must follow school rules and behavioral expectations during the trip.
I understand that my child will be supervised by school staff and parent chaperones throughout the trip.
In the event of a medical emergency, I authorize staff to seek appropriate medical care. My child’s emergency contact information is on file with the school.
I grant permission for photos taken during the field trip to be used in school publications and communications.
By signing, I give permission for my child to attend this field trip and agree to the terms stated above.
" }, { "id": "lib-4", "name": "Sports Camp — Liability Waiver", "description": "Contact sports liability waiver with assumption of risk clause.", "content": "I understand and acknowledge that participation in contact sports activities involves inherent risks of physical injury, including but not limited to: sprains, strains, fractures, concussions, and other sports-related injuries.
My child’s participation in this sports camp is entirely voluntary. I have made an informed decision to allow my child to participate despite the known risks.
On behalf of myself and my child, I voluntarily assume all risks associated with participation in sports camp activities, whether or not those risks are described in this document.
I hereby release, waive, discharge, and covenant not to sue the organization, its officers, directors, employees, agents, and volunteers from any and all liability, claims, demands, actions, and causes of action arising out of or related to any loss, damage, or injury that may be sustained by my child while participating in this sports camp.
This waiver shall be binding upon my heirs, executors, administrators, and assigns.
" }, { "id": "lib-5", "name": "Religious / Church Camp", "description": "Faith-based camp permission with parental consent and code of conduct.", "content": "I, the undersigned parent or guardian, give permission for my child to participate in the faith-based camp program and agree to the following:
I understand that my child is expected to respect all participants, staff, and the faith-based nature of this program. Behavior inconsistent with these values may result in removal from the program.
I consent to my child’s participation in all camp activities, including religious programming, worship services, outdoor activities, and group events.
I grant permission for photos and videos to be used in camp promotional materials consistent with our community values.
I release the organization and its staff from liability for injury or illness sustained during participation, except in cases of gross negligence.
By signing, I affirm that I have read and agree to the terms of this consent form.
" }, { "id": "lib-6", "name": "Simple Permission Slip", "description": "Minimal one-pager — just consent and emergency contact info.", "content": "I, the undersigned parent or guardian of Child's Name*Child's full name ✕, hereby grant permission for my child to participate in the above-named event.
Name: Emergency Contact Name*Full name ✕ Phone: Emergency Contact Phone*(555) 123-4567 ✕<\\/p>
In the event of a medical emergency and I cannot be reached, I authorize the event staff to seek appropriate emergency medical care for my child.
By signing below, I confirm that I have read this permission slip and give my consent.
" } ];