This repository has no description
2.4 kB
62 lines
1{
2 "lexicon": 1,
3 "id": "org.latha.strata.reasoning",
4 "description": "Provenance for a Strata claim — why we believe something, what method produced it, and what it justifies.",
5 "defs": {
6 "main": {
7 "type": "record",
8 "description": "A reasoning record that provides provenance for a claim in Strata. Links a question or claim to the method that produced it, the evidence supporting it, and the claim it justifies. Forms the backbone of the Strata provenance graph.",
9 "key": "tid",
10 "record": {
11 "type": "object",
12 "required": ["question", "method", "justifies", "confidence", "createdAt"],
13 "properties": {
14 "question": {
15 "type": "string",
16 "maxGraphemes": 500,
17 "description": "The question or claim being justified."
18 },
19 "method": {
20 "type": "string",
21 "knownValues": [
22 "org.latha.strata.defs#web-search",
23 "org.latha.strata.defs#human-input",
24 "org.latha.strata.defs#inference",
25 "org.latha.strata.defs#carry-lookup"
26 ],
27 "description": "How the claim was produced. Open set — future methods can be added without schema changes."
28 },
29 "justifies": {
30 "type": "string",
31 "format": "at-uri",
32 "description": "AT-URI of the claim this reasoning supports (e.g. 'at://did:plc:.../org.latha.strata.citation/3tx...')."
33 },
34 "confidence": {
35 "type": "string",
36 "enum": [
37 "org.latha.strata.defs#high",
38 "org.latha.strata.defs#medium",
39 "org.latha.strata.defs#low"
40 ],
41 "description": "Confidence level in the reasoning."
42 },
43 "evidence": {
44 "type": "string",
45 "maxGraphemes": 3000,
46 "description": "Supporting evidence, reasoning chain, or explanation of why this method supports the claim."
47 },
48 "sourceUrl": {
49 "type": "string",
50 "format": "uri",
51 "description": "URL of the source if the reasoning came from a web search."
52 },
53 "createdAt": {
54 "type": "string",
55 "format": "datetime",
56 "description": "When this reasoning was recorded in Strata."
57 }
58 }
59 }
60 }
61 }
62}