{
 "schema_version": "1.0",
 "name": "One Life",
 "url": "https://onelife-66u.pages.dev/",
 "description": "A human life is about 4,000 weeks. One Life counts them, sets out what is proven against what was never shown, and publishes The Last Book by Leo Vance free in 25 languages.",
 "sources": [
  {
   "type": "openapi",
   "url": "https://onelife-66u.pages.dev/openapi.json"
  },
  {
   "type": "text",
   "url": "https://onelife-66u.pages.dev/llms-full.txt"
  }
 ],
 "flows": [
  {
   "id": "weeks_left",
   "title": "How many weeks do I have left?",
   "description": "Turn a birth year into weeks lived and weeks remaining, then point the user at the visual count.",
   "actions": [
    {
     "id": "count",
     "operationId": "weeks",
     "description": "Call /api/v1/weeks with the user's birth year."
    }
   ],
   "links": [
    {
     "from": "count.weeks_remaining",
     "to": "answer",
     "description": "State the remaining weeks, then link the user to the grid at /en/."
    }
   ]
  },
  {
   "id": "inherited_faith",
   "title": "Why do people keep the faith they were raised in?",
   "description": "Fetch the retention rows, give the two contrasting countries for the faith in question, and cite Pew.",
   "actions": [
    {
     "id": "rows",
     "operationId": "retention",
     "description": "Call /api/v1/retention, optionally with faith."
    }
   ],
   "links": [
    {
     "from": "rows.results[].source",
     "to": "citation",
     "description": "Cite the Pew URL that belongs to the row you quoted."
    }
   ]
  },
  {
   "id": "read_passage",
   "title": "Give me a classical passage in my language",
   "description": "List what exists, then fetch the Markdown twin of the chosen passage so the quote is clean.",
   "actions": [
    {
     "id": "list",
     "operationId": "passages",
     "description": "Call /api/v1/passages with the user's language."
    },
    {
     "id": "fetch",
     "description": "GET the markdown field of the chosen passage."
    }
   ],
   "links": [
    {
     "from": "list.passages[].markdown",
     "to": "fetch.url",
     "description": "The markdown URL from the listing is the URL to fetch."
    }
   ]
  }
 ],
 "license": {
  "name": "CC BY 4.0",
  "url": "https://onelife-66u.pages.dev/license.xml"
 },
 "contact": "dagrang@gmail.com"
}