This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

stigmergic / lexicons / org / latha / strata / strata.json
6.6 kB 197 lines
1{ 2 "lexicon": 1, 3 "id": "org.latha.strata", 4 "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.", 5 "defs": { 6 "main": { 7 "type": "record", 8 "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.", 9 "key": "tid", 10 "record": { 11 "type": "object", 12 "required": ["source", "analysis", "createdAt"], 13 "properties": { 14 "source": { 15 "type": "ref", 16 "ref": "#sourceRef", 17 "description": "The source record that triggered this analysis." 18 }, 19 "analysis": { 20 "type": "ref", 21 "ref": "#structuredAnalysis", 22 "description": "The structured analysis output." 23 }, 24 "carryRefs": { 25 "type": "array", 26 "maxLength": 20, 27 "items": { 28 "type": "ref", 29 "ref": "#carryCrossRef" 30 }, 31 "description": "Carry entities cross-referenced in this analysis. Carry stays local-first — only summaries are included unless explicitly published as companion records." 32 }, 33 "createdAt": { 34 "type": "string", 35 "format": "datetime", 36 "description": "When this synthesis was created." 37 }, 38 "updatedAt": { 39 "type": "string", 40 "format": "datetime", 41 "description": "When this synthesis was last updated." 42 } 43 } 44 } 45 }, 46 "sourceRef": { 47 "type": "object", 48 "description": "Reference to the source record that triggered the analysis.", 49 "required": ["uri"], 50 "properties": { 51 "uri": { 52 "type": "string", 53 "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." 54 }, 55 "cid": { 56 "type": "string", 57 "description": "CID of the source record at time of analysis." 58 }, 59 "collection": { 60 "type": "string", 61 "description": "NSID of the source collection (e.g. network.cosmik.card)." 62 } 63 } 64 }, 65 "structuredAnalysis": { 66 "type": "object", 67 "description": "The structured output of a Strata analysis run.", 68 "required": ["themes"], 69 "properties": { 70 "title": { 71 "type": "string", 72 "maxGraphemes": 300, 73 "description": "A concise sentence capturing the core argument or narrative arc of this analysis." 74 }, 75 "themes": { 76 "type": "array", 77 "maxLength": 20, 78 "items": { 79 "type": "string", 80 "maxGraphemes": 100 81 }, 82 "description": "Key themes identified in the source." 83 }, 84 "connections": { 85 "type": "array", 86 "maxLength": 20, 87 "items": { 88 "type": "ref", 89 "ref": "#connection" 90 }, 91 "description": "Connections to existing knowledge in vault and carry." 92 }, 93 "tensions": { 94 "type": "array", 95 "maxLength": 10, 96 "items": { 97 "type": "string", 98 "maxGraphemes": 500 99 }, 100 "description": "Tensions or contradictions with existing claims." 101 }, 102 "openQuestions": { 103 "type": "array", 104 "maxLength": 10, 105 "items": { 106 "type": "string", 107 "maxGraphemes": 500 108 }, 109 "description": "Questions raised by the analysis." 110 }, 111 "synthesis": { 112 "type": "string", 113 "maxGraphemes": 2000, 114 "maxLength": 20000, 115 "description": "Prose synthesis connecting the source to existing knowledge." 116 } 117 } 118 }, 119 "connection": { 120 "type": "object", 121 "description": "A connection between the source and an existing knowledge item.", 122 "required": ["description", "targetUri"], 123 "properties": { 124 "description": { 125 "type": "string", 126 "maxGraphemes": 500, 127 "description": "Human-readable description of the connection." 128 }, 129 "targetUri": { 130 "type": "string", 131 "format": "at-uri", 132 "description": "AT URI of the connected record." 133 }, 134 "relation": { 135 "type": "string", 136 "knownValues": [ 137 "org.latha.strata#supports", 138 "org.latha.strata#contradicts", 139 "org.latha.strata#extends", 140 "org.latha.strata#contextualizes", 141 "org.latha.strata#exemplifies" 142 ], 143 "description": "Type of connection." 144 } 145 } 146 }, 147 "carryCrossRef": { 148 "type": "object", 149 "description": "Cross-reference to a carry entity, translated to AT Protocol addressable format.", 150 "required": ["entityType", "atUri"], 151 "properties": { 152 "entityType": { 153 "type": "string", 154 "knownValues": [ 155 "org.latha.strata.defs#claimRef", 156 "org.latha.strata.defs#sourceRef" 157 ], 158 "description": "Type of carry entity." 159 }, 160 "carryId": { 161 "type": "string", 162 "description": "Original carry entity ID for local correlation." 163 }, 164 "atUri": { 165 "type": "string", 166 "format": "at-uri", 167 "description": "AT Protocol URI for this carry entity (if published as companion record)." 168 }, 169 "summary": { 170 "type": "string", 171 "maxGraphemes": 500, 172 "description": "Summary of the carry entity." 173 } 174 } 175 }, 176 "supports": { 177 "type": "token", 178 "description": "Connection relation: the source supports an existing claim." 179 }, 180 "contradicts": { 181 "type": "token", 182 "description": "Connection relation: the source contradicts an existing claim." 183 }, 184 "extends": { 185 "type": "token", 186 "description": "Connection relation: the source extends an existing claim." 187 }, 188 "contextualizes": { 189 "type": "token", 190 "description": "Connection relation: the source provides context for an existing claim." 191 }, 192 "exemplifies": { 193 "type": "token", 194 "description": "Connection relation: the source is an example of an existing claim." 195 } 196 } 197}