This repository has no description
3.5 kB
111 lines
1{
2 "lexicon": 1,
3 "id": "org.latha.strata.defs",
4 "description": "Shared type definitions for the org.latha.strata namespace — a three-layer memory architecture (Vault, Carry, MemFS).",
5 "defs": {
6 "claimRef": {
7 "type": "object",
8 "description": "Reference to a claim stored in a Strata layer, with its location and identifier.",
9 "required": ["uri"],
10 "properties": {
11 "uri": {
12 "type": "string",
13 "format": "at-uri",
14 "description": "AT-URI of the referenced claim record."
15 },
16 "layer": {
17 "type": "string",
18 "knownValues": [
19 "org.latha.strata.defs#vault",
20 "org.latha.strata.defs#carry",
21 "org.latha.strata.defs#memfs"
22 ],
23 "description": "Which Strata layer holds the canonical copy."
24 }
25 }
26 },
27 "sourceRef": {
28 "type": "object",
29 "description": "Provenance of a claim — where it came from and how it was produced.",
30 "required": ["method"],
31 "properties": {
32 "method": {
33 "type": "string",
34 "knownValues": [
35 "org.latha.strata.defs#web-search",
36 "org.latha.strata.defs#human-input",
37 "org.latha.strata.defs#inference",
38 "org.latha.strata.defs#carry-lookup"
39 ],
40 "description": "How the claim was produced."
41 },
42 "url": {
43 "type": "string",
44 "format": "uri",
45 "description": "Source URL if the claim came from the web."
46 },
47 "agentDid": {
48 "type": "string",
49 "format": "did",
50 "description": "DID of the agent that produced the claim."
51 }
52 }
53 },
54 "vault": {
55 "type": "token",
56 "description": "Strata layer: the surface — Obsidian vault, prose, human-readable notes."
57 },
58 "carry": {
59 "type": "token",
60 "description": "Strata layer: the mid — structured claims, shared across agents, CRDT-backed."
61 },
62 "memfs": {
63 "type": "token",
64 "description": "Strata layer: the deep — private agent state, system prompt, git-backed."
65 },
66 "high": {
67 "type": "token",
68 "description": "Confidence level: high — well-established, from trusted source or direct observation."
69 },
70 "medium": {
71 "type": "token",
72 "description": "Confidence level: medium — plausible, from reasonable source or inference."
73 },
74 "low": {
75 "type": "token",
76 "description": "Confidence level: low — uncertain, speculative, or from unverified source."
77 },
78 "person": {
79 "type": "token",
80 "description": "Entity type: a person."
81 },
82 "org": {
83 "type": "token",
84 "description": "Entity type: an organization."
85 },
86 "concept": {
87 "type": "token",
88 "description": "Entity type: an abstract concept, idea, or topic."
89 },
90 "tool": {
91 "type": "token",
92 "description": "Entity type: a software tool, service, or platform."
93 },
94 "web-search": {
95 "type": "token",
96 "description": "Claim method: produced via web search."
97 },
98 "human-input": {
99 "type": "token",
100 "description": "Claim method: directly provided by a human."
101 },
102 "inference": {
103 "type": "token",
104 "description": "Claim method: inferred by an agent from other evidence."
105 },
106 "carry-lookup": {
107 "type": "token",
108 "description": "Claim method: looked up from existing carry data."
109 }
110 }
111}