The contracts for Church App 1.0.0 (docs/APP-1.0-PLAN.md §12). Additive. - crosscode.devotional/1, the Hub's devotionals reply, and the devotionals CSV import (parseCsv, checkDevotionalCsv, template), shared by the Hub and the App - Bible books (USFM, English and Afrikaans), seven translations with YouVersion ids and copyright lines, parseBibleReference, youVersionUrl - messaging.get and the messaging.changed hint; whatsapp.optout and whatsapp_opted_out on the profile - APP_MODULES, hub.DEVOTIONALS_PATH, agent.APP_DEMO_PROFILES, app in DEMO_PRODUCTS - the app section of the church export, people[].roles - Accounts refuses the two new requests until 1.9.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
132 lines
4.8 KiB
JSON
132 lines
4.8 KiB
JSON
{
|
|
"schema": "crosscode.church-export/1",
|
|
"exportedAt": "2027-02-01T12:00:00.000Z",
|
|
"product": "app",
|
|
"productVersion": "1.0.0",
|
|
"church": { "name": "Acacia Hill Church", "timezone": "Africa/Johannesburg" },
|
|
"people": [
|
|
{
|
|
"ref": "p1",
|
|
"name": "Lindiwe Example",
|
|
"email": "lindiwe@example.com",
|
|
"phone": "+27825550101",
|
|
"role": "prayer-coordinator",
|
|
"roles": ["prayer-coordinator", "devotional-writer"],
|
|
"createdAt": "2026-12-10T08:00:00.000Z",
|
|
"consent": { "email": true, "whatsapp": true, "privacyNoticeAcceptedAt": "2026-12-10T08:00:00.000Z" }
|
|
},
|
|
{
|
|
"ref": "p2",
|
|
"name": "Pieter Example",
|
|
"email": "pieter@example.com",
|
|
"phone": null,
|
|
"role": "member",
|
|
"createdAt": "2026-12-12T19:20:00.000Z",
|
|
"consent": { "email": false, "whatsapp": null, "privacyNoticeAcceptedAt": "2026-12-12T19:20:00.000Z" }
|
|
}
|
|
],
|
|
"events": [],
|
|
"registrations": [],
|
|
"payments": [],
|
|
"checkIns": [],
|
|
"rosters": [],
|
|
"settings": { "name": "Acacia Hill Church" },
|
|
"files": [{ "path": "uploads/campaigns/21-days.jpg", "bytes": 214380 }],
|
|
"app": {
|
|
"modules": ["house-of-prayer", "prayer-requests", "announcements", "devotionals", "events"],
|
|
"prayerWall": { "slotMinutes": 60, "slotTarget": 1, "bookAheadMonths": 12, "recurringMaxMonths": 12, "cancelHours": 8, "contact": "Lindiwe, 082 555 0101" },
|
|
"commitments": [
|
|
{
|
|
"ref": "c1",
|
|
"personRef": "p2",
|
|
"startsAt": "2026-12-14T00:00:00.000Z",
|
|
"minutes": 120,
|
|
"repeats": "weekly",
|
|
"until": "2027-12-13",
|
|
"skipped": ["2026-12-28"],
|
|
"reminder": "1h",
|
|
"channel": "whatsapp",
|
|
"note": null,
|
|
"createdAt": "2026-12-12T19:30:00.000Z",
|
|
"stoppedAt": null
|
|
}
|
|
],
|
|
"prayed": [{ "personRef": "p2", "slotStartsAt": "2026-12-14T00:00:00.000Z", "at": "2026-12-14T02:05:00.000Z" }],
|
|
"campaigns": [
|
|
{ "ref": "k1", "title": "21 days of prayer", "description": "Every hour covered, together.", "image": "uploads/campaigns/21-days.jpg", "startsOn": "2027-01-05", "endsOn": "2027-01-25", "goal": "Every hour covered", "slotTarget": 2 }
|
|
],
|
|
"testimonies": [
|
|
{ "personRef": "p2", "campaignRef": "k1", "text": "My father came home from hospital.", "showName": true, "status": "shown", "createdAt": "2027-01-20T07:00:00.000Z" }
|
|
],
|
|
"prayerRequests": [
|
|
{
|
|
"ref": "q1",
|
|
"personRef": "p2",
|
|
"visibility": "members",
|
|
"showName": false,
|
|
"text": "Please pray for my exams this week.",
|
|
"status": "closed",
|
|
"prayedCount": 14,
|
|
"createdAt": "2027-01-10T06:00:00.000Z",
|
|
"closedAt": "2027-01-18T12:00:00.000Z",
|
|
"updates": [{ "text": "Answered! Thank you all.", "at": "2027-01-18T12:00:00.000Z" }],
|
|
"moderation": [
|
|
{ "action": "approved", "by": "Lindiwe Example", "reason": null, "at": "2027-01-10T07:10:00.000Z" },
|
|
{ "action": "closed", "by": null, "reason": null, "at": "2027-01-18T12:00:00.000Z" }
|
|
]
|
|
}
|
|
],
|
|
"safeguarding": {
|
|
"emergencyNumbers": [
|
|
{ "name": "Lifeline", "number": "0861 322 322" },
|
|
{ "name": "SADAG", "number": "0800 567 567" },
|
|
{ "name": "Childline", "number": "116" }
|
|
]
|
|
},
|
|
"announcements": [
|
|
{
|
|
"title": "21 days of prayer starts on 5 January",
|
|
"body": "Book your hour on the prayer wall.",
|
|
"image": null,
|
|
"button": { "label": "Book an hour", "url": "https://app.acaciahill.co.za/prayer" },
|
|
"campus": null,
|
|
"audience": "everyone",
|
|
"pinned": true,
|
|
"publishAt": "2026-12-20T06:00:00.000Z",
|
|
"endsAt": "2027-01-25T22:00:00.000Z",
|
|
"sent": { "email": true, "whatsapp": false }
|
|
}
|
|
],
|
|
"devotionalSource": "church",
|
|
"devotionals": [
|
|
{
|
|
"date": "2027-01-05",
|
|
"title": "God het eerste liefgehad",
|
|
"passage": {
|
|
"reference": "Johannes 3:16",
|
|
"location": { "book": "JHN", "chapter": 3, "verse": 16, "endChapter": 3, "endVerse": 16 },
|
|
"translation": "AFR53",
|
|
"text": "Want so lief het God die wêreld gehad, dat Hy sy eniggebore Seun gegee het, sodat elkeen wat in Hom glo, nie verlore mag gaan nie, maar die ewige lewe kan hê."
|
|
},
|
|
"body": "God het eerste liefgehad.",
|
|
"prayer": null,
|
|
"author": "Lindiwe Example",
|
|
"membersOnly": false
|
|
}
|
|
],
|
|
"events": [
|
|
{
|
|
"ref": "w1",
|
|
"title": "Prayer night",
|
|
"description": "An evening of worship and prayer.",
|
|
"startsAt": "2027-01-15T17:00:00.000Z",
|
|
"endsAt": "2027-01-15T19:00:00.000Z",
|
|
"location": "Acacia Hill Church hall",
|
|
"link": null,
|
|
"image": null,
|
|
"published": true
|
|
}
|
|
]
|
|
}
|
|
}
|