{
  "contractVersion": "1.0-candidate",
  "implementationStatus": "proposal",
  "timezone": "Europe/Minsk",
  "entities": {
    "ScheduleSeries": {
      "id": "stable UUID",
      "kind": "mass|confession|novena|adoration|office|community|other",
      "title": {
        "be": "string",
        "ru": "string",
        "pl": "string"
      },
      "serviceLanguages": [
        "be|ru|pl|la|other"
      ],
      "locationId": "UUID",
      "dtstartLocalDate": "YYYY-MM-DD",
      "startLocalTime": "HH:mm",
      "rrule": "RFC5545 RRULE",
      "effectiveFrom": "YYYY-MM-DD",
      "effectiveThrough": "YYYY-MM-DD|null",
      "verifiedAt": "ISO timestamp",
      "verifiedBy": "internal user ID",
      "validUntil": "ISO timestamp",
      "sourceUrl": "URL|null",
      "sourceDocumentId": "UUID|null",
      "revision": "positive integer",
      "publicationStatus": "draft|review|published|archived"
    },
    "EventOverride": {
      "id": "UUID",
      "seriesId": "ScheduleSeries.id",
      "recurrenceId": "original local YYYY-MM-DDTHH:mm:ss",
      "action": "cancel|replace|move",
      "startAt": "ISO timestamp with offset|null",
      "endAt": "ISO timestamp with offset|null",
      "locationId": "UUID|null",
      "notice": {
        "be": "string",
        "ru": "string",
        "pl": "string"
      },
      "verifiedAt": "ISO timestamp",
      "validUntil": "ISO timestamp",
      "publicationStatus": "draft|review|published"
    },
    "ResolvedOccurrence": {
      "id": "stable occurrence ID",
      "uid": "stable global ICS UID",
      "sequence": "increasing integer",
      "startAt": "ISO timestamp with offset",
      "endAt": "ISO timestamp with offset|null",
      "timezone": "Europe/Minsk",
      "status": "scheduled|cancelled|tentative",
      "freshness": "verified|review_due|unverified",
      "sourceRevision": "integer",
      "sourceUrl": "URL",
      "serviceLanguages": [
        "language code"
      ],
      "notice": "localized string|null"
    }
  },
  "invariants": [
    "Unique override for seriesId + recurrenceId",
    "Explicit published date override wins over active seasonal schedule, which wins over base series",
    "Overlapping active schedules of same priority require human conflict resolution",
    "validUntil is editorial freshness, not cancellation or event end",
    "Recurring local time is expanded in Europe/Minsk; concrete instants are UTC internally",
    "Moved occurrence preserves UID; updates increase SEQUENCE",
    "Only public fields enter public API, search, ICS and PWA cache",
    "Publication of schedule-changing announcement includes corresponding structured override"
  ],
  "proposedEndpoint": "/api/v1/schedule?from=YYYY-MM-DD&to=YYYY-MM-DD&locale=be",
  "responseMetadata": [
    "generatedAt",
    "timezone",
    "sourceRevision",
    "nextReviewAt"
  ],
  "observedSnapshot": {
    "source": "https://www.redemptor.by/",
    "method": "Main research agent browser observation",
    "observedOn": "2026-12-01",
    "status": "requires editorial verification before production",
    "weekdayMassTimes": [
      "08:00",
      "19:00"
    ],
    "sundayMassTimes": [
      "07:30",
      "09:00",
      "10:30",
      "12:00",
      "16:00",
      "19:00",
      "20:30"
    ],
    "wednesdayNovenaTime": "18:20"
  }
}