{ "lexicon": 1, "id": "org.latha.island", "description": "A structured synthesis of an external source, cross-referenced with local knowledge (carry + vault). The stigmergic signal — a pheromone trail others can discover and build on.", "defs": { "main": { "type": "record", "description": "A Strata synthesis record. Produced when a user runs Strata analysis on a Semble card (or any AT Protocol record). Cross-references the source with the user's vault and carry data, producing themes, connections, tensions, and a prose synthesis.", "key": "tid", "record": { "type": "object", "required": ["source", "analysis", "createdAt"], "properties": { "source": { "type": "ref", "ref": "#sourceRef", "description": "The source record that triggered this analysis. For islands, this is the lexmin vertex." }, "connections": { "type": "array", "maxLength": 500, "items": { "type": "ref", "ref": "#edge" }, "description": "The island's edges — connection records with their graph structure embedded. No lookups needed to render." }, "analysis": { "type": "ref", "ref": "#structuredAnalysis", "description": "The structured analysis output." }, "carryRefs": { "type": "array", "maxLength": 20, "items": { "type": "ref", "ref": "#carryCrossRef" }, "description": "Carry entities cross-referenced in this analysis. Carry stays local-first — only summaries are included unless explicitly published as companion records." }, "createdAt": { "type": "string", "format": "datetime", "description": "When this synthesis was created." }, "updatedAt": { "type": "string", "format": "datetime", "description": "When this synthesis was last updated." } } } }, "edge": { "type": "object", "description": "A reference to a connection record within the island. The AT URI is the source of truth — all edge data lives in the network.cosmik.connection record.", "required": ["uri"], "properties": { "uri": { "type": "string", "format": "at-uri", "description": "AT URI of the network.cosmik.connection record" } } }, "sourceRef": { "type": "object", "description": "Reference to the source record that triggered the analysis.", "required": ["uri"], "properties": { "uri": { "type": "string", "description": "URI of the source. For island-level analysis, this is the lexmin vertex (canonical component reference) — can be an HTTP URL or AT URI." }, "cid": { "type": "string", "description": "CID of the source record at time of analysis." }, "collection": { "type": "string", "description": "NSID of the source collection (e.g. network.cosmik.card)." } } }, "structuredAnalysis": { "type": "object", "description": "The structured output of a Strata analysis run.", "required": ["themes"], "properties": { "title": { "type": "string", "maxGraphemes": 300, "description": "A concise sentence capturing the core argument or narrative arc of this analysis." }, "themes": { "type": "array", "maxLength": 20, "items": { "type": "string", "maxGraphemes": 100 }, "description": "Key themes identified in the source." }, "highlights": { "type": "array", "maxLength": 20, "items": { "type": "string", "format": "at-uri" }, "description": "AT URIs of network.cosmik.connection records flagged as semantically significant by the analysis. Hot edges." }, "tensions": { "type": "array", "maxLength": 10, "items": { "type": "string", "maxGraphemes": 500 }, "description": "Tensions or contradictions with existing claims." }, "openQuestions": { "type": "array", "maxLength": 10, "items": { "type": "string", "maxGraphemes": 500 }, "description": "Questions raised by the analysis." }, "synthesis": { "type": "string", "maxGraphemes": 2000, "maxLength": 20000, "description": "Prose synthesis connecting the source to existing knowledge." } } }, "carryCrossRef": { "type": "object", "description": "Cross-reference to a carry entity, translated to AT Protocol addressable format.", "required": ["entityType", "atUri"], "properties": { "entityType": { "type": "string", "knownValues": [ "org.latha.island.defs#claimRef", "org.latha.island.defs#sourceRef" ], "description": "Type of carry entity." }, "carryId": { "type": "string", "description": "Original carry entity ID for local correlation." }, "atUri": { "type": "string", "format": "at-uri", "description": "AT Protocol URI for this carry entity (if published as companion record)." }, "summary": { "type": "string", "maxGraphemes": 500, "description": "Summary of the carry entity." } } } } }