Skip to content

The same calendar in JSON

A calendar is written in Markdown or in JSON; the two are the same story, converted both ways by recit convert and checked by the same schema (https://recit.dev/schema/v1/story.json). The calendar below is written in JSON only: its titles, descriptions and place names hold one value per language, and the site publishes it in English and in French.

Lorem MeetupsOpen fullscreen
View
Tags

December 5 – January 4, 2027

No events

examples/calendar-meetups/meetups.json
{ "$schema": "https://recit.dev/schema/v1/story.json", "kind": "story", "version": 1, "format": "calendar", "meta": { "title": { "en": "Lorem Meetups", "fr": "Rencontres Lorem" }, "description": { "en": "The meetups of a community that does not exist.", "fr": "Les rencontres d'une communauté qui n'existe pas." }, "lang": "en" }, "settings": { "timezone": "Europe/Paris", "view": "month" }, "scenes": [ { "id": "kickoff", "title": { "en": "Kickoff meetup", "fr": "Rencontre de lancement" }, "start": "2026-11-05T18:30", "end": "2026-11-05T20:30", "location": { "name": { "en": "Lorem Hall", "fr": "Salle Lorem" }, "street": "1 Lorem Street", "postcode": "75000", "city": "Ipsum", "country": "FR", "geo": [48.85, 2.35] }, "tags": ["meetup"], "body": { "en": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore.", "fr": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut enim ad minim veniam, quis nostrud." } }, { "id": "online-talk", "title": { "en": "Online talk", "fr": "Conférence en ligne" }, "start": "2026-11-19T12:00", "duration": "PT45M", "url": "https://example.com/live", "tags": ["talk", "online"], "body": { "en": "Duis aute irure dolor in reprehenderit, from anywhere.", "fr": "Duis aute irure dolor in reprehenderit, depuis n'importe où." } }, { "id": "workshop", "title": { "en": "Ipsum workshop", "fr": "Atelier Ipsum" }, "start": "2026-11-26T14:00", "end": "2026-11-26T17:00", "location": { "en": "Dolor room, Ipsum", "fr": "Salle Dolor, Ipsum" }, "tags": ["workshop"], "status": "cancelled", "body": { "en": "Cancelled: excepteur sint occaecat cupidatat non proident.", "fr": "Annulé : excepteur sint occaecat cupidatat non proident." } }, { "id": "monthly", "title": { "en": "Monthly drinks", "fr": "Apéro du mois" }, "start": "2026-12-03T19:00", "duration": "PT2H", "rrule": "FREQ=MONTHLY;BYDAY=1TH;COUNT=6", "location": { "name": { "en": "Lorem Hall", "fr": "Salle Lorem" }, "city": "Ipsum", "country": "FR" }, "tags": ["meetup"] }, { "id": "summit", "title": { "en": "Lorem Summit", "fr": "Sommet Lorem" }, "date": "2027-02-10", "end": "2027-02-12", "location": { "name": "Ipsum Congress Centre", "city": "Ipsum", "country": "FR" }, "tags": ["conference"], "body": { "en": "Three days of ut enim ad minim veniam.", "fr": "Trois jours de ut enim ad minim veniam." } } ] }

Convert it

TerminalBash
npx recit convert meetups.json --to md npx recit convert agenda.ics --to json

The second line imports an existing .ics file as a calendar story; the properties Récit does not read are listed, never lost in silence.