Schemas Explorer

@openlifeprotocol/schemas@0.1.0 - Total schemas: 1872

0000-platform/ai/document-insight.schema.json
1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "title": "Document Insight",
4 "description": "AI-generated insights about document.",
5 "type": "object",
6 "properties": {
7 "id": {
8 "type": "string",
9 "pattern": "^document_insight_[a-zA-Z0-9_-]+$"
10 },
11 "uuid": {
12 "type": "string",
13 "format": "uuid"
14 },
15 "document_id": {
16 "type": "string"
17 },
18 "insight_type": {
19 "type": "string",
20 "enum": [
21 "action_required",
22 "risk_identified",
23 "opportunity",
24 "anomaly",
25 "recommendation",
26 "pattern",
27 "correlation"
28 ]
29 },
30 "insight_title": {
31 "type": "string"
32 },
33 "insight_description": {
34 "type": "string"
35 },
36 "priority_level": {
37 "type": "string",
38 "enum": [
39 "low",
40 "medium",
41 "high",
42 "critical"
43 ]
44 },
45 "related_entities": {
46 "type": "array",
47 "items": {
48 "type": "string"
49 }
50 },
51 "suggested_actions": {
52 "type": "array",
53 "items": {
54 "type": "string"
55 }
56 },
57 "confidence_score": {
58 "type": "number"
59 },
60 "generation_model": {
61 "type": "string"
62 },
63 "generation_date": {
64 "type": "string",
65 "format": "date-time"
66 },
67 "is_user_acknowledged": {
68 "type": "boolean"
69 },
70 "user_action_taken": {
71 "type": "string"
72 },
73 "metadata": {
74 "type": "object",
75 "additionalProperties": true
76 }
77 },
78 "required": [
79 "id",
80 "uuid",
81 "document_id"
82 ],
83 "_phase1_todo": [
84 "Define insight templates",
85 "Define insight ranking",
86 "Define insight notifications"
87 ]
88}