This repository has no description
2.5 kB
75 lines
1{
2 "lexicon": 1,
3 "id": "org.latha.island.citation",
4 "description": "A research citation with structured metadata and takeaway, tracked in the Strata memory architecture.",
5 "defs": {
6 "main": {
7 "type": "record",
8 "description": "A research reference recorded in Strata. Captures the source, a structured takeaway, and confidence level. Can be linked to reasoning records for full provenance.",
9 "key": "tid",
10 "record": {
11 "type": "object",
12 "required": ["url", "title", "takeaway", "confidence", "createdAt"],
13 "properties": {
14 "url": {
15 "type": "string",
16 "format": "uri",
17 "description": "Source URL of the cited work."
18 },
19 "title": {
20 "type": "string",
21 "maxGraphemes": 300,
22 "description": "Title of the cited work."
23 },
24 "takeaway": {
25 "type": "string",
26 "maxGraphemes": 2000,
27 "description": "Key insight, summary, or main finding from the cited work."
28 },
29 "authors": {
30 "type": "array",
31 "maxLength": 20,
32 "items": {
33 "type": "string",
34 "maxGraphemes": 200
35 },
36 "description": "Author names."
37 },
38 "publishedAt": {
39 "type": "string",
40 "format": "datetime",
41 "description": "Publication date of the cited work."
42 },
43 "confidence": {
44 "type": "string",
45 "enum": [
46 "org.latha.island.defs#high",
47 "org.latha.island.defs#medium",
48 "org.latha.island.defs#low"
49 ],
50 "description": "Confidence level in the citation's relevance and accuracy."
51 },
52 "domain": {
53 "type": "string",
54 "maxGraphemes": 100,
55 "description": "Domain or discipline of the cited work (e.g. 'machine-learning', 'philosophy')."
56 },
57 "tags": {
58 "type": "array",
59 "maxLength": 20,
60 "items": {
61 "type": "string",
62 "maxGraphemes": 100
63 },
64 "description": "Freeform topic tags."
65 },
66 "createdAt": {
67 "type": "string",
68 "format": "datetime",
69 "description": "When this citation was recorded in Strata."
70 }
71 }
72 }
73 }
74 }
75}