File size: 6,296 Bytes
eeaf1f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
{
  "type": "object",
  "properties": {
    "category": {
      "type": "string",
      "enum": [
        "billing",
        "technical",
        "sales",
        "security",
        "hr",
        "other"
      ],
      "description": "๋‹ด๋‹น ๋ถ„์•ผ. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๊ธˆ์ง€"
    },
    "is_spam": {
      "type": "boolean",
      "description": "์ŠคํŒธ ์—ฌ๋ถ€. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๊ธˆ์ง€"
    },
    "is_phishing": {
      "type": "boolean",
      "description": "ํ”ผ์‹ฑ ์—ฌ๋ถ€. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๊ธˆ์ง€"
    },
    "urgency": {
      "type": "integer",
      "enum": [
        0,
        1,
        2
      ],
      "description": "๊ธด๊ธ‰๋„. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๊ธˆ์ง€"
    },
    "urgency_detail": {
      "type": "string",
      "enum": [
        "U0",
        "U1",
        "U2",
        "U3",
        "U4"
      ],
      "description": "์ƒ์„ธ ๊ธด๊ธ‰๋„. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๊ธˆ์ง€"
    },
    "needs_reply": {
      "type": "boolean",
      "description": "๋‹ต์žฅ ํ•„์š”. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๊ธˆ์ง€"
    },
    "importance": {
      "type": "integer",
      "enum": [
        0,
        1,
        2,
        3,
        4
      ],
      "description": "์ค‘์š”๋„. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๊ธˆ์ง€"
    },
    "sensitivity": {
      "type": "string",
      "enum": [
        "public",
        "internal",
        "confidential",
        "personal",
        "restricted"
      ],
      "description": "๋ฏผ๊ฐ๋„. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๊ธˆ์ง€"
    },
    "contains_pii": {
      "type": "boolean",
      "description": "๊ฐœ์ธ์ •๋ณด ํฌํ•จ. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๊ธˆ์ง€"
    },
    "pii_type": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "name",
          "phone",
          "email",
          "address",
          "account",
          "birth_date",
          "identifier",
          "other"
        ]
      },
      "uniqueItems": true,
      "description": "๊ฐœ์ธ์ •๋ณด ์œ ํ˜•. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๋Œ€์ƒ ์—†์œผ๋ฉด []"
    },
    "business_type": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "quotation",
          "contract",
          "purchase",
          "delivery",
          "payment",
          "meeting",
          "schedule",
          "customer_support",
          "maintenance",
          "report",
          "document_request",
          "internal_notice",
          "other"
        ]
      },
      "uniqueItems": true,
      "description": "์—…๋ฌด ์œ ํ˜•. ๋นˆ ๊ฐ’ ๊ทœ์น™: ์—…๋ฌด ํŒ๋‹จ ๋ถˆ๊ฐ€ ์‹œ other"
    },
    "has_attachment": {
      "type": "boolean",
      "description": "์ฒจ๋ถ€ํŒŒ์ผ ์กด์žฌ. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๊ธˆ์ง€"
    },
    "attachment_type": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "pdf",
          "docx",
          "xlsx",
          "csv",
          "txt",
          "md",
          "image",
          "archive",
          "other"
        ]
      },
      "uniqueItems": true,
      "description": "์ฒจ๋ถ€ ์œ ํ˜•. ๋นˆ ๊ฐ’ ๊ทœ์น™: ์ฒจ๋ถ€ ์—†์œผ๋ฉด []"
    },
    "has_deadline": {
      "type": "boolean",
      "description": "๋งˆ๊ฐ์ผ ์กด์žฌ. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๊ธˆ์ง€"
    },
    "deadline": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "๋งˆ๊ฐ์ผ. ๋นˆ ๊ฐ’ ๊ทœ์น™: ํ™•์ • ๋ถˆ๊ฐ€ ์‹œ null"
    },
    "has_action_items": {
      "type": "boolean",
      "description": "์—…๋ฌด ์š”์ฒญ ์กด์žฌ. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๊ธˆ์ง€"
    },
    "action_items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "action_id": {
            "type": "string",
            "minLength": 1
          },
          "task": {
            "type": "string",
            "minLength": 1
          },
          "assignee": {
            "type": [
              "string",
              "null"
            ]
          },
          "deadline": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "dependency": {
            "type": [
              "string",
              "null"
            ]
          },
          "evidence": {
            "type": "object",
            "properties": {
              "start": {
                "type": "integer",
                "minimum": 0
              },
              "end": {
                "type": "integer",
                "minimum": 0
              },
              "text": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "start",
              "end",
              "text"
            ],
            "additionalProperties": false
          },
          "requires_approval": {
            "type": "boolean"
          }
        },
        "required": [
          "action_id",
          "task",
          "assignee",
          "deadline",
          "dependency",
          "evidence",
          "requires_approval"
        ],
        "additionalProperties": false
      },
      "description": "์—…๋ฌด ์š”์ฒญ ์ถ”์ถœ. ๋นˆ ๊ฐ’ ๊ทœ์น™: ์š”์ฒญ ์—†์œผ๋ฉด []"
    },
    "requires_approval": {
      "type": "boolean",
      "description": "์Šน์ธ ํ•„์š”. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๊ธˆ์ง€"
    },
    "requires_human_review": {
      "type": "boolean",
      "description": "์‚ฌ๋žŒ ๊ฒ€ํ†  ํ•„์š”. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๊ธˆ์ง€"
    },
    "routing": {
      "type": "string",
      "enum": [
        "local",
        "llm",
        "human_review",
        "blocked"
      ],
      "description": "์—…๋ฌด ๋ผ์šฐํŒ…. ๋นˆ ๊ฐ’ ๊ทœ์น™: ๊ธˆ์ง€"
    }
  },
  "required": [
    "category",
    "is_spam",
    "is_phishing",
    "urgency",
    "urgency_detail",
    "needs_reply",
    "importance",
    "sensitivity",
    "contains_pii",
    "pii_type",
    "business_type",
    "has_attachment",
    "attachment_type",
    "has_deadline",
    "deadline",
    "has_action_items",
    "action_items",
    "requires_approval",
    "requires_human_review",
    "routing"
  ],
  "additionalProperties": false
}