{
  "lexicon": 1,
  "id": "com.minomobi.borges.banter",
  "defs": {
    "main": {
      "type": "record",
      "description": "A short exchange among the seven robot tellers of the Book of Sand (borges.mino.mobi) in the moments before a telling — the teller and the two in that watch's foregrounded tension trading a few lines, rising with the lunar phase and glancing at the tale to come. A model renders it from the deterministic frame spec for page n; the first render is frozen here so the lead-in stays stable. rkey is the page number n as a string.",
      "key": "any",
      "record": {
        "type": "object",
        "required": ["n", "lines", "model", "createdAt"],
        "properties": {
          "n": { "type": "integer", "minimum": 1, "description": "The page number; matches the rkey and the deterministic frame spec." },
          "phase": { "type": "string", "maxLength": 24, "description": "The lunar phase of the watch (waxing / full / waning / dark)." },
          "pair": { "type": "array", "maxLength": 2, "items": { "type": "string", "maxLength": 64 }, "description": "The two tellers in tension this watch." },
          "lines": {
            "type": "array",
            "description": "The exchange, in order; the last line is the teller taking up the watch.",
            "items": {
              "type": "object",
              "required": ["speaker", "line"],
              "properties": {
                "speaker": { "type": "string", "maxLength": 64 },
                "line": { "type": "string", "maxLength": 600 }
              }
            }
          },
          "model": { "type": "string", "maxLength": 80 },
          "createdAt": { "type": "string", "format": "datetime" }
        }
      }
    }
  }
}
